|
|
| Token (std::string filename_, int line_, int token_, std::string str_="") |
| | Construct a token.
|
| |
|
| Token (const Token &t) |
| | Copy constructor.
|
| |
|
Token & | operator= (const Token &t) |
| |
|
std::string | getFilename () const |
| | Returns the name of the file from which the token was read.
|
| |
|
int | getLine () const |
| | Returns the line number where the token was encountered.
|
| |
|
int | getToken () const |
| | Returns the token id.
|
| |
|
std::string | getString () const |
| | Returns the string constant associated with the token.
|
| |
The documentation for this class was generated from the following file: