Expand description
A parser generator for GLL grammar, core library
This library includes the runtime library for generated code.
Structs§
- Dot
- Re-exported
petgraphstructs to avoid requiring dependency of generated code on it.Dotimplements output to graphviz .dot format for a graph. - GSSState
- All GSS Parser states. It is used by generated code, don’t use it directly.
- Graph
- Re-exported
petgraphstructs to avoid requiring dependency of generated code on it.Graph<N, E, Ty, Ix>is a graph datastructure using an adjacency list representation. - Logos
Token - A wrapper around Logos token type, providing its slice and kind.
Enums§
- Directed
- Re-exported
petgraphstructs to avoid requiring dependency of generated code on it. Marker type for a directed graph. - SPPF
Node - Binary SPPF Node structure.
Traits§
- Grammar
Label - A common trait that all labels should impl, the labels and impl are generated. You don’t need to impl it in your code.
- Grammar
Symbol - A common trait that all symbols should impl, the symbols and impl are generated. You don’t need to impl it in your code.
- Streaming
Iterator - Re-exported
streaming_iteratorstructs to avoid requiring dependency of generated code on it. An interface for dealing with streaming iterators.
Type Aliases§
- GSSNode
- GSS Node Label Type
- SPPF
Node Index - SPPF Nodes are stored into a vec, and references are stored as integer