LLScriptScript Class Reference

#include <lscript_tree.h>

Inheritance diagram for LLScriptScript:

Inheritance graph
[legend]
Collaboration diagram for LLScriptScript:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLScriptScript (LLScritpGlobalStorage *globals, LLScriptState *states)
 ~LLScriptScript ()
void recurse (LLFILE *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

LLScriptStatemStates
LLScriptScopemGlobalScope
LLScriptGlobalVariablemGlobals
LLScriptGlobalFunctionsmGlobalFunctions
BOOL mGodLike

Private Attributes

char mBytecodeDest [MAX_STRING]


Detailed Description

Definition at line 2249 of file lscript_tree.h.


Constructor & Destructor Documentation

LLScriptScript::LLScriptScript ( LLScritpGlobalStorage globals,
LLScriptState states 
)

LLScriptScript::~LLScriptScript (  )  [inline]

Definition at line 2255 of file lscript_tree.h.

References mGlobalScope.


Member Function Documentation

void LLScriptScript::recurse ( LLFILE 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(), LLScriptState::recurse(), LLScriptGlobalFunctions::recurse(), LLScriptGlobalVariable::recurse(), S32, and TOP_OF_MEMORY.

Here is the call graph for this function:

S32 LLScriptScript::getSize (  )  [virtual]

Implements LLScriptFilePosition.

Definition at line 9696 of file lscript_tree.cpp.

void LLScriptScript::setBytecodeDest ( const char *  dst_filename  ) 

Definition at line 9752 of file lscript_tree.cpp.

References MAX_STRING, and mBytecodeDest.


Member Data Documentation

Definition at line 2265 of file lscript_tree.h.

Referenced by recurse().

Definition at line 2266 of file lscript_tree.h.

Referenced by recurse(), and ~LLScriptScript().

Definition at line 2267 of file lscript_tree.h.

Referenced by LLScriptScript(), and recurse().

Definition at line 2268 of file lscript_tree.h.

Referenced by LLScriptScript(), and recurse().

Definition at line 2269 of file lscript_tree.h.

Referenced by recurse().

Definition at line 2272 of file lscript_tree.h.

Referenced by LLScriptScript(), recurse(), and setBytecodeDest().


The documentation for this class was generated from the following files:

Generated on Fri May 16 09:02:19 2008 for SecondLife by  doxygen 1.5.5