namespaceBisonParser\Ast\Declaration

Namespaces 1§

SymbolsBisonParser\Ast\Declaration\Symbols

Interfaces 1§

Declaration public APIOne %-directive or prologue block of a grammar file.

Classes 11§

Code public APIA %code directive, with the qualifier that says where the code goes.
CodeProps public APIA %destructor or %printer directive: code attached to symbols or type tags.
Define public APIA %define directive: a variable and, optionally, its value.
Expect public APIAn %expect or %expect-rr directive declaring how many conflicts the grammar has.
Flag public APIA directive that takes no argument, such as %debug or %glr-parser.
InitialAction public APIAn %initial-action directive and its code.
Option public APIA directive that takes a string, such as %name-prefix "yy" or %require "3.8".
Param public APIA %param, %lex-param or %parse-param directive and its braced arguments.
Prologue public APIHost code between %{ and %}, kept exactly as written.
Start public APIA %start directive naming the start symbol, or several of them.
UnionDeclaration public APIA %union directive, its optional name, and its members.

Enums 2§

DefineForm public APIThe three forms a %define value may take: a bare keyword, a string, or braced code.
ParamKind public APIWhich of the parser, the lexer, or both a %param directive adds arguments to.