Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qqmljsstoragegeneralizer_p.h
Go to the documentation of this file.
1// Copyright (C) 2021 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3
4#ifndef QQMLJSSTORAGEGENERALIZER_P_H
5#define QQMLJSSTORAGEGENERALIZER_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16
17#include <private/qqmljscompilepass_p.h>
18
20
21class Q_QMLCOMPILER_PRIVATE_EXPORT QQmlJSStorageGeneralizer : public QQmlJSCompilePass
22{
23public:
25 const QQmlJSTypeResolver *typeResolver, QQmlJSLogger *logger)
26 : QQmlJSCompilePass(jsUnitGenerator, typeResolver, logger)
27 {}
28
29 InstructionAnnotations run(InstructionAnnotations annotations, Function *function,
31
32protected:
33 // We don't have to use the byte code here. We only transform the instruction annotations.
36};
37
39
40#endif // QQMLJSSTORAGEGENERALIZER_P_H
Verdict startInstruction(QV4::Moth::Instr::Type) override
void endInstruction(QV4::Moth::Instr::Type) override
QQmlJSStorageGeneralizer(const QV4::Compiler::JSUnitGenerator *jsUnitGenerator, const QQmlJSTypeResolver *typeResolver, QQmlJSLogger *logger)
Combined button and popup list for selecting options.
DBusConnection const char DBusError * error