Class: QgsExpressionNodeLiteral

class qgis.core.QgsExpressionNodeLiteral(value: Any)

Bases: QgsExpressionNode

Constructor for QgsExpressionNodeLiteral, with the specified literal value.

QgsExpressionNodeLiteral(QgsExpressionNodeLiteral)

An expression node for literal values.

Parameters

value

clone(self) → QgsExpressionNode
Return type

QgsExpressionNode

dump(self) → str
Return type

str

evalNode(self, parent: QgsExpression, context: QgsExpressionContext) → Any
Parameters
Return type

Any

isStatic(self, parent: QgsExpression, context: QgsExpressionContext) → bool
Parameters
Return type

bool

nodeType(self) → QgsExpressionNode.NodeType
Return type

QgsExpressionNode.NodeType

prepareNode(self, parent: QgsExpression, context: QgsExpressionContext) → bool
Parameters
Return type

bool

referencedColumns(self) → Set[str]
Return type

Set[str]

referencedFunctions(self) → Set[str]
Return type

Set[str]

referencedVariables(self) → Set[str]
Return type

Set[str]

value(self) → Any

The value of the literal.

Return type

Any