KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
KviKvsTreeNode Class Referenceabstract

Treenode class. More...

#include <KviKvsTreeNodeBase.h>

+ Inheritance diagram for KviKvsTreeNode:

Public Member Functions

virtual void contextDescription (QString &szBuffer)=0
 Sets the buffer. More...
 
virtual void dump (const char *prefix)=0
 Dumps the tree. More...
 
 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 Member Functions

void setLocation (const QChar *pLocation)
 Sets the location char. More...
 

Protected Attributes

const QChar * m_pLocation
 
KviKvsTreeNodem_pParent
 

Friends

class KviKvsParser
 

Detailed Description

Treenode class.

Constructor & Destructor Documentation

KviKvsTreeNode::KviKvsTreeNode ( const QChar *  pLocation)

Constructs the treenode object.

Parameters
pLocationThe location char of the instruction
Returns
KviKvsTreeNode

References m_pLocation, and m_pParent.

virtual KviKvsTreeNode::~KviKvsTreeNode ( )
inlinevirtual

Destroys the treenode object.

Member Function Documentation

virtual void KviKvsTreeNode::contextDescription ( QString &  szBuffer)
pure virtual

Sets the buffer.

Parameters
szBufferThe buffer :)
Returns
void

Implemented in KviKvsTreeNodeOperationStringSubstitution, KviKvsTreeNodeOperationStringTransliteration, KviKvsTreeNodeOperationStringAppendWithSpace, KviKvsTreeNodeOperationStringAppendWithComma, KviKvsTreeNodeOperationArrayAppend, KviKvsTreeNodeOperationStringAppend, KviKvsTreeNodeOperationSelfXor, KviKvsTreeNodeOperationSelfSum, KviKvsTreeNodeExpressionBinaryOperator, KviKvsTreeNodeSpecialCommandDefpopup, KviKvsTreeNodeOperationSelfSubtraction, KviKvsTreeNodeSpecialCommandDefpopupLabelPopup, KviKvsTreeNodeExpressionUnaryOperatorLogicalNot, KviKvsTreeNodeOperationSelfShr, KviKvsTreeNodeExpressionUnaryOperatorBitwiseNot, KviKvsTreeNodeSpecialCommandDefpopupLabelEpilogue, KviKvsTreeNodeOperationSelfShl, KviKvsTreeNodeExpressionUnaryOperatorNegate, KviKvsTreeNodeOperationSelfOr, KviKvsTreeNodeSpecialCommandDefpopupLabelPrologue, KviKvsTreeNodeExpressionUnaryOperator, KviKvsTreeNodeOperationSelfMultiplication, KviKvsTreeNodeSpecialCommandDefpopupLabelLabel, KviKvsTreeNodeExpressionOperator, KviKvsTreeNodeOperationSelfModulus, KviKvsTreeNodeSpecialCommandDefpopupLabelItem, KviKvsTreeNodeExpressionConstantOperand, KviKvsTreeNodeSpecialCommandSwitch, KviKvsTreeNodeOperationSelfDivision, KviKvsTreeNodeSpecialCommandDefpopupLabelExtpopup, KviKvsTreeNodeExpressionVariableOperand, KviKvsTreeNodeSpecialCommandSwitchLabelDefault, KviKvsTreeNodeOperationSelfAnd, KviKvsTreeNodeSpecialCommandSwitchLabelRegexp, KviKvsTreeNodeOperationIncrement, KviKvsTreeNodeExpression, KviKvsTreeNodeArrayReferenceAssert, KviKvsTreeNodeAliasFunctionCall, KviKvsTreeNodeSpecialCommandDefpopupLabelSeparator, KviKvsTreeNodeSpecialCommandSwitchLabelMatch, KviKvsTreeNodeArrayElement, KviKvsTreeNodeOperationDecrement, KviKvsTreeNodeSpecialCommandClass, KviKvsTreeNodeAliasSimpleCommand, KviKvsTreeNodeArrayCount, KviKvsTreeNodeInstruction, KviKvsTreeNodeSpecialCommandSwitchLabelCase, KviKvsTreeNodeOperationAssignment, KviKvsTreeNodeDataList, KviKvsTreeNodeSwitchList, KviKvsTreeNodeData, KviKvsTreeNodeSpecialCommandClassFunctionDefinition, KviKvsTreeNodeInstructionBlock, KviKvsTreeNodeCommand, KviKvsTreeNodeCoreCallbackCommand, KviKvsTreeNodeSpecialCommandFor, KviKvsTreeNodeSpecialCommandForeach, KviKvsTreeNodeBaseObjectFunctionCall, KviKvsTreeNodeSpecialCommandIf, KviKvsTreeNodeCommandWithParameters, KviKvsTreeNodeCoreFunctionCall, KviKvsTreeNodeHashReferenceAssert, KviKvsTreeNodeModuleCallbackCommand, KviKvsTreeNodeModuleFunctionCall, KviKvsTreeNodeRebindingSwitch, KviKvsTreeNodeSpecialCommandDo, KviKvsTreeNodeSpecialCommandWhile, KviKvsTreeNodeCallbackCommand, KviKvsTreeNodeCoreSimpleCommand, KviKvsTreeNodeHashElement, KviKvsTreeNodeModuleSimpleCommand, KviKvsTreeNodeMultipleParameterIdentifier, KviKvsTreeNodeOperation, KviKvsTreeNodeSpecialCommandUnset, KviKvsTreeNodeThisObjectFunctionCall, KviKvsTreeNodeVoidFunctionCall, KviKvsTreeNodeCompositeData, KviKvsTreeNodeExpressionReturn, KviKvsTreeNodeHashCount, KviKvsTreeNodeParameterReturn, KviKvsTreeNodeScopeOperator, KviKvsTreeNodeSingleParameterIdentifier, KviKvsTreeNodeConstantData, KviKvsTreeNodeFunctionCall, KviKvsTreeNodeObjectField, KviKvsTreeNodeStringCast, KviKvsTreeNodeExtendedScopeVariable, KviKvsTreeNodeGlobalVariable, KviKvsTreeNodeLocalVariable, KviKvsTreeNodeParameterCount, KviKvsTreeNodeSpecialCommandBreak, KviKvsTreeNodeSpecialCommandContinue, KviKvsTreeNodeObjectFunctionCall, KviKvsTreeNodeSimpleCommand, and KviKvsTreeNodeSpecialCommand.

