GME
13
|
#include <AToken.h>
Public Member Functions | |
ANTLRCommonToken (ANTLRTokenType t, ANTLRChar *s) | |
ANTLRCommonToken () | |
virtual | ~ANTLRCommonToken () |
ANTLRTokenType | getType () const |
void | setType (ANTLRTokenType t) |
virtual int | getLine () const |
void | setLine (int line) |
ANTLRChar * | getText () const |
int | getLength () const |
void | setText (ANTLRChar *s) |
virtual ANTLRAbstractToken * | makeToken (ANTLRTokenType tt, ANTLRChar *txt, int line) |
ANTLRCommonToken (const ANTLRCommonToken &from) | |
virtual ANTLRCommonToken & | operator= (const ANTLRCommonToken &rhs) |
Protected Attributes | |
ANTLRTokenType | _type |
int | _line |
ANTLRChar * | _text |
ANTLRCommonToken::ANTLRCommonToken | ( | ANTLRTokenType | t, |
ANTLRChar * | s | ||
) | [inline] |
ANTLRCommonToken::ANTLRCommonToken | ( | ) | [inline] |
virtual ANTLRCommonToken::~ANTLRCommonToken | ( | ) | [inline, virtual] |
ANTLRCommonToken::ANTLRCommonToken | ( | const ANTLRCommonToken & | from | ) | [inline] |
int ANTLRCommonToken::getLength | ( | ) | const [inline] |
virtual int ANTLRCommonToken::getLine | ( | ) | const [inline, virtual] |
Implements ANTLRAbstractToken.
ANTLRChar* ANTLRCommonToken::getText | ( | ) | const [inline, virtual] |
Implements ANTLRAbstractToken.
ANTLRTokenType ANTLRCommonToken::getType | ( | ) | const [inline, virtual] |
Implements ANTLRAbstractToken.
virtual ANTLRAbstractToken* ANTLRCommonToken::makeToken | ( | ANTLRTokenType | tt, |
ANTLRChar * | txt, | ||
int | line | ||
) | [inline, virtual] |
Reimplemented from ANTLRRefCountToken.
virtual ANTLRCommonToken& ANTLRCommonToken::operator= | ( | const ANTLRCommonToken & | rhs | ) | [inline, virtual] |
void ANTLRCommonToken::setLine | ( | int | line | ) | [inline, virtual] |
Implements ANTLRAbstractToken.
void ANTLRCommonToken::setText | ( | ANTLRChar * | s | ) | [inline, virtual] |
Implements ANTLRAbstractToken.
void ANTLRCommonToken::setType | ( | ANTLRTokenType | t | ) | [inline, virtual] |
Implements ANTLRAbstractToken.
int ANTLRCommonToken::_line [protected] |
ANTLRChar* ANTLRCommonToken::_text [protected] |
ANTLRTokenType ANTLRCommonToken::_type [protected] |