zenilib
0.5.3.0
|
#include <SymbolTable.h>
Inherits TSymbol.
Public Member Functions | |
TFunction (TOperator o) | |
TFunction (const TString *name, TType &retType, TOperator tOp=EOpNull) | |
virtual | ~TFunction () |
void | addParameter (TParameter &p) |
virtual void | dump (TInfoSink &infoSink) const |
TOperator | getBuiltInOp () const |
const TString & | getMangledName () const |
const TParameter & | getParam (size_t i) const |
size_t | getParamCount () const |
const TType & | getReturnType () const |
bool | isDefined () |
virtual bool | isFunction () const |
void | relateToOperator (TOperator o) |
void | setDefined () |
![]() | |
TSymbol (const TString *n) | |
virtual | ~TSymbol () |
const TString & | getExtension () const |
const TString & | getName () const |
int | getUniqueId () const |
virtual bool | isVariable () const |
POOL_ALLOCATOR_NEW_DELETE () | |
void | relateToExtension (const TString &ext) |
void | setUniqueId (int id) |
Static Public Member Functions | |
static TString | mangleName (const TString &name) |
static TString | unmangleName (const TString &mangledName) |
Definition at line 129 of file SymbolTable.h.
|
inline |
Definition at line 131 of file SymbolTable.h.
Definition at line 136 of file SymbolTable.h.
|
virtual |
Definition at line 162 of file SymbolTable.cpp.
References i.
|
inline |
Definition at line 151 of file SymbolTable.h.
References TType::getMangledName(), and TParameter::type.
Implements TSymbol.
Definition at line 139 of file SymbolTable.cpp.
References TInfoSink::debug, TType::getBasicString(), getMangledName(), and TSymbol::getName().
|
inline |
Definition at line 161 of file SymbolTable.h.
Referenced by switch().
Reimplemented from TSymbol.
Definition at line 157 of file SymbolTable.h.
Referenced by dump(), TParseContext::findFunction(), and switch().
|
inline |
|
inline |
Definition at line 166 of file SymbolTable.h.
Referenced by switch().
Definition at line 158 of file SymbolTable.h.
Referenced by switch().
|
inline |
Definition at line 164 of file SymbolTable.h.
Referenced by switch().
|
inlinevirtual |
Reimplemented from TSymbol.
Definition at line 143 of file SymbolTable.h.
Definition at line 145 of file SymbolTable.h.
Definition at line 160 of file SymbolTable.h.
Referenced by TSymbolTableLevel::relateToOperator().
|
inline |
Definition at line 163 of file SymbolTable.h.
Referenced by switch().
Definition at line 146 of file SymbolTable.h.
Referenced by TOutputGLSLBase::hashFunctionName(), sh::DetectGradientOperation::visitAggregate(), and sh::OutputHLSL::visitAggregate().