Referenced by KviKvsRunTimeContext::report().

virtual void KviKvsTreeNode::dump ( const char *  prefix)
pure virtual

Dumps the tree.

Parameters
prefixThe prefix of the instruction
Returns
void

Implemented in KviKvsTreeNodeOperationStringSubstitution, KviKvsTreeNodeOperationStringTransliteration, KviKvsTreeNodeOperationStringAppendWithSpace, KviKvsTreeNodeOperationStringAppendWithComma, KviKvsTreeNodeOperationArrayAppend, KviKvsTreeNodeOperationStringAppend, KviKvsTreeNodeOperationSelfXor, KviKvsTreeNodeOperationSelfSum, KviKvsTreeNodeExpressionBinaryOperator, KviKvsTreeNodeSpecialCommandDefpopup, KviKvsTreeNodeOperationSelfSubtraction, KviKvsTreeNodeSpecialCommandDefpopupLabelPopup, KviKvsTreeNodeExpressionUnaryOperatorLogicalNot, KviKvsTreeNodeOperationSelfShr, KviKvsTreeNodeExpressionUnaryOperatorBitwiseNot, KviKvsTreeNodeSpecialCommandDefpopupLabelEpilogue, KviKvsTreeNodeOperationSelfShl, KviKvsTreeNodeExpressionUnaryOperatorNegate, KviKvsTreeNodeOperationSelfOr, KviKvsTreeNodeSpecialCommandDefpopupLabelPrologue, KviKvsTreeNodeExpressionUnaryOperator, KviKvsTreeNodeOperationSelfMultiplication, KviKvsTreeNodeSpecialCommandDefpopupLabelLabel, KviKvsTreeNodeExpressionOperator, KviKvsTreeNodeOperationSelfModulus, KviKvsTreeNodeSpecialCommandDefpopupLabelItem, KviKvsTreeNodeExpressionConstantOperand, KviKvsTreeNodeSpecialCommandSwitch, KviKvsTreeNodeOperationSelfDivision, KviKvsTreeNodeSpecialCommandDefpopupLabelExtpopup, KviKvsTreeNodeExpressionVariableOperand, KviKvsTreeNodeSpecialCommandSwitchLabelDefault, KviKvsTreeNodeOperationSelfAnd, KviKvsTreeNodeSpecialCommandSwitchLabelRegexp, KviKvsTreeNodeArrayReferenceAssert, KviKvsTreeNodeOperationIncrement, KviKvsTreeNodeExpression, KviKvsTreeNodeArrayElement, KviKvsTreeNodeSpecialCommandDefpopupLabelSeparator, KviKvsTreeNodeSpecialCommandSwitchLabelMatch, KviKvsTreeNodeAliasSimpleCommand, KviKvsTreeNodeArrayCount, KviKvsTreeNodeInstruction, KviKvsTreeNodeOperationDecrement, KviKvsTreeNodeSpecialCommandClass, KviKvsTreeNodeAliasFunctionCall, KviKvsTreeNodeSpecialCommandSwitchLabelCase, KviKvsTreeNodeOperationAssignment, KviKvsTreeNodeDataList, KviKvsTreeNodeData, KviKvsTreeNodeSpecialCommandClassFunctionDefinition, KviKvsTreeNodeSwitchList, KviKvsTreeNodeInstructionBlock, KviKvsTreeNodeCommand, KviKvsTreeNodeCoreCallbackCommand, KviKvsTreeNodeSpecialCommandFor, KviKvsTreeNodeSpecialCommandForeach, KviKvsTreeNodeBaseObjectFunctionCall, KviKvsTreeNodeSpecialCommandIf, KviKvsTreeNodeCommandWithParameters, KviKvsTreeNodeCoreFunctionCall, KviKvsTreeNodeHashReferenceAssert, KviKvsTreeNodeModuleCallbackCommand, KviKvsTreeNodeModuleFunctionCall, KviKvsTreeNodeRebindingSwitch, KviKvsTreeNodeSpecialCommandDo, KviKvsTreeNodeSpecialCommandWhile, KviKvsTreeNodeCallbackCommand, KviKvsTreeNodeCoreSimpleCommand, KviKvsTreeNodeHashElement, KviKvsTreeNodeModuleSimpleCommand, KviKvsTreeNodeMultipleParameterIdentifier, KviKvsTreeNodeOperation, KviKvsTreeNodeSpecialCommandUnset, KviKvsTreeNodeCompositeData, KviKvsTreeNodeThisObjectFunctionCall, KviKvsTreeNodeVoidFunctionCall, KviKvsTreeNodeConstantData, KviKvsTreeNodeExpressionReturn, KviKvsTreeNodeHashCount, KviKvsTreeNodeParameterReturn, KviKvsTreeNodeScopeOperator, KviKvsTreeNodeSingleParameterIdentifier, KviKvsTreeNodeStringCast, KviKvsTreeNodeFunctionCall, KviKvsTreeNodeObjectField, KviKvsTreeNodeExtendedScopeVariable, KviKvsTreeNodeGlobalVariable, KviKvsTreeNodeLocalVariable, KviKvsTreeNodeParameterCount, KviKvsTreeNodeSpecialCommandBreak, KviKvsTreeNodeSpecialCommandContinue, KviKvsTreeNodeObjectFunctionCall, KviKvsTreeNodeSimpleCommand, and KviKvsTreeNodeSpecialCommand.

