LLScriptIfElse Class Reference

#include <lscript_tree.h>

Inheritance diagram for LLScriptIfElse:

Inheritance graph
[legend]
Collaboration diagram for LLScriptIfElse:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLScriptIfElse (S32 line, S32 col, LLScriptExpression *expression, LLScriptStatement *statement1, LLScriptStatement *statement2)
 ~LLScriptIfElse ()
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
LLScriptStatementmStatement1
LLScriptStatementmStatement2
LSCRIPTType mType

Detailed Description

Definition at line 1959 of file lscript_tree.h.


Constructor & Destructor Documentation

LLScriptIfElse::LLScriptIfElse ( S32  line,
S32  col,
LLScriptExpression expression,
LLScriptStatement statement1,
LLScriptStatement statement2 
) [inline]

Definition at line 1962 of file lscript_tree.h.

LLScriptIfElse::~LLScriptIfElse (  )  [inline]

Definition at line 1967 of file lscript_tree.h.


Member Function Documentation

S32 LLScriptIfElse::getSize (  )  [virtual]

Reimplemented from LLScriptStatement.

Definition at line 8020 of file lscript_tree.cpp.

void LLScriptIfElse::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 8025 of file lscript_tree.cpp.

References LLScriptByteCodeChunk::addByte(), LLScriptByteCodeChunk::addBytes(), LLScriptByteCodeChunk::addJump(), LLScriptByteCodeChunk::addLabel(), LLScriptFilePosition::fdotabs(), gErrorToText, LLScriptGenerateErrorText::getErrors(), LLScriptStatement::gonext(), gTempJumpCount, LOPC_JUMP, LOPC_JUMPNIF, LSCP_EMIT_ASSEMBLY, LSCP_EMIT_BYTE_CODE, LSCP_EMIT_CIL_ASSEMBLY, LSCP_PRETTY_PRINT, LSCP_PRUNE, LSCP_TO_STACK, LSCP_TYPE, LSCRIPTDataSize, LSCRIPTOpCodes, LSCRIPTTypeByte, LST_INTEGER, mExpression, mStatement1, mStatement2, mType, NULL, LLScriptStatement::recurse(), LLScriptExpression::recurse(), S32, and TRUE.


Member Data Documentation

LLScriptExpression* LLScriptIfElse::mExpression

Definition at line 1974 of file lscript_tree.h.

Referenced by recurse().

LLScriptStatement* LLScriptIfElse::mStatement1

Definition at line 1975 of file lscript_tree.h.

Referenced by recurse().

LLScriptStatement* LLScriptIfElse::mStatement2

Definition at line 1976 of file lscript_tree.h.

Referenced by recurse().

LSCRIPTType LLScriptIfElse::mType

Reimplemented from LLScriptStatement.

Definition at line 1977 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:43 2010 for Second Life Viewer by  doxygen 1.4.7