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

Built-in and custom grammar mode identifiers. More...

Enumerations

enum  GrammarMode {
  MODE_SQL = 0 , MODE_XQUERY , MODE_XPATH , MODE_EDN ,
  MODE_JSON , MODE_CUSTOM , MODE_COUNT_
}
 Grammar mode identifiers. More...
 

Detailed Description

Built-in and custom grammar mode identifiers.

Enumeration Type Documentation

◆ GrammarMode

#include <include/grammar_context.h>

Grammar mode identifiers.

Enumerator
MODE_SQL 

Standard SQL (root grammar)

MODE_XQUERY 

XQuery embedded expression.

MODE_XPATH 

XPath embedded expression.

MODE_EDN 

EDN (Extensible Data Notation)

MODE_JSON 

JSON embedded literal.

MODE_CUSTOM 

User-defined / extension grammar.

MODE_COUNT_ 

Sentinel (number of built-in modes)

Definition at line 68 of file grammar_context.h.