torque Torque Game Engine Documentation
TGE Version 1.5.2

engine/console/ast.h File Reference


Data Structures

struct  StmtNode
 Representation of a node for the scripting language parser. More...
struct  BreakStmtNode
struct  ContinueStmtNode
struct  ExprNode
 A mathematical expression. More...
struct  ReturnStmtNode
struct  IfStmtNode
struct  LoopStmtNode
struct  BinaryExprNode
 A binary mathematical expression (ie, left op right). More...
struct  FloatBinaryExprNode
struct  ConditionalExprNode
struct  IntBinaryExprNode
struct  StreqExprNode
struct  StrcatExprNode
struct  CommaCatExprNode
struct  IntUnaryExprNode
struct  FloatUnaryExprNode
struct  VarNode
struct  IntNode
struct  FloatNode
struct  StrConstNode
struct  ConstantNode
struct  AssignExprNode
struct  AssignDecl
struct  AssignOpExprNode
struct  TTagSetStmtNode
struct  TTagDerefNode
struct  TTagExprNode
struct  FuncCallExprNode
struct  SlotDecl
struct  SlotAccessNode
struct  SlotAssignNode
struct  SlotAssignOpNode
struct  ObjectDeclNode
struct  ObjectBlockDecl
struct  FunctionDeclStmtNode

Typedefs

typedef const char *(*) cfunc (S32 argc, char **argv)

Enumerations

enum  TypeReq {
  TypeReqNone,
  TypeReqUInt,
  TypeReqFloat,
  TypeReqString
}

Functions

void createFunction (const char *fnName, VarNode *args, StmtNode *statements)
bool lookupFunction (const char *fnName, VarNode **args, StmtNode **statements)
bool lookupCFunction (const char *fnName, cfunc *f)

Variables

StmtNodestatementList
ExprEvalState gEvalState


Typedef Documentation

typedef const char*(*) cfunc(S32 argc, char **argv)


Enumeration Type Documentation

enum TypeReq

Enumerator:
TypeReqNone 
TypeReqUInt 
TypeReqFloat 
TypeReqString 


Function Documentation

void createFunction ( const char *  fnName,
VarNode args,
StmtNode statements 
)

bool lookupFunction ( const char *  fnName,
VarNode **  args,
StmtNode **  statements 
)

bool lookupCFunction ( const char *  fnName,
cfunc f 
)


Variable Documentation




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