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

Method propagateSwitchExpr

Engine/source/console/astNodes.cpp:252–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250}
251
252void IfStmtNode::propagateSwitchExpr(ExprNode *left, bool string)
253{
254 testExpr = getSwitchOR(left, testExpr, string);
255 if(propagate && elseBlock)
256 ((IfStmtNode *) elseBlock)->propagateSwitchExpr(left, string);
257}
258
259U32 IfStmtNode::compileStmt(CodeStream &codeStream, U32 ip)
260{

Callers 1

cmdgram.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected