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

$loweringLoweringThe lowering this rule belongs to
public function temporary(Node $temp): bool

Tells whether TEMP or TEMPORARY is written.

Parameters

$tempNode

Returns

bool

Throws

ImplementationGap When the production has no rule
Calls 1
public function ifNotExists(Node $clause): bool

Tells whether IF NOT EXISTS is written.

Parameters

$clauseNode

Returns

bool

Throws

ImplementationGap When the production has no rule
Calls 1

Private surface 1§

Implementation details, listed for orientation only.

private Lowering $lowering

Test cases 1§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1

Relations§

Instantiated in 1
Type declarations 1