Class: QgsExpressionNodeLiteral¶
An expression node for literal values.
List of all members, including inherited members
Class Hierarchy¶
Base classes¶
Abstract base class for all nodes that can appear in an expression. |
Constructor
Abstract Methods
Methods
The value of the literal. |
|
Returns a string representation of the node's literal value. |
Virtual Methods
In PyQGIS, only methods marked as virtual can be safely overridden in a Python subclass of QgsExpressionNodeLiteral. See the FAQ for more details.
- class qgis.core.QgsExpressionNodeLiteral[source]¶
Bases:
QgsExpressionNode- __init__(value: Any)¶
Constructor for QgsExpressionNodeLiteral, with the specified literal
value.- Parameters:
value (Any)
- __init__(a0: QgsExpressionNodeLiteral)
- Parameters:
- abstract clone(self) QgsExpressionNode | None[source]¶
- Return type:
QgsExpressionNode|None
- virtual evalNode(self, parent: QgsExpression | None, context: QgsExpressionContext | None) Any[source]¶
- Parameters:
parent (QgsExpression|None)
context (QgsExpressionContext|None)
- Return type:
- virtual prepareNode(self, parent: QgsExpression | None, context: QgsExpressionContext | None) bool[source]¶
- Parameters:
parent (QgsExpression|None)
context (QgsExpressionContext|None)
- Return type:
bool