zenilib
0.5.3.0
|
#include <intermediate.h>
Inherits TIntermNode.
Public Member Functions | |
TIntermBranch (TOperator op, TIntermTyped *e) | |
TIntermTyped * | getExpression () |
TOperator | getFlowOp () |
virtual void | traverse (TIntermTraverser *) |
![]() | |
TIntermNode () | |
virtual | ~TIntermNode () |
virtual TIntermAggregate * | getAsAggregate () |
virtual TIntermBinary * | getAsBinaryNode () |
virtual TIntermConstantUnion * | getAsConstantUnion () |
virtual TIntermLoop * | getAsLoopNode () |
virtual TIntermSelection * | getAsSelectionNode () |
virtual TIntermSymbol * | getAsSymbolNode () |
virtual TIntermTyped * | getAsTyped () |
virtual TIntermUnary * | getAsUnaryNode () |
const TSourceLoc & | getLine () const |
POOL_ALLOCATOR_NEW_DELETE () | |
void | setLine (const TSourceLoc &l) |
Protected Attributes | |
TIntermTyped * | expression |
TOperator | flowOp |
![]() | |
TSourceLoc | line |
Definition at line 321 of file intermediate.h.
|
inline |
Definition at line 323 of file intermediate.h.
|
inline |
Definition at line 330 of file intermediate.h.
References expression.
Referenced by sh::OutputHLSL::visitBranch().
|
inline |
Definition at line 329 of file intermediate.h.
References flowOp.
Referenced by sh::DetectLoopDiscontinuity::visitBranch(), TOutputGLSLBase::visitBranch(), and sh::OutputHLSL::visitBranch().
|
virtual |
Implements TIntermNode.
Definition at line 277 of file IntermTraverse.cpp.
References TIntermTraverser::decrementDepth(), expression, TIntermTraverser::incrementDepth(), PostVisit, TIntermTraverser::postVisit, PreVisit, TIntermTraverser::preVisit, TIntermNode::traverse(), and TIntermTraverser::visitBranch().
|
protected |
Definition at line 334 of file intermediate.h.
Referenced by getExpression(), and traverse().
|
protected |
Definition at line 333 of file intermediate.h.
Referenced by getFlowOp().