![]() |
KVIrc 5.2.0
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. | |
KviKvsTreeNodeOperationStringSubstitution (const QChar *pLocation, KviKvsTreeNodeData *pLeft, KviKvsTreeNodeData *pRight, KviKvsTreeNodeData *pFlags) | |
~KviKvsTreeNodeOperationStringSubstitution () | |
![]() | |
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_pFlags |
KviKvsTreeNodeData * | m_pLeft |
KviKvsTreeNodeData * | m_pRight |
![]() | |
KviKvsTreeNodeData * | m_pTargetData = nullptr |
![]() | |
const QChar * | m_pLocation |
KviKvsTreeNode * | m_pParent |
Additional Inherited Members | |
![]() | |
void | setLocation (const QChar *pLocation) |
Sets the location char. | |
KviKvsTreeNodeOperationStringSubstitution::KviKvsTreeNodeOperationStringSubstitution | ( | const QChar * | pLocation, |
KviKvsTreeNodeData * | pLeft, | ||
KviKvsTreeNodeData * | pRight, | ||
KviKvsTreeNodeData * | pFlags | ||
) |
References m_pFlags, m_pLeft, m_pRight, and KviKvsTreeNode::setParent().
KviKvsTreeNodeOperationStringSubstitution::~KviKvsTreeNodeOperationStringSubstitution | ( | ) |
|
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 KviKvsTreeNodeData::dump(), m_pFlags, m_pLeft, and m_pRight.
|
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 __tr2qs_ctx, KviKvsVariant::asString(), begin(), KviRegExp::CaseInsensitive, KviRegExp::CaseSensitive, KviKvsTreeNodeData::evaluateReadOnly(), KviKvsTreeNodeData::evaluateReadWrite(), m_pFlags, m_pLeft, m_pRight, KviKvsTreeNodeOperation::m_pTargetData, KviRegExp::RegExp, KviKvsRWEvaluationResult::result(), KviRegExp::setMinimal(), KviKvsVariant::setString(), KviKvsRunTimeContext::warning(), and KviRegExp::Wildcard.
|
protected |
|
protected |
|
protected |