| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlexpression_p.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | class QQmlExpression; | - |
| 5 | class QString; | - |
| 6 | class QQmlExpressionPrivate : public QObjectPrivate, | - |
| 7 | public QQmlJavaScriptExpression | - |
| 8 | { | - |
| 9 | inline QQmlExpression* q_func() { return static_cast<QQmlExpression *>(q_ptr); } inline const QQmlExpression* q_func() const { return static_cast<const QQmlExpression *>(q_ptr); } friend class QQmlExpression; | - |
| 10 | public: | - |
| 11 | QQmlExpressionPrivate(); | - |
| 12 | ~QQmlExpressionPrivate() override; | - |
| 13 | - | |
| 14 | void init(QQmlContextData *, const QString &, QObject *); | - |
| 15 | void init(QQmlContextData *, QV4::Function *runtimeFunction, QObject *); | - |
| 16 | - | |
| 17 | QVariant value(bool *isUndefined = nullptr); | - |
| 18 | - | |
| 19 | QV4::ReturnedValue v4value(bool *isUndefined = nullptr); | - |
| 20 | - | |
| 21 | static inline QQmlExpressionPrivate *get(QQmlExpression *expr); | - |
| 22 | static inline QQmlExpression *get(QQmlExpressionPrivate *expr); | - |
| 23 | - | |
| 24 | void _q_notify(); | - |
| 25 | - | |
| 26 | bool expressionFunctionValid:1; | - |
| 27 | - | |
| 28 | - | |
| 29 | QString expressionIdentifier() const override; | - |
| 30 | void expressionChanged() override; | - |
| 31 | - | |
| 32 | QString expression; | - |
| 33 | - | |
| 34 | QString url; | - |
| 35 | quint16 line; | - |
| 36 | quint16 column; | - |
| 37 | QString name; | - |
| 38 | }; | - |
| 39 | - | |
| 40 | QQmlExpressionPrivate *QQmlExpressionPrivate::get(QQmlExpression *expr) | - |
| 41 | { | - |
| 42 | return never executed: static_cast<QQmlExpressionPrivate *>(QObjectPrivate::get(expr));return static_cast<QQmlExpressionPrivate *>(QObjectPrivate::get(expr));never executed: return static_cast<QQmlExpressionPrivate *>(QObjectPrivate::get(expr)); | 0 |
| 43 | } | - |
| 44 | - | |
| 45 | QQmlExpression *QQmlExpressionPrivate::get(QQmlExpressionPrivate *expr) | - |
| 46 | { | - |
| 47 | return never executed: expr->q_func();return expr->q_func();never executed: return expr->q_func(); | 0 |
| 48 | } | - |
| 49 | - | |
| 50 | - | |
| 51 | - | |
| Switch to Source code | Preprocessed file |