ObjectDeclNode Struct Reference

#include <ast.h>

Inheritance diagram for ObjectDeclNode:

Inheritance graph
[legend]
List of all members.

Public Member Functions

U32 precompile (TypeReq type)
U32 precompileSubObject (bool)
U32 compile (U32 *codeStream, U32 ip, TypeReq type)
U32 compileSubObject (U32 *codeStream, U32 ip, bool)
TypeReq getPreferredType ()

Static Public Member Functions

static ObjectDeclNodealloc (ExprNode *classNameExpr, ExprNode *objectNameExpr, ExprNode *argList, StringTableEntry parentObject, SlotAssignNode *slotDecls, ObjectDeclNode *subObjects, bool structDecl, bool classNameInternal, bool isMessage)

Public Attributes

ExprNodeclassNameExpr
StringTableEntry parentObject
ExprNodeobjectNameExpr
ExprNodeargList
SlotAssignNodeslotDecls
ObjectDeclNodesubObjects
bool structDecl
U32 failOffset
bool isClassNameInternal
bool isMessage

Member Function Documentation

static ObjectDeclNode* ObjectDeclNode::alloc ( ExprNode classNameExpr,
ExprNode objectNameExpr,
ExprNode argList,
StringTableEntry  parentObject,
SlotAssignNode slotDecls,
ObjectDeclNode subObjects,
bool  structDecl,
bool  classNameInternal,
bool  isMessage 
) [static]

U32 ObjectDeclNode::precompile ( TypeReq  type  )  [virtual]

Implements ExprNode.

U32 ObjectDeclNode::precompileSubObject ( bool   ) 

U32 ObjectDeclNode::compile ( U32 codeStream,
U32  ip,
TypeReq  type 
) [virtual]

Implements ExprNode.

U32 ObjectDeclNode::compileSubObject ( U32 codeStream,
U32  ip,
bool   
)

TypeReq ObjectDeclNode::getPreferredType (  )  [virtual]

Implements ExprNode.


Member Data Documentation