Module api

Structs§

GenGrammarOptions
GenOptions
GrammarWithLexer
LLGuidanceOptions
In lark syntax, this can be specified as JSON object after ‘%llguidance’ declaration in the grammar.
NodeProps
Optional fields allowed on any Node
ParserLimits
RegexExt
TopLevelGrammar
This represents a collection of grammars, with a designated “start” grammar at first position. Grammars can refer to each other via GenGrammar nodes.

Enums§

GrammarId
GrammarInit
StopReason

Constants§

DEFAULT_CONTEXTUAL
cbindgen:ignore