LLScriptIf Class Reference

#include <lscript_tree.h>

Inheritance diagram for LLScriptIf:

Inheritance graph
Collaboration diagram for LLScriptIf:

Collaboration graph
List of all members.

Public Member Functions

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


Detailed Description

Definition at line 1939 of file lscript_tree.h.

Constructor & Destructor Documentation

LLScriptIf::LLScriptIf ( S32  line,
S32  col,
LLScriptExpression expression,
LLScriptStatement statement 
) [inline]

Definition at line 1942 of file lscript_tree.h.

LLScriptIf::~LLScriptIf (  )  [inline]

Definition at line 1947 of file lscript_tree.h.

Member Function Documentation

S32 LLScriptIf::getSize (  )  [virtual]

Reimplemented from LLScriptStatement.

Definition at line 7949 of file lscript_tree.cpp.

void LLScriptIf::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 7954 of file lscript_tree.cpp.

References LLScriptByteCodeChunk::addByte(), LLScriptByteCodeChunk::addBytes(), LLScriptByteCodeChunk::addJump(), LLScriptByteCodeChunk::addLabel(), FALSE, LLScriptFilePosition::fdotabs(), gErrorToText, LLScriptGenerateErrorText::getErrors(), LLScriptStatement::gonext(), gTempJumpCount, 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, LSPRUNE_DEAD_CODE, LST_INTEGER, mExpression, mStatement, mType, NULL, LLScriptStatement::recurse(), LLScriptExpression::recurse(), S32, and TRUE.

Member Data Documentation

LLScriptExpression* LLScriptIf::mExpression

Definition at line 1955 of file lscript_tree.h.

Referenced by recurse().

LLScriptStatement* LLScriptIf::mStatement

Definition at line 1956 of file lscript_tree.h.

Referenced by recurse().

LSCRIPTType LLScriptIf::mType

Reimplemented from LLScriptStatement.

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