![]() |
Qt 6.x
The Qt SDK
|
#include <qqmlcodemodel_p.h>
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 |
std::optional< int > | scopeVersion |
QDateTime | scopeDependenciesLoadTime |
bool | scopeDependenciesChanged = false |
QQmlJSScope::Ptr | scope = {} |
Definition at line 34 of file qqmlcodemodel_p.h.
|
strong |
Enumerator | |
---|---|
NoCode | |
LatestCode | |
ValidCode | |
AllCode |
Definition at line 37 of file qqmlcodemodel_p.h.
QDebug QmlLsp::OpenDocumentSnapshot::dump | ( | QDebug | dbg, |
DumpOptions | dump = DumpOption::NoCode |
||
) |
Definition at line 682 of file qqmlcodemodel.cpp.
References doc, docVersion, QQmlJS::Dom::DomItem::field(), QString::fromUtf8(), LatestCode, QString::number(), scopeDependenciesChanged, scopeDependenciesLoadTime, scopeVersion, QString::size(), QCborValue::toString(), url, ValidCode, validDoc, validDocVersion, and QQmlJS::Dom::DomItem::value().
Referenced by QmlLsp::QQmlCodeModel::newDocForOpenFile().
QQmlJS::Dom::DomItem QmlLsp::OpenDocumentSnapshot::doc |
Definition at line 47 of file qqmlcodemodel_p.h.
Referenced by QmlLsp::QmlLintSuggestions::diagnose(), dump(), QQmlBaseModule< RequestType >::itemsForRequest(), QmlLsp::QQmlCodeModel::newDocForOpenFile(), and QQmlDocumentFormatting::process().
std::optional<int> QmlLsp::OpenDocumentSnapshot::docVersion |
Definition at line 46 of file qqmlcodemodel_p.h.
Referenced by CompletionRequest::completions(), QmlLsp::QmlLintSuggestions::diagnose(), dump(), QmlLsp::QQmlCodeModel::newDocForOpenFile(), QQmlBaseModule< RequestType >::requestHandler(), and QQmlBaseModule< RequestType >::updatedSnapshot().
QQmlJSScope::Ptr QmlLsp::OpenDocumentSnapshot::scope = {} |
Definition at line 53 of file qqmlcodemodel_p.h.
bool QmlLsp::OpenDocumentSnapshot::scopeDependenciesChanged = false |
Definition at line 52 of file qqmlcodemodel_p.h.
Referenced by dump().
QDateTime QmlLsp::OpenDocumentSnapshot::scopeDependenciesLoadTime |
Definition at line 51 of file qqmlcodemodel_p.h.
Referenced by dump().
std::optional<int> QmlLsp::OpenDocumentSnapshot::scopeVersion |
Definition at line 50 of file qqmlcodemodel_p.h.
Referenced by dump().
QStringList QmlLsp::OpenDocumentSnapshot::searchPath |
Definition at line 44 of file qqmlcodemodel_p.h.
QByteArray QmlLsp::OpenDocumentSnapshot::url |
Definition at line 45 of file qqmlcodemodel_p.h.
Referenced by dump().
QQmlJS::Dom::DomItem QmlLsp::OpenDocumentSnapshot::validDoc |
Definition at line 49 of file qqmlcodemodel_p.h.
Referenced by CompletionRequest::completions(), QmlLsp::QmlLintSuggestions::diagnose(), dump(), QQmlBaseModule< RequestType >::itemsForRequest(), and QmlLsp::QQmlCodeModel::newDocForOpenFile().
std::optional<int> QmlLsp::OpenDocumentSnapshot::validDocVersion |
Definition at line 48 of file qqmlcodemodel_p.h.
Referenced by CompletionRequest::completions(), QmlLsp::QmlLintSuggestions::diagnose(), dump(), and QmlLsp::QQmlCodeModel::newDocForOpenFile().