QQmlSA::LintPlugin Class

class QQmlSA::LintPlugin

Base class for all static analysis plugins. More...

Header: #include <qqmlsa.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS QmlCompiler)
target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler)
Status: Technology preview

This class is in technology preview and is subject to change.

Public Functions

LintPlugin()
LintPlugin(const QQmlSA::LintPlugin &)
LintPlugin(QQmlSA::LintPlugin &&)
virtual ~LintPlugin()
virtual void registerPasses(QQmlSA::PassManager *manager, const QQmlSA::Element &rootElement) = 0
QQmlSA::LintPlugin &operator=(QQmlSA::LintPlugin &&)
QQmlSA::LintPlugin &operator=(const QQmlSA::LintPlugin &)

Detailed Description

Member Function Documentation

[constexpr noexcept default] LintPlugin::LintPlugin()

Constructs a LintPlugin object.

[delete] LintPlugin::LintPlugin(const QQmlSA::LintPlugin &)

Copy-constructs an instance of LintPlugin. This function is deleted.

[delete] LintPlugin::LintPlugin(QQmlSA::LintPlugin &&)

Move-constructs an instance of LintPlugin. This function is deleted.

[virtual constexpr noexcept default] LintPlugin::~LintPlugin()

Destroys the LintPlugin instance.

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

Adds a pass manager that will be executed on rootElement.

[delete] QQmlSA::LintPlugin &LintPlugin::operator=(QQmlSA::LintPlugin &&)

Move-assigns other to this LintPlugin instance. This function is deleted.

[delete] QQmlSA::LintPlugin &LintPlugin::operator=(const QQmlSA::LintPlugin &)

Copy-assigns other to this LintPlugin instance. This function is deleted.