LLScriptGenerateErrorText Class Reference

#include <lscript_error.h>

List of all members.

Public Member Functions

 LLScriptGenerateErrorText ()
 ~LLScriptGenerateErrorText ()
void init ()
void writeWarning (FILE *fp, LLScriptFilePosition *pos, LSCRIPTWarnings warning)
void writeWarning (FILE *fp, S32 line, S32 col, LSCRIPTWarnings warning)
void writeError (FILE *fp, LLScriptFilePosition *pos, LSCRIPTErrors error)
void writeError (FILE *fp, S32 line, S32 col, LSCRIPTErrors error)
BOOL getErrors ()
BOOL getWarnings ()

Public Attributes

S32 mTotalErrors
S32 mTotalWarnings


Detailed Description

Definition at line 130 of file lscript_error.h.


Constructor & Destructor Documentation

LLScriptGenerateErrorText::LLScriptGenerateErrorText (  )  [inline]

Definition at line 133 of file lscript_error.h.

References init().

LLScriptGenerateErrorText::~LLScriptGenerateErrorText (  )  [inline]

Definition at line 134 of file lscript_error.h.


Member Function Documentation

BOOL LLScriptGenerateErrorText::getErrors (  )  [inline]

Definition at line 143 of file lscript_error.h.

References mTotalErrors.

Referenced by LLScriptState::gonext(), LLScriptGlobalFunctions::gonext(), LLScriptFunctionDec::gonext(), LLScriptEventHandler::gonext(), LLScriptStatement::gonext(), LLScriptExpression::gonext(), LLScriptScript::recurse(), LLScriptState::recurse(), LLScriptGlobalFunctions::recurse(), LLScriptFunctionDec::recurse(), LLScriptEventHandler::recurse(), LLScriptCompoundStatement::recurse(), LLScriptDeclaration::recurse(), LLScriptWhile::recurse(), LLScriptDoWhile::recurse(), LLScriptFor::recurse(), LLScriptIfElse::recurse(), LLScriptIf::recurse(), LLScriptExpressionStatement::recurse(), LLScriptReturn::recurse(), LLScriptLabel::recurse(), LLScriptJump::recurse(), LLScriptStateChange::recurse(), LLScriptNOOP::recurse(), LLScriptStatementSequence::recurse(), LLScriptConstantExpression::recurse(), LLScriptPrint::recurse(), LLScriptFunctionCall::recurse(), LLScriptPostDecrement::recurse(), LLScriptPostIncrement::recurse(), LLScriptListInitializer::recurse(), LLScriptQuaternionInitializer::recurse(), LLScriptVectorInitializer::recurse(), LLScriptTypeCast::recurse(), LLScriptPreDecrement::recurse(), LLScriptPreIncrement::recurse(), LLScriptBitNot::recurse(), LLScriptBooleanNot::recurse(), LLScriptUnaryMinus::recurse(), LLScriptParenthesis::recurse(), LLScriptShiftRight::recurse(), LLScriptShiftLeft::recurse(), LLScriptBooleanOr::recurse(), LLScriptBooleanAnd::recurse(), LLScriptBitXor::recurse(), LLScriptBitOr::recurse(), LLScriptBitAnd::recurse(), LLScriptMod::recurse(), LLScriptDivide::recurse(), LLScriptTimes::recurse(), LLScriptMinus::recurse(), LLScriptPlus::recurse(), LLScriptGreaterThan::recurse(), LLScriptLessThan::recurse(), LLScriptGreaterEquals::recurse(), LLScriptLessEquals::recurse(), LLScriptNotEquals::recurse(), LLScriptEquality::recurse(), LLScriptModAssignment::recurse(), LLScriptDivAssignment::recurse(), LLScriptMulAssignment::recurse(), LLScriptSubAssignment::recurse(), LLScriptAddAssignment::recurse(), LLScriptAssignment::recurse(), LLScriptLValue::recurse(), LLScriptListExpressionList::recurse(), LLScriptFuncExpressionList::recurse(), LLScriptForExpressionList::recurse(), LLScriptNotAtRotTarget::recurse(), LLScriptAtRotTarget::recurse(), LLScriptNotAtTarget::recurse(), LLScriptAtTarget::recurse(), LLScriptNoSensorEvent::recurse(), LLScriptRezEvent::recurse(), LLScriptEmailEvent::recurse(), LLScriptMoneyEvent::recurse(), LLScriptHTTPResponseEvent::recurse(), LLScriptRemoteEvent::recurse(), LLScriptLinkMessageEvent::recurse(), LLScriptControlEvent::recurse(), LLScriptObjectRezEvent::recurse(), LLScriptSensorEvent::recurse(), LLScriptChatEvent::recurse(), LLScriptRTPEvent::recurse(), LLScriptMovingEndEvent::recurse(), LLScriptMovingStartEvent::recurse(), LLScriptTimerEvent::recurse(), LLScriptDataserverEvent::recurse(), LLScriptAttachEvent::recurse(), LLScriptInventoryEvent::recurse(), LLScriptLandCollisionEndEvent::recurse(), LLScriptLandCollisionEvent::recurse(), LLScriptLandCollisionStartEvent::recurse(), LLScriptCollisionEndEvent::recurse(), LLScriptCollisionEvent::recurse(), LLScriptCollisionStartEvent::recurse(), LLScriptTouchEndEvent::recurse(), LLScriptTouchEvent::recurse(), LLScriptTouchStartEvent::recurse(), LLScriptStateExitEvent::recurse(), LLScriptStateEntryEvent::recurse(), LLScriptGlobalVariable::recurse(), LLScriptSAList::recurse(), LLScriptSAQuaternion::recurse(), LLScriptSAVector::recurse(), LLScriptSAConstant::recurse(), LLScriptSAIdentifier::recurse(), LLScriptSimpleAssignable::recurse(), LLScriptIdentifier::recurse(), LLScriptConstantString::recurse(), LLScriptConstantFloat::recurse(), LLScriptConstantInteger::recurse(), LLScriptConstant::recurse(), and LLScriptType::recurse().

