Crate peggen

Source

Modules§

stacker
A library to help grow the stack when it runs out of space.

Structs§

LazyCell
A value which is initialized on the first access.
LazyLock
A value which is initialized on the first access.
Parser
A simple wrapper to make ParseImpl easier to use.
Regex
A compiled regular expression for searching Unicode haystacks.
Span
Annoted value
Tag
Vec
A contiguous growable array type, written as Vec<T>, short for ‘vector’.

Statics§

PEGGEN_COUNT

Traits§

AstImpl
FromStr
Num
ParseImpl
PushImpl
RuleImpl
SkipSpace
ToSpan

Functions§

stack_sanity_check

Derive Macros§

EnumAstImpl
Generate AstImpl trait from rule attributes
FromStrAstImpl
Generate AstImpl trait from PushImpl trait
Num
Generate Num trait from rule attributes
Parse
ParseImpl
Generate Parse trait(s) from rule attributes
SkipSpace
Generate SkipSpace trait the handles ’\n\t ’