QGIS API Documentation 4.3.0-Master (0cef2469b72)
Loading...
Searching...
No Matches
QgsVbScriptFunctionCallExpression Class Reference

Represents a function call expression. More...

#include <qgsvbscript.h>

Inheritance diagram for QgsVbScriptFunctionCallExpression:

Public Member Functions

 QgsVbScriptFunctionCallExpression (QgsVbScriptExpression *targetExpression, const QList< QgsVbScriptExpression * > &arguments)
 Constructor for QgsVbScriptFunctionCallExpression.
 ~QgsVbScriptFunctionCallExpression () override
void accept (QgsVbScriptVisitor &visitor) const override
 Accepts a visitor to traverse the node.
QList< QgsVbScriptExpression * > arguments () const
 Returns the list of argument expressions.
QgsVbScriptNode * clone () const override
 Creates a copy of the node.
QString dump () const override
 Returns the formatted script representation of the node.
QgsVbScriptNode::NodeType nodeType () const override
 Returns the node type.
QgsVbScriptExpression * targetExpression () const
 Returns the callee expression.
Public Member Functions inherited from QgsVbScriptExpression
 ~QgsVbScriptExpression () override=default
Public Member Functions inherited from QgsVbScriptNode
virtual ~QgsVbScriptNode ()=default

Additional Inherited Members

Public Types inherited from QgsVbScriptNode
enum class  NodeType {
  BlockStatement , VariableDeclarationStatement , AssignmentStatement , FunctionDeclarationStatement ,
  ExpressionStatement , LiteralExpression , VariableReferenceExpression , MemberAccessExpression ,
  BinaryOperatorExpression , UnaryOperatorExpression , FunctionCallExpression , IndexExpression ,
  ArrayLiteralExpression , IfStatement , ForStatement , ForEachStatement ,
  WhileStatement , ExitStatement , FieldReferenceExpression
}
 Node type identifier. More...

Detailed Description

Represents a function call expression.

For example UCase(value).

Since
QGIS 4.4

Definition at line 720 of file qgsvbscript.h.

Constructor & Destructor Documentation

◆ QgsVbScriptFunctionCallExpression()

QgsVbScriptFunctionCallExpression::QgsVbScriptFunctionCallExpression ( QgsVbScriptExpression * targetExpression,
const QList< QgsVbScriptExpression * > & arguments )

Constructor for QgsVbScriptFunctionCallExpression.

Ownership of targetExpression and all expressions in arguments is transferred to this node.

Definition at line 405 of file qgsvbscript.cpp.

◆ ~QgsVbScriptFunctionCallExpression()

QgsVbScriptFunctionCallExpression::~QgsVbScriptFunctionCallExpression ( )
override

Definition at line 410 of file qgsvbscript.cpp.

Member Function Documentation

◆ accept()

void QgsVbScriptFunctionCallExpression::accept ( QgsVbScriptVisitor & visitor) const
overridevirtual

Accepts a visitor to traverse the node.

Implements QgsVbScriptNode.

Definition at line 437 of file qgsvbscript.cpp.

◆ arguments()

QList< QgsVbScriptExpression * > QgsVbScriptFunctionCallExpression::arguments ( ) const
inline

Returns the list of argument expressions.

Definition at line 745 of file qgsvbscript.h.

◆ clone()

QgsVbScriptNode * QgsVbScriptFunctionCallExpression::clone ( ) const
overridevirtual

Creates a copy of the node.

Caller takes ownership of the returned object.

Implements QgsVbScriptNode.

Definition at line 426 of file qgsvbscript.cpp.

◆ dump()

QString QgsVbScriptFunctionCallExpression::dump ( ) const
overridevirtual

Returns the formatted script representation of the node.

This can be used to export a script node back to a valid VBScript string.

Implements QgsVbScriptNode.

Definition at line 415 of file qgsvbscript.cpp.

◆ nodeType()

QgsVbScriptNode::NodeType QgsVbScriptFunctionCallExpression::nodeType ( ) const
inlineoverridevirtual

Returns the node type.

Implements QgsVbScriptNode.

Definition at line 732 of file qgsvbscript.h.

◆ targetExpression()

QgsVbScriptExpression * QgsVbScriptFunctionCallExpression::targetExpression ( ) const
inline

Returns the callee expression.

Definition at line 740 of file qgsvbscript.h.


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