BOOL LLScriptGenerateErrorText::getWarnings (  )  [inline]

Definition at line 144 of file lscript_error.h.

References mTotalWarnings.

void LLScriptGenerateErrorText::init ( void   )  [inline]

Definition at line 136 of file lscript_error.h.

References mTotalErrors, and mTotalWarnings.

Referenced by LLScriptGenerateErrorText().

void LLScriptGenerateErrorText::writeError ( FILE *  fp,
S32  line,
S32  col,
LSCRIPTErrors  error 
)

Definition at line 96 of file lscript_error.cpp.

References gErrorText, and mTotalErrors.

void LLScriptGenerateErrorText::writeError ( FILE *  fp,
LLScriptFilePosition pos,
LSCRIPTErrors  error 
)

Definition at line 90 of file lscript_error.cpp.

References gErrorText, LLScriptFilePosition::mColumnNumber, LLScriptFilePosition::mLineNumber, and mTotalErrors.

Referenced by LLScriptScriptCodeChunk::build(), LLScriptState::recurse(), LLScriptGlobalFunctions::recurse(), LLScriptFunctionDec::recurse(), LLScriptDeclaration::recurse(), LLScriptReturn::recurse(), LLScriptLabel::recurse(), LLScriptJump::recurse(), LLScriptStateChange::recurse(), LLScriptFunctionCall::recurse(), LLScriptPostDecrement::recurse(), LLScriptPostIncrement::recurse(), LLScriptQuaternionInitializer::recurse(), LLScriptVectorInitializer::recurse(), LLScriptTypeCast::recurse(), LLScriptPreDecrement::recurse(), LLScriptPreIncrement::recurse(), LLScriptBitNot::recurse(), LLScriptBooleanNot::recurse(), LLScriptUnaryMinus::recurse(), LLScriptShiftRight::recurse(), LLScriptShiftLeft::recurse(), LLScriptBooleanOr::recurse(), LLScriptBooleanAnd::recurse(), LLScriptBitXor::recurse(), LLScriptBitOr::recurse(), LLScriptBitAnd::recurse(), LLScriptMod::recurse(), LLScriptDivide::recurse(), LLScriptTimes::recurse(), LLScriptMinus::recurse(), LLScriptPlus::recurse(), LLScriptGreaterThan::recurse(), LLScriptLessThan::recurse(), LLScriptGreaterEquals::recurse(), LLScriptLessEquals::recurse(), LLScriptNotEquals::recurse(), LLScriptEquality::recurse(), LLScriptModAssignment::recurse(), LLScriptDivAssignment::recurse(), LLScriptMulAssignment::recurse(), LLScriptSubAssignment::recurse(), LLScriptAddAssignment::recurse(), LLScriptAssignment::recurse(), LLScriptLValue::recurse(), LLScriptFuncExpressionList::recurse(), LLScriptAtRotTarget::recurse(), LLScriptAtTarget::recurse(), LLScriptRezEvent::recurse(), LLScriptEmailEvent::recurse(), LLScriptMoneyEvent::recurse(), LLScriptHTTPResponseEvent::recurse(), LLScriptRemoteEvent::recurse(), LLScriptLinkMessageEvent::recurse(), LLScriptControlEvent::recurse(), LLScriptObjectRezEvent::recurse(), LLScriptSensorEvent::recurse(), LLScriptChatEvent::recurse(), LLScriptRTPEvent::recurse(), LLScriptDataserverEvent::recurse(), LLScriptAttachEvent::recurse(), LLScriptInventoryEvent::recurse(), LLScriptLandCollisionEndEvent::recurse(), LLScriptLandCollisionEvent::recurse(), LLScriptLandCollisionStartEvent::recurse(), LLScriptCollisionEndEvent::recurse(), LLScriptCollisionEvent::recurse(), LLScriptCollisionStartEvent::recurse(), LLScriptTouchEndEvent::recurse(), LLScriptTouchEvent::recurse(), LLScriptTouchStartEvent::recurse(), LLScriptGlobalVariable::recurse(), LLScriptSAQuaternion::recurse(), LLScriptSAVector::recurse(), LLScriptSAIdentifier::recurse(), and LLScriptIdentifier::recurse().

void LLScriptGenerateErrorText::writeWarning ( FILE *  fp,
S32  line,
S32  col,
LSCRIPTWarnings  warning 
)

Definition at line 84 of file lscript_error.cpp.

References gWarningText, and mTotalWarnings.

void LLScriptGenerateErrorText::writeWarning ( FILE *  fp,
LLScriptFilePosition pos,
LSCRIPTWarnings  warning 
)

Definition at line 78 of file lscript_error.cpp.

References gWarningText, LLScriptFilePosition::mColumnNumber, LLScriptFilePosition::mLineNumber, and mTotalWarnings.

Referenced by LLScriptStatementSequence::recurse().


Member Data Documentation

S32 LLScriptGenerateErrorText::mTotalErrors

Definition at line 146 of file lscript_error.h.

Referenced by getErrors(), init(), and writeError().

S32 LLScriptGenerateErrorText::mTotalWarnings

Definition at line 147 of file lscript_error.h.

Referenced by getWarnings(), init(), and writeWarning().


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