Torque2D Reference
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ExprNode Struct Referenceabstract

A mathematical expression. More...

#include <ast.h>

+ Inheritance diagram for ExprNode:

Public Member Functions

U32 precompileStmt (U32 loopCount)
 
U32 compileStmt (U32 *codeStream, U32 ip, U32 continuePoint, U32 breakPoint)
 
virtual U32 precompile (TypeReq type)=0
 
virtual U32 compile (U32 *codeStream, U32 ip, TypeReq type)=0
 
virtual TypeReq getPreferredType ()=0
 
- Public Member Functions inherited from StmtNode
 StmtNode ()
 
void append (StmtNode *next)
 
StmtNodegetNext ()
 
void addBreakCount ()
 
void addBreakLine (U32 ip)
 
virtual void setPackage (StringTableEntry packageName)
 

Additional Inherited Members

- 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.
 

Detailed Description

A mathematical expression.

Member Function Documentation

◆ compile()

virtual U32 compile ( U32 *  codeStream,
U32  ip,
TypeReq  type 
)
pure virtual

◆ compileStmt()

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

Implements StmtNode.

◆ getPreferredType()

virtual TypeReq getPreferredType ( )
pure virtual

◆ precompile()

virtual U32 precompile ( TypeReq  type)
pure virtual

◆ precompileStmt()

U32 precompileStmt ( U32  loopCount)
virtual

Implements StmtNode.


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