Node:Decl Summary,
Previous:Pure Decl,
Up:Declarations
Bison Declaration Summary
Here is a summary of all Bison declarations:
%union
- Declare the collection of data types that semantic values may have
(see The Collection of Value Types).
%token
- Declare a terminal symbol (token type name) with no precedence
or associativity specified (see Token Type Names).
%right
- Declare a terminal symbol (token type name) that is right-associative
(see Operator Precedence).
%left
- Declare a terminal symbol (token type name) that is left-associative
(see Operator Precedence).
%nonassoc
- Declare a terminal symbol (token type name) that is nonassociative
(using it in a way that would be associative is a syntax error)
(see Operator Precedence).
%type
- Declare the type of semantic values for a nonterminal symbol
(see Nonterminal Symbols).
%start
- Specify the grammar's start symbol (see The Start-Symbol).
%expect
- Declare the expected number of shift-reduce conflicts
(see Suppressing Conflict Warnings).
%pure_parser
- Request a pure (reentrant) parser program (see A Pure (Reentrant) Parser).