![]() |
KVIrc 5.2.6
Developer APIs
|
#include <KviKvsTreeNodeOperation.h>
Public Member Functions | |
virtual void | contextDescription (QString &szBuffer) |
Sets the buffer as Instruction. | |
virtual void | dump (const char *prefix) |
Dumps the instructions tree. | |
virtual bool | execute (KviKvsRunTimeContext *c) |
This is the main entry point to the tree visit. | |
KviKvsTreeNodeOperationStringAppend (const QChar *pLocation, KviKvsTreeNodeData *pRightSide) | |
~KviKvsTreeNodeOperationStringAppend () | |
![]() | |
KviKvsTreeNodeOperation (const QChar *pLocation) | |
void | setTargetVariableReference (KviKvsTreeNodeData *r) |
~KviKvsTreeNodeOperation () | |
![]() | |
KviKvsTreeNodeInstruction (const QChar *pLocation) | |
Constructs the treenode instruction object. | |
~KviKvsTreeNodeInstruction () | |
Destroys the treenode instruction object. | |
![]() | |
KviKvsTreeNode (const QChar *pLocation) | |
Constructs the treenode object. | |
const QChar * | location () |
Returns the location char. | |
KviKvsTreeNode * | parent () |
Returns the parent object. | |
void | setParent (KviKvsTreeNode *p) |
Sets the parent object. | |
virtual | ~KviKvsTreeNode () |
Destroys the treenode object. | |
Protected Attributes | |
KviKvsTreeNodeData * | m_pRightSide |
![]() | |
KviKvsTreeNodeData * | m_pTargetData = nullptr |
![]() | |
const QChar * | m_pLocation |
KviKvsTreeNode * | m_pParent |
Additional Inherited Members | |
![]() | |
void | setLocation (const QChar *pLocation) |
Sets the location char. | |
KviKvsTreeNodeOperationStringAppend::KviKvsTreeNodeOperationStringAppend | ( | const QChar * | pLocation, |
KviKvsTreeNodeData * | pRightSide ) |
References KviKvsTreeNodeOperation::KviKvsTreeNodeOperation(), and m_pRightSide.
KviKvsTreeNodeOperationStringAppend::~KviKvsTreeNodeOperationStringAppend | ( | ) |
References m_pRightSide.
|
virtual |
Sets the buffer as Instruction.
szBuffer | The buffer :) |
Reimplemented from KviKvsTreeNodeOperation.
References szBuffer.
|
virtual |
Dumps the instructions tree.
prefix | The prefix of the instruction |
Reimplemented from KviKvsTreeNodeOperation.
References m_pRightSide, and KviKvsTreeNodeOperation::m_pTargetData.
|
virtual |
This is the main entry point to the tree visit.
It returns false when the tree visiting has to be stopped and returns true when it has been successfully completed. A false return value may signal an error but is also used by break, halt, return and similar. The error condition is signaled by KviKvsRunTimeContext::error().
c | The source context |
Implements KviKvsTreeNodeInstruction.
References KviKvsVariant::asString(), m_pRightSide, KviKvsTreeNodeOperation::m_pTargetData, KviKvsRWEvaluationResult::result(), KviKvsVariant::setString(), and v.
|
protected |
Referenced by dump(), execute(), KviKvsTreeNodeOperationStringAppend(), and ~KviKvsTreeNodeOperationStringAppend().