Expand description
Module that provides types for syntactical analysis.
Re-exports§
pub use parse_tree_type::ParseTreeType;pub use lookahead_dfa::LookaheadDFA;pub use lookahead_dfa::Trans;pub use parse_type::ParseStack;pub use parse_type::ParseType;pub use parser_types::LLKParser;pub use parser_types::ParseTree;pub use parser_types::Production;pub use user_access::UserActionsTrait;
Modules§
- lookahead_
dfa - Module with types used to predict the next productions to choose during runs of generated parsers.
- parse_
tree_ type - Module with types used to handle the parse tree that is build during runs of the generated parsers.
- parse_
type - Module with types used in the parse stack.
- parser_
types - Module with the actual parser types and some supporting types.
- user_
access - Module with the UserActionsTrait type.
Constants§
- INVALID_
PROD - Invalid production number It usually denotes the absence of a valid production number after applying a transition
Type Aliases§
- Compiled
Production Index - Index of a production within the slice of productions of a generated parser
- NonTerminal
Index - Index of a non-terminal within the slice of lookahead automatons of a generated parser. Also used to index into the slice of non-terminal names in the generated parser.
- Production
Index - Index of a production within the slice of productions of a generated parser
- Scanner
Index - The index of a scanner configuration
- State
Index - Index of a DFA state within the slice of states of a LookaheadDFA