LLScriptEventHandler Class Reference

#include <lscript_tree.h>

Inheritance diagram for LLScriptEventHandler:

Inheritance graph
[legend]
Collaboration diagram for LLScriptEventHandler:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLScriptEventHandler (S32 line, S32 col, LLScriptEvent *event, LLScriptStatement *statement)
 ~LLScriptEventHandler ()
void addEvent (LLScriptEventHandler *event)
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

LLScriptEvent * mEventp
LLScriptStatement * mStatement
LLScriptEventHandler * mNextp
LLScriptScope * mEventScope
BOOL mbNeedTrailingReturn
LLScriptScopeEntry * mScopeEntry
S32 mStackSpace


Detailed Description

Definition at line 2081 of file lscript_tree.h.


Constructor & Destructor Documentation

LLScriptEventHandler::LLScriptEventHandler ( S32  line,
S32  col,
LLScriptEvent *  event,
LLScriptStatement *  statement 
) [inline]

Definition at line 2084 of file lscript_tree.h.

LLScriptEventHandler::~LLScriptEventHandler (  )  [inline]

Definition at line 2089 of file lscript_tree.h.

References mEventScope, and mScopeEntry.


Member Function Documentation

void LLScriptEventHandler::addEvent ( LLScriptEventHandler *  event  ) 

Definition at line 8715 of file lscript_tree.cpp.

References mNextp.

void LLScriptEventHandler::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 8724 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 LLScriptEventHandler::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 8771 of file lscript_tree.cpp.

References add_return(), LLScriptByteCodeChunk::addBytes(), LLScriptScope::addParentScope(), LLScriptArgString::addType(), LLScriptByteCodeChunk::connectJumps(), FALSE, LLScriptFilePosition::fdotabs(), gCurrentHandler, gErrorToText, get_event_handler_jump_position(), LLScriptGenerateErrorText::getErrors(), getSize(), gonext(), gScopeStringTable, integer2bytestream(), LIT_HANDLER, LSCP_DETERMINE_HANDLERS, 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, LSCRIPTStateBitField, LSPRUNE_EVENTS, LST_INTEGER, LST_KEY, LST_LIST, LST_NULL, LST_QUATERNION, LST_STRING, LST_VECTOR, LSTT_AT_ROT_TARGET, LSTT_AT_TARGET, LSTT_ATTACH, LSTT_CHAT, LSTT_COLLISION, LSTT_COLLISION_END, LSTT_COLLISION_START, LSTT_CONTROL, LSTT_DATASERVER, LSTT_EMAIL, LSTT_HTTP_RESPONSE, LSTT_INVENTORY, LSTT_LAND_COLLISION, LSTT_LAND_COLLISION_END, LSTT_LAND_COLLISION_START, LSTT_LINK_MESSAGE, LSTT_MONEY, LSTT_MOVING_END, LSTT_MOVING_START, LSTT_NO_SENSOR, LSTT_NOT_AT_ROT_TARGET, LSTT_NOT_AT_TARGET, LSTT_OBJECT_REZ, LSTT_REMOTE_DATA, LSTT_REZ, LSTT_RTPERMISSIONS, LSTT_SENSOR, LSTT_STATE_ENTRY, LSTT_STATE_EXIT, LSTT_TIMER, LSTT_TOUCH, LSTT_TOUCH_END, LSTT_TOUCH_START, mbNeedTrailingReturn, LLScriptByteCodeChunk::mCodeChunk, LLScriptByteCodeChunk::mCurrentOffset, mEventp, mEventScope, LLScriptScopeEntry::mFunctionArgs, LLScriptScopeEntry::mIdentifier, LLScriptScopeEntry::mLocals, mScopeEntry, mStackSpace, mStatement, LLScriptArgString::mString, LLScriptEvent::mType, NULL, print_cil_local_init(), print_return(), LLScriptStatement::recurse(), LLScriptEvent::recurse(), S32, and TRUE.

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

Here is the call graph for this function:

Here is the caller graph for this function:

S32 LLScriptEventHandler::getSize (  )  [virtual]

Implements LLScriptFilePosition.

Definition at line 8747 of file lscript_tree.cpp.

References mStackSpace.

Referenced by recurse().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 2102 of file lscript_tree.h.

Referenced by recurse().

Definition at line 2103 of file lscript_tree.h.

Referenced by recurse().

Definition at line 2104 of file lscript_tree.h.

Referenced by addEvent(), and gonext().

Definition at line 2105 of file lscript_tree.h.

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

Definition at line 2106 of file lscript_tree.h.

Referenced by recurse().

Definition at line 2107 of file lscript_tree.h.

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

Definition at line 2109 of file lscript_tree.h.

Referenced by getSize(), and recurse().


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

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