Expression parser implementation that does nothing.
More...
#include <NullParser.h>
Expression parser implementation that does nothing.
Definition at line 22 of file NullParser.h.
◆ NullParser() [1/2]
NullParser::NullParser |
( |
| ) |
|
◆ ~NullParser()
NullParser::~NullParser |
( |
| ) |
|
|
finaldefault |
◆ NullParser() [2/2]
◆ baseForExpression()
int NullParser::baseForExpression |
( |
QStringView | expression | ) |
const |
|
finalvirtual |
Finds the common base in the expression.
- Parameters
-
[in] | expression | The expression to search in. |
- Returns
- The common base for the expression.
Implements ExpressionParser.
◆ isPlainValue()
bool NullParser::isPlainValue |
( |
QStringView | expression | ) |
const |
|
finalvirtual |
Checks if the given expression is a plain value and does not need evaluation.
- Parameters
-
[in] | expression | The expression to check. |
- Returns
- True, if the expression is a plain value, otherwise false.
Implements ExpressionParser.
◆ operator=()
◆ parseExpression()
QString NullParser::parseExpression |
( |
QStringView | expression, |
|
|
bool * | isValidExpression ) const |
|
finalvirtual |
Parses an expression to decimal number.
- Parameters
-
[in] | expression | The expression to parse. |
- Returns
- The decimal value of the constant.
Implements ExpressionParser.
The documentation for this class was generated from the following file: