#include <lscript_tree.h>
Inheritance diagram for LLScriptFunctionDec:
Public Member Functions | |
LLScriptFunctionDec (S32 line, S32 col, LLScriptType *type, LLScriptIdentifier *identifier) | |
~LLScriptFunctionDec () | |
void | addFunctionParameter (LLScriptFunctionDec *dec) |
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 | |
LLScriptType * | mType |
LLScriptIdentifier * | mIdentifier |
LLScriptFunctionDec * | mNextp |
Definition at line 2115 of file lscript_tree.h.
LLScriptFunctionDec::LLScriptFunctionDec | ( | S32 | line, | |
S32 | col, | |||
LLScriptType * | type, | |||
LLScriptIdentifier * | identifier | |||
) | [inline] |
Definition at line 2118 of file lscript_tree.h.
LLScriptFunctionDec::~LLScriptFunctionDec | ( | ) | [inline] |
Definition at line 2123 of file lscript_tree.h.
void LLScriptFunctionDec::addFunctionParameter | ( | LLScriptFunctionDec * | dec | ) |
S32 LLScriptFunctionDec::getSize | ( | ) | [virtual] |
void LLScriptFunctionDec::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 9074 of file lscript_tree.cpp.
References gErrorToText, LLScriptGenerateErrorText::getErrors(), LSCP_EMIT_ASSEMBLY, LSCP_PRETTY_PRINT, mNextp, and NULL.
Referenced by recurse().
void LLScriptFunctionDec::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 9111 of file lscript_tree.cpp.
References LLScriptByteCodeChunk::addBytes(), LLScriptScope::addEntry(), LLScriptArgString::addType(), LLScriptScope::checkEntry(), LLScriptFilePosition::fdotabs(), gErrorToText, LLScriptGenerateErrorText::getErrors(), LLScriptType::getSize(), gonext(), LIT_VARIABLE, LSCP_BUILD_FUNCTION_ARGS, LSCP_EMIT_ASSEMBLY, LSCP_EMIT_BYTE_CODE, LSCP_EMIT_CIL_ASSEMBLY, LSCP_PRETTY_PRINT, LSCP_RESOURCE, LSCP_SCOPE_PASS1, LSCRIPTTypeByte, LSERROR_DUPLICATE_NAME, LST_NULL, LLScriptScopeEntry::mFunctionArgs, mIdentifier, LLScriptIdentifier::mName, LLScriptScopeEntry::mOffset, LLScriptIdentifier::mScopeEntry, LLScriptScopeEntry::mSize, LLScriptType::mType, mType, NULL, LLScriptIdentifier::recurse(), LLScriptType::recurse(), S32, and LLScriptGenerateErrorText::writeError().
Referenced by LLScriptGlobalFunctions::recurse().