![]() |
KVIrc
4.9.2
DeveloperAPIs
|
Treenode array count class. More...
#include <KviKvsTreeNodeArrayCount.h>
Inheritance diagram for KviKvsTreeNodeArrayCount:Public Member Functions | |
| virtual void | contextDescription (QString &szBuffer) |
| Sets the buffer as Array Count Operator. More... | |
| virtual void | dump (const char *prefix) |
| Dumps the tree. More... | |
| virtual bool | evaluateReadOnly (KviKvsRunTimeContext *c, KviKvsVariant *pBuffer) |
| Evaluates the array in read-only mode. More... | |
| virtual bool | evaluateReadOnlyInObjectScope (KviKvsObject *o, KviKvsRunTimeContext *c, KviKvsVariant *pBuffer) |
| Evaluates the array in read-only mode in the object scope. More... | |
| KviKvsTreeNodeArrayCount (const QChar *pLocation, KviKvsTreeNodeData *pSource) | |
| Constructs the treenode array count object. More... | |
| ~KviKvsTreeNodeArrayCount () | |
| Destroys the treenode array count object. More... | |
Public Member Functions inherited from KviKvsTreeNodeIndirectData | |
| virtual bool | canEvaluateInObjectScope () |
| KviKvsTreeNodeIndirectData (const QChar *pLocation, KviKvsTreeNodeData *pSource) | |
| ~KviKvsTreeNodeIndirectData () | |
Public Member Functions inherited from KviKvsTreeNodeData | |
| virtual bool | canEvaluateToObjectReference () |
| virtual bool | convertStringConstantToNumeric () |
| const QChar * | endingLocation () |
| 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... | |
Additional Inherited Members | |
Protected Member Functions inherited from KviKvsTreeNode | |
| void | setLocation (const QChar *pLocation) |
| Sets the location char. More... | |
Protected Attributes inherited from KviKvsTreeNodeIndirectData | |
| KviKvsTreeNodeData * | m_pSource |
Protected Attributes inherited from KviKvsTreeNodeData | |
| const QChar * | m_pEndingLocation |
Protected Attributes inherited from KviKvsTreeNode | |
| const QChar * | m_pLocation |
| KviKvsTreeNode * | m_pParent |
Treenode array count class.
| KviKvsTreeNodeArrayCount::KviKvsTreeNodeArrayCount | ( | const QChar * | pLocation, |
| KviKvsTreeNodeData * | pSource | ||
| ) |
Constructs the treenode array count object.
| pLocation | The location char of the instruction |
| pSource | The source data |
|
default |
Destroys the treenode array count object.
|
virtual |
Sets the buffer as Array Count Operator.
| szBuffer | The buffer :) |
Reimplemented from KviKvsTreeNodeData.
|
virtual |
Dumps the tree.
| prefix | The prefix of the instruction |
Reimplemented from KviKvsTreeNodeData.
|
virtual |
Evaluates the array in read-only mode.
| c | The context where the alias is bound to |
| pBuffer | The data buffer |
Reimplemented from KviKvsTreeNodeData.
References evaluateReadOnlyInObjectScope().
|
virtual |
Evaluates the array in read-only mode in the object scope.
| o | The source object to evaluate |
| c | The context where the array is bound to |
| pBuffer | The data buffer |
Reimplemented from KviKvsTreeNodeData.
References __tr2qs_ctx(), KviKvsVariant::array(), KviKvsTreeNodeData::evaluateReadOnly(), KviKvsTreeNodeData::evaluateReadOnlyInObjectScope(), KviKvsVariant::getTypeName(), KviKvsVariant::isArray(), KviKvsVariant::isNothing(), KviKvsTreeNodeIndirectData::m_pSource, KviKvsVariant::setInteger(), KviKvsArray::size(), and KviKvsRunTimeContext::warning().
Referenced by evaluateReadOnly().
1.8.7