Code::Blocks
SVN r11506
|
#include "sqpcheader.h"
#include <stdarg.h>
#include <setjmp.h>
#include "sqopcodes.h"
#include "sqstring.h"
#include "sqfuncproto.h"
#include "sqcompiler.h"
#include "sqfuncstate.h"
#include "sqlexer.h"
#include "sqvm.h"
#include "sqtable.h"
Go to the source code of this file.
Classes | |
struct | ExpState |
class | SQCompiler |
Macros | |
#define | DEREF_NO_DEREF -1 |
#define | DEREF_FIELD -2 |
#define | _exst (_expstates.top()) |
#define | BEGIN_BREAKBLE_BLOCK() |
#define | END_BREAKBLE_BLOCK(continue_target) |
Typedefs | |
typedef sqvector< ExpState > | ExpStateVec |
Functions | |
bool | Compile (SQVM *vm, SQLEXREADFUNC rg, SQUserPointer up, const SQChar *sourcename, SQObjectPtr &out, bool raiseerror, bool lineinfo) |
#define _exst (_expstates.top()) |
Definition at line 36 of file sqcompiler.cpp.
Referenced by SQCompiler::ClassStatement(), SQCompiler::DeleteExpr(), SQCompiler::Expression(), SQCompiler::Factor(), SQCompiler::NeedGet(), SQCompiler::PrefixedExpr(), and SQCompiler::PrefixIncDec().
#define BEGIN_BREAKBLE_BLOCK | ( | ) |
Definition at line 38 of file sqcompiler.cpp.
Referenced by SQCompiler::DoWhileStatement(), SQCompiler::ForEachStatement(), SQCompiler::ForStatement(), and SQCompiler::WhileStatement().
#define DEREF_FIELD -2 |
Definition at line 17 of file sqcompiler.cpp.
Referenced by SQCompiler::ClassStatement(), SQCompiler::DeleteExpr(), SQCompiler::Expression(), SQCompiler::Factor(), SQCompiler::PrefixedExpr(), and SQCompiler::PrefixIncDec().
#define DEREF_NO_DEREF -1 |
Definition at line 16 of file sqcompiler.cpp.
Referenced by SQCompiler::ClassStatement(), SQCompiler::DeleteExpr(), SQCompiler::Expression(), ExpState::ExpState(), SQCompiler::Factor(), and SQCompiler::PrefixedExpr().
#define END_BREAKBLE_BLOCK | ( | continue_target | ) |
Definition at line 42 of file sqcompiler.cpp.
Referenced by SQCompiler::DoWhileStatement(), SQCompiler::ForEachStatement(), SQCompiler::ForStatement(), and SQCompiler::WhileStatement().
typedef sqvector<ExpState> ExpStateVec |
Definition at line 34 of file sqcompiler.cpp.
bool Compile | ( | SQVM * | vm, |
SQLEXREADFUNC | rg, | ||
SQUserPointer | up, | ||
const SQChar * | sourcename, | ||
SQObjectPtr & | out, | ||
bool | raiseerror, | ||
bool | lineinfo | ||
) |
Definition at line 1354 of file sqcompiler.cpp.
References SQCompiler::Compile().
Referenced by sq_compile().