LLScriptReturn Class Reference

#include <lscript_tree.h>

Inheritance diagram for LLScriptReturn:

Inheritance graph
[legend]
Collaboration diagram for LLScriptReturn:

Collaboration graph
[legend]
List of all members.

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

LLScriptExpressionmExpression
LSCRIPTType mType

Detailed Description

Definition at line 1902 of file lscript_tree.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

S32 LLScriptReturn::getSize (  )  [virtual]

Reimplemented from LLScriptStatement.

Definition at line 7757 of file lscript_tree.cpp.

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().


Member Data Documentation

LLScriptExpression* LLScriptReturn::mExpression

Definition at line 1917 of file lscript_tree.h.

Referenced by recurse().

LSCRIPTType LLScriptReturn::mType

Reimplemented from LLScriptStatement.

Definition at line 1918 of file lscript_tree.h.

Referenced by recurse().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:44 2010 for Second Life Viewer by  doxygen 1.4.7