Expand description
Prediction for predictive parsers.
FIRST and FOLLOW sets impls are based on code by Niko Matsakis.
Structs§
- First
Sets - Collector of FIRST sets.
- Follow
Sets - FOLLOW sets.
- Last
Sets - FIRST sets.
- Minimal
Distance - Calculation of minimum distance from one part of the grammar to another. Similar to multi-source shortest path search in a graph.
Traits§
Type Aliases§
- PerSymbol
Sets - The representation of FIRST and FOLLOW sets.