(25df77b5b3ba014bdd5c64269c8a8a250dab7b00)
#include <QtLanguageServer/private/qlanguageserverspectypes_p.h>
#include <QtQmlDom/private/qqmldomexternalitems_p.h>
#include <QtQmlDom/private/qqmldomtop_p.h>
#include <algorithm>
#include <optional>
#include <tuple>
#include <variant>
Go to the source code of this file.
|
enum | QQmlLSUtilsIdentifierType : char {
JavaScriptIdentifier
, PropertyIdentifier
, PropertyChangedSignalIdentifier
, PropertyChangedHandlerIdentifier
,
SignalIdentifier
, SignalHandlerIdentifier
, MethodIdentifier
, QmlObjectIdIdentifier
,
SingletonIdentifier
, EnumeratorIdentifier
, EnumeratorValueIdentifier
, AttachedTypeIdentifier
,
GroupedPropertyIdentifier
, QmlComponentIdentifier
} |
|
enum | QQmlLSUtilsResolveOptions { ResolveOwnerType
, ResolveActualTypeForFieldMemberExpression
} |
|
enum class | ImportCompletionType { None
, Module
, Version
} |
|
◆ DomItem
◆ ImportCompletionType
◆ QQmlLSUtilsIdentifierType
Enumerator |
---|
JavaScriptIdentifier | |
PropertyIdentifier | |
PropertyChangedSignalIdentifier | |
PropertyChangedHandlerIdentifier | |
SignalIdentifier | |
SignalHandlerIdentifier | |
MethodIdentifier | |
QmlObjectIdIdentifier | |
SingletonIdentifier | |
EnumeratorIdentifier | |
EnumeratorValueIdentifier | |
AttachedTypeIdentifier | |
GroupedPropertyIdentifier | |
QmlComponentIdentifier | |
Definition at line 42 of file qqmllsutils_p.h.
◆ QQmlLSUtilsResolveOptions
Choose whether to resolve the owner type or the entire type (the latter is only required to resolve the types of qualified names and property accesses).
For properties, methods, enums and co: ResolveOwnerType returns the base type of the owner that owns the property, method, enum and co. For example, resolving "x" in "myRectangle.x" will return the Item as the owner, as Item is the base type of Rectangle that defines the "x" property. ResolveActualTypeForFieldMemberExpression is used to resolve field member expressions, and might lose some information about the owner. For example, resolving "x" in "myRectangle.x" will return the JS type for float that was used to define the "x" property.
Enumerator |
---|
ResolveOwnerType | |
ResolveActualTypeForFieldMemberExpression | |
Definition at line 125 of file qqmllsutils_p.h.
◆ Q_DECLARE_LOGGING_CATEGORY()