Class: QgsEsriArcadeLiteralExpression

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.QgsEsriArcadeLiteralExpression

Base classes

QgsEsriArcadeExpression

Base class for expression nodes in an Esri Arcade script.

QgsEsriArcadeNode

Represents an abstract node for an Esri Arcade script.

Constructor

__init__

Abstract Methods

clone

Methods

value

Returns the literal value.

valueAsString

Returns a string representation of the literal value.

class qgis.core.QgsEsriArcadeLiteralExpression[source]

Bases: QgsEsriArcadeExpression

__init__(value: Any)

Constructor for QgsEsriArcadeLiteralExpression.

Parameters:

value (Any)

__init__(a0: QgsEsriArcadeLiteralExpression)
Parameters:

a0 (QgsEsriArcadeLiteralExpression)

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

QgsEsriArcadeNode|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