expr.h File Reference

expr.h File Reference
#include "maxheap.h"
#include "export.h"
#include "strclass.h"
#include "Point3.h"
#include "TabTypes.h"
#include "containers/Array.h"

Classes

class  Inst
 
class  ExprVar
 
class  Expr
 

Macros

#define SCALAR_EXPR   1
 A single floating point value. More...
 
#define VECTOR_EXPR   3
 ans[0] = x, ans[1] = y, ans[2] = z. More...
 
#define SCALAR_VAR   SCALAR_EXPR
 A single floating point value. More...
 
#define VECTOR_VAR   VECTOR_EXPR
 The x, y, z public data members of the Point3 are the values representing the vector. More...
 
#define EXPR_NORMAL   0
 No problems, expression evaluated successfully. More...
 
#define EXPR_INST_OVERFLOW   -1
 Instruction stack overflow during parsing. More...
 
#define EXPR_UNKNOWN_TOKEN   -2
 Unknown function, const, or reg during parsing. More...
 
#define EXPR_TOO_MANY_VARS   -3
 Value stack overflow. More...
 
#define EXPR_TOO_MANY_REGS   -4
 Register array overflow, or reg number too big. More...
 
#define EXPR_CANT_EVAL   -5
 Function can't be evaluated with given arguments. More...
 
#define EXPR_CANT_PARSE   -6
 Expression can't be parsed syntactically. More...
 

Typedefs

typedef int(* ExprFunc) (Expr *e, float f)
 
typedef Tab< InstInstTab
 

Typedef Documentation

typedef int(* ExprFunc) (Expr *e, float f)
typedef Tab<Inst> InstTab