LintPlugin Class

class QQmlSA ::LintPlugin

Base class for all static analysis plugins. 更多...

头: #include <LintPlugin>
CMake: find_package(Qt6 REQUIRED COMPONENTS QmlCompiler)
target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler)
状态: 技术预览

公共函数

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

详细描述

成员函数文档编制

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

Adds a pass manager that will be executed on rootElement .