KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Protected Attributes | List of all members
KviKvsTreeNodeData Class Reference

#include <KviKvsTreeNodeData.h>

+ Inheritance diagram for KviKvsTreeNodeData:

Public Member Functions

virtual bool canEvaluateInObjectScope ()
 
virtual bool canEvaluateToObjectReference ()
 
virtual void contextDescription (QString &szBuffer)
 Sets the buffer. More...
 
virtual bool convertStringConstantToNumeric ()
 
virtual void dump (const char *prefix)
 Dumps the tree. More...
 
const QChar * endingLocation ()
 
virtual bool evaluateReadOnly (KviKvsRunTimeContext *c, KviKvsVariant *pBuffer)
 
virtual bool evaluateReadOnlyInObjectScope (KviKvsObject *o, KviKvsRunTimeContext *c, KviKvsVariant *pBuffer)
 
virtual KviKvsRWEvaluationResultevaluateReadWrite (KviKvsRunTimeContext *c)
 
virtual KviKvsRWEvaluationResultevaluateReadWriteInObjectScope (KviKvsObject *o, KviKvsRunTimeContext *c)
 
virtual bool isFunctionCall ()
 
virtual bool isReadOnly ()
 
 KviKvsTreeNodeData (const QChar *pLocation)
 
void setEndingLocation (const QChar *pEndingLocation)
 
 ~KviKvsTreeNodeData ()
 
- Public Member Functions inherited from KviKvsTreeNode
 KviKvsTreeNode (const QChar *pLocation)
 Constructs the treenode object. More...
 
const QChar * location ()
 Returns the location char. More...
 
KviKvsTreeNodeparent ()
 Returns the parent object. More...
 
void setParent (KviKvsTreeNode *p)
 Sets the parent object. More...
 
virtual ~KviKvsTreeNode ()
 Destroys the treenode object. More...
 

Protected Attributes

const QChar * m_pEndingLocation
 
- Protected Attributes inherited from KviKvsTreeNode
const QChar * m_pLocation
 
KviKvsTreeNodem_pParent
 

Additional Inherited Members

- Protected Member Functions inherited from KviKvsTreeNode
void setLocation (const QChar *pLocation)
 Sets the location char. More...
 

Constructor & Destructor Documentation

KviKvsTreeNodeData::KviKvsTreeNodeData ( const QChar *  pLocation)
KviKvsTreeNodeData::~KviKvsTreeNodeData ( )
default

Member Function Documentation

bool KviKvsTreeNodeData::canEvaluateInObjectScope ( )
virtual
bool KviKvsTreeNodeData::canEvaluateToObjectReference ( )
virtual
void KviKvsTreeNodeData::contextDescription ( QString &  szBuffer)
virtual
bool KviKvsTreeNodeData::convertStringConstantToNumeric ( )
virtual

Reimplemented in KviKvsTreeNodeConstantData.

void KviKvsTreeNodeData::dump ( const char *  prefix)
virtual

Dumps the tree.

Parameters
prefixThe prefix of the instruction
Returns
void

Implements KviKvsTreeNode.

Reimplemented in KviKvsTreeNodeExpressionBinaryOperator, KviKvsTreeNodeExpressionUnaryOperatorLogicalNot, KviKvsTreeNodeExpressionUnaryOperatorBitwiseNot, KviKvsTreeNodeExpressionUnaryOperatorNegate, KviKvsTreeNodeExpressionUnaryOperator, KviKvsTreeNodeExpressionOperator, KviKvsTreeNodeExpressionConstantOperand, KviKvsTreeNodeExpressionVariableOperand, KviKvsTreeNodeArrayReferenceAssert, KviKvsTreeNodeExpression, KviKvsTreeNodeArrayElement, KviKvsTreeNodeArrayCount, KviKvsTreeNodeAliasFunctionCall, KviKvsTreeNodeBaseObjectFunctionCall, KviKvsTreeNodeCoreFunctionCall, KviKvsTreeNodeHashReferenceAssert, KviKvsTreeNodeModuleFunctionCall, KviKvsTreeNodeHashElement, KviKvsTreeNodeMultipleParameterIdentifier, KviKvsTreeNodeCompositeData, KviKvsTreeNodeThisObjectFunctionCall, KviKvsTreeNodeConstantData, KviKvsTreeNodeHashCount, KviKvsTreeNodeScopeOperator, KviKvsTreeNodeSingleParameterIdentifier, KviKvsTreeNodeStringCast, KviKvsTreeNodeFunctionCall, KviKvsTreeNodeObjectField, KviKvsTreeNodeExtendedScopeVariable, KviKvsTreeNodeGlobalVariable, KviKvsTreeNodeLocalVariable, KviKvsTreeNodeParameterCount, and KviKvsTreeNodeObjectFunctionCall.

