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

#include <IntermNode.h>

Inheritance diagram for TIntermTyped:
TIntermNode angle::NonCopyable TIntermConstantUnion TIntermFunctionDefinition TIntermOperator TIntermRaw TIntermSwizzle TIntermSymbol TIntermTernary TIntermAggregate TIntermBinary TIntermUnary

Public Member Functions

 TIntermTyped (const TType &t)
 
virtual TIntermTypeddeepCopy () const =0
 
TIntermTypedgetAsTyped () override
 
virtual bool hasSideEffects () const =0
 
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
 

Static Public Member Functions

static TIntermTypedCreateIndexNode (int index)
 
static TIntermTypedCreateZero (const TType &type)
 

Protected Member Functions

 TIntermTyped (const TIntermTyped &node)
 

Protected Attributes

TType mType
 
- Protected Attributes inherited from TIntermNode
TSourceLoc mLine
 

Constructor & Destructor Documentation

◆ TIntermTyped() [1/2]

TIntermTyped::TIntermTyped ( const TType t)
inline

◆ TIntermTyped() [2/2]

TIntermTyped::TIntermTyped ( const TIntermTyped node)
protected

Member Function Documentation

◆ CreateIndexNode()

TIntermTyped * TIntermTyped::CreateIndexNode ( int  index)
static

◆ CreateZero()

TIntermTyped * TIntermTyped::CreateZero ( const TType type)
static

◆ deepCopy()

virtual TIntermTyped* TIntermTyped::deepCopy ( ) const
pure virtual

◆ getArraySize()

unsigned int TIntermTyped::getArraySize ( ) const
inline

◆ getAsTyped()

TIntermTyped* TIntermTyped::getAsTyped ( )
inlineoverridevirtual

Reimplemented from TIntermNode.

◆ getBasicString()

const char* TIntermTyped::getBasicString ( ) const
inline

◆ getBasicType()

TBasicType TIntermTyped::getBasicType ( ) const
inline

◆ getCols()

int TIntermTyped::getCols ( ) const
inline

◆ getCompleteString()

TString TIntermTyped::getCompleteString ( ) const
inline

◆ getNominalSize()

int TIntermTyped::getNominalSize ( ) const
inline

◆ getPrecision()

TPrecision TIntermTyped::getPrecision ( ) const
inline

◆ getQualifier()

TQualifier TIntermTyped::getQualifier ( ) const
inline

◆ getRows()

int TIntermTyped::getRows ( ) const
inline

◆ getSecondarySize()

int TIntermTyped::getSecondarySize ( ) const
inline

◆ getType()

const TType& TIntermTyped::getType ( ) const
inline

◆ getTypePointer()

TType* TIntermTyped::getTypePointer ( )
inline

◆ hasSideEffects()

virtual bool TIntermTyped::hasSideEffects ( ) const
pure virtual

◆ isArray()

bool TIntermTyped::isArray ( ) const
inline

◆ isConstructorWithOnlyConstantUnionParameters()

bool TIntermTyped::isConstructorWithOnlyConstantUnionParameters ( )

◆ isInterfaceBlock()

bool TIntermTyped::isInterfaceBlock ( ) const
inline

◆ isMatrix()

bool TIntermTyped::isMatrix ( ) const
inline

◆ isScalar()

bool TIntermTyped::isScalar ( ) const
inline

◆ isScalarInt()

bool TIntermTyped::isScalarInt ( ) const
inline

◆ isVector()

bool TIntermTyped::isVector ( ) const
inline

◆ setType()

void TIntermTyped::setType ( const TType t)
inline

◆ setTypePreservePrecision()

void TIntermTyped::setTypePreservePrecision ( const TType t)

Member Data Documentation

◆ mType

TType TIntermTyped::mType
protected

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