ANTLR Support Libraries 2.7.1+
|
#include <TokenWithIndex.hpp>
Public Member Functions | |
TokenWithIndex () | |
TokenWithIndex (int t, const std::string &txt) | |
TokenWithIndex (const std::string &s) | |
~TokenWithIndex () | |
void | setIndex (size_t idx) |
size_t | getIndex (void) const |
std::string | toString () const |
Static Public Member Functions | |
static RefToken | factory () |
Protected Attributes | |
size_t | index |
Private Member Functions | |
TokenWithIndex (const TokenWithIndex &) | |
const TokenWithIndex & | operator= (const TokenWithIndex &) |
TokenWithIndex::TokenWithIndex | ( | ) | [inline] |
TokenWithIndex::TokenWithIndex | ( | int | t, |
const std::string & | txt | ||
) | [inline] |
TokenWithIndex::TokenWithIndex | ( | const std::string & | s | ) | [inline] |
TokenWithIndex::~TokenWithIndex | ( | ) | [inline] |
TokenWithIndex::TokenWithIndex | ( | const TokenWithIndex & | ) | [private] |
static RefToken TokenWithIndex::factory | ( | ) | [inline, static] |
size_t TokenWithIndex::getIndex | ( | void | ) | const [inline] |
const TokenWithIndex& TokenWithIndex::operator= | ( | const TokenWithIndex & | ) | [private] |
void TokenWithIndex::setIndex | ( | size_t | idx | ) | [inline] |
std ::string TokenWithIndex::toString | ( | ) | const [inline] |
size_t TokenWithIndex::index [protected] |