final class Form
Restricted visibility: declared "@visibility SqlSemantics". Code outside that scope must not name this declaration.

A typed, temporary view of one grammar production of a parse tree.

The signature spells the production as the grammar writes it. A rule that dispatches on signatures applies to every grammar release that has the production.

Properties§

public Node $node
public string $signature

Methods§

public function __construct(public Node $node, public string $signature)

Parameters

$nodeNodeThe parse tree node
$signaturestringThe production the node matched, such as `where_opt: WHERE expr` or `where_opt:`
public function node(int $position): Node

Answers the nonterminal child at a position.

Parameters

$positionint

Returns

Test cases 4
Called from 117
Calls 1

Test cases 8§

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

Dedicated tests 4
Other tests reaching this symbol 4

Relations§

Instantiated in 1
Method calls 123
Type declarations 25