aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlcompiler/qqmlsa.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmlcompiler/qqmlsa.cpp')
-rw-r--r--src/qmlcompiler/qqmlsa.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/qmlcompiler/qqmlsa.cpp b/src/qmlcompiler/qqmlsa.cpp
index 7a209f52c1..388a5fe599 100644
--- a/src/qmlcompiler/qqmlsa.cpp
+++ b/src/qmlcompiler/qqmlsa.cpp
@@ -360,6 +360,13 @@ void DebugPropertyPass::onWrite(const QQmlSA::Element &element, const QString &p
+ QString::number(location.startColumn),
qmlPlugin, location);
}
+
+bool isRegularBindingType(QQmlJSMetaPropertyBinding::BindingType type)
+{
+ return type >= QQmlJSMetaPropertyBinding::BindingType::BoolLiteral
+ && type <= QQmlJSMetaPropertyBinding::BindingType::Object;
+}
+
}
QT_END_NAMESPACE