Class: QgsEsriArcadeFunctionDeclarationStatement¶
Represents a function declaration statement.
For example function foo(a, b) { ... }).
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 function body block. |
|
Returns the function name. |
|
Returns the parameter names. |
- class qgis.core.QgsEsriArcadeFunctionDeclarationStatement[source]¶
Bases:
QgsEsriArcadeStatement- __init__(functionName: str | None, parameters: Iterable[str | None], body: QgsEsriArcadeBlockStatement | None)¶
Constructor for QgsEsriArcadeFunctionDeclarationStatement.
Ownership of
bodyis transferred to this statement.- Parameters:
functionName (str|None)
parameters (Iterable[str|None])
body (QgsEsriArcadeBlockStatement|None)
- body(self) QgsEsriArcadeBlockStatement | None[source]¶
Returns the function body block.
- Return type:
- abstract clone(self) QgsEsriArcadeNode | None[source]¶
- Return type:
QgsEsriArcadeNode|None