Subgroup: Expression

Class: QgsExpressionNodeLiteral

class qgis.core.QgsExpressionNodeLiteral(value: Any)

Bases: qgis._core.QgsExpressionNode

Constructor for QgsExpressionNodeLiteral, with the specified literal value.

QgsExpressionNodeLiteral(QgsExpressionNodeLiteral)

An expression node for literal values.

clone(self) → QgsExpressionNode
dump(self) → str
evalNode(self, parent: QgsExpression, context: QgsExpressionContext) → Any
isStatic(self, parent: QgsExpression, context: QgsExpressionContext) → bool
needsGeometry(self) → bool
nodeType(self) → QgsExpressionNode.NodeType
prepareNode(self, parent: QgsExpression, context: QgsExpressionContext) → bool
referencedColumns(self) → Set[str]
referencedVariables(self) → Set[str]
value(self) → Any

The value of the literal.