antlr::Token Class Reference
#include <Token.hpp>
List of all members.
Detailed Description
A token is minimally a token type. Subclasses can add the text matched for the token and line info.
Constructor & Destructor Documentation
antlr::Token::Token |
( |
|
) |
[inline] |
antlr::Token::Token |
( |
int |
t |
) |
[inline] |
antlr::Token::Token |
( |
int |
t, |
|
|
const std::string & |
txt | |
|
) |
| | [inline] |
virtual antlr::Token::~Token |
( |
|
) |
[inline, virtual] |
antlr::Token::Token |
( |
RefToken |
other |
) |
[private] |
antlr::Token::Token |
( |
const Token & |
|
) |
[private] |
Member Function Documentation
int antlr::Token::getColumn |
( |
|
) |
const [virtual] |
const std::string & antlr::Token::getFilename |
( |
|
) |
const [virtual] |
int antlr::Token::getLine |
( |
|
) |
const [virtual] |
std::string antlr::Token::getText |
( |
|
) |
const [virtual] |
int antlr::Token::getType |
( |
|
) |
const [virtual] |
Token& antlr::Token::operator= |
( |
const Token & |
other |
) |
[private] |
void antlr::Token::setColumn |
( |
int |
c |
) |
[virtual] |
void antlr::Token::setFilename |
( |
const std::string & |
file |
) |
[virtual] |
void antlr::Token::setLine |
( |
int |
l |
) |
[virtual] |
void antlr::Token::setText |
( |
const std::string & |
t |
) |
[virtual] |
void antlr::Token::setType |
( |
int |
t |
) |
[virtual] |
std::string antlr::Token::toString |
( |
|
) |
const [virtual] |
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following files: