Crate rusty_lr_core

Crate rusty_lr_core 

Source
Expand description

Core module for the Rusty LR parser.

This crate is private and not intended to be used directly. Please use the rusty_lr crate instead.

Modules§

hash
FxHash for fast and non-cryptographic hashing
nonterminal
module for auto-generated types of non-terminals representation
parser
module for core parser functionality
rule
module for production rules representation

Structs§

Backtrace
Backtracing information for parsing context. What current parser was trying to parse, and what rules were applied.
DefaultLocation
Default location type that does nothing.
DefaultReduceActionError
Default error type for reduce action

Enums§

TerminalSymbol
A type for terminal symbols in the grammar. just because we have to take care of the error token specially, and future support for other special tokens.
Token
Token represents a terminal or non-terminal symbol in the grammar.

Traits§

Location
trait for token location in the input stream