namespaceBisonParser\Ast\Declaration
Namespaces 1§
| Symbols | BisonParser\Ast\Declaration\Symbols |
Interfaces 1§
| Declaration public API | One %-directive or prologue block of a grammar file. |
Classes 11§
| Code public API | A %code directive, with the qualifier that says where the code goes. |
| CodeProps public API | A %destructor or %printer directive: code attached to symbols or type tags. |
| Define public API | A %define directive: a variable and, optionally, its value. |
| Expect public API | An %expect or %expect-rr directive declaring how many conflicts the grammar has. |
| Flag public API | A directive that takes no argument, such as %debug or %glr-parser. |
| InitialAction public API | An %initial-action directive and its code. |
| Option public API | A directive that takes a string, such as %name-prefix "yy" or %require "3.8". |
| Param public API | A %param, %lex-param or %parse-param directive and its braced arguments. |
| Prologue public API | Host code between %{ and %}, kept exactly as written. |
| Start public API | A %start directive naming the start symbol, or several of them. |
| UnionDeclaration public API | A %union directive, its optional name, and its members. |
Enums 2§
| DefineForm public API | The three forms a %define value may take: a bare keyword, a string, or braced code. |
| ParamKind public API | Which of the parser, the lexer, or both a %param directive adds arguments to. |