|
MXVM 1.8.1
Virtual Machine, Compiler, and Pascal Frontend
|
Classes | |
| class | XParser |
| Base parser providing token-stream navigation. More... | |
| struct | Scope |
| A single scope level, tracking declared identifiers by category. More... | |
| class | TPValidator |
| Semantic validator for Pascal programs. More... | |
Enumerations | |
| enum class | Keywords { AND , ARRAY , BEGIN , CASE , CONST , DIV , DO , DOWNTO , ELSE , END , FILE , FOR , FUNCTION , GOTO , IF , IN , LABEL , MOD , NIL , NOT , OF , OR , PACKED , PROCEDURE , PROGRAM , RECORD , REPEAT , SET , THEN , TO , TYPE , UNTIL , VAR , WHILE , WITH } |
| Standard Pascal reserved keyword enumeration. More... | |
Functions | |
| static bool | ciEquals (const std::string &a, const std::string &b) |
| Case-insensitive string equality comparison. | |
Variables | |
| static const char * | key_str [] |
| String representations of Keywords values, indexed by enum ordinal. | |
| static const std::unordered_set< std::string > | pascal_keywords |
|
strong |
|
static |
Case-insensitive string equality comparison.
| a | First string |
| b | Second string |
a and b are equal ignoring ASCII case Definition at line 67 of file validator.cpp.
Referenced by mxx::TPValidator::match(), and mxx::TPValidator::peekIs().
|
static |
|
static |
Definition at line 1373 of file validator.cpp.
Referenced by mxx::TPValidator::isPascalKeyword().