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

What the parser needs to know about a rule when it reduces by it.

Properties§

public int $lhs
public int $length
public int $ordinal
public bool $hidden = false

Methods§

public function __construct(
    public int $lhs,
    public int $length,
    public int $ordinal,
    public bool $hidden = false,
)

Parameters

$lhsintNonterminal the rule derives
$lengthintHow many symbols it pops
$ordinalintPosition among the alternatives of the same nonterminal
$hiddenboolWhether the rule stands in for a mid-rule action and is left out of the tree

Test cases 10§

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

Dedicated tests 1
Other tests reaching this symbol 9

Relations§

Instantiated in 2