forked from qt-creator/qt-creator
QmlJS: Allow lookups on const Contexts. Pass const Contexts where ok.
In preparation for caching Contexts. Reviewed-by: Erik Verbruggen
This commit is contained in:
@@ -60,7 +60,7 @@ public:
|
||||
|
||||
const Interpreter::Value *evaluate(AST::Node *node) const;
|
||||
Interpreter::Engine *engine() const;
|
||||
Interpreter::Context *context() const;
|
||||
const Interpreter::Context *context() const;
|
||||
|
||||
private:
|
||||
QScopedPointer<LookupContextData> d;
|
||||
|
||||
Reference in New Issue
Block a user