KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Protected Attributes | List of all members
KviKvsTreeNodeExpressionUnaryOperator Class Reference

#include <KviKvsTreeNodeExpression.h>

+ Inheritance diagram for KviKvsTreeNodeExpressionUnaryOperator:

Public Member Functions

virtual void contextDescription (QString &szBuffer)
 Sets the buffer. More...
 
virtual void dump (const char *prefix)
 Dumps the tree. More...
 
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. More...
 
const QChar * location ()
 Returns the location char. More...
 
KviKvsTreeNodeparent ()
 Returns the parent object. More...
 
void setParent (KviKvsTreeNode *p)
 Sets the parent object. More...
 
virtual ~KviKvsTreeNode ()
 Destroys the treenode object. More...
 

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. More...
 

Constructor & Destructor Documentation

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

References m_pData.

Member Function Documentation

void KviKvsTreeNodeExpressionUnaryOperator::contextDescription ( QString &  szBuffer)
virtual
void KviKvsTreeNodeExpressionUnaryOperator::dump ( const char *  prefix)
virtual

Dumps the tree.

Parameters
prefixThe prefix of the instruction
Returns
void

Reimplemented from KviKvsTreeNodeExpressionOperator.

Reimplemented in KviKvsTreeNodeExpressionUnaryOperatorLogicalNot, KviKvsTreeNodeExpressionUnaryOperatorBitwiseNot, and KviKvsTreeNodeExpressionUnaryOperatorNegate.

References KviKvsTreeNodeExpression::dump(), and m_pData.

bool KviKvsTreeNodeExpressionUnaryOperator::evaluateOperand ( KviKvsRunTimeContext c)

Member Data Documentation

KviKvsNumber KviKvsTreeNodeExpressionUnaryOperator::m_nData
protected
KviKvsTreeNodeExpression* KviKvsTreeNodeExpressionUnaryOperator::m_pData
protected

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