• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdevelop API Reference
  • KDE Home
  • Contact Us
 

kdevplatform/language/backgroundparser

Classes | Typedefs | Functions
KDevelop Namespace Reference

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 Cursor KDevelop::cursorAdd ( Cursor  c,
const QString &  text 
)
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

KDE's Doxygen guidelines are available online.

kdevplatform/language/backgroundparser

Skip menu "kdevplatform/language/backgroundparser"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdevelop API Reference

Skip menu "kdevelop API Reference"
  • kdevplatform
  •   debugger
  •   documentation
  •   interfaces
  •   language
  •     assistant
  •     backgroundparser
  •     checks
  •     classmodel
  •     codecompletion
  •     codegen
  •     duchain
  •     editor
  •     highlighting
  •     interfaces
  •     util
  •   outputview
  •   project
  •   serialization
  •   shell
  •   sublime
  •   tests
  •   util
  •   vcs

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal