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

Function NewExpressionStatement

shadercompiler/ParserUtils.cpp:1196–1201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1194}
1195
1196ASTNode* NewExpressionStatement( ParserState& state, ASTNode* expr )
1197{
1198 auto statement = state.NewNode( NT_EXPRESSION_STATEMENT );
1199 statement->AddChild( expr );
1200 return statement;
1201}
1202
1203ASTNode* NewReturn( ParserState& state, ASTNode* expr )
1204{

Callers 4

GatherSystemFieldsFunction · 0.85
GatherSystemInputsFunction · 0.85
PatchShaderFunction · 0.85
PatchRtShaderFunction · 0.85

Calls 2

NewNodeMethod · 0.80
AddChildMethod · 0.80

Tested by

no test coverage detected