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

Method NewNode

shadercompiler/ParserState.cpp:1195–1198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1193}
1194
1195ASTNode* ParserState::NewNode( int nodeType )
1196{
1197 return new ASTNode( ASTNodeType( nodeType ), GetCurrentLocation(), GetSymbolTable().GetCurrentScope(), nullptr );
1198}
1199
1200ASTNode* ParserState::NewNode( int nodeType, const ScannerToken& token )
1201{

Callers 15

NewStructMemberFunction · 0.80
PatchShaderFunction · 0.80
PatchRtShaderFunction · 0.80
GetGlobalInputDataFunction · 0.80
CreateGlobalInputsStructFunction · 0.80
NewStructFunction · 0.80
NewVarIdentifierFunction · 0.80
NewLiteralConstFunction · 0.80
NewDotFunction · 0.80
NewBinaryExpressionFunction · 0.80
NewConditionalExpressionFunction · 0.80

Calls 2

ASTNodeTypeEnum · 0.85
GetCurrentScopeMethod · 0.80

Tested by

no test coverage detected