zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TSymbol Class Referenceabstract

#include <SymbolTable.h>

Inherited by TFunction, and TVariable.

Public Member Functions

 TSymbol (const TString *n)
 
virtual ~TSymbol ()
 
virtual void dump (TInfoSink &infoSink) const =0
 
const TStringgetExtension () const
 
virtual const TStringgetMangledName () const
 
const TStringgetName () const
 
int getUniqueId () const
 
virtual bool isFunction () const
 
virtual bool isVariable () const
 
 POOL_ALLOCATOR_NEW_DELETE ()
 
void relateToExtension (const TString &ext)
 
void setUniqueId (int id)
 

Detailed Description

Definition at line 42 of file SymbolTable.h.

Constructor & Destructor Documentation

TSymbol::TSymbol ( const TString n)
inline

Definition at line 45 of file SymbolTable.h.

virtual TSymbol::~TSymbol ( )
inlinevirtual

Definition at line 46 of file SymbolTable.h.

Member Function Documentation

virtual void TSymbol::dump ( TInfoSink infoSink) const
pure virtual

Implemented in TFunction, and TVariable.

const TString& TSymbol::getExtension ( ) const
inline

Definition at line 56 of file SymbolTable.h.

Referenced by switch().

virtual const TString& TSymbol::getMangledName ( ) const
inlinevirtual

Reimplemented in TFunction.

Definition at line 49 of file SymbolTable.h.

References getName().

Referenced by TSymbolTableLevel::insert().

int TSymbol::getUniqueId ( ) const
inline

Definition at line 53 of file SymbolTable.h.

Referenced by TParseContext::executeInitializer(), and switch().

virtual bool TSymbol::isFunction ( ) const
inlinevirtual

Reimplemented in TFunction.

Definition at line 50 of file SymbolTable.h.

Referenced by TParseContext::findFunction(), and switch().

virtual bool TSymbol::isVariable ( ) const
inlinevirtual

Reimplemented in TVariable.

Definition at line 51 of file SymbolTable.h.

Referenced by TParseContext::arrayErrorCheck(), check_type(), and switch().

TSymbol::POOL_ALLOCATOR_NEW_DELETE ( )
void TSymbol::relateToExtension ( const TString ext)
inline

Definition at line 55 of file SymbolTable.h.

Referenced by TSymbolTableLevel::relateToExtension().

void TSymbol::setUniqueId ( int  id)
inline

Definition at line 52 of file SymbolTable.h.

Referenced by TSymbolTable::insert().


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