Try to get the type of the qualified name id under cursor

This commit is contained in:
Roberto Raggi
2010-01-22 10:26:25 +01:00
parent 4b97bf170a
commit ba3e68fcbb
3 changed files with 136 additions and 76 deletions

View File

@@ -67,6 +67,7 @@ public:
bool parseQml();
bool parseJavaScript();
bool parseExpression();
bool isParsedCorrectly() const
{ return _parsedCorrectly; }
@@ -84,8 +85,7 @@ public:
private:
QmlJS::Engine *_engine;
QmlJS::NodePool *_pool;
QmlJS::AST::UiProgram *_uiProgram;
QmlJS::AST::Program *_jsProgram;
QmlJS::AST::Node *_ast;
QList<QmlJS::DiagnosticMessage> _diagnosticMessages;
QString _fileName;
QString _path;