Class: QgsVbScriptAssignmentStatement¶
Represents a variable reassignment statement.
For example, age = "35 years";.
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 |
|
Returns the target expression being assigned to. |
|
Returns the assigned value expression. |
- class qgis.core.QgsVbScriptAssignmentStatement[source]¶
Bases:
QgsVbScriptStatement- __init__(target: QgsVbScriptExpression | None, value: QgsVbScriptExpression | None, isSet: bool = False)¶
Constructor for QgsVbScriptAssignmentStatement.
Ownership of
targetandvalueis transferred to this statement.- Parameters:
target (QgsVbScriptExpression|None)
value (QgsVbScriptExpression|None)
isSet (bool = False)
- abstract clone(self) QgsVbScriptNode | None[source]¶
- Return type:
QgsVbScriptNode|None
- target(self) QgsVbScriptExpression | None[source]¶
Returns the target expression being assigned to.
- Return type:
- value(self) QgsVbScriptExpression | None[source]¶
Returns the assigned value expression.
- Return type: