Lime Parser Generator 0.1.0
Runtime-extensible LALR(1) parser with SIMD tokenization and LLVM JIT
Loading...
Searching...
No Matches
ParseContext Struct Reference

Per-parse-session state. More...

#include <parse_context.h>

Data Fields

ParserSnapshotsnapshot
 Snapshot pinned for this parse session.
 

Detailed Description

Per-parse-session state.

Opaque parse context handle.

Pins a snapshot for the duration of a parse, ensuring grammar stability even if extensions are loaded or unloaded by other threads while parsing is in flight.

See include/parse_context.h for details.

Definition at line 22 of file parse_context.h.

Field Documentation

◆ snapshot

ParserSnapshot* ParseContext::snapshot

Snapshot pinned for this parse session.

Definition at line 23 of file parse_context.h.


The documentation for this struct was generated from the following file: