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

A symbol on the right-hand side of one rule alternative.

The form records how the symbol was written: a name refers to a rule or a declared terminal, while a quoted character is a terminal that stands for itself. The parser needs the difference because only the first can be a rule.

Properties§

public string $value

Methods§

public function __construct(public BisonSymbolForm $type, public string $value)

Parameters

$typeBisonSymbolFormHow the symbol was spelled in the grammar
$valuestringThe symbol's name, or the character it stands for
Test cases 87

Test cases 91§

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 89

Relations§

Instantiated in 2
Type declarations 1