Structs§
- Contains a
GrammarAST
structure produced from a grammar source file. As well as any errors which occurred during the construction of the AST. - 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.