LLScriptConstant Class Reference

#include <lscript_tree.h>

Inheritance diagram for LLScriptConstant:

Inheritance graph
[legend]
Collaboration diagram for LLScriptConstant:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLScriptConstant (S32 line, S32 col, LSCRIPTType type)
virtual ~LLScriptConstant ()
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

LSCRIPTType mType

Detailed Description

Definition at line 63 of file lscript_tree.h.


Constructor & Destructor Documentation

LLScriptConstant::LLScriptConstant ( S32  line,
S32  col,
LSCRIPTType  type 
) [inline]

Definition at line 66 of file lscript_tree.h.

virtual LLScriptConstant::~LLScriptConstant (  )  [inline, virtual]

Definition at line 71 of file lscript_tree.h.


Member Function Documentation

S32 LLScriptConstant::getSize (  )  [virtual]

Implements LLScriptFilePosition.

Reimplemented in LLScriptConstantInteger, LLScriptConstantFloat, and LLScriptConstantString.

Definition at line 147 of file lscript_tree.cpp.

Referenced by LLScriptSAConstant::getSize().

void LLScriptConstant::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]

Implements LLScriptFilePosition.

Reimplemented in LLScriptConstantInteger, LLScriptConstantFloat, and LLScriptConstantString.

Definition at line 130 of file lscript_tree.cpp.

References gErrorToText, LLScriptGenerateErrorText::getErrors(), LSCP_EMIT_ASSEMBLY, and LSCP_PRETTY_PRINT.

Referenced by LLScriptConstantExpression::recurse(), and LLScriptSAConstant::recurse().


Member Data Documentation

LSCRIPTType LLScriptConstant::mType

Definition at line 76 of file lscript_tree.h.

Referenced by LLScriptConstantString::recurse(), LLScriptConstantFloat::recurse(), and LLScriptConstantInteger::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