aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/qmljs/qmljscheck.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/qmljs/qmljscheck.h')
-rw-r--r--src/libs/qmljs/qmljscheck.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/libs/qmljs/qmljscheck.h b/src/libs/qmljs/qmljscheck.h
index dea80974179..56ec5c0c83c 100644
--- a/src/libs/qmljs/qmljscheck.h
+++ b/src/libs/qmljs/qmljscheck.h
@@ -55,10 +55,16 @@ protected:
private:
void visitQmlObject(AST::Node *ast, AST::UiQualifiedId *typeId,
AST::UiObjectInitializer *initializer);
- void checkScopeObjectMember(const AST::UiQualifiedId *id);
+ const Interpreter::Value *checkScopeObjectMember(const AST::UiQualifiedId *id);
+ void checkPropertyAssignment(const AST::SourceLocation &location,
+ const Interpreter::Value *lhsValue,
+ const Interpreter::Value *rhsValue,
+ QmlJS::AST::ExpressionNode *ast);
void warning(const AST::SourceLocation &loc, const QString &message);
void error(const AST::SourceLocation &loc, const QString &message);
+ static AST::SourceLocation locationFromRange(const AST::SourceLocation &start,
+ const AST::SourceLocation &end);
Document::Ptr _doc;
Snapshot _snapshot;