Duchain must be locked
| 97 | |
| 98 | ///Duchain must be locked |
| 99 | DUContext* contextAt(const QUrl& url, KTextEditor::Cursor cursor) |
| 100 | { |
| 101 | TopDUContext* topContext = DUChainUtils::standardContextForUrl(url); |
| 102 | if (!topContext) |
| 103 | return nullptr; |
| 104 | return contextForHighlightingAt(KTextEditor::Cursor(cursor), topContext); |
| 105 | } |
| 106 | |
| 107 | DeclarationPointer cursorDeclaration() |
| 108 | { |
no test coverage detected