#include <lscript_tree.h>
Inheritance diagram for LLScriptReturn:
Public Member Functions | |
LLScriptReturn (S32 line, S32 col, LLScriptExpression *expression) | |
~LLScriptReturn () | |
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 | |
LLScriptExpression * | mExpression |
LSCRIPTType | mType |
Definition at line 1902 of file lscript_tree.h.
LLScriptReturn::LLScriptReturn | ( | S32 | line, | |
S32 | col, | |||
LLScriptExpression * | expression | |||
) | [inline] |
Definition at line 1905 of file lscript_tree.h.
LLScriptReturn::~LLScriptReturn | ( | ) | [inline] |
Definition at line 1910 of file lscript_tree.h.
S32 LLScriptReturn::getSize | ( | ) | [virtual] |
void LLScriptReturn::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] |
Reimplemented from LLScriptStatement.
Definition at line 7762 of file lscript_tree.cpp.
References add_return(), LLScriptByteCodeChunk::addByte(), LLScriptByteCodeChunk::addInteger(), LLScriptFilePosition::fdotabs(), gErrorToText, LLScriptGenerateErrorText::getErrors(), LLScriptStatement::gonext(), legal_assignment(), LOPC_LOADLP, LOPC_LOADP, LOPC_LOADQP, LOPC_LOADSP, LOPC_LOADVP, LSCP_EMIT_ASSEMBLY, LSCP_EMIT_BYTE_CODE, LSCP_EMIT_CIL_ASSEMBLY, LSCP_PRETTY_PRINT, LSCP_PRUNE, LSCP_TO_STACK, LSCP_TYPE, LSCRIPTOpCodes, LSCRIPTTypeReturn, LSERROR_INVALID_RETURN, LSERROR_INVALID_VOID_RETURN, LSERROR_TYPE_MISMATCH, LSPRUNE_EVENTS, LSPRUNE_GLOBAL_NON_VOIDS, LSPRUNE_GLOBAL_VOIDS, LST_FLOATINGPOINT, LST_INTEGER, LST_KEY, LST_LIST, LST_QUATERNION, LST_STRING, LST_VECTOR, mExpression, mType, NULL, print_return(), TRUE, and LLScriptGenerateErrorText::writeError().
Reimplemented from LLScriptStatement.
Definition at line 1918 of file lscript_tree.h.
Referenced by recurse().