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

#include <intermediate.h>

Inherits TIntermTyped.

Public Member Functions

 TIntermSymbol (int i, const TString &sym, const TType &t)
virtual TIntermSymbolgetAsSymbolNode ()
int getId () const
const TStringgetOriginalSymbol () const
const TStringgetSymbol () const
void setId (int newId)
void setSymbol (const TString &sym)
virtual void traverse (TIntermTraverser *)
- Public Member Functions inherited from TIntermTyped
 TIntermTyped (const TType &t)
int elementRegisterCount () const
int getArraySize () const
virtual TIntermTypedgetAsTyped ()
const char * getBasicString () const
TBasicType getBasicType () const
TString getCompleteString () const
int getNominalSize () const
TPrecision getPrecision () const
TQualifier getQualifier () const
const char * getQualifierString () const
const TTypegetType () const
TTypegetTypePointer ()
bool isArray () const
bool isMatrix () const
bool isScalar () const
bool isVector () const
void setType (const TType &t)
int totalRegisterCount () const
- Public Member Functions inherited from TIntermNode
 TIntermNode ()
virtual ~TIntermNode ()
virtual TIntermAggregategetAsAggregate ()
virtual TIntermBinarygetAsBinaryNode ()
virtual TIntermConstantUniongetAsConstantUnion ()
virtual TIntermLoopgetAsLoopNode ()
virtual TIntermSelectiongetAsSelectionNode ()
virtual TIntermUnarygetAsUnaryNode ()
const TSourceLocgetLine () const
void setLine (const TSourceLoc &l)

Protected Attributes

int id
TString originalSymbol
TString symbol
- Protected Attributes inherited from TIntermTyped
TType type
- Protected Attributes inherited from TIntermNode
TSourceLoc line

Detailed Description

Definition at line 340 of file intermediate.h.

Constructor & Destructor Documentation

TIntermSymbol::TIntermSymbol ( int  i,
const TString sym,
const TType t 

Definition at line 345 of file intermediate.h.

References originalSymbol, sym, and symbol.

Member Function Documentation

virtual TIntermSymbol* TIntermSymbol::getAsSymbolNode ( )
const TString& TIntermSymbol::getOriginalSymbol ( ) const

Definition at line 354 of file intermediate.h.

References originalSymbol.

Referenced by CollectAttribsUniforms::visitAggregate().

void TIntermSymbol::setId ( int  newId)

Definition at line 351 of file intermediate.h.

Referenced by switch().

void TIntermSymbol::setSymbol ( const TString sym)

Definition at line 352 of file intermediate.h.

References sym, and symbol.

Referenced by MapLongVariableNames::visitSymbol().

Member Data Documentation

int TIntermSymbol::id

Definition at line 360 of file intermediate.h.

Referenced by getId().

TString TIntermSymbol::originalSymbol

Definition at line 362 of file intermediate.h.

Referenced by getOriginalSymbol(), and TIntermSymbol().

TString TIntermSymbol::symbol

Definition at line 361 of file intermediate.h.

Referenced by getSymbol(), setSymbol(), and TIntermSymbol().

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