|
Torque2D Reference
|
#include <ast.h>
Inheritance diagram for IfStmtNode:Public Member Functions | |
| void | propagateSwitchExpr (ExprNode *left, bool string) |
| ExprNode * | getSwitchOR (ExprNode *left, ExprNode *list, bool string) |
| U32 | precompileStmt (U32 loopCount) |
| U32 | compileStmt (U32 *codeStream, U32 ip, U32 continuePoint, U32 breakPoint) |
Public Member Functions inherited from StmtNode | |
| StmtNode () | |
| void | append (StmtNode *next) |
| StmtNode * | getNext () |
| void | addBreakCount () |
| void | addBreakLine (U32 ip) |
| virtual void | setPackage (StringTableEntry packageName) |
Static Public Member Functions | |
| static IfStmtNode * | alloc (S32 lineNumber, ExprNode *testExpr, StmtNode *ifBlock, StmtNode *elseBlock, bool propagateThrough) |
Public Attributes | |
| ExprNode * | testExpr |
| StmtNode * | ifBlock |
| StmtNode * | elseBlock |
| U32 | endifOffset |
| U32 | elseOffset |
| bool | integer |
| bool | propagate |
Public Attributes inherited from StmtNode | |
| StmtNode * | next |
| Next entry in parse tree. | |
| StringTableEntry | dbgFileName |
| Name of file this node is associated with. | |
| S32 | dbgLineNumber |
| Line number this node is associated with. | |
|
static |
|
virtual |
Implements StmtNode.
|
virtual |
Implements StmtNode.
| void propagateSwitchExpr | ( | ExprNode * | left, |
| bool | string | ||
| ) |
| StmtNode * elseBlock |
| U32 elseOffset |
| U32 endifOffset |
| StmtNode* ifBlock |
| bool integer |
| bool propagate |
| ExprNode* testExpr |