IfStmtNode Struct Reference#include <ast.h>
Inheritance diagram for IfStmtNode:
[legend]
|
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) |
Static Public Member Functions |
static IfStmtNode * | alloc (S32 lineNumber, ExprNode *testExpr, StmtNode *ifBlock, StmtNode *elseBlock, bool propagateThrough) |
Data Fields |
ExprNode * | testExpr |
StmtNode * | ifBlock |
StmtNode * | elseBlock |
U32 | endifOffset |
U32 | elseOffset |
bool | integer |
bool | propagate |
Member Function Documentation
void IfStmtNode::propagateSwitchExpr |
( |
ExprNode * |
left, |
|
|
bool |
string | |
|
) |
| | |
U32 IfStmtNode::precompileStmt |
( |
U32 |
loopCount |
) |
[virtual] |
U32 IfStmtNode::compileStmt |
( |
U32 * |
codeStream, |
|
|
U32 |
ip, |
|
|
U32 |
continuePoint, |
|
|
U32 |
breakPoint | |
|
) |
| | [virtual] |
Field Documentation
|