GME
13
|
#include <AToken.h>
Public Member Functions | |
ANTLRRefCountToken (ANTLRTokenType t, ANTLRChar *s) | |
ANTLRRefCountToken () | |
void | ref () |
void | deref () |
unsigned | nref () const |
virtual ANTLRAbstractToken * | makeToken (ANTLRTokenType tt, ANTLRChar *txt, int line) |
Protected Attributes | |
unsigned | refcnt_ |
ANTLRRefCountToken::ANTLRRefCountToken | ( | ANTLRTokenType | t, |
ANTLRChar * | s | ||
) | [inline] |
ANTLRRefCountToken::ANTLRRefCountToken | ( | ) | [inline] |
void ANTLRRefCountToken::deref | ( | ) | [inline, virtual] |
Reimplemented from ANTLRAbstractToken.
virtual ANTLRAbstractToken* ANTLRRefCountToken::makeToken | ( | ANTLRTokenType | tt, |
ANTLRChar * | txt, | ||
int | line | ||
) | [inline, virtual] |
Implements ANTLRAbstractToken.
Reimplemented in ANTLRCommonToken.
unsigned ANTLRRefCountToken::nref | ( | ) | const [inline, virtual] |
Reimplemented from ANTLRAbstractToken.
void ANTLRRefCountToken::ref | ( | ) | [inline, virtual] |
Reimplemented from ANTLRAbstractToken.
unsigned ANTLRRefCountToken::refcnt_ [protected] |