Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qqmlcodemodel.cpp File Reference

(a38edb538604a1e8e820fde0721309cba7b008b7)

#include "qqmlcodemodel_p.h"
#include "qqmllsplugin_p.h"
#include "qtextdocument_p.h"
#include "qqmllsutils_p.h"
#include <QtCore/qfileinfo.h>
#include <QtCore/qdir.h>
#include <QtCore/qthreadpool.h>
#include <QtCore/qlibraryinfo.h>
#include <QtCore/qprocess.h>
#include <QtCore/qdiriterator.h>
#include <QtQmlDom/private/qqmldomtop_p.h>
#include <QtQmlCompiler/private/qqmljsutils_p.h>
#include <memory>
#include <algorithm>
Include dependency graph for qqmlcodemodel.cpp:

Go to the source code of this file.

Namespaces

namespace  QmlLsp

Enumerations

enum  QmlLsp::VersionCheckResult {
  QmlLsp::ClosedDocument , QmlLsp::VersionLowerThanDocument , QmlLsp::VersionLowerThanSnapshot , QmlLsp::VersionOk ,
  QmlLsp::ClosedDocument , QmlLsp::VersionLowerThanDocument , QmlLsp::VersionLowerThanSnapshot , QmlLsp::VersionOk
}
enum  QmlLsp::VersionCheckResultForValidDocument { QmlLsp::VersionLowerThanValidSnapshot , QmlLsp::VersionOkForValidDocument , QmlLsp::VersionLowerThanValidSnapshot , QmlLsp::VersionOkForValidDocument }
enum  QmlLsp::VersionCheckResult {
  QmlLsp::ClosedDocument , QmlLsp::VersionLowerThanDocument , QmlLsp::VersionLowerThanSnapshot , QmlLsp::VersionOk ,
  QmlLsp::ClosedDocument , QmlLsp::VersionLowerThanDocument , QmlLsp::VersionLowerThanSnapshot , QmlLsp::VersionOk
}
enum  QmlLsp::VersionCheckResultForValidDocument { QmlLsp::VersionLowerThanValidSnapshot , QmlLsp::VersionOkForValidDocument , QmlLsp::VersionLowerThanValidSnapshot , QmlLsp::VersionOkForValidDocument }

Functions

VersionCheckResult QmlLsp::checkVersion (const OpenDocument &doc, int version)
static VersionCheckResultForValidDocument QmlLsp::checkVersionForValidDocument (const OpenDocument &doc, int version)
static void QmlLsp::updateItemInSnapshot (const DomItem &item, const DomItem &validItem, const QByteArray &url, OpenDocument *doc, int version, UpdatePolicy policy)
static QStringList QmlLsp::withDependentBuildDirectories (QStringList &&buildPaths)