Class: QgsEsriArcadeWhileStatement

Represents a while loop statement.

Added in version 4.4.

List of all members, including inherited members

Class Hierarchy

Inheritance diagram of qgis.core.QgsEsriArcadeWhileStatement

Base classes

QgsEsriArcadeStatement

Base class for statement nodes in an Esri Arcade script.

QgsEsriArcadeNode

Represents an abstract node for an Esri Arcade script.

Constructor

__init__

Abstract Methods

clone

Methods

body

Returns the loop body block statement.

condition

Returns the loop condition expression.

class qgis.core.QgsEsriArcadeWhileStatement[source]

Bases: QgsEsriArcadeStatement

__init__(condition: QgsEsriArcadeExpression | None, body: QgsEsriArcadeBlockStatement | None)

Constructor for QgsEsriArcadeWhileStatement.

Ownership of condition and body is transferred to this statement.

Parameters:
body(self) → QgsEsriArcadeBlockStatement | None[source]

Returns the loop body block statement.

Return type:

QgsEsriArcadeBlockStatement|None

abstract clone(self) → QgsEsriArcadeNode | None[source]
Return type:

QgsEsriArcadeNode|None

condition(self) → QgsEsriArcadeExpression | None[source]

Returns the loop condition expression.

Return type:

QgsEsriArcadeExpression|None