forked from qt-creator/qt-creator
Make QmlJS::Link private. Use Context::build to set up a context.
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#ifndef QMLJS_INTERPRETER_H
|
||||
#define QMLJS_INTERPRETER_H
|
||||
|
||||
#include <qmljs/qmljsdocument.h>
|
||||
#include <qmljs/qmljs_global.h>
|
||||
#include <qmljs/qmljsmetatypesystem.h>
|
||||
#include <qmljs/parser/qmljsastfwd_p.h>
|
||||
@@ -224,6 +225,8 @@ public:
|
||||
Context(Engine *engine);
|
||||
~Context();
|
||||
|
||||
void build(AST::Node *node, Document::Ptr doc, const Snapshot &snapshot);
|
||||
|
||||
Engine *engine() const;
|
||||
ScopeChain scopeChain() const;
|
||||
|
||||
|
Reference in New Issue
Block a user