kdevplatform/language/backgroundparser
Classes | |
class | BackgroundParser |
class | DocumentChangeTracker |
class | ParseJob |
class | ParseProjectJob |
class | RevisionLockerAndClearer |
class | UrlParseLock |
Typedefs | |
using | RevisionReference = RevisionLockerAndClearer::Ptr |
Functions | |
static Cursor | cursorAdd (Cursor c, const QString &text) |
Detailed Description
- Todo:
- Track the exact changes to the document, and then: Do not reparse if:
- Comment added/changed
- Newlines added/changed (ready) Complete the document for validation:
- Incomplete for-loops
- ...
Only reparse after a statement was completed (either with statement-completion or manually), or after the cursor was switched away Incremental parsing:
- All changes within a local function (or function parameter context): Update only the context (and all its importers)
- Todo:
- : Prevent recursive updates after insignificant changes (whitespace changes, or changes that don't affect publically visible stuff, eg. local incremental changes) -> Maybe alter the file-modification caches directly
Typedef Documentation
◆ RevisionReference
using KDevelop::RevisionReference = typedef RevisionLockerAndClearer::Ptr |
Definition at line 127 of file documentchangetracker.h.
Function Documentation
◆ cursorAdd()
|
static |
Definition at line 167 of file documentchangetracker.cpp.
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 25 2021 23:36:35 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 25 2021 23:36:35 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.