Class: QgsVbScriptIndexExpression

Represents an array or dictionary index subscript expression.

For example values[index].

Added in version 4.4.

List of all members, including inherited members

Class Hierarchy

Inheritance diagram of qgis.core.QgsVbScriptIndexExpression

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

containerExpression

Returns the container expression being indexed.

indexExpression

Returns the index expression.

class qgis.core.QgsVbScriptIndexExpression[source]

Bases: QgsVbScriptExpression

__init__(containerExpression: QgsVbScriptExpression | None, indexExpression: QgsVbScriptExpression | None)

Constructor for QgsVbScriptIndexExpression.

Ownership of containerExpression and indexExpression is transferred to this expression.

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

QgsVbScriptNode|None

containerExpression(self) → QgsVbScriptExpression | None[source]

Returns the container expression being indexed.

Return type:

QgsVbScriptExpression|None

indexExpression(self) → QgsVbScriptExpression | None[source]

Returns the index expression.

Return type:

QgsVbScriptExpression|None