|
Lime Parser Generator 0.1.0
Runtime-extensible LALR(1) parser with SIMD tokenization and LLVM JIT
|
A grammar context – one possible interpretation of a token within a particular grammar/extension. More...
#include <conflict.h>
Data Fields | |
| ExtensionID | ext_id |
| Extension providing this context. | |
| const char * | grammar_name |
| Human-readable grammar name (not owned) | |
| int | priority |
| Higher = preferred (from extension) | |
| int | state |
| Parser state where this applies. | |
| uint16_t | token |
| Token code in this grammar's space. | |
A grammar context – one possible interpretation of a token within a particular grammar/extension.
Definition at line 215 of file conflict.h.
| ExtensionID LimeContext::ext_id |
Extension providing this context.
Definition at line 216 of file conflict.h.
| const char* LimeContext::grammar_name |
Human-readable grammar name (not owned)
Definition at line 220 of file conflict.h.
| int LimeContext::priority |
Higher = preferred (from extension)
Definition at line 219 of file conflict.h.
| int LimeContext::state |
Parser state where this applies.
Definition at line 218 of file conflict.h.
| uint16_t LimeContext::token |
Token code in this grammar's space.
Definition at line 217 of file conflict.h.