Class: QgsEsriArcadeWhileStatement¶
Represents a while loop statement.
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 loop body block statement. |
|
Returns the loop condition expression. |
- class qgis.core.QgsEsriArcadeWhileStatement[source]¶
Bases:
QgsEsriArcadeStatement- __init__(condition: QgsEsriArcadeExpression | None, body: QgsEsriArcadeBlockStatement | None)¶
Constructor for QgsEsriArcadeWhileStatement.
Ownership of
conditionandbodyis transferred to this statement.- Parameters:
condition (QgsEsriArcadeExpression|None)
body (QgsEsriArcadeBlockStatement|None)
- body(self) QgsEsriArcadeBlockStatement | None[source]¶
Returns the loop body block statement.
- Return type:
- abstract clone(self) QgsEsriArcadeNode | None[source]¶
- Return type:
QgsEsriArcadeNode|None
- condition(self) QgsEsriArcadeExpression | None[source]¶
Returns the loop condition expression.
- Return type: