torque Torque Game Engine Documentation
TGE Version 1.5.2

FunctionDeclStmtNode Struct Reference

#include <ast.h>

Inheritance diagram for FunctionDeclStmtNode:

Inheritance graph
[legend]

Public Member Functions

U32 precompileStmt (U32 loopCount)
U32 compileStmt (U32 *codeStream, U32 ip, U32 continuePoint, U32 breakPoint)
void setPackage (StringTableEntry packageName)

Static Public Member Functions

static FunctionDeclStmtNodealloc (StringTableEntry fnName, StringTableEntry nameSpace, VarNode *args, StmtNode *stmts)

Data Fields

StringTableEntry fnName
VarNodeargs
StmtNodestmts
StringTableEntry nameSpace
StringTableEntry package
U32 endOffset
U32 argc

Member Function Documentation

static FunctionDeclStmtNode* FunctionDeclStmtNode::alloc ( StringTableEntry  fnName,
StringTableEntry  nameSpace,
VarNode args,
StmtNode stmts 
) [static]

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

Implements StmtNode.

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

Implements StmtNode.

void FunctionDeclStmtNode::setPackage ( StringTableEntry  packageName  )  [virtual]

Reimplemented from StmtNode.


Field Documentation




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