LLScriptTypeCast Class Reference

#include <lscript_tree.h>

Inheritance diagram for LLScriptTypeCast:

Inheritance graph
Collaboration diagram for LLScriptTypeCast:

Collaboration graph
List of all members.

Public Member Functions

 LLScriptTypeCast (S32 line, S32 col, LLScriptType *type, LLScriptExpression *expression)
 ~LLScriptTypeCast ()
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 1587 of file lscript_tree.h.

Constructor & Destructor Documentation

LLScriptTypeCast::LLScriptTypeCast ( S32  line,
S32  col,
LLScriptType type,
LLScriptExpression expression 
) [inline]

Definition at line 1590 of file lscript_tree.h.

LLScriptTypeCast::~LLScriptTypeCast (  )  [inline]

Definition at line 1595 of file lscript_tree.h.

Member Function Documentation

S32 LLScriptTypeCast::getSize (  )  [virtual]

Reimplemented from LLScriptExpression.

Definition at line 6453 of file lscript_tree.cpp.

void LLScriptTypeCast::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 LLScriptExpression.

Definition at line 6406 of file lscript_tree.cpp.

References LLScriptByteCodeChunk::addByte(), gErrorToText, LLScriptGenerateErrorText::getErrors(), LLScriptExpression::gonext(), legal_casts(), LOPC_CAST, LSCP_EMIT_ASSEMBLY, LSCP_EMIT_CIL_ASSEMBLY, LSCP_PRETTY_PRINT, LSCP_TO_STACK, LSCP_TYPE, LSCRIPTOpCodes, LSCRIPTTypeByte, LSCRIPTTypeHi4Bits, LSCRIPTTypeNames, LSERROR_TYPE_MISMATCH, mExpression, LLScriptExpression::mLeftType, LLScriptExpression::mReturnType, LLScriptExpression::mRightType, LLScriptType::mType, mType, NULL, print_cil_cast(), LLScriptExpression::recurse(), LLScriptType::recurse(), and LLScriptGenerateErrorText::writeError().

Member Data Documentation

LLScriptExpression* LLScriptTypeCast::mExpression

Definition at line 1603 of file lscript_tree.h.

Referenced by recurse().

LLScriptType* LLScriptTypeCast::mType

Reimplemented from LLScriptExpression.

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