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§

builder
module for build parser tables from CFG
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
stackvec
stack allocated vector for small data

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§

Token
Token represents a terminal or non-terminal symbol in the grammar.

Traits§

Location
trait for token location in the input stream