Class: QgsVbScriptLiteralExpression

Represents a literal value (number, text string, boolean, or null).

Added in version 4.4.

List of all members, including inherited members

Class Hierarchy

Inheritance diagram of qgis.core.QgsVbScriptLiteralExpression

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

value

Returns the literal value.

valueAsString

Returns a string representation of the literal value.

class qgis.core.QgsVbScriptLiteralExpression[source]

Bases: QgsVbScriptExpression

__init__(value: Any)

Constructor for QgsVbScriptLiteralExpression.

Parameters:

value (Any)

__init__(a0: QgsVbScriptLiteralExpression)
Parameters:

a0 (QgsVbScriptLiteralExpression)

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

QgsVbScriptNode|None

value(self) → Any[source]

Returns the literal value.

Return type:

Any

valueAsString(self) → str[source]

Returns a string representation of the literal value.

Return type:

str