ANTLR Support Libraries 2.7.1+
|
#include <CommonHiddenStreamToken.hpp>
Public Member Functions | |
CommonHiddenStreamToken () | |
CommonHiddenStreamToken (int t, const std ::string &txt) | |
CommonHiddenStreamToken (const std ::string &s) | |
RefToken | getHiddenAfter () |
RefToken | getHiddenBefore () |
void | setHiddenAfter (RefToken t) |
void | setHiddenBefore (RefToken t) |
![]() | |
CommonToken () | |
CommonToken (int t, const std ::string &txt) | |
CommonToken (const std ::string &s) | |
virtual std ::string | getText () const |
return contents of token More... | |
virtual void | setText (const std ::string &s) |
set contents of token More... | |
virtual int | getLine () const |
virtual int | getColumn () const |
virtual void | setLine (int l) |
set line for token More... | |
virtual void | setColumn (int c) |
set column for token More... | |
virtual std ::string | toString () const |
![]() | |
Token () | |
Token (int t) | |
Token (int t, const std ::string &txt) | |
virtual | ~Token () |
virtual const std ::string & | getFilename () const |
virtual int | getType () const |
virtual void | setType (int t) |
virtual void | setFilename (const std::string &file) |
Static Public Member Functions | |
static RefToken | factory () |
![]() | |
static RefToken | factory () |
Protected Attributes | |
RefToken | hiddenBefore |
RefToken | hiddenAfter |
![]() | |
int | line |
int | col |
std ::string | text |
Additional Inherited Members | |
![]() | |
static const int | MIN_USER_TYPE = 4 |
static const int | NULL_TREE_LOOKAHEAD = 3 |
static const int | INVALID_TYPE = 0 |
static const int | EOF_TYPE = 1 |
static const int | SKIP = -1 |
CommonHiddenStreamToken::CommonHiddenStreamToken | ( | ) |
CommonHiddenStreamToken::CommonHiddenStreamToken | ( | int | t, |
const std ::string & | txt | ||
) |
CommonHiddenStreamToken::CommonHiddenStreamToken | ( | const std ::string & | s | ) |
|
static |
RefToken CommonHiddenStreamToken::getHiddenAfter | ( | ) |
RefToken CommonHiddenStreamToken::getHiddenBefore | ( | ) |
void CommonHiddenStreamToken::setHiddenAfter | ( | RefToken | t | ) |
void CommonHiddenStreamToken::setHiddenBefore | ( | RefToken | t | ) |
|
protected |
|
protected |