Class: QgsVbScriptArrayLiteralExpression

Represents an array literal expression.

Array elements may be expressions themselves.

Added in version 4.4.

List of all members, including inherited members

Class Hierarchy

Inheritance diagram of qgis.core.QgsVbScriptArrayLiteralExpression

Base classes

QgsVbScriptExpression

Base class for expression nodes in a VBScript script.

QgsVbScriptNode

Represents an abstract node for a VBScript script.

Constructor

__init__

Abstract Methods

clone

Methods

elements

Returns the list of element expressions.

class qgis.core.QgsVbScriptArrayLiteralExpression[source]

Bases: QgsVbScriptExpression

__init__(elements: Iterable[QgsVbScriptExpression])

Constructor for QgsVbScriptArrayLiteralExpression.

Ownership of all expressions in elements is transferred to this node.

Parameters:

elements (Iterable[QgsVbScriptExpression])

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

QgsVbScriptNode|None

elements(self) → list[QgsVbScriptExpression]

Returns the list of element expressions.

Return type:

list[QgsVbScriptExpression]