torque Torque Game Engine Documentation
TGE Version 1.5.2

ConditionalExprNode Struct Reference

#include <ast.h>

Inheritance diagram for ConditionalExprNode:

Inheritance graph
[legend]

Public Member Functions

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

Static Public Member Functions

static ConditionalExprNodealloc (ExprNode *testExpr, ExprNode *trueExpr, ExprNode *falseExpr)

Data Fields

ExprNodetestExpr
ExprNodetrueExpr
ExprNodefalseExpr
bool integer

Member Function Documentation

static ConditionalExprNode* ConditionalExprNode::alloc ( ExprNode testExpr,
ExprNode trueExpr,
ExprNode falseExpr 
) [static]

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

Implements ExprNode.

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

Implements ExprNode.

virtual TypeReq ConditionalExprNode::getPreferredType (  )  [virtual]

Implements ExprNode.


Field Documentation




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