final class WithRule
Restricted visibility: declared "@visibility SqlSemantics\Platform\Sqlite". Code outside that scope must not name this declaration.

Lowers WITH clauses.

Rule: SQLITE-WITH-LOWER-001. Scope: with, wqlist, wqitem, wqas, withnm. The common table expressions keep their written order, column lists and materialization hints. Terminates: the list is flattened iteratively. Source: https://sqlite.org/lang_with.html. Status: Implemented.

Methods§

public function __construct(private Lowering $lowering)

Parameters

$loweringLoweringThe lowering this rule belongs to
public function optional(Node $with): ?WithClause

Lowers the with of a data change statement: the clause, or null when none is written.

Parameters

$withNode

Returns

Throws

ImplementationGap When the production has no rule
Calls 2
public function table(Node $item): CommonTable

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