Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qqmljslintercontext_p.h
Go to the documentation of this file.
1
// Copyright (C) 2026 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3
// Qt-Security score:significant
4
5
#
ifndef
QQMLJSLINTERCONTEXT_P_H
6
#
define
QQMLJSLINTERCONTEXT_P_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
18
#
include
<
QtCore
/
qset
.
h
>
19
#
include
<
QtCore
/
qstring
.
h
>
20
21
#
include
<
private
/
qduplicatetracker_p
.
h
>
22
#
include
<
private
/
qqmljscontextproperties_p
.
h
>
23
#
include
<
private
/
qqmljslinterrenamedcomponents_p
.
h
>
24
#
include
<
private
/
qqmljsscope_p
.
h
>
25
#
include
<
private
/
qqmljsscopesbyid_p
.
h
>
26
#
include
<
private
/
qqmljsusercontextproperties_p
.
h
>
27
#
include
<
private
/
qqmltoolingsettings_p
.
h
>
28
29
QT_BEGIN_NAMESPACE
30
31
namespace
QQmlJS
{
32
33
struct
LinterContext
34
{
35
Q_DISABLE_COPY_MOVE
(
LinterContext
)
36
public
:
37
LinterContext
(
const
QQmlJSScopesById
&
scopesById
,
38
QDuplicateTracker
<
QQmlJSScope
::
ConstPtr
> &
knownUnresolvedTypes
,
39
const
QQmlJS
::
LinterRenamedComponents
&
renamedComponents
,
40
const
QQmlJSImporter
&
importer
,
41
const
QQmlJS
::
UserContextProperties
&
userContextProperties
,
42
const
QQmlJS
::
HeuristicContextProperties
&
heuristicContextProperties
)
43
:
scopesById
(
scopesById
),
44
knownUnresolvedTypes
(
knownUnresolvedTypes
),
45
renamedComponents
(
renamedComponents
),
46
importer
(
importer
),
47
userContextProperties
(
userContextProperties
),
48
heuristicContextProperties
(
heuristicContextProperties
)
49
{
50
}
51
52
// begin group: copied data from LinterVisitor:
53
QQmlJSScopesById
scopesById
= { };
54
// end group: copied data from LinterVisitor:
55
56
// begin group: data owned by LinterVisitor, does not outlive LinterVisitor.
57
QDuplicateTracker
<
QQmlJSScope
::
ConstPtr
> &
knownUnresolvedTypes
;
58
const
QQmlJS
::
LinterRenamedComponents
&
renamedComponents
;
59
// end group: data owned by LinterVisitor, does not outlive LinterVisitor.
60
61
// begin group: data owned by QQmlJSLinter, does not outlive QQmlJSLinter
62
const
QQmlJSImporter
&
importer
;
63
const
QQmlJS
::
UserContextProperties
&
userContextProperties
;
64
const
QQmlJS
::
HeuristicContextProperties
&
heuristicContextProperties
;
65
// end group: data owned by QQmlJSLinter, does not outlive QQmlJSLinter
66
};
67
68
}
// namespace QQmlJS
69
70
QT_END_NAMESPACE
71
#
endif
// QQMLJSLINTERCONTEXT_P_H
QQmlJS
Definition
qv4bytecodegenerator_p.h:27
QQmlJS::LinterContext
Definition
qqmljslintercontext_p.h:34
QQmlJS::LinterContext::importer
const QQmlJSImporter & importer
Definition
qqmljslintercontext_p.h:62
QQmlJS::LinterContext::userContextProperties
const QQmlJS::UserContextProperties & userContextProperties
Definition
qqmljslintercontext_p.h:63
QQmlJS::LinterContext::renamedComponents
const QQmlJS::LinterRenamedComponents & renamedComponents
Definition
qqmljslintercontext_p.h:58
QQmlJS::LinterContext::heuristicContextProperties
const QQmlJS::HeuristicContextProperties & heuristicContextProperties
Definition
qqmljslintercontext_p.h:64
QQmlJS::LinterContext::knownUnresolvedTypes
QDuplicateTracker< QQmlJSScope::ConstPtr > & knownUnresolvedTypes
Definition
qqmljslintercontext_p.h:57
qtdeclarative
src
qmllint
qqmljslintercontext_p.h
Generated on
for Qt by
1.18.0