28 #ifndef __SCRIPT_COMPILER_H__
29 #define __SCRIPT_COMPILER_H__
idTypeDef * CheckType(void)
bool TypeMatches(etype_t type1, etype_t type2) const
GLsizei const GLfloat * value
void ParseWhileStatement(void)
void SkipOutOfFunction(void)
static opcode_t opcodes[]
idVarDef * JumpDef(int jumpfrom, int jumpto)
GLenum GLsizei GLenum format
void ParseReturnStatement(void)
idVarDef * EmitOpcode(const opcode_t *op, idVarDef *var_a, idVarDef *var_b)
void ParseName(idStr &name)
idVarDef * ParseImmediate(void)
idVarDef * ParseFunctionCall(idVarDef *func)
void ParseIfStatement(void)
void SkipToSemicolon(void)
GLuint GLuint GLsizei GLenum type
void ParseNamespace(idVarDef *newScope)
idVarDef * JumpFrom(int jumpfrom)
idVarDef * GetExpression(int priority)
const idVarDef * basetype
void ParseForStatement(void)
idVarDef * ParseObjectCall(idVarDef *object, idVarDef *func)
void void idVarDef * OptimizeOpcode(const opcode_t *op, idVarDef *var_a, idVarDef *var_b)
bool CheckToken(const char *string)
idTypeDef * immediateType
void Error(const char *error,...) const id_attribute((format(printf
static const char * punctuation[]
idVarDef * LookupDef(const char *name, const idVarDef *baseobj)
void ParseDoWhileStatement(void)
idVarDef * SizeConstant(int size)
void ParseObjectDef(const char *objname)
idTypeDef * ParseFunction(idTypeDef *returnType, const char *name)
idVarDef * GetImmediate(idTypeDef *type, const eval_t *eval, const char *string)
void ParseVariableDef(idTypeDef *type, const char *name)
idVarDef * FindImmediate(const idTypeDef *type, const eval_t *eval, const char *string) const
void ParseEventDef(idTypeDef *type, const char *name)
void ExpectToken(const char *string)
idTypeDef * ParseType(void)
idVarDef * JumpTo(int jumpto)
INT32 INT32 * denominator
void CompileFile(const char *text, const char *filename, bool console)
void PatchLoop(int start, int continuePos)
idVarDef * EmitFunctionParms(int op, idVarDef *func, int startarg, int startsize, idVarDef *object)
float Divide(float numerator, float denominator)
idVarDef * JumpConstant(int value)
idVarDef * ParseValue(void)
idVarDef * ParseEventCall(idVarDef *object, idVarDef *func)
idVarDef * VirtualFunctionConstant(idVarDef *func)
idTypeDef * GetTypeForEventArg(char argType)
void void Warning(const char *message,...) const id_attribute((format(printf
bool EmitPush(idVarDef *expression, const idTypeDef *funcArg)
static bool punctuationValid[256]
const char *const RESULT_STRING
void ParseStatement(void)
void ParseFunctionDef(idTypeDef *returnType, const char *name)
idVarDef * ParseSysObjectCall(idVarDef *func)