GME
13
|
#include <AToken.h>
Public Member Functions | |
virtual | ~ANTLRAbstractToken () |
virtual ANTLRTokenType | getType () const =0 |
virtual void | setType (ANTLRTokenType t)=0 |
virtual int | getLine () const =0 |
virtual void | setLine (int line)=0 |
virtual ANTLRChar * | getText () const =0 |
virtual void | setText (ANTLRChar *)=0 |
virtual ANTLRAbstractToken * | makeToken (ANTLRTokenType tt, ANTLRChar *text, int line)=0 |
virtual unsigned | nref () const |
virtual void | ref () |
virtual void | deref () |
virtual void | panic (char *msg) |
virtual ANTLRAbstractToken::~ANTLRAbstractToken | ( | ) | [inline, virtual] |
virtual void ANTLRAbstractToken::deref | ( | ) | [inline, virtual] |
Reimplemented in ANTLRRefCountToken.
virtual int ANTLRAbstractToken::getLine | ( | ) | const [pure virtual] |
Implemented in ANTLRCommonToken, and ANTLRCommonNoRefCountToken.
virtual ANTLRChar* ANTLRAbstractToken::getText | ( | ) | const [pure virtual] |
Implemented in ANTLRCommonToken, and ANTLRCommonNoRefCountToken.
virtual ANTLRTokenType ANTLRAbstractToken::getType | ( | ) | const [pure virtual] |
Implemented in ANTLRCommonToken, and ANTLRCommonNoRefCountToken.
virtual ANTLRAbstractToken* ANTLRAbstractToken::makeToken | ( | ANTLRTokenType | tt, |
ANTLRChar * | text, | ||
int | line | ||
) | [pure virtual] |
Implemented in ANTLRCommonToken, ANTLRCommonNoRefCountToken, and ANTLRRefCountToken.
virtual unsigned ANTLRAbstractToken::nref | ( | ) | const [inline, virtual] |
Reimplemented in ANTLRRefCountToken.
virtual void ANTLRAbstractToken::panic | ( | char * | msg | ) | [inline, virtual] |
virtual void ANTLRAbstractToken::ref | ( | ) | [inline, virtual] |
Reimplemented in ANTLRRefCountToken.
virtual void ANTLRAbstractToken::setLine | ( | int | line | ) | [pure virtual] |
Implemented in ANTLRCommonToken, and ANTLRCommonNoRefCountToken.
virtual void ANTLRAbstractToken::setText | ( | ANTLRChar * | ) | [pure virtual] |
Implemented in ANTLRCommonToken, and ANTLRCommonNoRefCountToken.
virtual void ANTLRAbstractToken::setType | ( | ANTLRTokenType | t | ) | [pure virtual] |
Implemented in ANTLRCommonToken, and ANTLRCommonNoRefCountToken.