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

Represents a %token declaration.

Example: %token <lexer.keyword> SELECT 123 "SELECT"

Type Aliases§

TokenList = list<BisonTokenDefinition>

Properties§

public ?string $typeTag
public list<BisonTokenDefinition> $tokens

Methods§

public function __construct(public ?string $typeTag, public list<BisonTokenDefinition> $tokens)

Parameters

$typeTag?string
$tokenslist<BisonTokenDefinition>
Test cases 26

Test cases 33§

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

Dedicated tests 3
Other tests reaching this symbol 30

Relations§

Instantiated in 1
Type checks 1