torque Torque Game Engine Documentation
TGE Version 1.5.2

ConstantNode Struct Reference

#include <ast.h>

Inheritance diagram for ConstantNode:

Inheritance graph
[legend]

Public Member Functions

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

Static Public Member Functions

static ConstantNodealloc (StringTableEntry value)

Data Fields

StringTableEntry value
F64 fVal
U32 index

Member Function Documentation

static ConstantNode* ConstantNode::alloc ( StringTableEntry  value  )  [static]

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

Implements ExprNode.

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

Implements ExprNode.

TypeReq ConstantNode::getPreferredType (  )  [virtual]

Implements ExprNode.


Field Documentation




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen