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

#include <ast.h>

Inheritance diagram for ReturnStmtNode:

Public Member Functions

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

Static Public Member Functions

static ReturnStmtNodealloc (ExprNode *expr)

Public Attributes

ExprNodeexpr
Public Attributes inherited from StmtNode
StmtNodenext
 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()

ReturnStmtNode * alloc ( ExprNode * expr)
static

◆ compileStmt()

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

Implements StmtNode.

◆ precompileStmt()

U32 precompileStmt ( U32 loopCount)
virtual

Implements StmtNode.

Member Data Documentation

◆ expr

ExprNode* expr

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