webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | List of all members
TIntermTernary Class Reference

#include <IntermNode.h>

Inheritance diagram for TIntermTernary:
TIntermTyped TIntermNode angle::NonCopyable

Public Member Functions

 TIntermTernary (TIntermTyped *cond, TIntermTyped *trueExpression, TIntermTyped *falseExpression)
 
void traverse (TIntermTraverser *it) override
 
bool replaceChildNode (TIntermNode *original, TIntermNode *replacement) override
 
TIntermTyped * getCondition () const
 
TIntermTyped * getTrueExpression () const
 
TIntermTyped * getFalseExpression () const
 
TIntermTernary * getAsTernaryNode () override
 
TIntermTyped * deepCopy () const override
 
bool hasSideEffects () const override
 
- Public Member Functions inherited from TIntermTyped
 TIntermTyped (const TType &t)
 
TIntermTyped * getAsTyped () override
 
void setType (const TType &t)
 
void setTypePreservePrecision (const TType &t)
 
const TType & getType () const
 
TType * getTypePointer ()
 
TBasicType getBasicType () const
 
TQualifier getQualifier () const
 
TPrecision getPrecision () const
 
int getCols () const
 
int getRows () const
 
int getNominalSize () const
 
int getSecondarySize () const
 
bool isInterfaceBlock () const
 
bool isMatrix () const
 
bool isArray () const
 
bool isVector () const
 
bool isScalar () const
 
bool isScalarInt () const
 
const char * getBasicString () const
 
TString getCompleteString () const
 
unsigned int getArraySize () const
 
bool isConstructorWithOnlyConstantUnionParameters ()
 
- Public Member Functions inherited from TIntermNode
 POOL_ALLOCATOR_NEW_DELETE ()
 
 TIntermNode ()
 
virtual ~TIntermNode ()
 
const TSourceLoc & getLine () const
 
void setLine (const TSourceLoc &l)
 
virtual TIntermConstantUnion * getAsConstantUnion ()
 
virtual TIntermFunctionDefinition * getAsFunctionDefinition ()
 
virtual TIntermAggregate * getAsAggregate ()
 
virtual TIntermBlock * getAsBlock ()
 
virtual TIntermSwizzle * getAsSwizzleNode ()
 
virtual TIntermBinary * getAsBinaryNode ()
 
virtual TIntermUnary * getAsUnaryNode ()
 
virtual TIntermIfElse * getAsIfElseNode ()
 
virtual TIntermSwitch * getAsSwitchNode ()
 
virtual TIntermCase * getAsCaseNode ()
 
virtual TIntermSymbol * getAsSymbolNode ()
 
virtual TIntermLoop * getAsLoopNode ()
 
virtual TIntermRaw * getAsRawNode ()
 
virtual TIntermBranch * getAsBranchNode ()
 

Static Public Member Functions

static TQualifier DetermineQualifier (TIntermTyped *cond, TIntermTyped *trueExpression, TIntermTyped *falseExpression)
 
- Static Public Member Functions inherited from TIntermTyped
static TIntermTyped * CreateIndexNode (int index)
 
static TIntermTyped * CreateZero (const TType &type)
 

Additional Inherited Members

- Protected Member Functions inherited from TIntermTyped
 TIntermTyped (const TIntermTyped &node)
 
- Protected Attributes inherited from TIntermTyped
TType mType
 
- Protected Attributes inherited from TIntermNode
TSourceLoc mLine
 

Constructor & Destructor Documentation

◆ TIntermTernary()

TIntermTernary::TIntermTernary ( TIntermTyped *  cond,
TIntermTyped *  trueExpression,
TIntermTyped *  falseExpression 
)

Member Function Documentation

◆ deepCopy()

TIntermTyped* TIntermTernary::deepCopy ( ) const
inlineoverridevirtual

Implements TIntermTyped.

◆ DetermineQualifier()

TQualifier TIntermTernary::DetermineQualifier ( TIntermTyped *  cond,
TIntermTyped *  trueExpression,
TIntermTyped *  falseExpression 
)
static

◆ getAsTernaryNode()

TIntermTernary* TIntermTernary::getAsTernaryNode ( )
inlineoverridevirtual

Reimplemented from TIntermNode.

◆ getCondition()

TIntermTyped* TIntermTernary::getCondition ( ) const
inline

◆ getFalseExpression()

TIntermTyped* TIntermTernary::getFalseExpression ( ) const
inline

◆ getTrueExpression()

TIntermTyped* TIntermTernary::getTrueExpression ( ) const
inline

◆ hasSideEffects()

bool TIntermTernary::hasSideEffects ( ) const
inlineoverridevirtual

Implements TIntermTyped.

◆ replaceChildNode()

bool TIntermTernary::replaceChildNode ( TIntermNode *  original,
TIntermNode *  replacement 
)
overridevirtual

Implements TIntermNode.

◆ traverse()

void TIntermTernary::traverse ( TIntermTraverser *  it)
overridevirtual

Implements TIntermNode.


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