Interpreter prototype alpha
c++ interpreter for make believe language
 
Loading...
Searching...
No Matches
token Class Reference

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
 

Detailed Description

creates an object with the mapping of a token that was assigned to it from the 'tokens' class


The documentation for this class was generated from the following files: