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

#include <IntermNode.h>

Inheritance diagram for TIntermOperator:
TIntermTyped TIntermNode angle::NonCopyable TIntermAggregate TIntermBinary TIntermUnary

Public Member Functions

TOperator getOp () const
 
bool isAssignment () const
 
bool isMultiplication () const
 
bool isConstructor () const
 
bool hasSideEffects () const override
 
- Public Member Functions inherited from TIntermTyped
 TIntermTyped (const TType &t)
 
virtual TIntermTypeddeepCopy () const =0
 
TIntermTypedgetAsTyped () override
 
void setType (const TType &t)
 
void setTypePreservePrecision (const TType &t)
 
const TTypegetType () const
 
TTypegetTypePointer ()
 
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 TSourceLocgetLine () const
 
void setLine (const TSourceLoc &l)
 
virtual void traverse (TIntermTraverser *)=0
 
virtual TIntermConstantUniongetAsConstantUnion ()
 
virtual TIntermFunctionDefinitiongetAsFunctionDefinition ()
 
virtual TIntermAggregategetAsAggregate ()
 
virtual TIntermBlockgetAsBlock ()
 
virtual TIntermSwizzlegetAsSwizzleNode ()
 
virtual TIntermBinarygetAsBinaryNode ()
 
virtual TIntermUnarygetAsUnaryNode ()
 
virtual TIntermTernarygetAsTernaryNode ()
 
virtual TIntermIfElsegetAsIfElseNode ()
 
virtual TIntermSwitchgetAsSwitchNode ()
 
virtual TIntermCasegetAsCaseNode ()
 
virtual TIntermSymbolgetAsSymbolNode ()
 
virtual TIntermLoopgetAsLoopNode ()
 
virtual TIntermRawgetAsRawNode ()
 
virtual TIntermBranchgetAsBranchNode ()
 
virtual bool replaceChildNode (TIntermNode *original, TIntermNode *replacement)=0
 

Protected Member Functions

 TIntermOperator (TOperator op)
 
 TIntermOperator (TOperator op, const TType &type)
 
 TIntermOperator (const TIntermOperator &)=default
 
- Protected Member Functions inherited from TIntermTyped
 TIntermTyped (const TIntermTyped &node)
 

Protected Attributes

TOperator mOp
 
- Protected Attributes inherited from TIntermTyped
TType mType
 
- Protected Attributes inherited from TIntermNode
TSourceLoc mLine
 

Additional Inherited Members

- Static Public Member Functions inherited from TIntermTyped
static TIntermTypedCreateIndexNode (int index)
 
static TIntermTypedCreateZero (const TType &type)
 

Constructor & Destructor Documentation

◆ TIntermOperator() [1/3]

TIntermOperator::TIntermOperator ( TOperator  op)
inlineprotected

◆ TIntermOperator() [2/3]

TIntermOperator::TIntermOperator ( TOperator  op,
const TType type 
)
inlineprotected

◆ TIntermOperator() [3/3]

TIntermOperator::TIntermOperator ( const TIntermOperator )
protecteddefault

Member Function Documentation

◆ getOp()

TOperator TIntermOperator::getOp ( ) const
inline

◆ hasSideEffects()

bool TIntermOperator::hasSideEffects ( ) const
inlineoverridevirtual

Implements TIntermTyped.

Reimplemented in TIntermAggregate, TIntermUnary, and TIntermBinary.

◆ isAssignment()

bool TIntermOperator::isAssignment ( ) const

◆ isConstructor()

bool TIntermOperator::isConstructor ( ) const

◆ isMultiplication()

bool TIntermOperator::isMultiplication ( ) const

Member Data Documentation

◆ mOp

TOperator TIntermOperator::mOp
protected

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