Expand description
A type that can represent symbols in a context-free grammar. Symbols are distinguished by their IDs.
Modules§
- intern
- Interns symbols and implements symbol mappings.
Macros§
- syms
- Shorthand for
SymbolSource::generate_fresh.
Structs§
- Symbol
- Our common grammar symbol type.
- Symbol
Name - Wrapper for a string holding a symbol’s name. Meant to be cheap to clone.
- Symbol
Source - A source of numeric symbols.