![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
\inmodule QtQmlCompiler More...
Classes | |
| class | LoggerWarningId |
| \inmodule QtQmlCompiler More... | |
| class | Binding |
| \inmodule QtQmlCompiler More... | |
| class | Method |
| \inmodule QtQmlCompiler More... | |
| class | Property |
| \inmodule QtQmlCompiler More... | |
| class | Element |
| \inmodule QtQmlCompiler More... | |
| class | GenericPass |
| \inmodule QtQmlCompiler More... | |
| class | PassManager |
| \inmodule QtQmlCompiler More... | |
| class | LintPlugin |
| \inmodule QtQmlCompiler More... | |
| class | PropertyPass |
| \inmodule QtQmlCompiler More... | |
| class | ElementPass |
| \inmodule QtQmlCompiler More... | |
| class | DocumentEdit |
| \inmodule QtQmlCompiler More... | |
| class | FixSuggestion |
| \inmodule QtQmlCompiler More... | |
| struct | PropertyPassInvocation |
| class | BindingsPrivate |
| class | BindingPrivate |
| class | MethodPrivate |
| class | MethodsPrivate |
| class | PropertyPrivate |
| \inmodule QtQmlCompiler More... | |
| class | PassManagerPrivate |
| class | FixSuggestionPrivate |
| class | DocumentEditPrivate |
| struct | GenericPropertyPass |
| class | PropertyPassBuilder |
| class | GenericPassPrivate |
| class | SourceLocation |
| \inmodule QtQmlCompiler More... | |
| class | SourceLocationPrivate |
Functions | |
| constexpr bool | isFunctionScope (ScopeType type) |
| bool | isRegularBindingType (BindingType type) |
| Q_QMLCOMPILER_EXPORT void | emitWarningWithOptionalFix (GenericPass &pass, QAnyStringView diagnostic, const LoggerWarningId &id, const QQmlSA::SourceLocation &srcLocation, const std::optional< QQmlJSFixSuggestion > &fixSuggestion) |
| static QString | lookupName (const QQmlSA::Element &element, LookupMode mode=Lookup) |
| static QQmlJS::ChildScopesIterator | childScopesBegin (const Element &element) |
| static QQmlJS::ChildScopesIterator | childScopesEnd (const Element &element) |
\inmodule QtQmlCompiler
Provides tools for static analysis on QML programs.
|
strong |
|
strong |
| Enumerator | |
|---|---|
| Invalid | |
| BoolLiteral | |
| NumberLiteral | |
| StringLiteral | |
| RegExpLiteral | |
| Null | |
| Translation | |
| TranslationById | |
| Script | |
| Object | |
| Interceptor | |
| ValueSource | |
| AttachedProperty | |
| GroupProperty | |
Definition at line 14 of file qqmlsaconstants.h.
|
strong |
| Enumerator | |
|---|---|
| Creatable | |
| Composite | |
| Singleton | |
| Script | |
| CustomParser | |
| Array | |
| InlineComponent | |
| WrappedInImplicitComponent | |
| HasBaseTypeError | |
| HasExtensionNamespace | |
| IsListProperty | |
Definition at line 34 of file qqmlsa_p.h.
| enum QQmlSA::LookupMode |
| Enumerator | |
|---|---|
| Register | |
| Lookup | |
| Register | |
| Lookup | |
Definition at line 1457 of file qqmlsa.cpp.
| enum QQmlSA::LookupMode |
| Enumerator | |
|---|---|
| Register | |
| Lookup | |
| Register | |
| Lookup | |
Definition at line 1457 of file qqmlsa.cpp.
|
strong |
|
strong |
| Enumerator | |
|---|---|
| JSFunctionScope | |
| JSLexicalScope | |
| QMLScope | |
| GroupedPropertyScope | |
| AttachedPropertyScope | |
| EnumScope | |
| BindingFunctionScope | |
| SignalHandlerFunctionScope | |
Definition at line 38 of file qqmlsaconstants.h.
|
strong |
| Enumerator | |
|---|---|
| Invalid | |
| PropertyBinding | |
| SignalHandler | |
| ChangeHandler | |
Definition at line 31 of file qqmlsaconstants.h.
|
strong |
\inmodule QtQmlCompiler
Holds the possible severity levels of diagnostics messages for a logging category. \value Error Messages emitted by this logging category will cause an error. \value Warning Messages emitted by this logging category are warnings. No error is produced unless the \l{qmllint#Settings}{MaxWarnings} setting is set and exceeded. \value Info Messages emitted by this logging category are purely informative and do not count towards \l{qmllint#Settings}{MaxWarnings}. \value Disable This logging category will not emit any messages.
| Enumerator | |
|---|---|
| Disable | |
| Info | |
| Warning | |
| Error | |
Definition at line 19 of file qqmljsloggingutils.h.
|
static |
Definition at line 1613 of file qqmlsa.cpp.
|
static |
Definition at line 1618 of file qqmlsa.cpp.
| void QQmlSA::emitWarningWithOptionalFix | ( | GenericPass & | pass, |
| QAnyStringView | diagnostic, | ||
| const LoggerWarningId & | id, | ||
| const QQmlSA::SourceLocation & | srcLocation, | ||
| const std::optional< QQmlJSFixSuggestion > & | fixSuggestion ) |
Definition at line 2350 of file qqmlsa.cpp.
|
inlineconstexpr |
Definition at line 715 of file qqmljsscope_p.h.
References BindingFunctionScope, JSFunctionScope, and SignalHandlerFunctionScope.
| bool QQmlSA::isRegularBindingType | ( | BindingType | type | ) |
Definition at line 2364 of file qqmlsa.cpp.
References BoolLiteral, and Object.
|
static |
Definition at line 1458 of file qqmlsa.cpp.
References Register.