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

A rule names a symbol that the grammar never declares.

Properties§

public string $symbol

Methods§

public function __construct(public string $symbol)

Parameters

$symbolstringThe undeclared name
Calls 1

Test cases 4§

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 3

Relations§

Instantiated in 1