creates an object with the mapping of a token that was assigned to it from the 'tokens' class More...
#include <tokens.h>
Public Member Functions | |
std::string | __represent__ () const |
returns a string representation of the the type and value class member variables | |
Public Attributes | |
int | type = tokens::tokensArr.size() - 1 |
number used to represent token type in enums | |
std::string | value = "" |
can be none if the no value is assigned, eg plus or minus operations | |
creates an object with the mapping of a token that was assigned to it from the 'tokens' class