|
Lime Parser Generator 0.1.0
Runtime-extensible LALR(1) parser with SIMD tokenization and LLVM JIT
|
One level of the grammar context stack. More...
#include <grammar_context.h>
Data Fields | |
| int | depth |
| Nesting depth (for bracket matching) | |
| GrammarMode | mode |
| Active grammar mode. | |
| const char * | mode_name |
| Human-readable name (borrowed) | |
| ParserSnapshot * | snapshot |
| Snapshot for this grammar. | |
| uint32_t | start_offset |
| Input offset where mode began. | |
One level of the grammar context stack.
Definition at line 90 of file grammar_context.h.
| int GrammarContextEntry::depth |
Nesting depth (for bracket matching)
Definition at line 94 of file grammar_context.h.
| GrammarMode GrammarContextEntry::mode |
Active grammar mode.
Definition at line 91 of file grammar_context.h.
| const char* GrammarContextEntry::mode_name |
Human-readable name (borrowed)
Definition at line 92 of file grammar_context.h.
| ParserSnapshot* GrammarContextEntry::snapshot |
Snapshot for this grammar.
Definition at line 93 of file grammar_context.h.
| uint32_t GrammarContextEntry::start_offset |
Input offset where mode began.
Definition at line 95 of file grammar_context.h.