diff options
Diffstat (limited to 'src/qmlcompiler/qqmljsimportvisitor_p.h')
-rw-r--r-- | src/qmlcompiler/qqmljsimportvisitor_p.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qmlcompiler/qqmljsimportvisitor_p.h b/src/qmlcompiler/qqmljsimportvisitor_p.h index 33bb3aa90d..9ebe7f20fd 100644 --- a/src/qmlcompiler/qqmljsimportvisitor_p.h +++ b/src/qmlcompiler/qqmljsimportvisitor_p.h @@ -104,12 +104,13 @@ protected: QList<QQmlJS::DiagnosticMessage> m_errors; - void enterEnvironment(QQmlJSScope::ScopeType type, const QString &name); + void enterEnvironment(QQmlJSScope::ScopeType type, const QString &name, + const QQmlJS::SourceLocation &location); void leaveEnvironment(); - void importExportedNames(QQmlJSScope::ConstPtr scope); private: void visitFunctionExpressionHelper(QQmlJS::AST::FunctionExpression *fexpr); + void importExportedNames(QQmlJSScope::ConstPtr scope); }; QT_END_NAMESPACE |