ANTLR Support Libraries 2.7.1+
Loading...
Searching...
No Matches
TokenRef Struct Reference

#include <TokenRefCount.hpp>

Collaboration diagram for TokenRef:

Public Member Functions

 TokenRef (Token *p)
 ~TokenRef ()
TokenRefincrement ()
bool decrement ()

Static Public Member Functions

static TokenRefgetRef (const Token *p)

Public Attributes

Token *const ptr
unsigned int count

Private Member Functions

 TokenRef (const TokenRef &)
TokenRefoperator= (const TokenRef &)

Constructor & Destructor Documentation

◆ TokenRef() [1/2]

TokenRef::TokenRef ( Token * p)

◆ ~TokenRef()

TokenRef::~TokenRef ( )

◆ TokenRef() [2/2]

TokenRef::TokenRef ( const TokenRef & )
private

Member Function Documentation

◆ decrement()

bool TokenRef::decrement ( )
inline

◆ getRef()

TokenRef * TokenRef::getRef ( const Token * p)
static

◆ increment()

TokenRef * TokenRef::increment ( )
inline

◆ operator=()

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

Member Data Documentation

◆ count

unsigned int TokenRef::count

◆ ptr

Token* const TokenRef::ptr

The documentation for this struct was generated from the following files: