LLScriptState Class Reference

#include <lscript_tree.h>

Inheritance diagram for LLScriptState:

Inheritance graph
[legend]
Collaboration diagram for LLScriptState:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLScriptState (S32 line, S32 col, LSCRIPTStateType type, LLScriptIdentifier *identifier, LLScriptEventHandler *event)
void addState (LLScriptState *state)
 ~LLScriptState ()
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

LSCRIPTStateType mType
LLScriptIdentifiermIdentifier
LLScriptEventHandlermEvent
LLScriptStatemNextp

Detailed Description

Definition at line 2181 of file lscript_tree.h.


Constructor & Destructor Documentation

LLScriptState::LLScriptState ( S32  line,
S32  col,
LSCRIPTStateType  type,
LLScriptIdentifier identifier,
LLScriptEventHandler event 
) [inline]

Definition at line 2184 of file lscript_tree.h.

LLScriptState::~LLScriptState (  )  [inline]

Definition at line 2191 of file lscript_tree.h.


Member Function Documentation

void LLScriptState::addState ( LLScriptState state  ) 

Definition at line 9501 of file lscript_tree.cpp.

References mNextp.

S32 LLScriptState::getSize (  )  [virtual]

Implements LLScriptFilePosition.

Definition at line 9533 of file lscript_tree.cpp.

void LLScriptState::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 9510 of file lscript_tree.cpp.

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

Referenced by recurse().

void LLScriptState::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 9538 of file lscript_tree.cpp.

References LLScriptByteCodeChunk::addBytes(), LLScriptScope::addEntry(), LLScriptScope::checkEntry(), FALSE, LLScriptFilePosition::fdotabs(), gCurrentHandler, gErrorToText, get_number_of_event_handlers(), LLScriptGenerateErrorText::getErrors(), gonext(), integer2bytestream(), LIT_STATE, LSCP_DETERMINE_HANDLERS, LSCP_EMIT_ASSEMBLY, LSCP_EMIT_BYTE_CODE, LSCP_EMIT_CIL_ASSEMBLY, LSCP_PRETTY_PRINT, LSCP_SCOPE_PASS1, LSCP_SCOPE_PASS2, LSCP_TYPE, LSCRIPTDataSize, LSERROR_DUPLICATE_NAME, LSL2_CURRENT_MAJOR_VERSION, LSL2_MAJOR_VERSION_TWO, LSSTYPE_DEFAULT, LST_INTEGER, LST_NULL, LLScriptByteCodeChunk::mCodeChunk, LLScriptScopeEntry::mCount, LLScriptByteCodeChunk::mCurrentOffset, mEvent, mIdentifier, LLScriptIdentifier::mName, LLScriptIdentifier::mScopeEntry, mType, NULL, LLScriptEventHandler::recurse(), LLScriptIdentifier::recurse(), S32, u642bytestream(), and LLScriptGenerateErrorText::writeError().

Referenced by LLScriptScript::recurse().


Member Data Documentation

LLScriptEventHandler* LLScriptState::mEvent

Definition at line 2202 of file lscript_tree.h.

Referenced by recurse().

LLScriptIdentifier* LLScriptState::mIdentifier

Definition at line 2201 of file lscript_tree.h.

Referenced by recurse().

LLScriptState* LLScriptState::mNextp

Definition at line 2203 of file lscript_tree.h.

Referenced by addState(), and gonext().

LSCRIPTStateType LLScriptState::mType

Definition at line 2200 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:44 2010 for Second Life Viewer by  doxygen 1.4.7