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
QmlLsp::OpenDocumentSnapshot Class Reference

#include <qqmlcodemodel_p.h>

Collaboration diagram for QmlLsp::OpenDocumentSnapshot:

Public Types

enum class  DumpOption { NoCode = 0 , LatestCode = 0x1 , ValidCode = 0x2 , AllCode = LatestCode | ValidCode }

Public Member Functions

QDebug dump (QDebug dbg, DumpOptions dump=DumpOption::NoCode)

Public Attributes

QStringList searchPath
QByteArray url
std::optional< int > docVersion
QQmlJS::Dom::DomItem doc
std::optional< int > validDocVersion
QQmlJS::Dom::DomItem validDoc
QDateTime scopeDependenciesLoadTime
bool scopeDependenciesChanged = false
QQmlJSScope::ConstPtr scope

Detailed Description

Definition at line 39 of file qqmlcodemodel_p.h.

Member Enumeration Documentation

◆ DumpOption

Enumerator
NoCode 
LatestCode 
ValidCode 
AllCode 

Definition at line 42 of file qqmlcodemodel_p.h.

Member Function Documentation

◆ dump()

QDebug QmlLsp::OpenDocumentSnapshot::dump ( QDebug dbg,
DumpOptions dump = DumpOption::NoCode )

Definition at line 730 of file qqmlcodemodel.cpp.

References LatestCode, scopeDependenciesChanged, and ValidCode.

Member Data Documentation

◆ doc

QQmlJS::Dom::DomItem QmlLsp::OpenDocumentSnapshot::doc

Definition at line 52 of file qqmlcodemodel_p.h.

◆ docVersion

std::optional<int> QmlLsp::OpenDocumentSnapshot::docVersion

Definition at line 51 of file qqmlcodemodel_p.h.

◆ scope

QQmlJSScope::ConstPtr QmlLsp::OpenDocumentSnapshot::scope

Definition at line 57 of file qqmlcodemodel_p.h.

◆ scopeDependenciesChanged

bool QmlLsp::OpenDocumentSnapshot::scopeDependenciesChanged = false

Definition at line 56 of file qqmlcodemodel_p.h.

Referenced by dump().

◆ scopeDependenciesLoadTime

QDateTime QmlLsp::OpenDocumentSnapshot::scopeDependenciesLoadTime

Definition at line 55 of file qqmlcodemodel_p.h.

◆ searchPath

QStringList QmlLsp::OpenDocumentSnapshot::searchPath

Definition at line 49 of file qqmlcodemodel_p.h.

◆ url

QByteArray QmlLsp::OpenDocumentSnapshot::url

Definition at line 50 of file qqmlcodemodel_p.h.

◆ validDoc

QQmlJS::Dom::DomItem QmlLsp::OpenDocumentSnapshot::validDoc

Definition at line 54 of file qqmlcodemodel_p.h.

◆ validDocVersion

std::optional<int> QmlLsp::OpenDocumentSnapshot::validDocVersion

Definition at line 53 of file qqmlcodemodel_p.h.


The documentation for this class was generated from the following files: