cfgrammar
0.13.10
Module ast
Module Items
Structs
Enums
In cfgrammar::
yacc
cfgrammar
::
yacc
Module
ast
Copy item path
Source
Structs
§
ASTModification
Error
Any error from the Yacc parser returns an instance of this struct.
ASTWith
Validity
Info
Contains a
GrammarAST
structure produced from a grammar source file. As well as any errors which occurred during the construction of the AST.
GrammarAST
An AST representing a grammar. This is built up gradually: when it is finished, the
complete_and_validate
must be called exactly once in order to finish the set-up. At that point, any further mutations made to the struct lead to undefined behaviour.
Production
Rule
Enums
§
Symbol