Class: QgsVbScriptBlockStatement¶
Represents a sequence of statements.
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
Appends a statement to the block. |
|
Returns the number of statements in this block. |
|
Returns the list of statements contained within this block. |
- class qgis.core.QgsVbScriptBlockStatement[source]¶
Bases:
QgsVbScriptStatement- __init__()¶
- __init__(statements: Iterable[QgsVbScriptStatement])
Constructor for QgsVbScriptBlockStatement with an existing statement list.
Ownership of all
statementsis transferred to this block.- Parameters:
statements (Iterable[QgsVbScriptStatement])
- appendStatement(self, statement: QgsVbScriptStatement | None)[source]¶
Appends a statement to the block.
Ownership of
statementis transferred to this block.- Parameters:
statement (QgsVbScriptStatement|None)
- abstract clone(self) QgsVbScriptNode | None[source]¶
- Return type:
QgsVbScriptNode|None
- statements(self) list[QgsVbScriptStatement]¶
Returns the list of statements contained within this block.
- Return type:
list[QgsVbScriptStatement]