![]() |
Qt 6.x
The Qt SDK
|
#include <private/qqmljslogger_p.h>
#include <private/qqmlsa_p.h>
#include <QtQmlCompiler/qqmljsloggingutils.h>
#include <QtCore/qglobal.h>
#include <QtCore/qfile.h>
#include <QtCore/qfileinfo.h>
#include <QtCore/qlist.h>
Go to the source code of this file.
Functions | |
static bool | isMsgTypeLess (QtMsgType a, QtMsgType b) |
Definition at line 223 of file qqmljslogger.cpp.
References QtCriticalMsg, QtDebugMsg, QtFatalMsg, QtInfoMsg, and QtWarningMsg.
const QQmlJS::LoggerWarningId qmlAccessSingleton { "access-singleton-via-object" } |
Definition at line 58 of file qqmljslogger.cpp.
Referenced by QQmlJSLogger::defaultCategories().
const QQmlJS::LoggerWarningId qmlAliasCycle { "alias-cycle" } |
Definition at line 27 of file qqmljslogger.cpp.
Referenced by QQmlJSLogger::defaultCategories().
const QQmlJS::LoggerWarningId qmlAttachedPropertyReuse { "attached-property-reuse" } |
Definition at line 53 of file qqmljslogger.cpp.
Referenced by QQmlJSLogger::defaultCategories(), and QmlLintQuickPlugin::registerPasses().
const QQmlJS::LoggerWarningId qmlCompiler { "compiler" } |
Definition at line 52 of file qqmljslogger.cpp.
Referenced by QQmlJSLogger::defaultCategories(), QQmlJSAotCompiler::diagnose(), QQmlJSTypeResolver::genericType(), QQmlJSTypeResolver::memberType(), QQmlJSTypeResolver::registerContentForName(), and QQmlJSImportVisitor::visit().
const QQmlJS::LoggerWarningId qmlDeferredPropertyId { "deferred-property-id" } |
Definition at line 45 of file qqmljslogger.cpp.
Referenced by QQmlJSLogger::defaultCategories(), and QQmlJSImportVisitor::endVisit().
const QQmlJS::LoggerWarningId qmlDeprecated { "deprecated" } |
Definition at line 33 of file qqmljslogger.cpp.
Referenced by QQmlJSImportVisitor::checkDeprecation(), QQmlJSLogger::defaultCategories(), and QQmlJSImportVisitor::processPropertyBindings().
const QQmlJS::LoggerWarningId qmlDuplicatedName { "duplicated-name" } |
Definition at line 44 of file qqmljslogger.cpp.
Referenced by QQmlJSLogger::defaultCategories(), and QQmlJSImportVisitor::visit().
const QQmlJS::LoggerWarningId qmlDuplicatePropertyBinding { "duplicate-property-binding" } |
Definition at line 43 of file qqmljslogger.cpp.
Referenced by QQmlJSLogger::defaultCategories(), and QQmlJSImportVisitor::processPropertyBindingObjects().
const QQmlJS::LoggerWarningId qmlImport { "import" } |
Definition at line 29 of file qqmljslogger.cpp.
Referenced by QQmlJSImportVisitor::breakInheritanceCycles(), QQmlJSLogger::defaultCategories(), QQmlJSLinter::lintFile(), QQmlJSLinter::lintModule(), QQmlJSImportVisitor::processPropertyTypes(), and QQmlJSImportVisitor::visit().
const QQmlJS::LoggerWarningId qmlIncompatibleType { "incompatible-type" } |
Definition at line 39 of file qqmljslogger.cpp.
Referenced by QQmlJSLogger::defaultCategories(), QQmlJSTypePropagator::generate_Ret(), QQmlJSImportVisitor::processDefaultProperties(), QQmlJSImportVisitor::processPropertyBindingObjects(), and QQmlJSLiteralBindingCheck::run().
const QQmlJS::LoggerWarningId qmlInheritanceCycle { "inheritance-cycle" } |
Definition at line 32 of file qqmljslogger.cpp.
Referenced by QQmlJSImportVisitor::breakInheritanceCycles(), and QQmlJSLogger::defaultCategories().
const QQmlJS::LoggerWarningId qmlInvalidLintDirective { "invalid-lint-directive" } |
Definition at line 56 of file qqmljslogger.cpp.
Referenced by QQmlJSLogger::defaultCategories().
const QQmlJS::LoggerWarningId qmlMissingEnumEntry { "missing-enum-entry" } |
Definition at line 61 of file qqmljslogger.cpp.
Referenced by QQmlJSTypePropagator::checkForEnumProblems().
const QQmlJS::LoggerWarningId qmlMissingProperty { "missing-property" } |
const QQmlJS::LoggerWarningId qmlMissingType { "missing-type" } |
Definition at line 35 of file qqmljslogger.cpp.
Referenced by QQmlJSLogger::defaultCategories(), and QQmlJSImportVisitor::processPropertyBindings().
const QQmlJS::LoggerWarningId qmlMultilineStrings { "multiline-strings" } |
Definition at line 48 of file qqmljslogger.cpp.
Referenced by QQmlJSLogger::defaultCategories(), and QQmlJSImportVisitor::visit().
const QQmlJS::LoggerWarningId qmlNonListProperty { "non-list-property" } |
Definition at line 41 of file qqmljslogger.cpp.
Referenced by QQmlJSLogger::defaultCategories(), and QQmlJSImportVisitor::processDefaultProperties().
const QQmlJS::LoggerWarningId qmlPlugin { "plugin" } |
Definition at line 54 of file qqmljslogger.cpp.
Referenced by QQmlJSLogger::defaultCategories(), QQmlSA::DebugPropertyPass::onBinding(), QQmlSA::DebugPropertyPass::onRead(), QQmlSA::DebugPropertyPass::onWrite(), and QQmlSA::DebugElementPass::run().
const QQmlJS::LoggerWarningId qmlPrefixedImportType { "prefixed-import-type" } |
Definition at line 38 of file qqmljslogger.cpp.
Referenced by QQmlJSLogger::defaultCategories(), and QQmlJSTypeResolver::memberType().
const QQmlJS::LoggerWarningId qmlReadOnlyProperty { "read-only-property" } |
Definition at line 42 of file qqmljslogger.cpp.
Referenced by QQmlJSLogger::defaultCategories(), QQmlJSTypePropagator::generate_StoreNameCommon(), QQmlJSTypePropagator::generate_StoreProperty(), and QQmlJSLiteralBindingCheck::run().
const QQmlJS::LoggerWarningId qmlRecursionDepthErrors { "recursion-depth-errors" } |
Definition at line 30 of file qqmljslogger.cpp.
Referenced by QQmlJSLogger::defaultCategories(), and QQmlJSImportVisitor::throwRecursionDepthError().
const QQmlJS::LoggerWarningId qmlRequired { "required" } |
Definition at line 26 of file qqmljslogger.cpp.
Referenced by QQmlJSImportVisitor::checkRequiredProperties(), and QQmlJSLogger::defaultCategories().
const QQmlJS::LoggerWarningId qmlRestrictedType { "restricted-type" } |
Definition at line 37 of file qqmljslogger.cpp.
Referenced by QQmlJSTypePropagator::checkForEnumProblems(), and QQmlJSLogger::defaultCategories().
const QQmlJS::LoggerWarningId qmlSignalParameters { "signal-handler-parameters" } |
Definition at line 34 of file qqmljslogger.cpp.
Referenced by QQmlJSLogger::defaultCategories().
const QQmlJS::LoggerWarningId qmlSyntax { "syntax" } |
Definition at line 49 of file qqmljslogger.cpp.
Referenced by QQmlJSLogger::defaultCategories(), QQmlJSImportVisitor::endVisit(), QQmlJSImportVisitor::endVisit(), QQmlJSLinter::lintFile(), QQmlJSImportVisitor::visit(), QQmlJSImportVisitor::visit(), QQmlJSImportVisitor::visit(), and QQmlJSImportVisitor::visit().
const QQmlJS::LoggerWarningId qmlSyntaxDuplicateIds { "syntax.duplicate-ids" } |
Definition at line 51 of file qqmljslogger.cpp.
Referenced by QQmlJSLogger::defaultCategories().
const QQmlJS::LoggerWarningId qmlSyntaxIdQuotation { "syntax.id-quotation" } |
Definition at line 50 of file qqmljslogger.cpp.
Referenced by QQmlJSLogger::defaultCategories().
const QQmlJS::LoggerWarningId qmlTopLevelComponent { "top-level-component" } |
Definition at line 59 of file qqmljslogger.cpp.
Referenced by QQmlJSLogger::defaultCategories(), and QQmlJSImportVisitor::visit().
const QQmlJS::LoggerWarningId qmlUncreatableType { "uncreatable-type" } |
Definition at line 60 of file qqmljslogger.cpp.
Referenced by QQmlJSLogger::defaultCategories(), and QQmlJSImportVisitor::visit().
const QQmlJS::LoggerWarningId qmlUnqualified { "unqualified" } |
Definition at line 46 of file qqmljslogger.cpp.
Referenced by QQmlJSImportVisitor::checkGroupedAndAttachedScopes(), and QQmlJSLogger::defaultCategories().
const QQmlJS::LoggerWarningId qmlUnresolvedAlias { "unresolved-alias" } |
Definition at line 28 of file qqmljslogger.cpp.
Referenced by QQmlJSLogger::defaultCategories().
const QQmlJS::LoggerWarningId qmlUnresolvedType { "unresolved-type" } |
Definition at line 36 of file qqmljslogger.cpp.
Referenced by QQmlJSLogger::defaultCategories(), QQmlJSImportVisitor::isTypeResolved(), QQmlJSLinter::lintModule(), QQmlJSImportVisitor::processPropertyBindingObjects(), and QQmlJSImportVisitor::setAllBindings().
const QQmlJS::LoggerWarningId qmlUnusedImports { "unused-imports" } |
Definition at line 47 of file qqmljslogger.cpp.
Referenced by QQmlJSLogger::defaultCategories(), and QQmlJSImportVisitor::endVisit().
const QQmlJS::LoggerWarningId qmlUseProperFunction { "use-proper-function" } |
Definition at line 57 of file qqmljslogger.cpp.
Referenced by QQmlJSLogger::defaultCategories().
const QQmlJS::LoggerWarningId qmlVarUsedBeforeDeclaration { "var-used-before-declaration" } |
Definition at line 55 of file qqmljslogger.cpp.
Referenced by QQmlJSLogger::defaultCategories(), and CodegenWarningInterface::reportVarUsedBeforeDeclaration().
const QQmlJS::LoggerWarningId qmlWith { "with" } |
Definition at line 31 of file qqmljslogger.cpp.
Referenced by QQmlJSLogger::defaultCategories(), and QQmlJSImportVisitor::visit().