Skip to main content

Module context

Module context 

Source

Structs§

ActionError
Context
Mutable state for one parse run.
ContextSeed
Typed form of TypeScript’s parent_ctx parse argument. Custom metadata and plugin state are deep-merged into the new Context, while errors and parser-owned cursor/rule fields always start fresh for each parse.
InstanceInfo
Read-only identity and grammar summary for the owning parser instance. Callbacks that need to mutate grammar receive &mut Tabnas during plugin installation; parse-time callbacks use this stable per-parse snapshot.