LLScriptFunctionDec Class Reference

#include <lscript_tree.h>

Inheritance diagram for LLScriptFunctionDec:

Inheritance graph
[legend]
Collaboration diagram for LLScriptFunctionDec:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLScriptFunctionDec (S32 line, S32 col, LLScriptType *type, LLScriptIdentifier *identifier)
 ~LLScriptFunctionDec ()
void addFunctionParameter (LLScriptFunctionDec *dec)
void gonext (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)
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 ()

Public Attributes

LLScriptTypemType
LLScriptIdentifiermIdentifier
LLScriptFunctionDecmNextp

Detailed Description

Definition at line 2115 of file lscript_tree.h.


Constructor & Destructor Documentation

LLScriptFunctionDec::LLScriptFunctionDec ( S32  line,
S32  col,
LLScriptType type,
LLScriptIdentifier identifier 
) [inline]

Definition at line 2118 of file lscript_tree.h.

LLScriptFunctionDec::~LLScriptFunctionDec (  )  [inline]

Definition at line 2123 of file lscript_tree.h.


Member Function Documentation

void LLScriptFunctionDec::addFunctionParameter ( LLScriptFunctionDec dec  ) 

Definition at line 9065 of file lscript_tree.cpp.

References mNextp.

S32 LLScriptFunctionDec::getSize (  )  [virtual]

Implements LLScriptFilePosition.

Definition at line 9106 of file lscript_tree.cpp.

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

Definition at line 9074 of file lscript_tree.cpp.

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

Referenced by recurse().

void LLScriptFunctionDec::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 9111 of file lscript_tree.cpp.

References LLScriptByteCodeChunk::addBytes(), LLScriptScope::addEntry(), LLScriptArgString::addType(), LLScriptScope::checkEntry(), LLScriptFilePosition::fdotabs(), gErrorToText, LLScriptGenerateErrorText::getErrors(), LLScriptType::getSize(), gonext(), LIT_VARIABLE, LSCP_BUILD_FUNCTION_ARGS, LSCP_EMIT_ASSEMBLY, LSCP_EMIT_BYTE_CODE, LSCP_EMIT_CIL_ASSEMBLY, LSCP_PRETTY_PRINT, LSCP_RESOURCE, LSCP_SCOPE_PASS1, LSCRIPTTypeByte, LSERROR_DUPLICATE_NAME, LST_NULL, LLScriptScopeEntry::mFunctionArgs, mIdentifier, LLScriptIdentifier::mName, LLScriptScopeEntry::mOffset, LLScriptIdentifier::mScopeEntry, LLScriptScopeEntry::mSize, LLScriptType::mType, mType, NULL, LLScriptIdentifier::recurse(), LLScriptType::recurse(), S32, and LLScriptGenerateErrorText::writeError().

Referenced by LLScriptGlobalFunctions::recurse().


Member Data Documentation

LLScriptIdentifier* LLScriptFunctionDec::mIdentifier

Definition at line 2135 of file lscript_tree.h.

Referenced by recurse().

LLScriptFunctionDec* LLScriptFunctionDec::mNextp

Definition at line 2136 of file lscript_tree.h.

Referenced by addFunctionParameter(), and gonext().

LLScriptType* LLScriptFunctionDec::mType

Definition at line 2134 of file lscript_tree.h.

Referenced by recurse().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:43 2010 for Second Life Viewer by  doxygen 1.4.7