const QChar* KviKvsTreeNode::location ( )
inline
KviKvsTreeNode* KviKvsTreeNode::parent ( )
inline

Returns the parent object.

Returns
KviKvsTreeNode *

Referenced by KviKvsRunTimeContext::report().

void KviKvsTreeNode::setLocation ( const QChar *  pLocation)
inlineprotected

Sets the location char.

This is called only by KviKvsParser

Parameters
pLocationThe location char
Returns
void

Referenced by KviKvsParser::parseCommand().

void KviKvsTreeNode::setParent ( KviKvsTreeNode p)
inline

Sets the parent object.

Parameters
pThe parent treenode
Returns
void

References p.

Referenced by KviKvsTreeNodeSpecialCommandClass::addFunctionDefinition(), KviKvsTreeNodeInstructionBlock::addInstruction(), KviKvsTreeNodeDataList::addItem(), KviKvsTreeNodeSpecialCommandSwitch::addLabel(), KviKvsTreeNodeSpecialCommandDefpopupLabelPopup::addLabel(), KviKvsTreeNodeSwitchList::addLong(), KviKvsTreeNodeSwitchList::addShort(), KviKvsTreeNodeArrayElement::KviKvsTreeNodeArrayElement(), KviKvsTreeNodeCommandEvaluation::KviKvsTreeNodeCommandEvaluation(), KviKvsTreeNodeCommandWithParameters::KviKvsTreeNodeCommandWithParameters(), KviKvsTreeNodeExpressionReturn::KviKvsTreeNodeExpressionReturn(), KviKvsTreeNodeExpressionUnaryOperator::KviKvsTreeNodeExpressionUnaryOperator(), KviKvsTreeNodeExpressionVariableOperand::KviKvsTreeNodeExpressionVariableOperand(), KviKvsTreeNodeFunctionCall::KviKvsTreeNodeFunctionCall(), KviKvsTreeNodeHashElement::KviKvsTreeNodeHashElement(), KviKvsTreeNodeIndirectData::KviKvsTreeNodeIndirectData(), KviKvsTreeNodeOperationArrayAppend::KviKvsTreeNodeOperationArrayAppend(), KviKvsTreeNodeOperationAssignment::KviKvsTreeNodeOperationAssignment(), KviKvsTreeNodeOperationSelfAnd::KviKvsTreeNodeOperationSelfAnd(), KviKvsTreeNodeOperationSelfDivision::KviKvsTreeNodeOperationSelfDivision(), KviKvsTreeNodeOperationSelfModulus::KviKvsTreeNodeOperationSelfModulus(), KviKvsTreeNodeOperationSelfMultiplication::KviKvsTreeNodeOperationSelfMultiplication(), KviKvsTreeNodeOperationSelfOr::KviKvsTreeNodeOperationSelfOr(), KviKvsTreeNodeOperationSelfShl::KviKvsTreeNodeOperationSelfShl(), KviKvsTreeNodeOperationSelfShr::KviKvsTreeNodeOperationSelfShr(), KviKvsTreeNodeOperationSelfSubtraction::KviKvsTreeNodeOperationSelfSubtraction(), KviKvsTreeNodeOperationSelfSum::KviKvsTreeNodeOperationSelfSum(), KviKvsTreeNodeOperationSelfXor::KviKvsTreeNodeOperationSelfXor(), KviKvsTreeNodeOperationStringAppend::KviKvsTreeNodeOperationStringAppend(), KviKvsTreeNodeOperationStringAppendWithComma::KviKvsTreeNodeOperationStringAppendWithComma(), KviKvsTreeNodeOperationStringAppendWithSpace::KviKvsTreeNodeOperationStringAppendWithSpace(), KviKvsTreeNodeOperationStringSubstitution::KviKvsTreeNodeOperationStringSubstitution(), KviKvsTreeNodeOperationStringTransliteration::KviKvsTreeNodeOperationStringTransliteration(), KviKvsTreeNodeParameterReturn::KviKvsTreeNodeParameterReturn(), KviKvsTreeNodeRebindingSwitch::KviKvsTreeNodeRebindingSwitch(), KviKvsTreeNodeScopeOperator::KviKvsTreeNodeScopeOperator(), KviKvsTreeNodeSpecialCommandClass::KviKvsTreeNodeSpecialCommandClass(), KviKvsTreeNodeSpecialCommandDefpopup::KviKvsTreeNodeSpecialCommandDefpopup(), KviKvsTreeNodeSpecialCommandDo::KviKvsTreeNodeSpecialCommandDo(), KviKvsTreeNodeSpecialCommandFor::KviKvsTreeNodeSpecialCommandFor(), KviKvsTreeNodeSpecialCommandForeach::KviKvsTreeNodeSpecialCommandForeach(), KviKvsTreeNodeSpecialCommandIf::KviKvsTreeNodeSpecialCommandIf(), KviKvsTreeNodeSpecialCommandSwitch::KviKvsTreeNodeSpecialCommandSwitch(), KviKvsTreeNodeSpecialCommandWhile::KviKvsTreeNodeSpecialCommandWhile(), KviKvsTreeNodeStringCast::KviKvsTreeNodeStringCast(), KviKvsTreeNodeDataList::prependItem(), KviKvsTreeNodeInstructionBlock::releaseFirst(), KviKvsTreeNodeSpecialCommandSwitchLabel::setInstruction(), KviKvsTreeNodeExpressionBinaryOperator::setLeft(), KviKvsTreeNodeSpecialCommandSwitchLabel::setParameter(), KviKvsTreeNodeExpressionBinaryOperator::setRight(), KviKvsTreeNodeCommand::setSwitchList(), and KviKvsTreeNodeOperation::setTargetVariableReference().

Friends And Related Function Documentation

friend class KviKvsParser
friend

Member Data Documentation

const QChar* KviKvsTreeNode::m_pLocation
protected

Referenced by KviKvsTreeNode().

KviKvsTreeNode* KviKvsTreeNode::m_pParent
protected

Referenced by KviKvsTreeNode().


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