Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QQmlSA::LintPlugin Class Referenceabstract

\inmodule QtQmlCompiler More...

#include <qqmlsa.h>

Inheritance diagram for QQmlSA::LintPlugin:
Collaboration diagram for QQmlSA::LintPlugin:

Public Member Functions

 LintPlugin ()=default
 Constructs a LintPlugin object.
virtual ~LintPlugin ()=default
 Destroys the LintPlugin instance.
virtual void registerPasses (PassManager *manager, const Element &rootElement)=0
 Adds a pass manager that will be executed on rootElement.

Detailed Description

\inmodule QtQmlCompiler

Base class for all static analysis plugins.

Definition at line 339 of file qqmlsa.h.

Constructor & Destructor Documentation

◆ LintPlugin()

QQmlSA::LintPlugin::LintPlugin ( )
default

Constructs a LintPlugin object.

◆ ~LintPlugin()

virtual QQmlSA::LintPlugin::~LintPlugin ( )
virtualdefault

Destroys the LintPlugin instance.

Member Function Documentation

◆ registerPasses()

virtual void QQmlSA::LintPlugin::registerPasses ( PassManager * manager,
const Element & rootElement )
pure virtual

Adds a pass manager that will be executed on rootElement.

Implemented in QmlLintQdsPlugin, and QmlLintQuickPlugin.


The documentation for this class was generated from the following files: