Torque2D Reference
Loading...
Searching...
No Matches
FunctionDeclStmtNode Struct Reference

#include <ast.h>

Inheritance diagram for FunctionDeclStmtNode:

Public Member Functions

U32 precompileStmt (U32 loopCount)
U32 compileStmt (U32 *codeStream, U32 ip, U32 continuePoint, U32 breakPoint)
void setPackage (StringTableEntry packageName)
Public Member Functions inherited from StmtNode
 StmtNode ()
void append (StmtNode *next)
StmtNode * getNext ()
void addBreakCount ()
void addBreakLine (U32 ip)

Static Public Member Functions

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

Public Attributes

StringTableEntry fnName
VarNode * args
StmtNode * stmts
StringTableEntry nameSpace
StringTableEntry package
U32 endOffset
U32 argc
Public Attributes inherited from StmtNode
StmtNode * next
 Next entry in parse tree.
StringTableEntry dbgFileName
 Name of file this node is associated with.
S32 dbgLineNumber
 Line number this node is associated with.

Member Function Documentation

◆ alloc()

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

◆ compileStmt()

U32 compileStmt ( U32 * codeStream,
U32 ip,
U32 continuePoint,
U32 breakPoint )
virtual

Implements StmtNode.

◆ precompileStmt()

U32 precompileStmt ( U32 loopCount)
virtual

Implements StmtNode.

◆ setPackage()

void setPackage ( StringTableEntry packageName)
virtual

Reimplemented from StmtNode.

Member Data Documentation

◆ argc

U32 argc

◆ args

VarNode* args

◆ endOffset

U32 endOffset

◆ fnName

StringTableEntry fnName

◆ nameSpace

StringTableEntry nameSpace

◆ package

StringTableEntry package

◆ stmts

StmtNode* stmts

The documentation for this struct was generated from the following files: