#include <lscript_scope.h>
Collaboration diagram for LLScriptScope:
Public Member Functions | |
LLScriptScope (LLStringTable *stable) | |
~LLScriptScope () | |
LLScriptScopeEntry * | addEntry (char *identifier, LSCRIPTIdentifierType idtype, LSCRIPTType type) |
BOOL | checkEntry (char *identifier) |
LLScriptScopeEntry * | findEntry (char *identifier) |
LLScriptScopeEntry * | findEntryTyped (char *identifier, LSCRIPTIdentifierType idtype) |
void | addParentScope (LLScriptScope *scope) |
Public Attributes | |
LLMap< char *, LLScriptScopeEntry * > | mEntryMap |
LLScriptScope * | mParentScope |
LLStringTable * | mSTable |
S32 | mFunctionCount |
S32 | mStateCount |
Definition at line 299 of file lscript_scope.h.
LLScriptScope::LLScriptScope | ( | LLStringTable * | stable | ) | [inline] |
Definition at line 302 of file lscript_scope.h.
LLScriptScope::~LLScriptScope | ( | ) | [inline] |
Definition at line 307 of file lscript_scope.h.
References LLMap< INDEX_TYPE, MAPPED_TYPE >::deleteAllData(), and mEntryMap.
LLScriptScopeEntry* LLScriptScope::addEntry | ( | char * | identifier, | |
LSCRIPTIdentifierType | idtype, | |||
LSCRIPTType | type | |||
) | [inline] |
Definition at line 312 of file lscript_scope.h.
References LLStringTable::addString(), LLMap< INDEX_TYPE, MAPPED_TYPE >::checkData(), LIT_FUNCTION, LIT_STATE, mEntryMap, mFunctionCount, mSTable, mStateCount, and NULL.
Referenced by LLScriptScript::recurse(), LLScriptState::recurse(), LLScriptGlobalFunctions::recurse(), LLScriptFunctionDec::recurse(), LLScriptDeclaration::recurse(), LLScriptLabel::recurse(), LLScriptAtRotTarget::recurse(), LLScriptAtTarget::recurse(), LLScriptRezEvent::recurse(), LLScriptEmailEvent::recurse(), LLScriptMoneyEvent::recurse(), LLScriptHTTPResponseEvent::recurse(), LLScriptRemoteEvent::recurse(), LLScriptLinkMessageEvent::recurse(), LLScriptControlEvent::recurse(), LLScriptObjectRezEvent::recurse(), LLScriptSensorEvent::recurse(), LLScriptChatEvent::recurse(), LLScriptRTPEvent::recurse(), LLScriptDataserverEvent::recurse(), LLScriptAttachEvent::recurse(), LLScriptInventoryEvent::recurse(), LLScriptLandCollisionEndEvent::recurse(), LLScriptLandCollisionEvent::recurse(), LLScriptLandCollisionStartEvent::recurse(), LLScriptCollisionEndEvent::recurse(), LLScriptCollisionEvent::recurse(), LLScriptCollisionStartEvent::recurse(), LLScriptTouchEndEvent::recurse(), LLScriptTouchEvent::recurse(), LLScriptTouchStartEvent::recurse(), and LLScriptGlobalVariable::recurse().
void LLScriptScope::addParentScope | ( | LLScriptScope * | scope | ) | [inline] |
Definition at line 395 of file lscript_scope.h.
References mParentScope.
Referenced by LLScriptGlobalFunctions::recurse(), LLScriptEventHandler::recurse(), and LLScriptCompoundStatement::recurse().
BOOL LLScriptScope::checkEntry | ( | char * | identifier | ) | [inline] |
Definition at line 332 of file lscript_scope.h.
References LLStringTable::addString(), LLMap< INDEX_TYPE, MAPPED_TYPE >::checkData(), FALSE, mEntryMap, mSTable, and TRUE.
Referenced by LLScriptState::recurse(), LLScriptGlobalFunctions::recurse(), LLScriptFunctionDec::recurse(), LLScriptDeclaration::recurse(), LLScriptLabel::recurse(), LLScriptAtRotTarget::recurse(), LLScriptAtTarget::recurse(), LLScriptRezEvent::recurse(), LLScriptEmailEvent::recurse(), LLScriptMoneyEvent::recurse(), LLScriptHTTPResponseEvent::recurse(), LLScriptRemoteEvent::recurse(), LLScriptLinkMessageEvent::recurse(), LLScriptControlEvent::recurse(), LLScriptObjectRezEvent::recurse(), LLScriptSensorEvent::recurse(), LLScriptChatEvent::recurse(), LLScriptRTPEvent::recurse(), LLScriptDataserverEvent::recurse(), LLScriptAttachEvent::recurse(), LLScriptInventoryEvent::recurse(), LLScriptLandCollisionEndEvent::recurse(), LLScriptLandCollisionEvent::recurse(), LLScriptLandCollisionStartEvent::recurse(), LLScriptCollisionEndEvent::recurse(), LLScriptCollisionEvent::recurse(), LLScriptCollisionStartEvent::recurse(), LLScriptTouchEndEvent::recurse(), LLScriptTouchEvent::recurse(), LLScriptTouchStartEvent::recurse(), and LLScriptGlobalVariable::recurse().
LLScriptScopeEntry* LLScriptScope::findEntry | ( | char * | identifier | ) | [inline] |
Definition at line 346 of file lscript_scope.h.
References LLStringTable::addString(), LLMap< INDEX_TYPE, MAPPED_TYPE >::checkData(), mEntryMap, mParentScope, mSTable, and NULL.
Referenced by LLScriptLValue::recurse(), and LLScriptSAIdentifier::recurse().
LLScriptScopeEntry* LLScriptScope::findEntryTyped | ( | char * | identifier, | |
LSCRIPTIdentifierType | idtype | |||
) | [inline] |
Definition at line 363 of file lscript_scope.h.
References LLStringTable::addString(), LLMap< INDEX_TYPE, MAPPED_TYPE >::checkData(), LIT_FUNCTION, LIT_LIBRARY_FUNCTION, mEntryMap, mParentScope, mSTable, and NULL.
Referenced by LLScriptJump::recurse(), LLScriptStateChange::recurse(), and LLScriptFunctionCall::recurse().
LLMap<char *, LLScriptScopeEntry *> LLScriptScope::mEntryMap |
Definition at line 400 of file lscript_scope.h.
Referenced by addEntry(), checkEntry(), findEntry(), findEntryTyped(), and ~LLScriptScope().
Definition at line 403 of file lscript_scope.h.
Referenced by addEntry(), and LLScriptScript::recurse().
Definition at line 401 of file lscript_scope.h.
Referenced by addParentScope(), findEntry(), and findEntryTyped().
Definition at line 402 of file lscript_scope.h.
Referenced by addEntry(), checkEntry(), findEntry(), and findEntryTyped().
Definition at line 404 of file lscript_scope.h.
Referenced by addEntry(), and LLScriptScript::recurse().