QGIS API Documentation 4.3.0-Master (bd2f5e21fd1)
Loading...
Searching...
No Matches
QgsEsriArcadeFunctionCallExpression Class Reference

Represents a function call expression. More...

#include <qgsesriarcadescript.h>

Inheritance diagram for QgsEsriArcadeFunctionCallExpression:

Public Member Functions

 QgsEsriArcadeFunctionCallExpression (const QString &functionName, const QList< QgsEsriArcadeExpression * > &arguments)
 Constructor for QgsEsriArcadeFunctionCallExpression.
 ~QgsEsriArcadeFunctionCallExpression () override
void accept (QgsEsriArcadeVisitor &visitor) const override
 Accepts a visitor to traverse the node.
QList< QgsEsriArcadeExpression * > arguments () const
 Returns the list of argument expressions.
QgsEsriArcadeNode * clone () const override
 Creates a copy of the node.
QString dump () const override
 Returns the formatted script representation of the node.
QString functionName () const
 Returns the function name.
QgsEsriArcadeNode::NodeType nodeType () const override
 Returns the node type.
Public Member Functions inherited from QgsEsriArcadeExpression
 ~QgsEsriArcadeExpression () override=default
Public Member Functions inherited from QgsEsriArcadeNode
virtual ~QgsEsriArcadeNode ()=default

Additional Inherited Members

Public Types inherited from QgsEsriArcadeNode
enum class  NodeType {
  BlockStatement , VariableDeclarationStatement , ReturnStatement , AssignmentStatement ,
  FunctionDeclarationStatement , ExpressionStatement , LiteralExpression , VariableReferenceExpression ,
  ProfileVariableReferenceExpression , MemberAccessExpression , BinaryOperatorExpression , UnaryOperatorExpression ,
  FunctionCallExpression , IndexExpression , ArrayLiteralExpression , DictionaryLiteralExpression ,
  IfStatement , ForStatement , ForInStatement , WhileStatement ,
  BreakStatement , ContinueStatement
}
 Node type identifier. More...

Detailed Description

Represents a function call expression.

For example Sum(values).

Since
QGIS 4.4

Definition at line 847 of file qgsesriarcadescript.h.

Constructor & Destructor Documentation

◆ QgsEsriArcadeFunctionCallExpression()

QgsEsriArcadeFunctionCallExpression::QgsEsriArcadeFunctionCallExpression ( const QString & functionName,
const QList< QgsEsriArcadeExpression * > & arguments )

Constructor for QgsEsriArcadeFunctionCallExpression.

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

Definition at line 464 of file qgsesriarcadescript.cpp.

◆ ~QgsEsriArcadeFunctionCallExpression()

QgsEsriArcadeFunctionCallExpression::~QgsEsriArcadeFunctionCallExpression ( )
override

Definition at line 469 of file qgsesriarcadescript.cpp.

Member Function Documentation

◆ accept()

void QgsEsriArcadeFunctionCallExpression::accept ( QgsEsriArcadeVisitor & visitor) const
overridevirtual

Accepts a visitor to traverse the node.

Implements QgsEsriArcadeNode.

Definition at line 496 of file qgsesriarcadescript.cpp.

◆ arguments()

QList< QgsEsriArcadeExpression * > QgsEsriArcadeFunctionCallExpression::arguments ( ) const
inline

Returns the list of argument expressions.

Definition at line 872 of file qgsesriarcadescript.h.

◆ clone()

QgsEsriArcadeNode * QgsEsriArcadeFunctionCallExpression::clone ( ) const
overridevirtual

Creates a copy of the node.

Caller takes ownership of the returned object.

Implements QgsEsriArcadeNode.

Definition at line 485 of file qgsesriarcadescript.cpp.

◆ dump()

QString QgsEsriArcadeFunctionCallExpression::dump ( ) const
overridevirtual

Returns the formatted script representation of the node.

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

Implements QgsEsriArcadeNode.

Definition at line 474 of file qgsesriarcadescript.cpp.

◆ functionName()

QString QgsEsriArcadeFunctionCallExpression::functionName ( ) const
inline

Returns the function name.

Definition at line 867 of file qgsesriarcadescript.h.

◆ nodeType()

QgsEsriArcadeNode::NodeType QgsEsriArcadeFunctionCallExpression::nodeType ( ) const
inlineoverridevirtual

Returns the node type.

Implements QgsEsriArcadeNode.

Definition at line 859 of file qgsesriarcadescript.h.


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