MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / propagateSwitchExpr

Method propagateSwitchExpr

Engine/source/console/astNodes.cpp:196–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194}
195
196void IfStmtNode::propagateSwitchExpr(ExprNode* left, bool string)
197{
198 testExpr = getSwitchOR(left, testExpr, string);
199 if (propagate && elseBlock)
200 ((IfStmtNode*)elseBlock)->propagateSwitchExpr(left, string);
201}
202
203U32 IfStmtNode::compileStmt(CodeStream& codeStream, U32 ip)
204{

Callers 1

cmdgram.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected