|
MXVM 1.8.1
Virtual Machine, Compiler, and Pascal Frontend
|
Stream operators for TokenType and CharType enumerations. More...
#include "scanner/types.hpp"
Go to the source code of this file.
Namespaces | |
| namespace | types |
Functions | |
| void | types::print_type_TokenType (std::ostream &out, const TokenType &tt) |
| Print a TokenType name to a stream. | |
| void | types::print_type_CharType (std::ostream &out, const CharType &c) |
| Print a CharType name to a stream. | |
| std::optional< OperatorType > | types::lookUp (const std::string &op) |
| Look up an operator string and return its OperatorType. | |
| std::optional< KeywordType > | types::lookUp_Keyword (const std::string &op) |
| Look up a keyword string and return its KeywordType. | |
Variables | |
| std::vector< std::string > | types::strCharType {"Characters", "Digits", "Symbols", "String", "Quote", "Space", "NULL"} |
Stream operators for TokenType and CharType enumerations.
Definition in file types.cpp.