classFlagRule
final class FlagRule
Restricted visibility: declared "@visibility SqlSemantics\Platform\Sqlite". Code outside that scope must not name this declaration.
Lowers the optional keyword groups that only state a yes or a no.
Rule: SQLITE-FLAG-001. Scope: temp, ifnotexists. Each is true when its keywords are written. Source: https://sqlite.org/lang_createtrigger.html. Status: Implemented.
Methods§
public function __construct(private Lowering $lowering)Parameters
$lowering | Lowering | The lowering this rule belongs to |
public function temporary(Node $temp): boolTells whether TEMP or TEMPORARY is written.
Parameters
$temp | Node |
Returns
boolThrows
ImplementationGap When the production has no ruleCalls 1
- static-call ImplementationGap::production() line 41
public function ifNotExists(Node $clause): boolTells whether IF NOT EXISTS is written.
Parameters
$clause | Node |
Returns
boolThrows
ImplementationGap When the production has no ruleCalls 1
- static-call ImplementationGap::production() line 57
Private surface 1§
Implementation details, listed for orientation only.
private Lowering $loweringTest cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
FlagRuleTestcalls