Class: QgsVbScriptFunctionDeclarationStatement¶
Represents a function declaration statement.
For example function foo(a, b) ... end function.
Added in version 4.4.
List of all members, including inherited members
Class Hierarchy¶
Base classes¶
Base class for statement nodes in a VBScript script. |
|
Represents an abstract node for a VBScript script. |
Constructor
Abstract Methods
Methods
Returns the function body block. |
|
Returns the function name. |
|
Returns |
|
Returns the parameter names. |
- class qgis.core.QgsVbScriptFunctionDeclarationStatement[source]¶
Bases:
QgsVbScriptStatement- __init__(functionName: str | None, parameters: Iterable[str | None], body: QgsVbScriptBlockStatement | None, isSub: bool = False)¶
Constructor for QgsVbScriptFunctionDeclarationStatement.
Ownership of
bodyis transferred to this statement.- Parameters:
functionName (str|None)
parameters (Iterable[str|None])
body (QgsVbScriptBlockStatement|None)
isSub (bool = False)
- body(self) QgsVbScriptBlockStatement | None[source]¶
Returns the function body block.
- Return type:
- abstract clone(self) QgsVbScriptNode | None[source]¶
- Return type:
QgsVbScriptNode|None