Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#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::ConstPtr | scope |
Definition at line 36 of file qqmlcodemodel_p.h.
|
strong |
Enumerator | |
---|---|
NoCode | |
LatestCode | |
ValidCode | |
AllCode |
Definition at line 39 of file qqmlcodemodel_p.h.
QDebug QmlLsp::OpenDocumentSnapshot::dump | ( | QDebug | dbg, |
DumpOptions | dump = DumpOption::NoCode ) |
Definition at line 871 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 49 of file qqmlcodemodel_p.h.
Referenced by CompletionRequest::completions(), dump(), QQmlBaseModule< RequestType >::itemsForRequest(), QmlLsp::QQmlCodeModel::newDocForOpenFile(), QQmlDocumentFormatting::process(), and QQmlRangeFormatting::process().
std::optional<int> QmlLsp::OpenDocumentSnapshot::docVersion |
Definition at line 48 of file qqmlcodemodel_p.h.
Referenced by CompletionRequest::completions(), dump(), QQmlBaseModule< RequestType >::itemsForRequest(), QmlLsp::QQmlCodeModel::newDocForOpenFile(), QQmlBaseModule< RequestType >::requestHandler(), and QQmlBaseModule< RequestType >::updatedSnapshot().
QQmlJSScope::ConstPtr QmlLsp::OpenDocumentSnapshot::scope |
Definition at line 55 of file qqmlcodemodel_p.h.
bool QmlLsp::OpenDocumentSnapshot::scopeDependenciesChanged = false |
Definition at line 54 of file qqmlcodemodel_p.h.
Referenced by dump().
QDateTime QmlLsp::OpenDocumentSnapshot::scopeDependenciesLoadTime |
Definition at line 53 of file qqmlcodemodel_p.h.
Referenced by dump().
std::optional<int> QmlLsp::OpenDocumentSnapshot::scopeVersion |
Definition at line 52 of file qqmlcodemodel_p.h.
Referenced by dump().
QStringList QmlLsp::OpenDocumentSnapshot::searchPath |
Definition at line 46 of file qqmlcodemodel_p.h.
QByteArray QmlLsp::OpenDocumentSnapshot::url |
Definition at line 47 of file qqmlcodemodel_p.h.
Referenced by dump().
QQmlJS::Dom::DomItem QmlLsp::OpenDocumentSnapshot::validDoc |
Definition at line 51 of file qqmlcodemodel_p.h.
Referenced by CompletionRequest::completions(), dump(), QQmlBaseModule< RequestType >::itemsForRequest(), and QmlLsp::QQmlCodeModel::newDocForOpenFile().
std::optional<int> QmlLsp::OpenDocumentSnapshot::validDocVersion |
Definition at line 50 of file qqmlcodemodel_p.h.
Referenced by CompletionRequest::completions(), dump(), QQmlBaseModule< RequestType >::itemsForRequest(), and QmlLsp::QQmlCodeModel::newDocForOpenFile().