Crate gll_pg_core

Crate gll_pg_core 

Source
Expand description

A parser generator for GLL grammar, core library

This library includes the runtime library for generated code.

Structs§

Dot
Re-exported petgraph structs to avoid requiring dependency of generated code on it. Dot implements 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 petgraph structs to avoid requiring dependency of generated code on it. Graph<N, E, Ty, Ix> is a graph datastructure using an adjacency list representation.
LogosToken
A wrapper around Logos token type, providing its slice and kind.

Enums§

Directed
Re-exported petgraph structs to avoid requiring dependency of generated code on it. Marker type for a directed graph.
SPPFNode
Binary SPPF Node structure.

Traits§

GrammarLabel
A common trait that all labels should impl, the labels and impl are generated. You don’t need to impl it in your code.
GrammarSymbol
A common trait that all symbols should impl, the symbols and impl are generated. You don’t need to impl it in your code.
StreamingIterator
Re-exported streaming_iterator structs to avoid requiring dependency of generated code on it. An interface for dealing with streaming iterators.

Type Aliases§

GSSNode
GSS Node Label Type
SPPFNodeIndex
SPPF Nodes are stored into a vec, and references are stored as integer