MCPcopy Create free account
hub / github.com/carbonengine/trinity / IsIndexOperator

Function IsIndexOperator

shadercompiler/EffectCompilerMetal.cpp:4346–4349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4344}
4345
4346bool IsIndexOperator( const ASTNode* node )
4347{
4348 return node->GetNodeType() == NT_POSTFIX_EXPRESSION && node->GetToken() && node->GetToken()->type == OP_LEFT_BRACKET;
4349}
4350
4351void ExpandInitializerList( ASTNode* initializer, std::vector<ASTNode*>& children )
4352{

Callers 1

PatchMatrixRowsFunction · 0.85

Calls 2

GetNodeTypeMethod · 0.80
GetTokenMethod · 0.80

Tested by

no test coverage detected