IfStmtNode

Engine/source/console/ast.h

More...

Public Static Functions

alloc(S32 lineNumber, ExprNode * testExpr, StmtNode * ifBlock, StmtNode * elseBlock, bool propagateThrough)

Public Functions

compileStmt(CodeStream & codeStream, U32 ip)
getSwitchOR(ExprNode * left, ExprNode * list, bool string)
propagateSwitchExpr(ExprNode * left, bool string)

Detailed Description

Public Attributes

StmtNode * elseBlock 
U32 elseOffset 
U32 endifOffset 
StmtNode * ifBlock 
bool integer 
bool propagate 
ExprNode * testExpr 

Public Static Functions

alloc(S32 lineNumber, ExprNode * testExpr, StmtNode * ifBlock, StmtNode * elseBlock, bool propagateThrough)

Public Functions

compileStmt(CodeStream & codeStream, U32 ip)

Reimplemented from: StmtNode

DBG_STMT_TYPE(IfStmtNode )

getSwitchOR(ExprNode * left, ExprNode * list, bool string)

propagateSwitchExpr(ExprNode * left, bool string)