RetroArch
Public Types | Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
glslang::TLiveTraverser Class Reference

#include <LiveTraverser.h>

Inheritance diagram for glslang::TLiveTraverser:
[legend]
Collaboration diagram for glslang::TLiveTraverser:
[legend]

Public Types

typedef std::list< TIntermAggregate * > TFunctionStack
 

Public Member Functions

 TLiveTraverser (const TIntermediate &i, bool traverseAll=false, bool preVisit=true, bool inVisit=false, bool postVisit=false)
 
void pushFunction (const TString &name)
 
- Public Member Functions inherited from glslang::TIntermTraverser
 TIntermTraverser (bool preVisit=true, bool inVisit=false, bool postVisit=false, bool rightToLeft=false)
 
virtual ~TIntermTraverser ()
 
virtual void visitSymbol (TIntermSymbol *)
 
virtual void visitConstantUnion (TIntermConstantUnion *)
 
virtual bool visitBinary (TVisit, TIntermBinary *)
 
virtual bool visitUnary (TVisit, TIntermUnary *)
 
virtual bool visitLoop (TVisit, TIntermLoop *)
 
virtual bool visitBranch (TVisit, TIntermBranch *)
 
virtual bool visitSwitch (TVisit, TIntermSwitch *)
 
int getMaxDepth () const
 
void incrementDepth (TIntermNode *current)
 
void decrementDepth ()
 
TIntermNodegetParentNode ()
 

Public Attributes

TFunctionStack functions
 
- Public Attributes inherited from glslang::TIntermTraverser
const bool preVisit
 
const bool inVisit
 
const bool postVisit
 
const bool rightToLeft
 

Protected Types

typedef std::unordered_set< TStringTLiveFunctions
 

Protected Member Functions

virtual bool visitAggregate (TVisit, TIntermAggregate *node)
 
virtual bool visitSelection (TVisit, TIntermSelection *node)
 
void addFunctionCall (TIntermAggregate *call)
 
- Protected Member Functions inherited from glslang::TIntermTraverser
TIntermTraverseroperator= (TIntermTraverser &)
 

Protected Attributes

const TIntermediateintermediate
 
TLiveFunctions liveFunctions
 
bool traverseAll
 
- Protected Attributes inherited from glslang::TIntermTraverser
int depth
 
int maxDepth
 
TVector< TIntermNode * > path
 

Private Member Functions

 TLiveTraverser (TLiveTraverser &)
 
TLiveTraverseroperator= (TLiveTraverser &)
 

Member Typedef Documentation

◆ TFunctionStack

◆ TLiveFunctions

typedef std::unordered_set<TString> glslang::TLiveTraverser::TLiveFunctions
protected

Constructor & Destructor Documentation

◆ TLiveTraverser() [1/2]

glslang::TLiveTraverser::TLiveTraverser ( const TIntermediate i,
bool  traverseAll = false,
bool  preVisit = true,
bool  inVisit = false,
bool  postVisit = false 
)
inline

◆ TLiveTraverser() [2/2]

glslang::TLiveTraverser::TLiveTraverser ( TLiveTraverser )
private

Member Function Documentation

◆ addFunctionCall()

void glslang::TLiveTraverser::addFunctionCall ( TIntermAggregate call)
inlineprotected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=()

TLiveTraverser& glslang::TLiveTraverser::operator= ( TLiveTraverser )
private

◆ pushFunction()

void glslang::TLiveTraverser::pushFunction ( const TString name)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ visitAggregate()

virtual bool glslang::TLiveTraverser::visitAggregate ( TVisit  ,
TIntermAggregate node 
)
inlineprotectedvirtual

Reimplemented from glslang::TIntermTraverser.

Here is the call graph for this function:

◆ visitSelection()

virtual bool glslang::TLiveTraverser::visitSelection ( TVisit  ,
TIntermSelection node 
)
inlineprotectedvirtual

Reimplemented from glslang::TIntermTraverser.

Here is the call graph for this function:

Member Data Documentation

◆ functions

TFunctionStack glslang::TLiveTraverser::functions

◆ intermediate

const TIntermediate& glslang::TLiveTraverser::intermediate
protected

◆ liveFunctions

TLiveFunctions glslang::TLiveTraverser::liveFunctions
protected

◆ traverseAll

bool glslang::TLiveTraverser::traverseAll
protected

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