IterStmtNode
A "foreach" statement.
Public Attributes
Public Static Functions
alloc(S32 lineNumber, StringTableEntry varName, ExprNode * containerExpr, StmtNode * body, bool isStringIter)
Public Functions
compileStmt(CodeStream & codeStream, U32 ip)
Detailed Description
A "foreach" statement.
Public Attributes
StmtNode * body
The statement body.
U32 bodySize
Bytecode size of body statement. Set by precompileStmt.
ExprNode * containerExpr
Expression evaluating to a SimSet object.
bool isStringIter
If true, this is a 'foreach$'.
StringTableEntry varName
Local variable name to use for the container element.
Public Static Functions
alloc(S32 lineNumber, StringTableEntry varName, ExprNode * containerExpr, StmtNode * body, bool isStringIter)