QQmlSA::LintPlugin Class
class QQmlSA::LintPlugin所有静态分析插件的基类。更多...
| 头文件: | #include <qqmlsa.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS QmlCompiler) target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler) |
| 状态: | 技术预览 |
该类处于技术预览阶段,内容可能会有变动。
公共函数
| 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 &) |
成员函数文档
[constexpr noexcept default] LintPlugin::LintPlugin()
创建一个 LintPlugin 对象。
[delete] LintPlugin::LintPlugin(const QQmlSA::LintPlugin &)
复制并构造一个LintPlugin 的实例。该函数已被删除。
[delete] LintPlugin::LintPlugin(QQmlSA::LintPlugin &&)
通过移动构造一个LintPlugin 的实例。该函数已被删除。
[virtual constexpr noexcept default] LintPlugin::~LintPlugin()
销毁该LintPlugin 实例。
[pure virtual] void LintPlugin::registerPasses(QQmlSA::PassManager *manager, const QQmlSA::Element &rootElement)
添加一个名为manager 的处理程序,该处理程序将在rootElement 上执行。
[delete] QQmlSA::LintPlugin &LintPlugin::operator=(QQmlSA::LintPlugin &&)
将other 按移动赋值方式赋值给此LintPlugin 实例。该函数已被删除。
[delete] QQmlSA::LintPlugin &LintPlugin::operator=(const QQmlSA::LintPlugin &)
将other 复制并赋值给此LintPlugin 实例。此函数已被删除。
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.