LLScriptGlobalVariable Class Reference

#include <lscript_tree.h>

Inheritance diagram for LLScriptGlobalVariable:

Inheritance graph
[legend]
Collaboration diagram for LLScriptGlobalVariable:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLScriptGlobalVariable (S32 line, S32 col, LLScriptType *type, LLScriptIdentifier *identifier, LLScriptSimpleAssignable *assignable)
void addGlobal (LLScriptGlobalVariable *global)
 ~LLScriptGlobalVariable ()
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
LLScriptSimpleAssignablemAssignable
LLScriptGlobalVariablemNextp
LSCRIPTType mAssignableType

Detailed Description

Definition at line 290 of file lscript_tree.h.


Constructor & Destructor Documentation

LLScriptGlobalVariable::LLScriptGlobalVariable ( S32  line,
S32  col,
LLScriptType type,
LLScriptIdentifier identifier,
LLScriptSimpleAssignable assignable 
) [inline]

Definition at line 293 of file lscript_tree.h.

LLScriptGlobalVariable::~LLScriptGlobalVariable (  )  [inline]

Definition at line 302 of file lscript_tree.h.


Member Function Documentation

void LLScriptGlobalVariable::addGlobal ( LLScriptGlobalVariable global  ) 

Definition at line 1068 of file lscript_tree.cpp.

References mNextp.

S32 LLScriptGlobalVariable::getSize (  )  [virtual]

Implements LLScriptFilePosition.

Definition at line 1283 of file lscript_tree.cpp.

References LLScriptType::getSize(), mType, and S32.

void LLScriptGlobalVariable::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 1077 of file lscript_tree.cpp.

References LSCP_PRETTY_PRINT, mNextp, and NULL.

Referenced by recurse().

void LLScriptGlobalVariable::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 1096 of file lscript_tree.cpp.

References LLScriptByteCodeChunk::addBytes(), LLScriptScope::addEntry(), LLScriptByteCodeChunk::addFloat(), LLScriptByteCodeChunk::addInteger(), bytestream_int2float(), LLScriptScope::checkEntry(), f, FALSE, gErrorToText, LLScriptGenerateErrorText::getErrors(), LLScriptType::getSize(), gonext(), integer2bytestream(), legal_assignment(), LIT_GLOBAL, lsa_create_data_block(), LSCP_EMIT_ASSEMBLY, LSCP_EMIT_BYTE_CODE, LSCP_EMIT_CIL_ASSEMBLY, LSCP_PRETTY_PRINT, LSCP_RESOURCE, LSCP_SCOPE_PASS1, LSCP_TYPE, LSCRIPTDataSize, LSCRIPTTypeByte, LSERROR_DUPLICATE_NAME, LSERROR_TYPE_MISMATCH, LST_FLOATINGPOINT, LST_INTEGER, LST_KEY, LST_LIST, LST_QUATERNION, LST_STRING, LLScriptScopeEntry::mAssignable, mAssignable, mAssignableType, LLScriptByteCodeChunk::mCodeChunk, LLScriptByteCodeChunk::mCurrentOffset, mIdentifier, LLScriptIdentifier::mName, LLScriptScopeEntry::mOffset, LLScriptIdentifier::mScopeEntry, LLScriptScopeEntry::mSize, LLScriptLibData::mType, LLScriptType::mType, mType, NULL, LLScriptSimpleAssignable::recurse(), LLScriptIdentifier::recurse(), LLScriptType::recurse(), S32, size, and LLScriptGenerateErrorText::writeError().

Referenced by LLScriptScript::recurse().


Member Data Documentation

LLScriptSimpleAssignable* LLScriptGlobalVariable::mAssignable

Definition at line 313 of file lscript_tree.h.

Referenced by recurse().

LSCRIPTType LLScriptGlobalVariable::mAssignableType

Definition at line 315 of file lscript_tree.h.

Referenced by recurse().

LLScriptIdentifier* LLScriptGlobalVariable::mIdentifier

Definition at line 312 of file lscript_tree.h.

Referenced by print_cil_globals(), and recurse().

LLScriptGlobalVariable* LLScriptGlobalVariable::mNextp

Definition at line 314 of file lscript_tree.h.

Referenced by addGlobal(), gonext(), LLScriptScript::LLScriptScript(), and print_cil_globals().

LLScriptType* LLScriptGlobalVariable::mType

Definition at line 311 of file lscript_tree.h.

Referenced by getSize(), print_cil_globals(), and 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