zenilib
0.5.3.0
|
#include <SearchSymbol.h>
Inherits TIntermTraverser.
Public Member Functions | |
SearchSymbol (const TString &symbol) | |
bool | foundMatch () const |
void | traverse (TIntermNode *node) |
void | visitSymbol (TIntermSymbol *symbolNode) |
![]() | |
TIntermTraverser (bool preVisit=true, bool inVisit=false, bool postVisit=false, bool rightToLeft=false) | |
virtual | ~TIntermTraverser () |
void | decrementDepth () |
int | getMaxDepth () const |
void | incrementDepth () |
POOL_ALLOCATOR_NEW_DELETE () | |
virtual bool | visitAggregate (Visit visit, TIntermAggregate *) |
virtual bool | visitBinary (Visit visit, TIntermBinary *) |
virtual bool | visitBranch (Visit visit, TIntermBranch *) |
virtual void | visitConstantUnion (TIntermConstantUnion *) |
virtual bool | visitLoop (Visit visit, TIntermLoop *) |
virtual bool | visitSelection (Visit visit, TIntermSelection *) |
virtual bool | visitUnary (Visit visit, TIntermUnary *) |
Protected Attributes | |
bool | match |
const TString & | mSymbol |
![]() | |
int | depth |
int | maxDepth |
Additional Inherited Members | |
![]() | |
static TString | hash (const TString &name, ShHashFunction64 hashFunction) |
![]() | |
const bool | inVisit |
const bool | postVisit |
const bool | preVisit |
const bool | rightToLeft |
Definition at line 17 of file SearchSymbol.h.
Definition at line 16 of file SearchSymbol.cpp.
References match.
bool sh::SearchSymbol::foundMatch | ( | ) | const |
Definition at line 34 of file SearchSymbol.cpp.
References match.
void sh::SearchSymbol::traverse | ( | TIntermNode * | node | ) |
Definition at line 21 of file SearchSymbol.cpp.
References TIntermNode::traverse().
|
virtual |
Reimplemented from TIntermTraverser.
Definition at line 26 of file SearchSymbol.cpp.
References TIntermSymbol::getSymbol(), match, and mSymbol.
|
protected |
Definition at line 29 of file SearchSymbol.h.
Referenced by foundMatch(), SearchSymbol(), and visitSymbol().
Definition at line 28 of file SearchSymbol.h.
Referenced by visitSymbol().