All items 56

Interfaces 2§

Declaration public APIBisonParser\Ast\DeclarationOne %-directive or prologue block of a grammar file.
RhsItem public APIBisonParser\Ast\RuleOne thing written on the right-hand side of a rule.

Classes 48§

Parser public APIBisonParserReads a GNU Bison grammar file into a syntax tree that keeps everything the file says.
SyntaxException public APIBisonParserThe grammar file is not written the way Bison would accept it.
Epilogue public APIBisonParser\AstThe host code after the second %%, kept exactly as written.
GrammarFile public APIBisonParser\AstA whole Bison grammar file: the declarations, the grammar, and the epilogue.
Line public APIBisonParser\AstA #line directive: from here on, Bison counts lines from the number given, in the file named.
Location public APIBisonParser\AstWhere a node begins in the grammar file, as a line and column counted from one.
Symbol @visibility public Bison tells string tokens apart by their spelling, so `"\'"` and `"'"` are two tokens; the spelling is kept for that, next to the decoded value.BisonParser\AstA reference to a grammar symbol as it is written in a declaration or rule.
Tag public APIBisonParser\AstA type tag written between angle brackets.
Code public APIBisonParser\Ast\DeclarationA %code directive, with the qualifier that says where the code goes.
CodeProps public APIBisonParser\Ast\DeclarationA %destructor or %printer directive: code attached to symbols or type tags.
Define public APIBisonParser\Ast\DeclarationA %define directive: a variable and, optionally, its value.
Expect public APIBisonParser\Ast\DeclarationAn %expect or %expect-rr directive declaring how many conflicts the grammar has.
Flag public APIBisonParser\Ast\DeclarationA directive that takes no argument, such as %debug or %glr-parser.
InitialAction public APIBisonParser\Ast\DeclarationAn %initial-action directive and its code.
Option public APIBisonParser\Ast\DeclarationA directive that takes a string, such as %name-prefix "yy" or %require "3.8".
Param public APIBisonParser\Ast\DeclarationA %param, %lex-param or %parse-param directive and its braced arguments.
Prologue public APIBisonParser\Ast\DeclarationHost code between %{ and %}, kept exactly as written.
Start public APIBisonParser\Ast\DeclarationA %start directive naming the start symbol, or several of them.
UnionDeclaration public APIBisonParser\Ast\DeclarationA %union directive, its optional name, and its members.
Alias public APIBisonParser\Ast\Declaration\SymbolsThe string alias of a token, as in %token PLUS "+" or %token END _("end of file").
PrecedenceDeclaration public APIBisonParser\Ast\Declaration\SymbolsA %left, %right, %nonassoc or %precedence directive and the tokens it ranks.
SymbolDeclaration public APIBisonParser\Ast\Declaration\SymbolsA %token, %nterm or %type directive and the symbols it lists.
SymbolEntry public APIBisonParser\Ast\Declaration\SymbolsOne symbol of a %token, %nterm, %type or precedence declaration, with what was declared about it.
Action public APIBisonParser\Ast\RuleA braced action on a right-hand side, with its optional type tag and [name] reference.
Alternative public APIBisonParser\Ast\RuleOne right-hand side of a rule, as the sequence of items written between | separators.
DprecItem public APIBisonParser\Ast\RuleA %dprec modifier ranking the alternative among GLR ambiguities.
EmptyItem public APIBisonParser\Ast\RuleThe %empty marker that documents an empty right-hand side.
ExpectItem public APIBisonParser\Ast\RuleAn %expect or %expect-rr modifier declaring the conflicts of one alternative.
MergeItem public APIBisonParser\Ast\RuleA %merge modifier naming the function that merges GLR ambiguities.
PrecItem public APIBisonParser\Ast\RuleA %prec modifier naming the token whose precedence the alternative takes.
Predicate public APIBisonParser\Ast\RuleA semantic predicate %?{ ... } on a right-hand side.
Rule public APIBisonParser\Ast\RuleOne rule of the grammar: a nonterminal and the alternatives that derive it.
SymbolItem public APIBisonParser\Ast\RuleA symbol on a right-hand side, with the [name] reference that may follow it.
DeclarationPrinter @visibility rootBisonParser\PrinterWrites declarations the way Bison spells them.
Printer public APIBisonParser\PrinterWrites a syntax tree back out as a Bison grammar file.
RhsPrinter @visibility rootBisonParser\PrinterWrites the items of a right-hand side the way Bison spells them.
SymbolPrinter @visibility rootBisonParser\PrinterWrites symbols, tags and literals the way Bison spells them.
CodeReader @visibility rootBisonParser\ScannerReads host code as Bison's scanner does: braced code, a prologue, or one unit of either.
Cursor @visibility rootBisonParser\ScannerReads a grammar file byte by byte, keeping the line and column.
Directives @visibility rootBisonParser\ScannerThe directives Bison's scanner knows, and the spellings it accepts for them.
Escapes @visibility rootBisonParser\ScannerDecodes the escape sequences of Bison's character and string literals, and writes them back.
Scanner @visibility rootBisonParser\ScannerSplits a grammar file into the tokens Bison's own scanner produces.
Token @visibility rootBisonParser\ScannerOne token of a grammar file.
DeclarationParser @visibility rootBisonParser\SyntaxReads one declaration, following the prologue_declaration and grammar_declaration rules of parse-gram.y.
GrammarParser @visibility rootBisonParser\SyntaxReads a whole grammar file, following the input rule of parse-gram.y.
RuleParser @visibility rootBisonParser\SyntaxReads one rule, following the rules and rhs rules of parse-gram.y.
SymbolListParser @visibility rootBisonParser\SyntaxReads the symbol lists that follow %token, %nterm, %type, %start, %left and their kin.
TokenStream @visibility rootBisonParser\SyntaxWalks the tokens of a grammar file in order.

Enums 6§

SymbolKind public APIBisonParser\AstThe three spellings a grammar symbol may have.
DefineForm public APIBisonParser\Ast\DeclarationThe three forms a %define value may take: a bare keyword, a string, or braced code.
ParamKind public APIBisonParser\Ast\DeclarationWhich of the parser, the lexer, or both a %param directive adds arguments to.
Associativity public APIBisonParser\Ast\Declaration\SymbolsThe four precedence directives: %left, %right, %nonassoc and %precedence.
SymbolClass public APIBisonParser\Ast\Declaration\SymbolsWhich directive declared a list of symbols: %token, %nterm or %type.
TokenKind @visibility rootBisonParser\ScannerThe kinds of token Bison's own scanner produces from a grammar file.