LLScriptConstantFloat Class Reference

#include <lscript_tree.h>

Inheritance diagram for LLScriptConstantFloat:

Inheritance graph
Collaboration diagram for LLScriptConstantFloat:

Collaboration graph
List of all members.

Public Member Functions

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

F32 mValue

Detailed Description

Definition at line 95 of file lscript_tree.h.

Constructor & Destructor Documentation

LLScriptConstantFloat::LLScriptConstantFloat ( S32  line,
S32  col,
F32  value 
) [inline]

Definition at line 98 of file lscript_tree.h.

LLScriptConstantFloat::~LLScriptConstantFloat (  )  [inline]

Definition at line 103 of file lscript_tree.h.

Member Function Documentation

S32 LLScriptConstantFloat::getSize (  )  [virtual]

Reimplemented from LLScriptConstant.

Definition at line 245 of file lscript_tree.cpp.


void LLScriptConstantFloat::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 203 of file lscript_tree.cpp.

References LLScriptByteCodeChunk::addByte(), LLScriptByteCodeChunk::addFloat(), gErrorToText, LLScriptGenerateErrorText::getErrors(), LOPC_PUSHARGF, 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

F32 LLScriptConstantFloat::mValue

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