VarNode Struct Reference

#include <ast.h>

Inheritance diagram for VarNode:

Inheritance graph
[legend]
List of all members.

Public Member Functions

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

Static Public Member Functions

static VarNodealloc (StringTableEntry varName, ExprNode *arrayIndex)

Public Attributes

StringTableEntry varName
ExprNodearrayIndex

Member Function Documentation

static VarNode* VarNode::alloc ( StringTableEntry  varName,
ExprNode arrayIndex 
) [static]

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

Implements ExprNode.

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

Implements ExprNode.

TypeReq VarNode::getPreferredType (  )  [virtual]

Implements ExprNode.


Member Data Documentation