#include <lscript_tree.h>
Inheritance diagram for LLScriptScript:
Public Member Functions | |
LLScriptScript (LLScritpGlobalStorage *globals, LLScriptState *states) | |
~LLScriptScript () | |
void | recurse (FILE *fp, S32 tabs, S32 tabsize, LSCRIPTCompilePass pass, LSCRIPTPruneType ptype, BOOL &prunearg, LLScriptScope *scope, LSCRIPTType &type, LSCRIPTType basetype, U64 &count, LLScriptByteCodeChunk *chunk, LLScriptByteCodeChunk *heap, S32 stacksize, LLScriptScopeEntry *entry, S32 entrycount, LLScriptLibData **ldata) |
S32 | getSize () |
void | setBytecodeDest (const char *dst_filename) |
Public Attributes | |
LLScriptState * | mStates |
LLScriptScope * | mGlobalScope |
LLScriptGlobalVariable * | mGlobals |
LLScriptGlobalFunctions * | mGlobalFunctions |
BOOL | mGodLike |
Private Attributes | |
char | mBytecodeDest [MAX_STRING] |
Definition at line 2249 of file lscript_tree.h.
LLScriptScript::LLScriptScript | ( | LLScritpGlobalStorage * | globals, | |
LLScriptState * | states | |||
) |
Definition at line 9701 of file lscript_tree.cpp.
References MAX_STRING, LLScritpGlobalStorage::mbGlobalFunction, mBytecodeDest, LLScritpGlobalStorage::mGlobal, mGlobalFunctions, mGlobals, LLScritpGlobalStorage::mNextp, LLScriptGlobalVariable::mNextp, and LLScriptGlobalFunctions::mNextp.
LLScriptScript::~LLScriptScript | ( | ) | [inline] |
S32 LLScriptScript::getSize | ( | ) | [virtual] |
void LLScriptScript::recurse | ( | FILE * | fp, | |
S32 | tabs, | |||
S32 | tabsize, | |||
LSCRIPTCompilePass | pass, | |||
LSCRIPTPruneType | ptype, | |||
BOOL & | prunearg, | |||
LLScriptScope * | scope, | |||
LSCRIPTType & | type, | |||
LSCRIPTType | basetype, | |||
U64 & | count, | |||
LLScriptByteCodeChunk * | chunk, | |||
LLScriptByteCodeChunk * | heap, | |||
S32 | stacksize, | |||
LLScriptScopeEntry * | entry, | |||
S32 | entrycount, | |||
LLScriptLibData ** | ldata | |||
) | [virtual] |
Implements LLScriptFilePosition.
Definition at line 9771 of file lscript_tree.cpp.
References LLScriptByteCodeChunk::addBytes(), LLScriptScope::addEntry(), LLScriptArgString::addType(), LLScriptScriptCodeChunk::build(), char2type(), LLScriptFilePosition::fdotabs(), LLFile::fopen(), gErrorToText, LLScriptGenerateErrorText::getErrors(), gScopeStringTable, gScriptLibrary, i, integer2bytestream(), LIT_LIBRARY_FUNCTION, LREG_EOF, LREG_IP, LREG_NCE, lsa_create_data_block(), LSCP_EMIT_ASSEMBLY, LSCP_EMIT_BYTE_CODE, LSCP_EMIT_CIL_ASSEMBLY, LSCP_PRETTY_PRINT, LSCP_PRUNE, LSCP_RESOURCE, LSCP_SCOPE_PASS1, LSCP_SCOPE_PASS2, LSCP_TYPE, LSCRIPTDataSize, LSL2_CURRENT_MAJOR_VERSION, LSL2_MAJOR_VERSION_TWO, LST_INTEGER, LST_NULL, LLScriptLibraryFunction::mArgs, mBytecodeDest, LLScriptByteCodeChunk::mCodeChunk, LLScriptScopeEntry::mFunctionArgs, LLScriptScope::mFunctionCount, LLScriptLibrary::mFunctions, LLScriptScriptCodeChunk::mGlobalFunctions, mGlobalFunctions, mGlobals, mGlobalScope, LLScriptScriptCodeChunk::mGlobalVariables, mGodLike, LLScriptLibraryFunction::mGodOnly, LLScriptScriptCodeChunk::mHeap, LLScriptScopeEntry::mLibraryNumber, LLScriptLibraryFunction::mName, LLScriptLibrary::mNextNumber, LLScriptScopeEntry::mOffset, LLScriptScriptCodeChunk::mRegisters, LLScriptLibraryFunction::mReturnType, LLScriptScopeEntry::mSize, LLScriptScope::mStateCount, LLScriptScriptCodeChunk::mStates, mStates, NULL, print_cil_globals(), LLScriptGlobalVariable::recurse(), LLScriptState::recurse(), LLScriptGlobalFunctions::recurse(), S32, size, and TOP_OF_MEMORY.
void LLScriptScript::setBytecodeDest | ( | const char * | dst_filename | ) |
char LLScriptScript::mBytecodeDest[MAX_STRING] [private] |
Definition at line 2272 of file lscript_tree.h.
Referenced by LLScriptScript(), recurse(), and setBytecodeDest().