MCPcopy Create free account
hub / github.com/KDE/kdevelop / DocumentRange

Function DocumentRange

kdevplatform/language/editor/documentrange.h:27–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 }
26
27 inline DocumentRange(const IndexedString& document, const KTextEditor::Range& range)
28 : KTextEditor::Range(range)
29 , document(document)
30 {
31 Q_ASSERT(document.toUrl() == document.toUrl().adjusted(QUrl::NormalizePathSegments));
32 }
33
34 inline bool operator==(const DocumentRange& rhs) const
35 {

Callers 6

documentrange.hFile · 0.70
invalidFunction · 0.70
finalLocationMethod · 0.50
readContentsMethod · 0.50
DeclarationContextMethod · 0.50
problemsForContextMethod · 0.50

Calls 1

toUrlMethod · 0.45

Tested by

no test coverage detected