Expand description
Any data carried alongside a grammar rule can be its history. Rule histories may contain more than semantic actions.
Modules§
- earley
- Utilities with a focus on our Earley parser,
gearley.
Structs§
- History
Node Assign Precedence - This is built with the precedenced rule builder.
- History
Node Binarize - Updates history during binarization of a rule. Binarization is the process of making a rule with any number of RHS symbols become a rule with only one or two symbols on the RHS.
- History
Node Eliminate Nulling - Updates history after nulling rule elimination.
- History
Node Rewrite Sequence - This is built with the sequence rewrite.
- History
Node Rhs - Provides information about the RHS of the rule we have semantics for.
- History
Node Sequence Rhs - The RHS as computed by the sequence rewrite.
- History
Node Weight
Enums§
- Binarized
RhsRange - Used to inform history about which symbols on a rule’s Symbol RHS are nullable, and will be eliminated.
- Linked
History Node - A history update to an existing history value, used with grammar transformations.
- Root
History Node - The basic semantics. They may receive further updates.