#include <lscript_tree.h>
Inheritance diagram for LLScriptGlobalVariable:
Definition at line 290 of file lscript_tree.h.
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.
void LLScriptGlobalVariable::addGlobal | ( | LLScriptGlobalVariable * | global | ) |
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().
Definition at line 314 of file lscript_tree.h.
Referenced by addGlobal(), gonext(), LLScriptScript::LLScriptScript(), and print_cil_globals().
Definition at line 311 of file lscript_tree.h.
Referenced by getSize(), print_cil_globals(), and recurse().