LLScriptConstantInteger Class Reference

#include <lscript_tree.h>

Inheritance diagram for LLScriptConstantInteger:

Inheritance graph
[legend]
Collaboration diagram for LLScriptConstantInteger:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLScriptConstantInteger (S32 line, S32 col, S32 value)
 ~LLScriptConstantInteger ()
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

S32 mValue

Detailed Description

Definition at line 79 of file lscript_tree.h.


Constructor & Destructor Documentation

LLScriptConstantInteger::LLScriptConstantInteger ( S32  line,
S32  col,
S32  value 
) [inline]

Definition at line 82 of file lscript_tree.h.

LLScriptConstantInteger::~LLScriptConstantInteger (  )  [inline]

Definition at line 87 of file lscript_tree.h.


Member Function Documentation

S32 LLScriptConstantInteger::getSize (  )  [virtual]

Reimplemented from LLScriptConstant.

Definition at line 198 of file lscript_tree.cpp.

References LSCRIPTDataSize, and LST_INTEGER.

void LLScriptConstantInteger::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 LLScriptConstant.

Definition at line 155 of file lscript_tree.cpp.

References LLScriptByteCodeChunk::addByte(), LLScriptByteCodeChunk::addInteger(), gErrorToText, LLScriptGenerateErrorText::getErrors(), LOPC_PUSHARGI, LSCP_EMIT_ASSEMBLY, LSCP_EMIT_BYTE_CODE, LSCP_EMIT_CIL_ASSEMBLY, LSCP_LIST_BUILD_SIMPLE, LSCP_PRETTY_PRINT, LSCP_TO_STACK, LSCP_TYPE, LSCRIPTOpCodes, LLScriptConstant::mType, and mValue.


Member Data Documentation

S32 LLScriptConstantInteger::mValue

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