Referenced by KviKvsTreeNodeScopeOperator::dump(), KviKvsTreeNodeStringCast::dump(), KviKvsTreeNodeOperation::dump(), KviKvsTreeNodeHashElement::dump(), KviKvsTreeNodeRebindingSwitch::dump(), KviKvsTreeNodeSpecialCommandForeach::dump(), KviKvsTreeNodeSwitchList::dump(), KviKvsTreeNodeOperationAssignment::dump(), KviKvsTreeNodeSpecialCommandSwitchLabelCase::dump(), KviKvsTreeNodeOperationDecrement::dump(), KviKvsTreeNodeSpecialCommandSwitchLabelMatch::dump(), KviKvsTreeNodeArrayElement::dump(), KviKvsTreeNodeOperationIncrement::dump(), KviKvsTreeNodeSpecialCommandSwitchLabelRegexp::dump(), KviKvsTreeNodeOperationSelfAnd::dump(), KviKvsTreeNodeExpressionVariableOperand::dump(), KviKvsTreeNodeOperationSelfDivision::dump(), KviKvsTreeNodeOperationSelfModulus::dump(), KviKvsTreeNodeOperationSelfMultiplication::dump(), KviKvsTreeNodeOperationSelfOr::dump(), KviKvsTreeNodeOperationSelfShl::dump(), KviKvsTreeNodeOperationSelfShr::dump(), KviKvsTreeNodeOperationSelfSubtraction::dump(), KviKvsTreeNodeSpecialCommandDefpopup::dump(), KviKvsTreeNodeOperationSelfSum::dump(), KviKvsTreeNodeOperationSelfXor::dump(), KviKvsTreeNodeOperationStringAppend::dump(), KviKvsTreeNodeOperationArrayAppend::dump(), KviKvsTreeNodeOperationStringAppendWithComma::dump(), KviKvsTreeNodeOperationStringAppendWithSpace::dump(), KviKvsTreeNodeOperationStringTransliteration::dump(), and KviKvsTreeNodeOperationStringSubstitution::dump().

const QChar* KviKvsTreeNodeData::endingLocation ( )
inline
bool KviKvsTreeNodeData::evaluateReadOnly ( KviKvsRunTimeContext c,
KviKvsVariant pBuffer 
)
virtual

Reimplemented in KviKvsTreeNodeExpressionUnaryOperatorLogicalNot, KviKvsTreeNodeExpressionUnaryOperatorBitwiseNot, KviKvsTreeNodeExpressionUnaryOperatorNegate, KviKvsTreeNodeExpressionConstantOperand, KviKvsTreeNodeExpressionVariableOperand, KviKvsTreeNodeArrayReferenceAssert, KviKvsTreeNodeArrayElement, KviKvsTreeNodeAliasFunctionCall, KviKvsTreeNodeArrayCount, KviKvsTreeNodeScopeOperator, KviKvsTreeNodeCoreFunctionCall, KviKvsTreeNodeHashReferenceAssert, KviKvsTreeNodeModuleFunctionCall, KviKvsTreeNodeHashElement, KviKvsTreeNodeMultipleParameterIdentifier, KviKvsTreeNodeSingleParameterIdentifier, KviKvsTreeNodeCommandEvaluation, KviKvsTreeNodeHashCount, KviKvsTreeNodeParameterCount, KviKvsTreeNodeExtendedScopeVariable, KviKvsTreeNodeGlobalVariable, KviKvsTreeNodeLocalVariable, KviKvsTreeNodeCompositeData, KviKvsTreeNodeConstantData, and KviKvsTreeNodeStringCast.

References __tr2qs_ctx(), and KviKvsRunTimeContext::error().

