LLScriptDeclaration Class Reference

#include <lscript_tree.h>

Inheritance diagram for LLScriptDeclaration:

Inheritance graph
[legend]
Collaboration diagram for LLScriptDeclaration:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLScriptDeclaration (S32 line, S32 col, LLScriptType *type, LLScriptIdentifier *identifier, LLScriptExpression *expression)
 ~LLScriptDeclaration ()
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
LLScriptExpressionmExpression


Detailed Description

Definition at line 2043 of file lscript_tree.h.


Constructor & Destructor Documentation

LLScriptDeclaration::LLScriptDeclaration ( S32  line,
S32  col,
LLScriptType type,
LLScriptIdentifier identifier,
LLScriptExpression expression 
) [inline]

Definition at line 2046 of file lscript_tree.h.

LLScriptDeclaration::~LLScriptDeclaration (  )  [inline]

Definition at line 2051 of file lscript_tree.h.


Member Function Documentation

void LLScriptDeclaration::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]

Reimplemented from LLScriptStatement.

Definition at line 8389 of file lscript_tree.cpp.

References LLScriptByteCodeChunk::addByte(), LLScriptByteCodeChunk::addBytes(), LLScriptScope::addEntry(), LLScriptByteCodeChunk::addFloat(), LLScriptByteCodeChunk::addInteger(), LLScriptArgString::addType(), cast2stack(), LLScriptScope::checkEntry(), FALSE, LLScriptFilePosition::fdotabs(), gErrorToText, LLScriptGenerateErrorText::getErrors(), LLScriptArgString::getNumber(), LLScriptType::getSize(), LLScriptStatement::gonext(), is_parameter(), legal_assignment(), LIT_GLOBAL, LIT_VARIABLE, LOPC_LOADLP, LOPC_LOADP, LOPC_LOADQP, LOPC_LOADSP, LOPC_LOADVP, LOPC_PUSHARGI, LOPC_PUSHARGQ, LOPC_PUSHARGS, LOPC_PUSHARGV, LOPC_STACKTOL, LSCP_EMIT_ASSEMBLY, LSCP_EMIT_BYTE_CODE, LSCP_EMIT_CIL_ASSEMBLY, LSCP_PRETTY_PRINT, LSCP_PRUNE, LSCP_RESOURCE, LSCP_SCOPE_PASS1, LSCP_TO_STACK, LSCP_TYPE, LSCRIPTOpCodes, LSCRIPTTypeLocalDeclaration, LSERROR_DUPLICATE_NAME, LSERROR_NEED_NEW_SCOPE, LSERROR_TYPE_MISMATCH, LSERROR_UNDEFINED_NAME, LSPRUNE_DEAD_CODE, LST_FLOATINGPOINT, LST_INTEGER, LST_KEY, LST_LIST, LST_QUATERNION, LST_STRING, LST_VECTOR, LLScriptStatement::mAllowDeclarations, LLScriptScopeEntry::mCount, mExpression, LLScriptScopeEntry::mIdentifier, mIdentifier, LLScriptScopeEntry::mIDType, LLScriptScopeEntry::mLocals, LLScriptIdentifier::mName, LLScriptScopeEntry::mOffset, LLScriptExpression::mReturnType, LLScriptIdentifier::mScopeEntry, LLScriptScopeEntry::mSize, LLScriptType::mType, LLScriptScopeEntry::mType, mType, NULL, LLScriptExpression::recurse(), LLScriptIdentifier::recurse(), LLScriptType::recurse(), S32, TRUE, and LLScriptGenerateErrorText::writeError().

Here is the call graph for this function:

S32 LLScriptDeclaration::getSize (  )  [virtual]

Reimplemented from LLScriptStatement.

Definition at line 8384 of file lscript_tree.cpp.

References LLScriptType::getSize(), and mType.

Here is the call graph for this function:


Member Data Documentation

Reimplemented from LLScriptStatement.

Definition at line 2058 of file lscript_tree.h.

Referenced by getSize(), and recurse().

Definition at line 2059 of file lscript_tree.h.

Referenced by recurse().

Definition at line 2060 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:01:49 2008 for SecondLife by  doxygen 1.5.5