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

#include <IntermNodePatternMatcher.h>

Public Types

enum  PatternType { kUnfoldedShortCircuitExpression = 0x0001, kExpressionReturningArray = 0x0002, kDynamicIndexingOfVectorOrMatrixInLValue = 0x0004 }
 

Public Member Functions

 IntermNodePatternMatcher (const unsigned int mask)
 
bool match (TIntermBinary *node, TIntermNode *parentNode)
 
bool match (TIntermBinary *node, TIntermNode *parentNode, bool isLValueRequiredHere)
 
bool match (TIntermAggregate *node, TIntermNode *parentNode)
 
bool match (TIntermTernary *node)
 

Static Public Member Functions

static bool IsDynamicIndexingOfVectorOrMatrix (TIntermBinary *node)
 

Member Enumeration Documentation

◆ PatternType

Enumerator
kUnfoldedShortCircuitExpression 
kExpressionReturningArray 
kDynamicIndexingOfVectorOrMatrixInLValue 

Constructor & Destructor Documentation

◆ IntermNodePatternMatcher()

IntermNodePatternMatcher::IntermNodePatternMatcher ( const unsigned int  mask)

Member Function Documentation

◆ IsDynamicIndexingOfVectorOrMatrix()

bool IntermNodePatternMatcher::IsDynamicIndexingOfVectorOrMatrix ( TIntermBinary node)
static

◆ match() [1/4]

bool IntermNodePatternMatcher::match ( TIntermBinary node,
TIntermNode parentNode 
)

◆ match() [2/4]

bool IntermNodePatternMatcher::match ( TIntermBinary node,
TIntermNode parentNode,
bool  isLValueRequiredHere 
)

◆ match() [3/4]

bool IntermNodePatternMatcher::match ( TIntermAggregate node,
TIntermNode parentNode 
)

◆ match() [4/4]

bool IntermNodePatternMatcher::match ( TIntermTernary node)

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