QGIS API Documentation 3.43.0-Master (b60ef06885e)
|
Details about any parser errors that were found when parsing the expression. More...
#include <qgsexpression.h>
Public Types | |
enum | ParserErrorType { Unknown = 0 , FunctionUnknown = 1 , FunctionWrongArgs = 2 , FunctionInvalidParams = 3 , FunctionNamedArgsError = 4 } |
Public Attributes | |
QString | errorMsg |
The message for the error at this location. | |
QgsExpression::ParserError::ParserErrorType | errorType = QgsExpression::ParserError::ParserErrorType::Unknown |
The type of parser error that was found. | |
int | firstColumn = 0 |
The first column that contained the error in the parser. | |
int | firstLine = 0 |
The first line that contained the error in the parser. | |
int | lastColumn = 0 |
The last column that contained the error in the parser. | |
int | lastLine = 0 |
The last line that contained the error in the parser. | |
Details about any parser errors that were found when parsing the expression.
Definition at line 197 of file qgsexpression.h.
Definition at line 199 of file qgsexpression.h.
QString QgsExpression::ParserError::errorMsg |
The message for the error at this location.
Definition at line 216 of file qgsexpression.h.
QgsExpression::ParserError::ParserErrorType QgsExpression::ParserError::errorType = QgsExpression::ParserError::ParserErrorType::Unknown |
The type of parser error that was found.
Definition at line 211 of file qgsexpression.h.
int QgsExpression::ParserError::firstColumn = 0 |
The first column that contained the error in the parser.
Depending on the error sometimes this doesn't mean anything.
Definition at line 228 of file qgsexpression.h.
int QgsExpression::ParserError::firstLine = 0 |
The first line that contained the error in the parser.
Depending on the error sometimes this doesn't mean anything.
Definition at line 222 of file qgsexpression.h.
int QgsExpression::ParserError::lastColumn = 0 |
The last column that contained the error in the parser.
Definition at line 238 of file qgsexpression.h.
int QgsExpression::ParserError::lastLine = 0 |
The last line that contained the error in the parser.
Definition at line 233 of file qgsexpression.h.