RetroArch
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
glslang::TIntermTraverser Class Reference

#include <intermediate.h>

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

Public Member Functions

 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 visitSelection (TVisit, TIntermSelection *)
 
virtual bool visitAggregate (TVisit, TIntermAggregate *)
 
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

const bool preVisit
 
const bool inVisit
 
const bool postVisit
 
const bool rightToLeft
 

Protected Member Functions

TIntermTraverseroperator= (TIntermTraverser &)
 

Protected Attributes

int depth
 
int maxDepth
 
TVector< TIntermNode * > path
 

Constructor & Destructor Documentation

◆ TIntermTraverser()

glslang::TIntermTraverser::TIntermTraverser ( bool  preVisit = true,
bool  inVisit = false,
bool  postVisit = false,
bool  rightToLeft = false 
)
inline

◆ ~TIntermTraverser()

virtual glslang::TIntermTraverser::~TIntermTraverser ( )
inlinevirtual

Member Function Documentation

◆ decrementDepth()

void glslang::TIntermTraverser::decrementDepth ( )
inline
Here is the caller graph for this function:

◆ getMaxDepth()

int glslang::TIntermTraverser::getMaxDepth ( ) const
inline

◆ getParentNode()

TIntermNode* glslang::TIntermTraverser::getParentNode ( )
inline

◆ incrementDepth()

void glslang::TIntermTraverser::incrementDepth ( TIntermNode current)
inline
Here is the caller graph for this function:

◆ operator=()

TIntermTraverser& glslang::TIntermTraverser::operator= ( TIntermTraverser )
protected

◆ visitAggregate()

virtual bool glslang::TIntermTraverser::visitAggregate ( TVisit  ,
TIntermAggregate  
)
inlinevirtual

Reimplemented in glslang::TextureUpgradeAndSamplerRemovalTransform, glslang::TIndexTraverser, glslang::TOutputTraverser, glslang::TLiveTraverser, glslang::TInductiveTraverser, glslang::TRemoveTraverser, and glslang::TConstTraverser.

Here is the caller graph for this function:

◆ visitBinary()

virtual bool glslang::TIntermTraverser::visitBinary ( TVisit  ,
TIntermBinary  
)
inlinevirtual

Reimplemented in glslang::TOutputTraverser, glslang::TReflectionTraverser, glslang::TInductiveTraverser, and glslang::TRemoveTraverser.

Here is the caller graph for this function:

◆ visitBranch()

virtual bool glslang::TIntermTraverser::visitBranch ( TVisit  ,
TIntermBranch  
)
inlinevirtual

Reimplemented in glslang::TOutputTraverser, and glslang::TRemoveTraverser.

Here is the caller graph for this function:

◆ visitConstantUnion()

virtual void glslang::TIntermTraverser::visitConstantUnion ( TIntermConstantUnion )
inlinevirtual

Reimplemented in glslang::TOutputTraverser, glslang::TRemoveTraverser, and glslang::TConstTraverser.

Here is the caller graph for this function:

◆ visitLoop()

virtual bool glslang::TIntermTraverser::visitLoop ( TVisit  ,
TIntermLoop  
)
inlinevirtual

Reimplemented in glslang::TOutputTraverser, and glslang::TRemoveTraverser.

Here is the caller graph for this function:

◆ visitSelection()

virtual bool glslang::TIntermTraverser::visitSelection ( TVisit  ,
TIntermSelection  
)
inlinevirtual

Reimplemented in glslang::TOutputTraverser, glslang::TLiveTraverser, and glslang::TRemoveTraverser.

Here is the caller graph for this function:

◆ visitSwitch()

virtual bool glslang::TIntermTraverser::visitSwitch ( TVisit  ,
TIntermSwitch  
)
inlinevirtual

Reimplemented in glslang::TOutputTraverser, and glslang::TRemoveTraverser.

Here is the caller graph for this function:

◆ visitSymbol()

virtual void glslang::TIntermTraverser::visitSymbol ( TIntermSymbol )
inlinevirtual

Reimplemented in glslang::TextureUpgradeAndSamplerRemovalTransform, glslang::TVarSetTraverser, glslang::TIndexTraverser, glslang::TVarGatherTraverser, glslang::TOutputTraverser, glslang::TReflectionTraverser, and glslang::TRemoveTraverser.

Here is the caller graph for this function:

◆ visitUnary()

virtual bool glslang::TIntermTraverser::visitUnary ( TVisit  ,
TIntermUnary  
)
inlinevirtual

Reimplemented in glslang::TOutputTraverser, glslang::TInductiveTraverser, and glslang::TRemoveTraverser.

Here is the caller graph for this function:

Member Data Documentation

◆ depth

int glslang::TIntermTraverser::depth
protected

◆ inVisit

const bool glslang::TIntermTraverser::inVisit

◆ maxDepth

int glslang::TIntermTraverser::maxDepth
protected

◆ path

TVector<TIntermNode *> glslang::TIntermTraverser::path
protected

◆ postVisit

const bool glslang::TIntermTraverser::postVisit

◆ preVisit

const bool glslang::TIntermTraverser::preVisit

◆ rightToLeft

const bool glslang::TIntermTraverser::rightToLeft

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