Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
19
QT_BEGIN_NAMESPACE
20
21
class
Q_QMLCOMPILER_EXPORT
QQmlJSStorageGeneralizer
:
public
QQmlJSCompilePass
22
{
23
public
:
24
QQmlJSStorageGeneralizer
(
const
QV4::Compiler::JSUnitGenerator
*jsUnitGenerator,
25
const
QQmlJSTypeResolver
*typeResolver,
QQmlJSLogger
*logger,
26
BasicBlocks
basicBlocks,
InstructionAnnotations
annotations)
27
:
QQmlJSCompilePass
(jsUnitGenerator, typeResolver, logger, basicBlocks, annotations)
28
{}
29
30
BlocksAndAnnotations run(
Function
*function,
QQmlJS::DiagnosticMessage
*
error
);
31
32
protected
:
33
// We don't have to use the byte code here. We only transform the instruction annotations.
34
Verdict
startInstruction
(
QV4::Moth::Instr::Type
)
override
{
return
SkipInstruction; }
35
void
endInstruction
(
QV4::Moth::Instr::Type
)
override
{}
36
};
37
38
QT_END_NAMESPACE
39
40
#endif
// QQMLJSSTORAGEGENERALIZER_P_H
QFlatMap< int, BasicBlock >
QQmlJSCompilePass
Definition
qqmljscompilepass_p.h:29
QQmlJSLogger
Definition
qqmljslogger_p.h:115
QQmlJSStorageGeneralizer
Definition
qqmljsstoragegeneralizer_p.h:22
QQmlJSStorageGeneralizer::startInstruction
Verdict startInstruction(QV4::Moth::Instr::Type) override
Definition
qqmljsstoragegeneralizer_p.h:34
QQmlJSStorageGeneralizer::endInstruction
void endInstruction(QV4::Moth::Instr::Type) override
Definition
qqmljsstoragegeneralizer_p.h:35
QQmlJSStorageGeneralizer::QQmlJSStorageGeneralizer
QQmlJSStorageGeneralizer(const QV4::Compiler::JSUnitGenerator *jsUnitGenerator, const QQmlJSTypeResolver *typeResolver, QQmlJSLogger *logger, BasicBlocks basicBlocks, InstructionAnnotations annotations)
Definition
qqmljsstoragegeneralizer_p.h:24
QQmlJSTypeResolver
Definition
qqmljstyperesolver_p.h:33
QV4::Moth::ByteCodeHandler::Verdict
Verdict
Definition
qv4bytecodehandler_p.h:77
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
error
DBusConnection const char DBusError * error
Definition
qdbus_symbols_p.h:165
Function
Definition
parser.h:12
QQmlJS::DiagnosticMessage
Definition
qqmljsdiagnosticmessage_p.h:30
QV4::Compiler::JSUnitGenerator
Definition
qv4compiler_p.h:72
QV4::Moth::Instr::Type
Type
Definition
qv4instr_moth_p.h:520
qtdeclarative
src
qmlcompiler
qqmljsstoragegeneralizer_p.h
Generated by
1.10.0