OpenCoverage

qqmlpropertyvalidator_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/compiler/qqmlpropertyvalidator_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4class QQmlPropertyValidator-
5{-
6 public: static inline QString tr(const char *sourceText, const char *disambiguation = nullptr, int n = -1) { return QCoreApplication::translate("QQmlPropertyValidator", sourceText, disambiguation, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *sourceText, const char *disambiguation = nullptr, int n = -1) { return QCoreApplication::translate("QQmlPropertyValidator", sourceText, disambiguation, n); } private:-
7public:-
8 QQmlPropertyValidator(QQmlEnginePrivate *enginePrivate, const QQmlImports &imports, const QQmlRefPointer<QV4::CompiledData::CompilationUnit> &compilationUnit);-
9-
10 QVector<QQmlCompileError> validate();-
11-
12private:-
13 QVector<QQmlCompileError> validateObject(int objectIndex, const QV4::CompiledData::Binding *instantiatingBinding, bool populatingValueTypeGroupProperty = false) const;-
14 QQmlCompileError validateLiteralBinding(QQmlPropertyCache *propertyCache, QQmlPropertyData *property, const QV4::CompiledData::Binding *binding) const;-
15 QQmlCompileError validateObjectBinding(QQmlPropertyData *property, const QString &propertyName, const QV4::CompiledData::Binding *binding) const;-
16-
17 bool canCoerce(int to, QQmlPropertyCache *fromMo) const;-
18-
19 __attribute__ ((__warn_unused_result__)) QVector<QQmlCompileError> recordError(const QV4::CompiledData::Location &location, const QString &description) const;-
20 __attribute__ ((__warn_unused_result__)) QVector<QQmlCompileError> recordError(const QQmlCompileError &error) const;-
21 QString stringAt(int index) const { return
executed 284873 times by 141 tests: return qmlUnit->stringAt(index);
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
qmlUnit->stringAt(index);
executed 284873 times by 141 tests: return qmlUnit->stringAt(index);
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • ...
}
284873
22-
23 QQmlEnginePrivate *enginePrivate;-
24 QQmlRefPointer<QV4::CompiledData::CompilationUnit> compilationUnit;-
25 const QQmlImports &imports;-
26 const QV4::CompiledData::Unit *qmlUnit;-
27 const QV4::CompiledData::ResolvedTypeReferenceMap &resolvedTypes;-
28 const QQmlPropertyCacheVector &propertyCaches;-
29-
30 QVector<QV4::CompiledData::BindingPropertyData> * const bindingPropertyDataPerObject;-
31};-
32-
33-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0