MXVM 1.8.1
Virtual Machine, Compiler, and Pascal Frontend
Loading...
Searching...
No Matches
types.cpp File Reference

Stream operators for TokenType and CharType enumerations. More...

#include "scanner/types.hpp"
Include dependency graph for types.cpp:

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< OperatorTypetypes::lookUp (const std::string &op)
 Look up an operator string and return its OperatorType.
std::optional< KeywordTypetypes::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"}

Detailed Description

Stream operators for TokenType and CharType enumerations.

Author
Jared Bruni

Definition in file types.cpp.