LLScriptUnaryMinus Class Reference

#include <lscript_tree.h>

Inheritance diagram for LLScriptUnaryMinus:

Inheritance graph
[legend]
Collaboration diagram for LLScriptUnaryMinus:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLScriptUnaryMinus (S32 line, S32 col, LLScriptExpression *expression)
 ~LLScriptUnaryMinus ()
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

Detailed Description

Definition at line 1497 of file lscript_tree.h.


Constructor & Destructor Documentation

LLScriptUnaryMinus::LLScriptUnaryMinus ( S32  line,
S32  col,
LLScriptExpression expression 
) [inline]

Definition at line 1500 of file lscript_tree.h.

LLScriptUnaryMinus::~LLScriptUnaryMinus (  )  [inline]

Definition at line 1505 of file lscript_tree.h.


Member Function Documentation

S32 LLScriptUnaryMinus::getSize (  )  [virtual]

Reimplemented from LLScriptExpression.

Definition at line 6086 of file lscript_tree.cpp.

void LLScriptUnaryMinus::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 LLScriptExpression.

Definition at line 6044 of file lscript_tree.cpp.

References LLScriptByteCodeChunk::addByte(), gErrorToText, LLScriptGenerateErrorText::getErrors(), LLScriptExpression::gonext(), legal_unary_expression(), LOPC_NEG, LSCP_EMIT_ASSEMBLY, LSCP_PRETTY_PRINT, LSCP_TO_STACK, LSCP_TYPE, LSCRIPTOpCodes, LSCRIPTTypeByte, LSCRIPTTypeNames, LSERROR_TYPE_MISMATCH, mExpression, LLScriptExpression::mLeftType, LLScriptExpression::mReturnType, LLScriptExpression::mType, NULL, LLScriptExpression::recurse(), and LLScriptGenerateErrorText::writeError().


Member Data Documentation

LLScriptExpression* LLScriptUnaryMinus::mExpression

Definition at line 1512 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