Class: QgsVbScriptExitStatement

Represents an Exit loop or Exit Sub/Function statement.

Added in version 4.4.

List of all members, including inherited members

Class Hierarchy

Inheritance diagram of qgis.core.QgsVbScriptExitStatement

Base classes

QgsVbScriptStatement

Base class for statement nodes in a VBScript script.

QgsVbScriptNode

Represents an abstract node for a VBScript script.

Constructor

__init__

Enums

ExitType

Object to exit from.

Abstract Methods

clone

Methods

exitType

Returns the exit target scope.

class qgis.core.QgsVbScriptExitStatement[source]

Bases: QgsVbScriptStatement

__init__(exitType: QgsVbScriptExitStatement.ExitType)

Constructor for QgsVbScriptExitStatement.

Parameters:

exitType (QgsVbScriptExitStatement.ExitType)

__init__(a0: QgsVbScriptExitStatement)
Parameters:

a0 (QgsVbScriptExitStatement)

class ExitType(*values)

Bases: Enum

Object to exit from.

  • ExitDo: Exit Do

  • ExitFor: Exit For

  • ExitFunction: Exit Function

  • ExitSub: Exit Sub

ExitDo = 0
ExitFor = 1
ExitFunction = 2
ExitSub = 3
abstract clone(self) → QgsVbScriptNode | None[source]
Return type:

QgsVbScriptNode|None

exitType(self) → QgsVbScriptExitStatement.ExitType[source]

Returns the exit target scope.

Return type:

QgsVbScriptExitStatement.ExitType