ANTLR Support Libraries 2.7.1+
Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions | List of all members
TokenWithIndex Class Reference

#include <TokenWithIndex.hpp>

Inheritance diagram for TokenWithIndex:
Inheritance graph
[legend]
Collaboration diagram for TokenWithIndex:
Collaboration graph
[legend]

Public Member Functions

 TokenWithIndex ()
 
 TokenWithIndex (int t, const std ::string &txt)
 
 TokenWithIndex (const std ::string &s)
 
 ~TokenWithIndex ()
 
void setIndex (size_t idx)
 
size_t getIndex (void) const
 
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 &)
 

Constructor & Destructor Documentation

◆ TokenWithIndex() [1/4]

TokenWithIndex::TokenWithIndex ( )
inline

◆ TokenWithIndex() [2/4]

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

◆ TokenWithIndex() [3/4]

TokenWithIndex::TokenWithIndex ( const std ::string &  s)
inline

◆ ~TokenWithIndex()

TokenWithIndex::~TokenWithIndex ( )
inline

◆ TokenWithIndex() [4/4]

TokenWithIndex::TokenWithIndex ( const TokenWithIndex )
private

Member Function Documentation

◆ factory()

static RefToken TokenWithIndex::factory ( )
inlinestatic

◆ getIndex()

size_t TokenWithIndex::getIndex ( void  ) const
inline

◆ operator=()

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

◆ setIndex()

void TokenWithIndex::setIndex ( size_t  idx)
inline

◆ toString()

std ::string TokenWithIndex::toString ( ) const
inline

Member Data Documentation

◆ index

size_t TokenWithIndex::index
protected

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