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

Represents a single alternative in a grammar rule.

Example: SELECT select_item_list { $$ = $2; } %prec LOWER_THAN_EMPTY

Type Aliases§

SymbolNodeList = list<BisonSymbolNode>

Properties§

public list<BisonSymbolNode> $symbols
public ?string $action
public ?string $prec
public ?int $dprec
public ?string $merge

Methods§

public function __construct(
    public list<BisonSymbolNode> $symbols,
    public ?string $action,
    public ?string $prec,
    public ?int $dprec,
    public ?string $merge,
)

Parameters

$symbolslist<BisonSymbolNode>
$action?string
$prec?string
$dprec?int
$merge?string
Test cases 93

Test cases 96§

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

Dedicated tests 2
Other tests reaching this symbol 94

Relations§

Instantiated in 1
Type declarations 1