#include <qqmljslinter_p.h>
|
| | QQmlJSLinter (const QStringList &importPaths, const QStringList &extraPluginPaths={}, bool useAbsolutePath=false) |
| | Q_DECLARE_FLAGS (LintOptions, LintOption) |
| Result | lintFileInBatch (const QString &filename) |
| bool | prepareFileForBatchLinting (const QString &filename, const QString *fileContents, LintOptions options, const QStringList &qmlImportPaths, const QStringList &qmldirFiles, const QStringList &resourceFiles, const QList< QQmlJS::LoggerCategory > &categories) |
| Result | lintModule (const QString &uri, LintOptions options, const QStringList &qmlImportPaths, const QStringList &resourceFiles) |
| std::vector< Plugin > & | plugins () |
| void | setPlugins (std::vector< Plugin > plugins) |
| void | setPluginsEnabled (bool enablePlugins) |
| bool | pluginsEnabled () const |
| bool | useAbsolutePath () const |
| void | clearCache () |
Definition at line 44 of file qqmljslinter_p.h.
◆ FixResult
| Enumerator |
|---|
| NothingToFix | |
| FixError | |
| FixSuccess | |
Definition at line 56 of file qqmljslinter_p.h.
◆ LintOption
◆ LintResult
| Enumerator |
|---|
| FailedToOpen | |
| FailedToParse | |
| HasWarnings | |
| HasErrors | |
| LintSuccess | |
Definition at line 50 of file qqmljslinter_p.h.
◆ QQmlJSLinter()
| QQmlJSLinter::QQmlJSLinter |
( |
const QStringList & | importPaths, |
|
|
const QStringList & | extraPluginPaths = {}, |
|
|
bool | useAbsolutePath = false ) |
◆ applyFixes()
◆ clearCache()
| void QQmlJSLinter::clearCache |
( |
| ) |
|
|
inline |
◆ lintFileInBatch()
◆ lintModule()
◆ loadPlugins()
◆ plugins()
| std::vector< Plugin > & QQmlJSLinter::plugins |
( |
| ) |
|
|
inline |
◆ pluginsEnabled()
| bool QQmlJSLinter::pluginsEnabled |
( |
| ) |
const |
|
inline |
◆ prepareFileForBatchLinting()
Returns false on already-populated files.
Set up the scope of a file to lazy-load via LinterVisitor. Returns true on success and false if the scope already was populated. Retrieve lint results via QQmlJSLinter::lintFileInBatch().
Definition at line 536 of file qqmljslinter.cpp.
◆ Q_DECLARE_FLAGS()
| QQmlJSLinter::Q_DECLARE_FLAGS |
( |
LintOptions | , |
|
|
LintOption | ) |
◆ setPlugins()
| void QQmlJSLinter::setPlugins |
( |
std::vector< Plugin > | plugins | ) |
|
|
inline |
◆ setPluginsEnabled()
| void QQmlJSLinter::setPluginsEnabled |
( |
bool | enablePlugins | ) |
|
|
inline |
◆ useAbsolutePath()
| bool QQmlJSLinter::useAbsolutePath |
( |
| ) |
const |
|
inline |
◆ m_importer
The documentation for this class was generated from the following files: