KVIrc 5.2.0
Developer APIs
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.
 
virtual bool convertStringConstantToNumeric ()
 
virtual void dump (const char *prefix)
 Dumps the tree.
 
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.
 
const QChar * location ()
 Returns the location char.
 
KviKvsTreeNodeparent ()
 Returns the parent object.
 
void setParent (KviKvsTreeNode *p)
 Sets the parent object.
 
virtual ~KviKvsTreeNode ()
 Destroys the treenode object.
 

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.
 

Constructor & Destructor Documentation

◆ KviKvsTreeNodeData()

KviKvsTreeNodeData::KviKvsTreeNodeData ( const QChar *  pLocation)

◆ ~KviKvsTreeNodeData()

KviKvsTreeNodeData::~KviKvsTreeNodeData ( )
default

Member Function Documentation

◆ canEvaluateInObjectScope()

bool KviKvsTreeNodeData::canEvaluateInObjectScope ( )
virtual

◆ canEvaluateToObjectReference()

bool KviKvsTreeNodeData::canEvaluateToObjectReference ( )
virtual

◆ contextDescription()

void KviKvsTreeNodeData::contextDescription ( QString &  szBuffer)
virtual

◆ convertStringConstantToNumeric()

bool KviKvsTreeNodeData::convertStringConstantToNumeric ( )
virtual

◆ dump()

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

Dumps the tree.

Parameters
prefixThe prefix of the instruction
Returns
void

Implements KviKvsTreeNode.

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

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

◆ endingLocation()

const QChar * KviKvsTreeNodeData::endingLocation ( )
inline

◆ evaluateReadOnly()

bool KviKvsTreeNodeData::evaluateReadOnly ( KviKvsRunTimeContext c,
KviKvsVariant pBuffer 
)
virtual

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

References __tr2qs_ctx, and KviKvsRunTimeContext::error().

Referenced by KviKvsTreeNodeArrayElement::evaluateIndex(), KviKvsTreeNodeExpressionUnaryOperator::evaluateOperand(), KviKvsTreeNodeExpressionBinaryOperator::evaluateOperands(), KviKvsTreeNodeScopeOperator::evaluateReadOnly(), KviKvsTreeNodeStringCast::evaluateReadOnly(), KviKvsTreeNodeExpressionVariableOperand::evaluateReadOnly(), KviKvsTreeNodeExpressionUnaryOperatorLogicalNot::evaluateReadOnly(), KviKvsTreeNodeArrayCount::evaluateReadOnlyInObjectScope(), KviKvsTreeNodeArrayElement::evaluateReadOnlyInObjectScope(), KviKvsTreeNodeArrayReferenceAssert::evaluateReadOnlyInObjectScope(), KviKvsTreeNodeHashCount::evaluateReadOnlyInObjectScope(), KviKvsTreeNodeHashElement::evaluateReadOnlyInObjectScope(), KviKvsTreeNodeHashReferenceAssert::evaluateReadOnlyInObjectScope(), KviKvsTreeNodeScopeOperator::evaluateReadWrite(), KviKvsTreeNodeHashElement::evaluateReadWriteInObjectScope(), KviKvsTreeNodeExpressionReturn::execute(), KviKvsTreeNodeOperationAssignment::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(), KviKvsTreeNodeOperationStringSubstitution::execute(), KviKvsTreeNodeRebindingSwitch::execute(), KviKvsTreeNodeSpecialCommandDefpopup::execute(), KviKvsTreeNodeSpecialCommandDo::execute(), KviKvsTreeNodeSpecialCommandFor::execute(), KviKvsTreeNodeSpecialCommandIf::execute(), KviKvsTreeNodeSpecialCommandSwitch::execute(), KviKvsTreeNodeSpecialCommandWhile::execute(), KviKvsTreeNodeVoidFunctionCall::execute(), KviKvsTreeNodeSpecialCommandSwitchLabelCase::execute(), KviKvsTreeNodeSpecialCommandSwitchLabelMatch::execute(), and KviKvsTreeNodeSpecialCommandSwitchLabelRegexp::execute().

◆ evaluateReadOnlyInObjectScope()

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

◆ evaluateReadWrite()

KviKvsRWEvaluationResult * KviKvsTreeNodeData::evaluateReadWrite ( KviKvsRunTimeContext c)
virtual

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

References __tr2qs_ctx, and KviKvsRunTimeContext::error().

Referenced by KviKvsTreeNodeArrayElement::evaluateReadWriteInObjectScope(), KviKvsTreeNodeArrayReferenceAssert::evaluateReadWriteInObjectScope(), KviKvsTreeNodeHashElement::evaluateReadWriteInObjectScope(), KviKvsTreeNodeHashReferenceAssert::evaluateReadWriteInObjectScope(), 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(), KviKvsTreeNodeOperationStringSubstitution::execute(), and KviKvsTreeNodeSpecialCommandForeach::execute().

◆ evaluateReadWriteInObjectScope()

KviKvsRWEvaluationResult * KviKvsTreeNodeData::evaluateReadWriteInObjectScope ( KviKvsObject o,
KviKvsRunTimeContext c 
)
virtual

◆ isFunctionCall()

bool KviKvsTreeNodeData::isFunctionCall ( )
virtual

◆ isReadOnly()

bool KviKvsTreeNodeData::isReadOnly ( )
virtual

◆ setEndingLocation()

void KviKvsTreeNodeData::setEndingLocation ( const QChar *  pEndingLocation)
inline

Member Data Documentation

◆ m_pEndingLocation

const QChar* KviKvsTreeNodeData::m_pEndingLocation
protected

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