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>.
|
#include <qqmljslogger_p.h>
Static Public Member Functions | |
static const QList< QQmlJS::LoggerCategory > & | defaultCategories () |
Friends | |
class | QQmlJSAotCompiler |
Definition at line 114 of file qqmljslogger_p.h.
QQmlJSLogger::QQmlJSLogger | ( | ) |
Definition at line 65 of file qqmljslogger.cpp.
References QColorOutput::BlueForeground, category(), defaultCategories(), QColorOutput::GreenForeground, QColorOutput::insertMapping(), QColorOutput::PurpleForeground, QtCriticalMsg, QtDebugMsg, QtInfoMsg, QtWarningMsg, QColorOutput::RedForeground, and registerCategory().
|
default |
QList< QQmlJS::LoggerCategory > QQmlJSLogger::categories | ( | ) | const |
Definition at line 208 of file qqmljslogger.cpp.
References QMap< Key, T >::values().
|
inline |
Definition at line 133 of file qqmljslogger_p.h.
|
inline |
Definition at line 196 of file qqmljslogger_p.h.
Referenced by QQmlJSImportVisitor::visit().
|
static |
Definition at line 79 of file qqmljslogger.cpp.
References QQmlSA::LoggerWarningId::name(), qmlAccessSingleton, qmlAliasCycle, qmlAttachedPropertyReuse, qmlCompiler, qmlDeferredPropertyId, qmlDeprecated, qmlDuplicatedName, qmlDuplicatePropertyBinding, qmlImport, qmlIncompatibleType, qmlInheritanceCycle, qmlInvalidLintDirective, qmlMissingProperty, qmlMissingType, qmlMultilineStrings, qmlNonListProperty, qmlPlugin, qmlPrefixedImportType, qmlReadOnlyProperty, qmlRecursionDepthErrors, qmlRequired, qmlRestrictedType, qmlSignalParameters, qmlSyntax, qmlSyntaxDuplicateIds, qmlSyntaxIdQuotation, qmlTopLevelComponent, qmlUncreatableType, qmlUnqualified, qmlUnresolvedAlias, qmlUnresolvedType, qmlUnusedImports, qmlUseProperFunction, qmlVarUsedBeforeDeclaration, qmlWith, QStringLiteral, QtCriticalMsg, QtInfoMsg, QtWarningMsg, and QAnyStringView::toString().
Referenced by QQmlJSLogger().
Definition at line 131 of file qqmljslogger_p.h.
Referenced by QQmlJSLinter::applyFixes().
|
inline |
Definition at line 199 of file qqmljslogger_p.h.
Referenced by QQmlJSLinter::applyFixes(), and QQmlJSLinter::lintFile().
|
inline |
Definition at line 127 of file qqmljslogger_p.h.
Referenced by QQmlJSLinter::lintFile(), and QQmlJSLinter::lintModule().
|
inline |
Definition at line 126 of file qqmljslogger_p.h.
Referenced by QQmlJSLinter::lintFile(), and QQmlJSLinter::lintModule().
Definition at line 187 of file qqmljslogger_p.h.
References line.
Definition at line 129 of file qqmljslogger_p.h.
Referenced by QQmlJSLinter::applyFixes().
|
inline |
Definition at line 153 of file qqmljslogger_p.h.
Referenced by QQmlJSAotCompiler::diagnose().
|
inline |
Definition at line 143 of file qqmljslogger_p.h.
Referenced by processMessages().
|
inline |
Definition at line 193 of file qqmljslogger_p.h.
|
inline |
Logs message with severity deduced from category. Prefer using this function in most cases.
Definition at line 175 of file qqmljslogger_p.h.
Referenced by QQmlJSImportVisitor::breakInheritanceCycles(), QQmlJSImportVisitor::checkDeprecation(), QQmlJSTypePropagator::checkForEnumProblems(), QQmlJSImportVisitor::checkGroupedAndAttachedScopes(), QQmlJSImportVisitor::checkRequiredProperties(), QQmlJSAotCompiler::diagnose(), QQmlJSImportVisitor::endVisit(), QQmlJSImportVisitor::endVisit(), QQmlJSImportVisitor::endVisit(), QQmlJSImportVisitor::endVisit(), QQmlJSTypePropagator::generate_CallProperty(), QQmlJSTypePropagator::generate_Ret(), QQmlJSTypePropagator::generate_StoreNameCommon(), QQmlJSTypePropagator::generate_StoreProperty(), QQmlJSTypeResolver::genericType(), QQmlJSImportVisitor::isTypeResolved(), QQmlJSLinter::lintFile(), QQmlJSLinter::lintModule(), logLowerCaseImport(), QQmlJSTypeResolver::memberType(), QQmlJSTypeResolver::memberType(), QQmlJSImportVisitor::processDefaultProperties(), processMessages(), QQmlJSImportVisitor::processMethodTypes(), QQmlJSImportVisitor::processPropertyBindingObjects(), QQmlJSImportVisitor::processPropertyBindings(), QQmlJSImportVisitor::processPropertyTypes(), QQmlJSTypeResolver::registerContentForName(), CodegenWarningInterface::reportVarUsedBeforeDeclaration(), QQmlJSImportVisitor::setAllBindings(), QQmlJSImportVisitor::throwRecursionDepthError(), QQmlJSImportVisitor::visit(), QQmlJSImportVisitor::visit(), QQmlJSImportVisitor::visit(), QQmlJSImportVisitor::visit(), QQmlJSImportVisitor::visit(), QQmlJSImportVisitor::visit(), QQmlJSImportVisitor::visit(), and QQmlJSImportVisitor::visit().
void QQmlJSLogger::processMessages | ( | const QList< QQmlJS::DiagnosticMessage > & | messages, |
const QQmlJS::LoggerWarningId | id ) |
Definition at line 292 of file qqmljslogger.cpp.
References isCategoryIgnored(), log(), QStringLiteral, and QColorOutput::write().
Referenced by QQmlJSLinter::lintFile(), and QQmlJSLinter::lintModule().
void QQmlJSLogger::registerCategory | ( | const QQmlJS::LoggerCategory & | category | ) |
Definition at line 213 of file qqmljslogger.cpp.
References category(), QMap< Key, T >::contains(), QMap< Key, T >::insert(), and qWarning.
Referenced by QQmlJSLogger(), and QQmlJSLinter::lintFile().
|
inline |
Definition at line 157 of file qqmljslogger_p.h.
References error.
|
inline |
Definition at line 147 of file qqmljslogger_p.h.
References error.
Referenced by QQmlJSLinter::lintFile(), and QQmlJSImportVisitor::visit().
|
inline |
Definition at line 137 of file qqmljslogger_p.h.
Referenced by QQmlJSLinter::lintFile(), and QQmlJSImportVisitor::visit().
Definition at line 195 of file qqmljslogger_p.h.
Referenced by QQmlJSLinter::lintFile(), QQmlJSLinter::lintModule(), QQmlJSTypeReader::operator()(), and QQmlJSAotCompiler::setDocument().
Definition at line 198 of file qqmljslogger_p.h.
References fileName.
Referenced by QQmlJSLinter::lintFile(), QQmlJSLinter::lintModule(), QQmlJSTypeReader::operator()(), QQmlJS::Dom::DomEnvironment::populateFromQmlFile(), and QQmlJSAotCompiler::setDocument().
|
inline |
Definition at line 192 of file qqmljslogger_p.h.
Referenced by QQmlJSLinter::lintFile(), QQmlJSLinter::lintModule(), and QQmlJSTypeReader::operator()().
Definition at line 130 of file qqmljslogger_p.h.
Referenced by QQmlJSLinter::applyFixes().
|
inline |
Definition at line 163 of file qqmljslogger_p.h.
Referenced by QQmlJSImportVisitor::visit().
|
friend |
Definition at line 232 of file qqmljslogger_p.h.