torque Torque Game Engine Documentation
TGE Version 1.5.2

LoopStmtNode Struct Reference

#include <ast.h>

Inheritance diagram for LoopStmtNode:

Inheritance graph
[legend]

Public Member Functions

U32 precompileStmt (U32 loopCount)
U32 compileStmt (U32 *codeStream, U32 ip, U32 continuePoint, U32 breakPoint)

Static Public Member Functions

static LoopStmtNodealloc (S32 lineNumber, ExprNode *testExpr, ExprNode *initExpr, ExprNode *endLoopExpr, StmtNode *loopBlock, bool isDoLoop)

Data Fields

ExprNodetestExpr
ExprNodeinitExpr
ExprNodeendLoopExpr
StmtNodeloopBlock
bool isDoLoop
U32 breakOffset
U32 continueOffset
U32 loopBlockStartOffset
bool integer

Member Function Documentation

static LoopStmtNode* LoopStmtNode::alloc ( S32  lineNumber,
ExprNode testExpr,
ExprNode initExpr,
ExprNode endLoopExpr,
StmtNode loopBlock,
bool  isDoLoop 
) [static]

U32 LoopStmtNode::precompileStmt ( U32  loopCount  )  [virtual]

Implements StmtNode.

U32 LoopStmtNode::compileStmt ( U32 codeStream,
U32  ip,
U32  continuePoint,
U32  breakPoint 
) [virtual]

Implements StmtNode.


Field Documentation




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen