LLScriptType Class Reference

#include <lscript_tree.h>

Inheritance diagram for LLScriptType:

Inheritance graph
[legend]
Collaboration diagram for LLScriptType:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLScriptType (S32 line, S32 col, LSCRIPTType type)
 ~LLScriptType ()
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 46 of file lscript_tree.h.


Constructor & Destructor Documentation

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

Definition at line 49 of file lscript_tree.h.

LLScriptType::~LLScriptType (  )  [inline]

Definition at line 54 of file lscript_tree.h.


Member Function Documentation

S32 LLScriptType::getSize (  )  [virtual]

Implements LLScriptFilePosition.

Definition at line 125 of file lscript_tree.cpp.

References LSCRIPTDataSize, and mType.

Referenced by LLScriptDeclaration::getSize(), LLScriptGlobalVariable::getSize(), LLScriptFunctionDec::recurse(), LLScriptDeclaration::recurse(), and LLScriptGlobalVariable::recurse().

void LLScriptType::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.

Definition at line 102 of file lscript_tree.cpp.

References gErrorToText, LLScriptGenerateErrorText::getErrors(), LSCP_EMIT_ASSEMBLY, LSCP_EMIT_CIL_ASSEMBLY, LSCP_PRETTY_PRINT, LSCP_TYPE, LSCRIPTTypeNames, mType, and print_cil_type().

Referenced by LLScriptGlobalFunctions::recurse(), LLScriptFunctionDec::recurse(), LLScriptDeclaration::recurse(), LLScriptTypeCast::recurse(), and LLScriptGlobalVariable::recurse().


Member Data Documentation

LSCRIPTType LLScriptType::mType

Definition at line 59 of file lscript_tree.h.

Referenced by getSize(), print_cil_globals(), LLScriptGlobalFunctions::recurse(), LLScriptFunctionDec::recurse(), LLScriptDeclaration::recurse(), LLScriptTypeCast::recurse(), LLScriptGlobalVariable::recurse(), and recurse().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:44 2010 for Second Life Viewer by  doxygen 1.4.7