aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/parser/qqmljsastvisitor_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/parser/qqmljsastvisitor_p.h')
-rw-r--r--src/qml/parser/qqmljsastvisitor_p.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qml/parser/qqmljsastvisitor_p.h b/src/qml/parser/qqmljsastvisitor_p.h
index 8fbdb97ee2..1e4c78c0d4 100644
--- a/src/qml/parser/qqmljsastvisitor_p.h
+++ b/src/qml/parser/qqmljsastvisitor_p.h
@@ -141,6 +141,9 @@ public:
virtual void endVisit(UiRequired *) = 0;
// QQmlJS
+ virtual bool visit(TypeExpression *) = 0;
+ virtual void endVisit(TypeExpression *) = 0;
+
virtual bool visit(ThisExpression *) = 0;
virtual void endVisit(ThisExpression *) = 0;
@@ -482,6 +485,9 @@ public:
void endVisit(UiRequired *) override {}
// QQmlJS
+ bool visit(TypeExpression *) override { return true; }
+ void endVisit(TypeExpression *) override {}
+
bool visit(ThisExpression *) override { return true; }
void endVisit(ThisExpression *) override {}