KVIrc
4.9.2
DeveloperAPIs
|
#include <KviKvsTreeNodeOperation.h>
Public Member Functions | |
virtual void | contextDescription (QString &szBuffer) |
Sets the buffer as Instruction. More... | |
virtual void | dump (const char *prefix) |
Dumps the instructions tree. More... | |
KviKvsTreeNodeOperation (const QChar *pLocation) | |
void | setTargetVariableReference (KviKvsTreeNodeData *r) |
~KviKvsTreeNodeOperation () | |
Public Member Functions inherited from KviKvsTreeNodeInstruction | |
virtual bool | execute (KviKvsRunTimeContext *c)=0 |
This is the main entry point to the tree visit. More... | |
KviKvsTreeNodeInstruction (const QChar *pLocation) | |
Constructs the treenode instruction object. More... | |
~KviKvsTreeNodeInstruction () | |
Destroys the treenode instruction object. More... | |
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 | |
KviKvsTreeNodeData * | m_pTargetData |
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... | |
KviKvsTreeNodeOperation::KviKvsTreeNodeOperation | ( | const QChar * | pLocation | ) |
KviKvsTreeNodeOperation::~KviKvsTreeNodeOperation | ( | ) |
References m_pTargetData.
|
virtual |
Sets the buffer as Instruction.
szBuffer | The buffer :) |
Reimplemented from KviKvsTreeNodeInstruction.
Reimplemented in KviKvsTreeNodeOperationStringSubstitution, KviKvsTreeNodeOperationStringTransliteration, KviKvsTreeNodeOperationStringAppendWithSpace, KviKvsTreeNodeOperationStringAppendWithComma, KviKvsTreeNodeOperationArrayAppend, KviKvsTreeNodeOperationStringAppend, KviKvsTreeNodeOperationSelfXor, KviKvsTreeNodeOperationSelfSum, KviKvsTreeNodeOperationSelfSubtraction, KviKvsTreeNodeOperationSelfShr, KviKvsTreeNodeOperationSelfShl, KviKvsTreeNodeOperationSelfOr, KviKvsTreeNodeOperationSelfMultiplication, KviKvsTreeNodeOperationSelfModulus, KviKvsTreeNodeOperationSelfDivision, KviKvsTreeNodeOperationSelfAnd, KviKvsTreeNodeOperationIncrement, KviKvsTreeNodeOperationDecrement, and KviKvsTreeNodeOperationAssignment.
|
virtual |
Dumps the instructions tree.
prefix | The prefix of the instruction |
Reimplemented from KviKvsTreeNodeInstruction.
Reimplemented in KviKvsTreeNodeOperationStringSubstitution, KviKvsTreeNodeOperationStringTransliteration, KviKvsTreeNodeOperationStringAppendWithSpace, KviKvsTreeNodeOperationStringAppendWithComma, KviKvsTreeNodeOperationArrayAppend, KviKvsTreeNodeOperationStringAppend, KviKvsTreeNodeOperationSelfXor, KviKvsTreeNodeOperationSelfSum, KviKvsTreeNodeOperationSelfSubtraction, KviKvsTreeNodeOperationSelfShr, KviKvsTreeNodeOperationSelfShl, KviKvsTreeNodeOperationSelfOr, KviKvsTreeNodeOperationSelfMultiplication, KviKvsTreeNodeOperationSelfModulus, KviKvsTreeNodeOperationSelfDivision, KviKvsTreeNodeOperationSelfAnd, KviKvsTreeNodeOperationIncrement, KviKvsTreeNodeOperationDecrement, and KviKvsTreeNodeOperationAssignment.
References KviKvsTreeNodeData::dump(), and m_pTargetData.
void KviKvsTreeNodeOperation::setTargetVariableReference | ( | KviKvsTreeNodeData * | r | ) |
References m_pTargetData, r, and KviKvsTreeNode::setParent().
Referenced by KviKvsParser::parseVoidFunctionCallOrOperation().
|
protected |
Referenced by 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(), 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(), setTargetVariableReference(), and ~KviKvsTreeNodeOperation().