FunctionDeclStmtNode Struct Reference

#include <ast.h>

Inheritance diagram for FunctionDeclStmtNode:

Inheritance graph
[legend]
List of all members.

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)

Public Attributes

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  ) 


Member Data Documentation