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>.
|
Classes | |
struct | LastLintUpdate |
class | OpenDocument |
class | OpenDocumentSnapshot |
class | QmlLintSuggestions |
class | QQmlCodeModel |
class | QQmlLanguageServer |
Sets up a QmlLanguageServer. More... | |
struct | RegisteredSemanticTokens |
struct | ToIndex |
Typedefs | |
using | AdvanceFunc = qxp::function_ref<void(const QQmlJS::SourceLocation &, Position &)> |
Functions | |
static bool | isNotSeparator (char c) |
static DiagnosticSeverity | severityFromMsgType (QtMsgType t) |
static void | codeActionHandler (const QByteArray &, const CodeActionParams ¶ms, LSPPartialResponse< std::variant< QList< std::variant< Command, CodeAction > >, std::nullptr_t >, QList< std::variant< Command, CodeAction > > > &&response) |
static void | advancePositionPastLocation_helper (const QString &fileContents, const QQmlJS::SourceLocation &location, Position &position) |
static Diagnostic | createMissingBuildDirDiagnostic () |
static Diagnostic | messageToDiagnostic_helper (AdvanceFunc advancePositionPastLocation, std::optional< int > version, const Message &message) |
static bool | isSnapshotNew (std::optional< int > snapshotVersion, std::optional< int > processedVersion) |
using QmlLsp::AdvanceFunc = qxp::function_ref<void(const QQmlJS::SourceLocation &, Position &)> |
Definition at line 152 of file qqmllintsuggestions.cpp.
|
static |
Definition at line 113 of file qqmllintsuggestions.cpp.
References i, and position().
|
static |
Definition at line 44 of file qqmllintsuggestions.cpp.
References QByteArray::append(), QByteArray::chop(), codeActionHandler(), edit, textEdit, and QString::toUtf8().
Referenced by codeActionHandler(), and QmlLsp::QmlLintSuggestions::registerHandlers().
|
static |
Definition at line 133 of file qqmllintsuggestions.cpp.
References position(), and QByteArray().
|
static |
Definition at line 713 of file qqmlcodemodel.cpp.
Referenced by QmlLsp::QQmlCodeModel::buildPathsForFileUrl(), and QmlLsp::QQmlCodeModel::setBuildPathsForRootUrl().
|
static |
Definition at line 220 of file qqmllintsuggestions.cpp.
|
static |
Definition at line 153 of file qqmllintsuggestions.cpp.
References QJsonArray::append(), QString::append(), cut(), QJsonObject::insert(), line, position(), Q_ASSERT, QByteArray(), severityFromMsgType(), QString::simplified(), and QString::toUtf8().
|
static |
Definition at line 28 of file qqmllintsuggestions.cpp.
References QtCriticalMsg, QtDebugMsg, QtFatalMsg, QtInfoMsg, QtWarningMsg, and severityFromMsgType().
Referenced by messageToDiagnostic_helper(), and severityFromMsgType().