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>.
Loading...
Searching...
No Matches
qqmljslinter.cpp File Reference

(4949768067cfc8a16c0cef958928e94147842bb8)

#include "qqmljslinter_p.h"
#include "qqmljslintercodegen_p.h"
#include <QtQmlCompiler/private/qqmljsimporter_p.h>
#include <QtQmlCompiler/private/qqmljsimportvisitor_p.h>
#include <QtQmlCompiler/private/qqmljsliteralbindingcheck_p.h>
#include <QtCore/qjsonobject.h>
#include <QtCore/qfileinfo.h>
#include <QtCore/qloggingcategory.h>
#include <QtCore/qpluginloader.h>
#include <QtCore/qlibraryinfo.h>
#include <QtCore/qdir.h>
#include <QtCore/private/qduplicatetracker_p.h>
#include <QtCore/qscopedpointer.h>
#include <QtQmlCompiler/private/qqmlsa_p.h>
#include <QtQmlCompiler/private/qqmljsloggingutils_p.h>
#include <QtQml/private/qqmljslexer_p.h>
#include <QtQml/private/qqmljsparser_p.h>
#include <QtQml/private/qqmljsengine_p.h>
#include <QtQml/private/qqmljsastvisitor_p.h>
#include <QtQml/private/qqmljsast_p.h>
#include <QtQml/private/qqmljsdiagnosticmessage_p.h>
+ Include dependency graph for qqmljslinter.cpp:

Go to the source code of this file.

Classes

class  CodegenWarningInterface
 

Functions

static void addJsonWarning (QJsonArray &warnings, const QQmlJS::DiagnosticMessage &message, QAnyStringView id, const std::optional< QQmlJSFixSuggestion > &suggestion={})
 

Function Documentation

◆ addJsonWarning()

static void addJsonWarning ( QJsonArray & warnings,
const QQmlJS::DiagnosticMessage & message,
QAnyStringView id,
const std::optional< QQmlJSFixSuggestion > & suggestion = {} )
static

Definition at line 333 of file qqmljslinter.cpp.

Referenced by QQmlJSLinter::lintFile().

+ Here is the caller graph for this function: