TokenWithIndex Class Reference

#include <TokenWithIndex.hpp>


Public Member Functions

 TokenWithIndex ()
 TokenWithIndex (int t, const ANTLR_USE_NAMESPACE(std) string &txt)
 TokenWithIndex (const ANTLR_USE_NAMESPACE(std) string &s)
 ~TokenWithIndex ()
void setIndex (size_t idx)
size_t getIndex (void) const
 ANTLR_USE_NAMESPACE (std) string toString() const

Static Public Member Functions

static RefToken factory ()

Protected Attributes

size_t index

Private Member Functions

 TokenWithIndex (const TokenWithIndex &)
const TokenWithIndexoperator= (const TokenWithIndex &)


Detailed Description

Definition at line 19 of file TokenWithIndex.hpp.


Constructor & Destructor Documentation

TokenWithIndex::TokenWithIndex (  )  [inline]

Definition at line 22 of file TokenWithIndex.hpp.

TokenWithIndex::TokenWithIndex ( int  t,
const ANTLR_USE_NAMESPACE(std) string &  txt 
) [inline]

Definition at line 27 of file TokenWithIndex.hpp.

TokenWithIndex::TokenWithIndex ( const ANTLR_USE_NAMESPACE(std) string &  s  )  [inline]

Definition at line 34 of file TokenWithIndex.hpp.

TokenWithIndex::~TokenWithIndex (  )  [inline]

Definition at line 41 of file TokenWithIndex.hpp.

TokenWithIndex::TokenWithIndex ( const TokenWithIndex  )  [private]


Member Function Documentation

void TokenWithIndex::setIndex ( size_t  idx  )  [inline]

Definition at line 45 of file TokenWithIndex.hpp.

size_t TokenWithIndex::getIndex ( void   )  const [inline]

Definition at line 49 of file TokenWithIndex.hpp.

TokenWithIndex::ANTLR_USE_NAMESPACE ( std   )  const [inline]

Definition at line 54 of file TokenWithIndex.hpp.

References ANTLR_USE_NAMESPACE.

static RefToken TokenWithIndex::factory (  )  [inline, static]

Definition at line 65 of file TokenWithIndex.hpp.

const TokenWithIndex& TokenWithIndex::operator= ( const TokenWithIndex  )  [private]


Field Documentation

size_t TokenWithIndex::index [protected]

Definition at line 71 of file TokenWithIndex.hpp.


The documentation for this class was generated from the following file:

Generated on Tue Mar 31 20:19:28 2009 for ctrump by  doxygen 1.5.6