Referenced by KviKvsTreeNodeArrayElement::evaluateIndex(), KviKvsTreeNodeExpressionUnaryOperator::evaluateOperand(), KviKvsTreeNodeExpressionBinaryOperator::evaluateOperands(), KviKvsTreeNodeStringCast::evaluateReadOnly(), KviKvsTreeNodeScopeOperator::evaluateReadOnly(), KviKvsTreeNodeExpressionVariableOperand::evaluateReadOnly(), KviKvsTreeNodeExpressionUnaryOperatorLogicalNot::evaluateReadOnly(), KviKvsTreeNodeHashCount::evaluateReadOnlyInObjectScope(), KviKvsTreeNodeHashElement::evaluateReadOnlyInObjectScope(), KviKvsTreeNodeHashReferenceAssert::evaluateReadOnlyInObjectScope(), KviKvsTreeNodeArrayCount::evaluateReadOnlyInObjectScope(), KviKvsTreeNodeArrayElement::evaluateReadOnlyInObjectScope(), KviKvsTreeNodeArrayReferenceAssert::evaluateReadOnlyInObjectScope(), KviKvsTreeNodeScopeOperator::evaluateReadWrite(), KviKvsTreeNodeHashElement::evaluateReadWriteInObjectScope(), KviKvsTreeNodeExpressionReturn::execute(), KviKvsTreeNodeVoidFunctionCall::execute(), KviKvsTreeNodeSpecialCommandDo::execute(), KviKvsTreeNodeSpecialCommandWhile::execute(), KviKvsTreeNodeSpecialCommandIf::execute(), KviKvsTreeNodeRebindingSwitch::execute(), KviKvsTreeNodeSpecialCommandFor::execute(), KviKvsTreeNodeOperationAssignment::execute(), KviKvsTreeNodeSpecialCommandSwitchLabelCase::execute(), KviKvsTreeNodeSpecialCommandSwitchLabelMatch::execute(), KviKvsTreeNodeSpecialCommandSwitchLabelRegexp::execute(), KviKvsTreeNodeOperationSelfAnd::execute(), KviKvsTreeNodeOperationSelfDivision::execute(), KviKvsTreeNodeSpecialCommandSwitch::execute(), KviKvsTreeNodeOperationSelfModulus::execute(), KviKvsTreeNodeOperationSelfMultiplication::execute(), KviKvsTreeNodeOperationSelfOr::execute(), KviKvsTreeNodeOperationSelfShl::execute(), KviKvsTreeNodeOperationSelfShr::execute(), KviKvsTreeNodeOperationSelfSubtraction::execute(), KviKvsTreeNodeSpecialCommandDefpopup::execute(), KviKvsTreeNodeOperationSelfSum::execute(), KviKvsTreeNodeOperationSelfXor::execute(), KviKvsTreeNodeOperationStringAppend::execute(), KviKvsTreeNodeOperationArrayAppend::execute(), KviKvsTreeNodeOperationStringAppendWithComma::execute(), KviKvsTreeNodeOperationStringAppendWithSpace::execute(), KviKvsTreeNodeOperationStringTransliteration::execute(), and KviKvsTreeNodeOperationStringSubstitution::execute().

bool KviKvsTreeNodeData::evaluateReadOnlyInObjectScope ( KviKvsObject o,
KviKvsRunTimeContext c,
KviKvsVariant pBuffer 
)
virtual
KviKvsRWEvaluationResult * KviKvsTreeNodeData::evaluateReadWrite ( KviKvsRunTimeContext c)
virtual

Reimplemented in KviKvsTreeNodeArrayReferenceAssert, KviKvsTreeNodeArrayElement, KviKvsTreeNodeScopeOperator, KviKvsTreeNodeHashReferenceAssert, KviKvsTreeNodeHashElement, KviKvsTreeNodeExtendedScopeVariable, KviKvsTreeNodeGlobalVariable, and KviKvsTreeNodeLocalVariable.

References __tr2qs_ctx(), and KviKvsRunTimeContext::error().

Referenced by KviKvsTreeNodeHashElement::evaluateReadWriteInObjectScope(), KviKvsTreeNodeHashReferenceAssert::evaluateReadWriteInObjectScope(), KviKvsTreeNodeArrayElement::evaluateReadWriteInObjectScope(), KviKvsTreeNodeArrayReferenceAssert::evaluateReadWriteInObjectScope(), KviKvsTreeNodeSpecialCommandForeach::execute(), KviKvsTreeNodeOperationAssignment::execute(), KviKvsTreeNodeOperationDecrement::execute(), KviKvsTreeNodeOperationIncrement::execute(), KviKvsTreeNodeOperationSelfAnd::execute(), KviKvsTreeNodeOperationSelfDivision::execute(), KviKvsTreeNodeOperationSelfModulus::execute(), KviKvsTreeNodeOperationSelfMultiplication::execute(), KviKvsTreeNodeOperationSelfOr::execute(), KviKvsTreeNodeOperationSelfShl::execute(), KviKvsTreeNodeOperationSelfShr::execute(), KviKvsTreeNodeOperationSelfSubtraction::execute(), KviKvsTreeNodeOperationSelfSum::execute(), KviKvsTreeNodeOperationSelfXor::execute(), KviKvsTreeNodeOperationStringAppend::execute(), KviKvsTreeNodeOperationArrayAppend::execute(), KviKvsTreeNodeOperationStringAppendWithComma::execute(), KviKvsTreeNodeOperationStringAppendWithSpace::execute(), KviKvsTreeNodeOperationStringTransliteration::execute(), and KviKvsTreeNodeOperationStringSubstitution::execute().

KviKvsRWEvaluationResult * KviKvsTreeNodeData::evaluateReadWriteInObjectScope ( KviKvsObject o,
KviKvsRunTimeContext c 
)
virtual
bool KviKvsTreeNodeData::isFunctionCall ( )
virtual
bool KviKvsTreeNodeData::isReadOnly ( )
virtual
void KviKvsTreeNodeData::setEndingLocation ( const QChar *  pEndingLocation)
inline

Member Data Documentation

const QChar* KviKvsTreeNodeData::m_pEndingLocation
protected

The documentation for this class was generated from the following files: