KVIrc 5.2.6
Developer APIs
KviKvsTreeNodeExpressionUnaryOperator Class Reference

#include <KviKvsTreeNodeExpression.h>

+ Inheritance diagram for KviKvsTreeNodeExpressionUnaryOperator:

Public Member Functions

virtual void contextDescription (QString &szBuffer)
 Sets the buffer.
 
virtual void dump (const char *prefix)
 Dumps the tree.
 
bool evaluateOperand (KviKvsRunTimeContext *c)
 
 KviKvsTreeNodeExpressionUnaryOperator (const QChar *pLocation, KviKvsTreeNodeExpression *pData)
 
 ~KviKvsTreeNodeExpressionUnaryOperator ()
 
- Public Member Functions inherited from KviKvsTreeNodeExpressionOperator
 KviKvsTreeNodeExpressionOperator (const QChar *pLocation)
 
 ~KviKvsTreeNodeExpressionOperator ()
 
- Public Member Functions inherited from KviKvsTreeNodeExpression
virtual int firstBinaryOperator ()
 
 KviKvsTreeNodeExpression (const QChar *pLocation)
 
virtual KviKvsTreeNodeExpressionleft ()
 
KviKvsTreeNodeExpressionparentExpression ()
 
virtual KviKvsTreeNodeExpressionparentWithPrecedenceLowerThan (int iPrec)
 
virtual int precedence ()
 
virtual KviKvsTreeNodeExpressionright ()
 
virtual void setLeft (KviKvsTreeNodeExpression *pLeft)
 
void setParentExpression (KviKvsTreeNodeExpression *pParent)
 
virtual void setRight (KviKvsTreeNodeExpression *pRight)
 
 ~KviKvsTreeNodeExpression ()
 
- Public Member Functions inherited from KviKvsTreeNodeData
virtual bool canEvaluateInObjectScope ()
 
virtual bool canEvaluateToObjectReference ()
 
virtual bool convertStringConstantToNumeric ()
 
const QChar * endingLocation ()
 
virtual bool evaluateReadOnly (KviKvsRunTimeContext *c, KviKvsVariant *pBuffer)
 
virtual bool evaluateReadOnlyInObjectScope (KviKvsObject *o, KviKvsRunTimeContext *c, KviKvsVariant *pBuffer)
 
virtual KviKvsRWEvaluationResultevaluateReadWrite (KviKvsRunTimeContext *c)
 
virtual KviKvsRWEvaluationResultevaluateReadWriteInObjectScope (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.
 
const QChar * location ()
 Returns the location char.
 
KviKvsTreeNodeparent ()
 Returns the parent object.
 
void setParent (KviKvsTreeNode *p)
 Sets the parent object.
 
virtual ~KviKvsTreeNode ()
 Destroys the treenode object.
 

Protected Attributes

KviKvsNumber m_nData
 
KviKvsTreeNodeExpressionm_pData
 
- Protected Attributes inherited from KviKvsTreeNodeExpression
KviKvsTreeNodeExpressionm_pParentExpression
 
- Protected Attributes inherited from KviKvsTreeNodeData
const QChar * m_pEndingLocation
 
- Protected Attributes inherited from KviKvsTreeNode
const QChar * m_pLocation
 
KviKvsTreeNodem_pParent
 

Additional Inherited Members

- Protected Member Functions inherited from KviKvsTreeNode
void setLocation (const QChar *pLocation)
 Sets the location char.
 

Constructor & Destructor Documentation

◆ KviKvsTreeNodeExpressionUnaryOperator()

KviKvsTreeNodeExpressionUnaryOperator::KviKvsTreeNodeExpressionUnaryOperator ( const QChar * pLocation,
KviKvsTreeNodeExpression * pData )

◆ ~KviKvsTreeNodeExpressionUnaryOperator()

KviKvsTreeNodeExpressionUnaryOperator::~KviKvsTreeNodeExpressionUnaryOperator ( )

References m_pData.

Member Function Documentation

◆ contextDescription()

void KviKvsTreeNodeExpressionUnaryOperator::contextDescription ( QString & szBuffer)
virtual

Sets the buffer.

Parameters
szBufferThe buffer :)
Returns
void

Reimplemented from KviKvsTreeNodeExpressionOperator.

Reimplemented in KviKvsTreeNodeExpressionUnaryOperatorBitwiseNot, KviKvsTreeNodeExpressionUnaryOperatorLogicalNot, and KviKvsTreeNodeExpressionUnaryOperatorNegate.

References szBuffer.

◆ dump()

void KviKvsTreeNodeExpressionUnaryOperator::dump ( const char * prefix)
virtual

Dumps the tree.

Parameters
prefixThe prefix of the instruction
Returns
void

Reimplemented from KviKvsTreeNodeExpressionOperator.

Reimplemented in KviKvsTreeNodeExpressionUnaryOperatorBitwiseNot, KviKvsTreeNodeExpressionUnaryOperatorLogicalNot, and KviKvsTreeNodeExpressionUnaryOperatorNegate.

References KviKvsTreeNodeExpression::dump(), and m_pData.

◆ evaluateOperand()

Member Data Documentation

◆ m_nData

◆ m_pData


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