enum SymbolClass: string
Public API: explicitly declared with @visibility public.

Which directive declared a list of symbols: %token, %nterm or %type.

%term is the deprecated spelling of %token and reads as it.

Telling the directives apartdoctest
\BisonParser\Ast\Declaration\Symbols\SymbolClass::from('nterm')->name // => 'Nonterminal'

Cases§

case Token = 'token'
case Nonterminal = 'nterm'
case Type = 'type'

Test cases 8§

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 7

Relations§

Constant reads 5
Type declarations 1