#include <qqmljslinter_p.h>
|
| QQmlJSLinter (const QStringList &importPaths, const QStringList &extraPluginPaths={}, bool useAbsolutePath=false) |
LintResult | lintFile (const QString &filename, const QString *fileContents, const bool silent, QJsonArray *json, const QStringList &qmlImportPaths, const QStringList &qmldirFiles, const QStringList &resourceFiles, const QList< QQmlJS::LoggerCategory > &categories, const QQmlJS::HeuristicContextProperties &contextProperties={}) |
LintResult | lintModule (const QString &uri, const bool silent, QJsonArray *json, const QStringList &qmlImportPaths, const QStringList &resourceFiles) |
FixResult | applyFixes (QString *fixedCode, bool silent) |
const QQmlJSLogger * | logger () const |
std::vector< Plugin > & | plugins () |
void | setPlugins (std::vector< Plugin > plugins) |
void | setPluginsEnabled (bool enablePlugins) |
bool | pluginsEnabled () const |
void | clearCache () |
Definition at line 46 of file qqmljslinter_p.h.
◆ FixResult
Enumerator |
---|
NothingToFix | |
FixError | |
FixSuccess | |
Definition at line 53 of file qqmljslinter_p.h.
◆ LintResult
Enumerator |
---|
FailedToOpen | |
FailedToParse | |
HasWarnings | |
HasErrors | |
LintSuccess | |
Definition at line 52 of file qqmljslinter_p.h.
◆ QQmlJSLinter()
QQmlJSLinter::QQmlJSLinter |
( |
const QStringList & | importPaths, |
|
|
const QStringList & | extraPluginPaths = {}, |
|
|
bool | useAbsolutePath = false ) |
◆ applyFixes()
◆ clearCache()
void QQmlJSLinter::clearCache |
( |
| ) |
|
|
inline |
◆ lintFile()
◆ lintModule()
◆ loadPlugins()
◆ logger()
◆ plugins()
std::vector< Plugin > & QQmlJSLinter::plugins |
( |
| ) |
|
|
inline |
◆ pluginsEnabled()
bool QQmlJSLinter::pluginsEnabled |
( |
| ) |
const |
|
inline |
◆ setPlugins()
void QQmlJSLinter::setPlugins |
( |
std::vector< Plugin > | plugins | ) |
|
|
inline |
◆ setPluginsEnabled()
void QQmlJSLinter::setPluginsEnabled |
( |
bool | enablePlugins | ) |
|
|
inline |
The documentation for this class was generated from the following files: