[][src]Module cfgrammar::yacc::ast

Structs

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.

GrammarValidationError

GrammarAST validation errors return an instance of this struct.

Production
Rule

Enums

GrammarValidationErrorKind

The various different possible grammar validation errors.

Symbol