LLScriptGlobalFunctions Class Reference

#include <lscript_tree.h>

Inheritance diagram for LLScriptGlobalFunctions:

Inheritance graph
[legend]
Collaboration diagram for LLScriptGlobalFunctions:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLScriptGlobalFunctions (S32 line, S32 col, LLScriptType *type, LLScriptIdentifier *identifier, LLScriptFunctionDec *parameters, LLScriptStatement *statements)
void addGlobalFunction (LLScriptGlobalFunctions *global)
 ~LLScriptGlobalFunctions ()
void gonext (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)
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 ()

Public Attributes

LLScriptTypemType
LLScriptIdentifiermIdentifier
LLScriptFunctionDecmParameters
LLScriptStatementmStatements
LLScriptGlobalFunctionsmNextp
LLScriptScopemFunctionScope
BOOL mbNeedTrailingReturn


Detailed Description

Definition at line 2139 of file lscript_tree.h.


Constructor & Destructor Documentation

LLScriptGlobalFunctions::LLScriptGlobalFunctions ( S32  line,
S32  col,
LLScriptType type,
LLScriptIdentifier identifier,
LLScriptFunctionDec parameters,
LLScriptStatement statements 
) [inline]

Definition at line 2142 of file lscript_tree.h.

LLScriptGlobalFunctions::~LLScriptGlobalFunctions (  )  [inline]

Definition at line 2152 of file lscript_tree.h.

References mFunctionScope.


Member Function Documentation

void LLScriptGlobalFunctions::addGlobalFunction ( LLScriptGlobalFunctions global  ) 

Definition at line 9188 of file lscript_tree.cpp.

References mNextp.

void LLScriptGlobalFunctions::gonext ( 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 
)

Definition at line 9197 of file lscript_tree.cpp.

References gErrorToText, LLScriptGenerateErrorText::getErrors(), LSCP_PRETTY_PRINT, mNextp, NULL, and recurse().

Referenced by recurse().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLScriptGlobalFunctions::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 9225 of file lscript_tree.cpp.

References add_return(), LLScriptByteCodeChunk::addBytes(), LLScriptScope::addEntry(), LLScriptScope::addParentScope(), LLScriptScope::checkEntry(), LLScriptByteCodeChunk::connectJumps(), FALSE, LLScriptFilePosition::fdotabs(), gErrorToText, LLScriptGenerateErrorText::getErrors(), gonext(), gScopeStringTable, integer2bytestream(), LIT_FUNCTION, LSCP_BUILD_FUNCTION_ARGS, 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, LSCRIPTTypeByte, LSERROR_DUPLICATE_NAME, LSERROR_NO_RETURN, LSPRUNE_GLOBAL_NON_VOIDS, LSPRUNE_GLOBAL_VOIDS, LST_INTEGER, LST_NULL, mbNeedTrailingReturn, LLScriptByteCodeChunk::mCodeChunk, LLScriptScopeEntry::mCount, LLScriptByteCodeChunk::mCurrentOffset, LLScriptScopeEntry::mFunctionArgs, mFunctionScope, mIdentifier, LLScriptScopeEntry::mLocals, LLScriptIdentifier::mName, LLScriptScopeEntry::mOffset, mParameters, LLScriptIdentifier::mScopeEntry, LLScriptScopeEntry::mSize, mStatements, LLScriptArgString::mString, LLScriptType::mType, mType, NULL, print_cil_local_init(), print_cil_type(), print_return(), LLScriptStatement::recurse(), LLScriptFunctionDec::recurse(), LLScriptIdentifier::recurse(), LLScriptType::recurse(), S32, TRUE, and LLScriptGenerateErrorText::writeError().

Referenced by gonext(), and LLScriptScript::recurse().

Here is the call graph for this function:

Here is the caller graph for this function:

S32 LLScriptGlobalFunctions::getSize (  )  [virtual]

Implements LLScriptFilePosition.

Definition at line 9220 of file lscript_tree.cpp.


Member Data Documentation

Definition at line 2162 of file lscript_tree.h.

Referenced by recurse().

Definition at line 2163 of file lscript_tree.h.

Referenced by recurse().

Definition at line 2164 of file lscript_tree.h.

Referenced by recurse().

Definition at line 2165 of file lscript_tree.h.

Referenced by recurse().

Definition at line 2166 of file lscript_tree.h.

Referenced by addGlobalFunction(), gonext(), and LLScriptScript::LLScriptScript().

Definition at line 2167 of file lscript_tree.h.

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

Definition at line 2168 of file lscript_tree.h.

Referenced by recurse().


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

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