Class: QgsVbScriptExpressionStatement

Represents an expression evaluated as a statement.

For example, a standalone variable * 2 + 3 expression.

Added in version 4.4.

List of all members, including inherited members

Class Hierarchy

Inheritance diagram of qgis.core.QgsVbScriptExpressionStatement

Base classes

QgsVbScriptStatement

Base class for statement nodes in a VBScript script.

QgsVbScriptNode

Represents an abstract node for a VBScript script.

Constructor

__init__

Abstract Methods

clone

Methods

expression

Returns the underlying expression.

class qgis.core.QgsVbScriptExpressionStatement[source]

Bases: QgsVbScriptStatement

__init__(expression: QgsVbScriptExpression | None)

Constructor for QgsVbScriptExpressionStatement.

Ownership of expression is transferred to this statement.

Parameters:

expression (QgsVbScriptExpression|None)

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

QgsVbScriptNode|None

expression(self) → QgsVbScriptExpression | None[source]

Returns the underlying expression.

Return type:

QgsVbScriptExpression|None