QGIS/python/PyQt6/core/auto_additions/qgsexpressionnode.py
Nyall Dawson 989e62a80f Handle docstrings for c++ structs
sip doesn't support the docstring directive for structs (only classes),
so patch these back in via sipify magic
2024-08-16 07:28:29 +10:00

16 lines
1.7 KiB
Python

# The following has been generated automatically from src/core/expression/qgsexpressionnode.h
QgsExpressionNode.ntUnaryOperator = QgsExpressionNode.NodeType.ntUnaryOperator
QgsExpressionNode.ntBinaryOperator = QgsExpressionNode.NodeType.ntBinaryOperator
QgsExpressionNode.ntInOperator = QgsExpressionNode.NodeType.ntInOperator
QgsExpressionNode.ntFunction = QgsExpressionNode.NodeType.ntFunction
QgsExpressionNode.ntLiteral = QgsExpressionNode.NodeType.ntLiteral
QgsExpressionNode.ntColumnRef = QgsExpressionNode.NodeType.ntColumnRef
QgsExpressionNode.ntCondition = QgsExpressionNode.NodeType.ntCondition
QgsExpressionNode.ntIndexOperator = QgsExpressionNode.NodeType.ntIndexOperator
QgsExpressionNode.ntBetweenOperator = QgsExpressionNode.NodeType.ntBetweenOperator
try:
QgsExpressionNode.__attribute_docs__ = {'name': 'Node name', 'node': 'Node', 'parserFirstLine': 'First line in the parser this node was found.\n\n.. note::\n\n This might not be complete for all nodes. Currently\n only :py:class:`QgsExpressionNode` has this complete', 'parserFirstColumn': 'First column in the parser this node was found.\n\n.. note::\n\n This might not be complete for all nodes. Currently\n only :py:class:`QgsExpressionNode` has this complete', 'parserLastLine': 'Last line in the parser this node was found.\n\n.. note::\n\n This might not be complete for all nodes. Currently\n only :py:class:`QgsExpressionNode` has this complete', 'parserLastColumn': 'Last column in the parser this node was found.\n\n.. note::\n\n This might not be complete for all nodes. Currently\n only :py:class:`QgsExpressionNode` has this complete'}
except NameError:
pass
QgsExpressionNode.NamedNode.__doc__ = """Named node"""