Class: QgsEsriArcadeExpressionStatement¶
Represents an expression evaluated as a statement.
For example, a standalone variable * 2 + 3 expression. This is
usually only used for simple single-line Arcade scripts, where the
return and trailing ; are implied.
Added in version 4.4.
List of all members, including inherited members
Class Hierarchy¶
Base classes¶
Base class for statement nodes in an Esri Arcade script. |
|
Represents an abstract node for an Esri Arcade script. |
Constructor
Abstract Methods
Methods
Returns the underlying expression. |
- class qgis.core.QgsEsriArcadeExpressionStatement[source]¶
Bases:
QgsEsriArcadeStatement- __init__(expression: QgsEsriArcadeExpression | None)¶
Constructor for QgsEsriArcadeExpressionStatement.
Ownership of
expressionis transferred to this statement.- Parameters:
expression (QgsEsriArcadeExpression|None)
- abstract clone(self) QgsEsriArcadeNode | None[source]¶
- Return type:
QgsEsriArcadeNode|None
- expression(self) QgsEsriArcadeExpression | None[source]¶
Returns the underlying expression.
- Return type: