All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TVariable Class Reference

#include <SymbolTable.h>

Inherits TSymbol.

Public Member Functions

 TVariable (const TString *name, const TType &t, bool uT=false)
virtual ~TVariable ()
virtual void dump (TInfoSink &infoSink) const
ConstantUniongetConstPointer ()
ConstantUniongetConstPointer () const
TTypegetType ()
const TTypegetType () const
bool isUserType () const
virtual bool isVariable () const
void setQualifier (TQualifier qualifier)
void shareConstPointer (ConstantUnion *constArray)
- Public Member Functions inherited from TSymbol
 TSymbol (const TString *n)
virtual ~TSymbol ()
const TStringgetExtension () const
virtual const TStringgetMangledName () const
const TStringgetName () const
int getUniqueId () const
virtual bool isFunction () const
void relateToExtension (const TString &ext)
void setUniqueId (int id)

Detailed Description

Definition at line 76 of file SymbolTable.h.

Constructor & Destructor Documentation

TVariable::TVariable ( const TString name,
const TType t,
bool  uT = false 

Definition at line 78 of file SymbolTable.h.

virtual TVariable::~TVariable ( )

Definition at line 79 of file SymbolTable.h.

Member Function Documentation

void TVariable::dump ( TInfoSink infoSink) const

Implements TSymbol.

Definition at line 130 of file SymbolTable.cpp.

References TInfoSink::debug, and TSymbol::getName().

ConstantUnion* TVariable::getConstPointer ( )
ConstantUnion* TVariable::getConstPointer ( ) const

Definition at line 96 of file SymbolTable.h.

TType& TVariable::getType ( )
const TType& TVariable::getType ( ) const

Definition at line 82 of file SymbolTable.h.

bool TVariable::isUserType ( ) const

Definition at line 83 of file SymbolTable.h.

Referenced by check_type().

virtual bool TVariable::isVariable ( ) const

Reimplemented from TSymbol.

Definition at line 80 of file SymbolTable.h.

void TVariable::setQualifier ( TQualifier  qualifier)

Definition at line 84 of file SymbolTable.h.

Referenced by InsertBuiltInFunctions().

void TVariable::shareConstPointer ( ConstantUnion constArray)

Definition at line 98 of file SymbolTable.h.

Referenced by TParseContext::executeInitializer().

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