#include <lscript_tree.h>
Inheritance diagram for LLScriptState:
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 |
LLScriptIdentifier * | mIdentifier |
LLScriptEventHandler * | mEvent |
LLScriptState * | mNextp |
Definition at line 2181 of file lscript_tree.h.
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.
void LLScriptState::addState | ( | LLScriptState * | state | ) |
S32 LLScriptState::getSize | ( | ) | [virtual] |
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().