sammine-lang
|
#include <Token.h>
Public Member Functions | |
Token (TokenType type, std::string lexeme, Location location) | |
bool | is_comparison () |
bool | is_logical () |
Location | get_location () const |
Public Attributes | |
TokenType | tok_type |
std::string | lexeme |
Location | location |
A class representing a token for sammine-lang, includes TokenType, lexeme and position pair as its members.