Crate yggdrasil_rt

source ·
Expand description

§Yggdrasil Runtime

Shared runtime for yggdrasil grammar generator.

§Language Server Support

§Regex Support

Re-exports§

Modules§

  • Provides trait constraints for parsing streaming input structures
  • Handle state transitions of parsed streams

Structs§

Enums§

  • The current lookahead status of a ParserState.
  • Match direction for the stack. Used in PEEK[a..b]/stack_match_peek_slice.
  • A token generated by a Parser.
  • This structure serves to improve performance over Token objects in two ways:

Traits§

Functions§

  • Merges two spans into one.
  • Creates a ParserState from a &str, supplying it to a closure f.

Type Aliases§