|
| CommonToken (int t, const std ::string &txt) |
|
| CommonToken (const std ::string &s) |
|
virtual std::string | getText () const |
| return contents of token
|
|
virtual void | setText (const std ::string &s) |
| set contents of token
|
|
virtual int | getLine () const |
| get the line the token is at (starting at 1)
|
|
virtual int | getColumn () const |
| gt the column the token is at (starting at 1)
|
|
virtual void | setLine (int l) |
| set line for token
|
|
virtual void | setColumn (int c) |
| set column for token
|
|
virtual std::string | toString () const |
|
| Token (int t) |
|
| Token (int t, const std ::string &txt) |
|
virtual const std::string & | getFilename () const |
|
virtual int | getType () const |
|
virtual void | setType (int t) |
|
virtual void | setFilename (const std::string &file) |
|
Definition at line 19 of file CommonToken.hpp.
◆ CommonToken() [1/3]
antlr::CommonToken::CommonToken |
( |
| ) |
|
◆ CommonToken() [2/3]
antlr::CommonToken::CommonToken |
( |
int | t, |
|
|
const std ::string & | txt ) |
◆ CommonToken() [3/3]
antlr::CommonToken::CommonToken |
( |
const std ::string & | s | ) |
|
◆ factory()
RefToken antlr::CommonToken::factory |
( |
| ) |
|
|
static |
◆ getColumn()
virtual int antlr::CommonToken::getColumn |
( |
| ) |
const |
|
inlinevirtual |
◆ getLine()
virtual int antlr::CommonToken::getLine |
( |
| ) |
const |
|
inlinevirtual |
◆ getText()
virtual std::string antlr::CommonToken::getText |
( |
| ) |
const |
|
inlinevirtual |
◆ setColumn()
virtual void antlr::CommonToken::setColumn |
( |
int | c | ) |
|
|
inlinevirtual |
◆ setLine()
virtual void antlr::CommonToken::setLine |
( |
int | l | ) |
|
|
inlinevirtual |
◆ setText()
virtual void antlr::CommonToken::setText |
( |
const std ::string & | s | ) |
|
|
inlinevirtual |
◆ toString()
std::string antlr::CommonToken::toString |
( |
| ) |
const |
|
virtual |
◆ col
int antlr::CommonToken::col |
|
protected |
◆ line
int antlr::CommonToken::line |
|
protected |
◆ text
std::string antlr::CommonToken::text |
|
protected |
The documentation for this class was generated from the following files: