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
qqmlsemantictokens.cpp File Reference

(6f8b21866df9b684b952d0bc2c798ec9eab28b96)

#include <qqmlsemantictokens_p.h>
#include <QtQmlLS/private/qqmllsutils_p.h>
#include <QtQmlDom/private/qqmldomscriptelements_p.h>
#include <QtQmlDom/private/qqmldomfieldfilter_p.h>
#include <QtLanguageServer/private/qlanguageserverprotocol_p.h>
Include dependency graph for qqmlsemantictokens.cpp:

Go to the source code of this file.

Namespaces

namespace  QmlHighlighting

Functions

static int QmlHighlighting::mapToProtocolForQtCreator (QmlHighlightKind highlightKind)
static int QmlHighlighting::mapToProtocolDefault (QmlHighlightKind highlightKind)
static std::optional< QmlHighlightKindQmlHighlighting::resolveJsGlobalObjectKind (const DomItem &item, const QString &name)
 Further resolves the type of a JavaScriptIdentifier A global object can be in the object form or in the function form. For example, Date can be used as a constructor function (like new Date()) or as a object (like Date.now()).
static int QmlHighlighting::fromQmlModifierKindToLspTokenType (QmlHighlightModifiers highlightModifier)
static FieldFilter QmlHighlighting::highlightingFilter ()