Introduced SemanticInfo::nodeUnderCursor().

This commit is contained in:
Roberto Raggi
2010-02-02 13:18:56 +01:00
parent f8ed5c58f0
commit d22de18fae
3 changed files with 72 additions and 59 deletions

View File

@@ -108,6 +108,9 @@ public:
// Returns the declaring member
QmlJS::AST::UiObjectMember *declaringMember(int cursorPosition) const;
// Returns the AST node under cursor
QmlJS::AST::Node *nodeUnderCursor(int cursorPosition) const;
public: // attributes
QmlJS::Document::Ptr document;
QmlJS::Snapshot snapshot;