KVIrc
4.9.2
DeveloperAPIs
|
#include <KviKvsTreeNodeData.h>
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 KviKvsRWEvaluationResult * | evaluateReadWrite (KviKvsRunTimeContext *c) |
virtual KviKvsRWEvaluationResult * | evaluateReadWriteInObjectScope (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... | |
KviKvsTreeNode * | parent () |
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 |
KviKvsTreeNode * | m_pParent |
Additional Inherited Members | |
Protected Member Functions inherited from KviKvsTreeNode | |
void | setLocation (const QChar *pLocation) |
Sets the location char. More... | |
KviKvsTreeNodeData::KviKvsTreeNodeData | ( | const QChar * | pLocation | ) |
|
default |
|
virtual |
Reimplemented in KviKvsTreeNodeScopeOperator, KviKvsTreeNodeVariable, KviKvsTreeNodeObjectField, KviKvsTreeNodeObjectFunctionCall, and KviKvsTreeNodeIndirectData.
Referenced by KviKvsTreeNodeIndirectData::canEvaluateInObjectScope(), KviKvsTreeNodeScopeOperator::canEvaluateInObjectScope(), and KviKvsParser::parsePercentOrDollar().
|
virtual |
Reimplemented in KviKvsTreeNodeVariable, KviKvsTreeNodeScopeOperator, KviKvsTreeNodeSingleParameterIdentifier, KviKvsTreeNodeFunctionCall, KviKvsTreeNodeParameterCount, and KviKvsTreeNodeArrayOrHashElement.
Referenced by KviKvsTreeNodeScopeOperator::canEvaluateToObjectReference(), and KviKvsParser::parsePercentOrDollar().
|
virtual |
Sets the buffer.
szBuffer | The buffer :) |
Implements KviKvsTreeNode.
Reimplemented in KviKvsTreeNodeExpressionBinaryOperator, KviKvsTreeNodeExpressionUnaryOperatorLogicalNot, KviKvsTreeNodeExpressionUnaryOperatorBitwiseNot, KviKvsTreeNodeExpressionUnaryOperatorNegate, KviKvsTreeNodeExpressionUnaryOperator, KviKvsTreeNodeExpressionOperator, KviKvsTreeNodeExpressionConstantOperand, KviKvsTreeNodeExpressionVariableOperand, KviKvsTreeNodeExpression, KviKvsTreeNodeArrayReferenceAssert, KviKvsTreeNodeAliasFunctionCall, KviKvsTreeNodeArrayElement, KviKvsTreeNodeArrayCount, KviKvsTreeNodeBaseObjectFunctionCall, KviKvsTreeNodeCoreFunctionCall, KviKvsTreeNodeHashReferenceAssert, KviKvsTreeNodeModuleFunctionCall, KviKvsTreeNodeHashElement, KviKvsTreeNodeMultipleParameterIdentifier, KviKvsTreeNodeThisObjectFunctionCall, KviKvsTreeNodeCompositeData, KviKvsTreeNodeHashCount, KviKvsTreeNodeScopeOperator, KviKvsTreeNodeSingleParameterIdentifier, KviKvsTreeNodeConstantData, KviKvsTreeNodeFunctionCall, KviKvsTreeNodeObjectField, KviKvsTreeNodeStringCast, KviKvsTreeNodeExtendedScopeVariable, KviKvsTreeNodeGlobalVariable, KviKvsTreeNodeLocalVariable, KviKvsTreeNodeParameterCount, and KviKvsTreeNodeObjectFunctionCall.
|
virtual |
Reimplemented in KviKvsTreeNodeConstantData.
|
virtual |
Dumps the tree.
prefix | The prefix of the instruction |
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().
|
inline |
Referenced by KviKvsModuleCallbackCommandCall::getParameterCode().
|
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().
|
virtual |
Reimplemented in KviKvsTreeNodeArrayReferenceAssert, KviKvsTreeNodeArrayElement, KviKvsTreeNodeArrayCount, KviKvsTreeNodeScopeOperator, KviKvsTreeNodeBaseObjectFunctionCall, KviKvsTreeNodeHashReferenceAssert, KviKvsTreeNodeHashElement, KviKvsTreeNodeHashCount, KviKvsTreeNodeThisObjectFunctionCall, and KviKvsTreeNodeObjectField.
References __tr2qs_ctx(), and KviKvsRunTimeContext::error().
Referenced by KviKvsTreeNodeScopeOperator::evaluateReadOnly(), KviKvsTreeNodeHashCount::evaluateReadOnlyInObjectScope(), KviKvsTreeNodeHashElement::evaluateReadOnlyInObjectScope(), KviKvsTreeNodeHashReferenceAssert::evaluateReadOnlyInObjectScope(), KviKvsTreeNodeScopeOperator::evaluateReadOnlyInObjectScope(), KviKvsTreeNodeArrayCount::evaluateReadOnlyInObjectScope(), KviKvsTreeNodeArrayElement::evaluateReadOnlyInObjectScope(), KviKvsTreeNodeArrayReferenceAssert::evaluateReadOnlyInObjectScope(), and KviKvsTreeNodeScopeOperator::evaluateReadWriteInObjectScope().
|
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().
|
virtual |
Reimplemented in KviKvsTreeNodeArrayReferenceAssert, KviKvsTreeNodeArrayElement, KviKvsTreeNodeScopeOperator, KviKvsTreeNodeHashReferenceAssert, KviKvsTreeNodeHashElement, and KviKvsTreeNodeObjectField.
References __tr2qs_ctx(), and KviKvsRunTimeContext::error().
Referenced by KviKvsTreeNodeScopeOperator::evaluateReadWrite(), KviKvsTreeNodeHashElement::evaluateReadWriteInObjectScope(), KviKvsTreeNodeHashReferenceAssert::evaluateReadWriteInObjectScope(), KviKvsTreeNodeScopeOperator::evaluateReadWriteInObjectScope(), KviKvsTreeNodeArrayElement::evaluateReadWriteInObjectScope(), and KviKvsTreeNodeArrayReferenceAssert::evaluateReadWriteInObjectScope().
|
virtual |
Reimplemented in KviKvsTreeNodeScopeOperator, and KviKvsTreeNodeFunctionCall.
Referenced by KviKvsTreeNodeScopeOperator::isFunctionCall(), KviKvsParser::parseSpecialCommandForeach(), and KviKvsParser::parseVoidFunctionCallOrOperation().
|
virtual |
Reimplemented in KviKvsTreeNodeArrayReferenceAssert, KviKvsTreeNodeHashReferenceAssert, KviKvsTreeNodeScopeOperator, KviKvsTreeNodeVariable, and KviKvsTreeNodeArrayOrHashElement.
Referenced by KviKvsTreeNodeArrayOrHashElement::isReadOnly(), KviKvsTreeNodeHashReferenceAssert::isReadOnly(), KviKvsTreeNodeScopeOperator::isReadOnly(), KviKvsTreeNodeArrayReferenceAssert::isReadOnly(), KviKvsParser::parseSpecialCommandForeach(), and KviKvsParser::parseVoidFunctionCallOrOperation().
|
inline |
|
protected |