namespaceLemonParser\Ast\Declaration

Interfaces 1§

Declaration public APISomething written after a % sign.

Classes 8§

Destructor public API%destructor symbol { code }: code run when a value of the symbol is discarded.
Directive public APIA keyword with one argument, such as %name, %include or %extra_argument.
Fallback public API%fallback FALLBACK TOKEN TOKEN... .: tokens the parser retries as the fallback when they cause an error.
PrecedenceDeclaration public API%left, %right or %nonassoc followed by terminals and a period.
TokenClass public API%token_class name TOKEN|TOKEN... .: a nonterminal name standing for any of several terminals.
TokenDeclaration public API%token TOKEN TOKEN... .: terminals named early to fix their numbering.
TypeDeclaration public API%type symbol { type }: the C type of a nonterminal's value.
Wildcard public API%wildcard TOKEN.: the terminal that matches any token the parser cannot otherwise use.

Enums 3§

ArgumentForm public APIHow the argument of a declaration was written.
Associativity public APIHow a precedence declaration resolves a tie between a shift and a reduce.
DirectiveKeyword public APIThe keywords that take one argument and store it for the generated parser.