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
qqmljsastvisitor_p.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant
4
5
#
ifndef
QQMLJSASTVISITOR_P_H
6
#
define
QQMLJSASTVISITOR_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
19
#
include
"qqmljsastfwd_p.h"
20
#
include
"qqmljsglobal_p.h"
21
22
QT_BEGIN_NAMESPACE
23
24
// as done in https://en.wikipedia.org/wiki/X_Macro
25
26
#
define
QQmlJSASTUiClassListToVisit
27
X
(
UiProgram
)
28
X
(
UiHeaderItemList
)
29
X
(
UiPragmaValueList
)
30
X
(
UiPragma
)
31
X
(
UiImport
)
32
X
(
UiPublicMember
)
33
X
(
UiSourceElement
)
34
X
(
UiObjectDefinition
)
35
X
(
UiObjectInitializer
)
36
X
(
UiObjectBinding
)
37
X
(
UiScriptBinding
)
38
X
(
UiArrayBinding
)
39
X
(
UiParameterList
)
40
X
(
UiObjectMemberList
)
41
X
(
UiArrayMemberList
)
42
X
(
UiQualifiedId
)
43
X
(
UiEnumDeclaration
)
44
X
(
UiEnumMemberList
)
45
X
(
UiVersionSpecifier
)
46
X
(
UiInlineComponent
)
47
X
(
UiAnnotation
)
48
X
(
UiAnnotationList
)
49
X
(
UiRequired
)
50
51
#
define
QQmlJSASTQQmlJSClassListToVisit
52
X
(
TypeExpression
)
53
X
(
ThisExpression
)
54
X
(
IdentifierExpression
)
55
X
(
NullExpression
)
56
X
(
TrueLiteral
)
57
X
(
FalseLiteral
)
58
X
(
SuperLiteral
)
59
X
(
StringLiteral
)
60
X
(
TemplateLiteral
)
61
X
(
NumericLiteral
)
62
X
(
RegExpLiteral
)
63
X
(
ArrayPattern
)
64
X
(
ObjectPattern
)
65
X
(
PatternElementList
)
66
X
(
PatternPropertyList
)
67
X
(
PatternElement
)
68
X
(
PatternProperty
)
69
X
(
Elision
)
70
X
(
NestedExpression
)
71
X
(
IdentifierPropertyName
)
72
X
(
StringLiteralPropertyName
)
73
X
(
NumericLiteralPropertyName
)
74
X
(
ComputedPropertyName
)
75
X
(
ArrayMemberExpression
)
76
X
(
FieldMemberExpression
)
77
X
(
TaggedTemplate
)
78
X
(
NewMemberExpression
)
79
X
(
NewExpression
)
80
X
(
CallExpression
)
81
X
(
ArgumentList
)
82
X
(
PostIncrementExpression
)
83
X
(
PostDecrementExpression
)
84
X
(
DeleteExpression
)
85
X
(
VoidExpression
)
86
X
(
TypeOfExpression
)
87
X
(
PreIncrementExpression
)
88
X
(
PreDecrementExpression
)
89
X
(
UnaryPlusExpression
)
90
X
(
UnaryMinusExpression
)
91
X
(
TildeExpression
)
92
X
(
NotExpression
)
93
X
(
BinaryExpression
)
94
X
(
ConditionalExpression
)
95
X
(
CommaExpression
)
96
X
(
Block
)
97
X
(
StatementList
)
98
X
(
VariableStatement
)
99
X
(
VariableDeclarationList
)
100
X
(
EmptyStatement
)
101
X
(
ExpressionStatement
)
102
X
(
IfStatement
)
103
X
(
DoWhileStatement
)
104
X
(
WhileStatement
)
105
X
(
ForStatement
)
106
X
(
ForEachStatement
)
107
X
(
ContinueStatement
)
108
X
(
BreakStatement
)
109
X
(
ReturnStatement
)
110
X
(
YieldExpression
)
111
X
(
WithStatement
)
112
X
(
SwitchStatement
)
113
X
(
CaseBlock
)
114
X
(
CaseClauses
)
115
X
(
CaseClause
)
116
X
(
DefaultClause
)
117
X
(
LabelledStatement
)
118
X
(
ThrowStatement
)
119
X
(
TryStatement
)
120
X
(
Catch
)
121
X
(
Finally
)
122
X
(
FunctionDeclaration
)
123
X
(
FunctionExpression
)
124
X
(
FormalParameterList
)
125
X
(
ClassExpression
)
126
X
(
ClassDeclaration
)
127
X
(
ClassElementList
)
128
X
(
Program
)
129
X
(
NameSpaceImport
)
130
X
(
ImportSpecifier
)
131
X
(
ImportsList
)
132
X
(
NamedImports
)
133
X
(
FromClause
)
134
X
(
ImportClause
)
135
X
(
ImportDeclaration
)
136
X
(
ExportSpecifier
)
137
X
(
ExportsList
)
138
X
(
ExportClause
)
139
X
(
ExportDeclaration
)
140
X
(
ESModule
)
141
X
(
DebuggerStatement
)
142
X
(
Type
)
143
X
(
TypeAnnotation
)
144
145
#
define
QQmlJSASTClassListToVisit
QQmlJSASTUiClassListToVisit
QQmlJSASTQQmlJSClassListToVisit
146
147
namespace
QQmlJS
{
namespace
AST
{
148
149
class
QML_PARSER_EXPORT
BaseVisitor
150
{
151
public
:
152
class
RecursionDepthCheck
153
{
154
Q_DISABLE_COPY
(
RecursionDepthCheck
)
155
public
:
156
RecursionDepthCheck
(
RecursionDepthCheck
&&) =
delete
;
157
RecursionDepthCheck
&
operator
=(
RecursionDepthCheck
&&) =
delete
;
158
159
RecursionDepthCheck
(
BaseVisitor
*
visitor
) :
m_visitor
(
visitor
)
160
{
161
++(
m_visitor
->
m_recursionDepth
);
162
}
163
164
~
RecursionDepthCheck
()
165
{
166
--(
m_visitor
->
m_recursionDepth
);
167
}
168
169
bool
operator
()()
const
{
170
return
m_visitor
->
m_recursionDepth
<
s_recursionLimit
;
171
}
172
173
private
:
174
static
const
quint16
s_recursionLimit
= 4096;
175
BaseVisitor
*
m_visitor
;
176
};
177
178
BaseVisitor
(
quint16
parentRecursionDepth
= 0);
179
virtual
~
BaseVisitor
();
180
181
virtual
bool
preVisit
(
Node
*) = 0;
182
virtual
void
postVisit
(
Node
*) = 0;
183
184
#
define
X
(
name
)
185
virtual
bool
visit
(
name
*
)
=
0
;
186
virtual
void
endVisit
(
name
*
)
=
0
;
187
QQmlJSASTClassListToVisit
188
#
undef
X
189
190
virtual
void
throwRecursionDepthError
() = 0;
191
192
quint16
recursionDepth
()
const
{
return
m_recursionDepth
; }
193
194
protected
:
195
quint16
m_recursionDepth
= 0;
196
friend
class
RecursionDepthCheck
;
197
};
198
199
class
QML_PARSER_EXPORT
Visitor
:
public
BaseVisitor
200
{
201
public
:
202
Visitor
(
quint16
parentRecursionDepth
= 0);
203
204
bool
preVisit
(
Node
*)
override
{
return
true
; }
205
void
postVisit
(
Node
*)
override
{}
206
207
#
define
X
(
name
)
208
bool
visit
(
name
*
)
override
{
return
true
;
}
209
void
endVisit
(
name
*
)
override
{
}
210
QQmlJSASTClassListToVisit
211
#
undef
X
212
};
213
214
class
QML_PARSER_EXPORT
JSVisitor
:
public
BaseVisitor
215
{
216
public
:
217
JSVisitor
() =
default
;
218
219
bool
preVisit
(
Node
*)
override
{
return
true
; }
220
void
postVisit
(
Node
*)
override
{ }
221
222
#
define
X
(
name
)
223
bool
visit
(
name
*
)
override
{
return
true
;
}
224
void
endVisit
(
name
*
)
override
{
}
225
QQmlJSASTQQmlJSClassListToVisit
226
#
undef
X
227
228
#
define
X
(
name
)
229
bool
visit
(
name
*
)
override
230
{
231
Q_ASSERT
(
false
)
;
232
return
false
;
233
}
234
void
endVisit
(
name
*
)
override
{
}
235
QQmlJSASTUiClassListToVisit
236
#
undef
X
237
};
// namespace AST
238
} }
// namespace AST
239
240
QT_END_NAMESPACE
241
242
#
endif
// QQMLJSASTVISITOR_P_H
QQmlJS::AST::ArgumentList
Definition
qqmljsast_p.h:1345
QQmlJS::AST::ArrayMemberExpression
Definition
qqmljsast_p.h:1200
QQmlJS::AST::ArrayPattern
Definition
qqmljsast_p.h:733
QQmlJS::AST::BaseVisitor
Definition
qqmljsastvisitor_p.h:150
QQmlJS::AST::BinaryExpression
Definition
qqmljsast_p.h:1619
QQmlJS::AST::Block
Definition
qqmljsast_p.h:1692
QQmlJS::AST::BreakStatement
Definition
qqmljsast_p.h:2042
QQmlJS::AST::CallExpression
Definition
qqmljsast_p.h:1319
QQmlJS::AST::CaseBlock
Definition
qqmljsast_p.h:2134
QQmlJS::AST::CaseClause
Definition
qqmljsast_p.h:2184
QQmlJS::AST::CaseClauses
Definition
qqmljsast_p.h:2208
QQmlJS::AST::Catch
Definition
qqmljsast_p.h:2316
QQmlJS::AST::ClassDeclaration
Definition
qqmljsast_p.h:2567
QQmlJS::AST::ClassElementList
Definition
qqmljsast_p.h:2580
QQmlJS::AST::ClassExpression
Definition
qqmljsast_p.h:2538
QQmlJS::AST::CommaExpression
Definition
qqmljsast_p.h:1670
QQmlJS::AST::ComputedPropertyName
Definition
qqmljsast_p.h:1176
QQmlJS::AST::ConditionalExpression
Definition
qqmljsast_p.h:1645
QQmlJS::AST::ContinueStatement
Definition
qqmljsast_p.h:2019
QQmlJS::AST::DebuggerStatement
Definition
qqmljsast_p.h:3054
QQmlJS::AST::DefaultClause
Definition
qqmljsast_p.h:2247
QQmlJS::AST::DeleteExpression
Definition
qqmljsast_p.h:1430
QQmlJS::AST::DoWhileStatement
Definition
qqmljsast_p.h:1892
QQmlJS::AST::ESModule
Definition
qqmljsast_p.h:3031
QQmlJS::AST::Elision
Definition
qqmljsast_p.h:791
QQmlJS::AST::EmptyStatement
Definition
qqmljsast_p.h:1820
QQmlJS::AST::ExportClause
Definition
qqmljsast_p.h:2952
QQmlJS::AST::ExportDeclaration
Definition
qqmljsast_p.h:2981
QQmlJS::AST::ExportSpecifier
Definition
qqmljsast_p.h:2878
QQmlJS::AST::ExportsList
Definition
qqmljsast_p.h:2909
QQmlJS::AST::ExpressionNode
Definition
qqmljsast_p.h:409
QQmlJS::AST::ExpressionStatement
Definition
qqmljsast_p.h:1839
QQmlJS::AST::FalseLiteral
Definition
qqmljsast_p.h:559
QQmlJS::AST::FieldMemberExpression
Definition
qqmljsast_p.h:1226
QQmlJS::AST::Finally
Definition
qqmljsast_p.h:2342
QQmlJS::AST::ForEachStatement
Definition
qqmljsast_p.h:1984
QQmlJS::AST::ForStatement
Definition
qqmljsast_p.h:1944
QQmlJS::AST::FormalParameterList
Definition
qqmljsast_p.h:2452
QQmlJS::AST::FromClause
Definition
qqmljsast_p.h:2820
QQmlJS::AST::FunctionDeclaration
Definition
qqmljsast_p.h:2440
QQmlJS::AST::FunctionExpression
Definition
qqmljsast_p.h:2403
QQmlJS::AST::IdentifierExpression
Definition
qqmljsast_p.h:500
QQmlJS::AST::IdentifierPropertyName
Definition
qqmljsast_p.h:1128
QQmlJS::AST::IfStatement
Definition
qqmljsast_p.h:1860
QQmlJS::AST::ImportClause
Definition
qqmljsast_p.h:2769
QQmlJS::AST::ImportDeclaration
Definition
qqmljsast_p.h:2845
QQmlJS::AST::ImportSpecifier
Definition
qqmljsast_p.h:2638
QQmlJS::AST::ImportsList
Definition
qqmljsast_p.h:2669
QQmlJS::AST::InitializerExpression
Definition
qqmljsast_p.h:888
QQmlJS::AST::JSVisitor
Definition
qqmljsastvisitor_p.h:215
QQmlJS::AST::LabelledStatement
Definition
qqmljsast_p.h:2270
QQmlJS::AST::LeftHandSideExpression
Definition
qqmljsast_p.h:421
QQmlJS::AST::NameSpaceImport
Definition
qqmljsast_p.h:2745
QQmlJS::AST::NamedImports
Definition
qqmljsast_p.h:2716
QQmlJS::AST::NestedExpression
Definition
qqmljsast_p.h:434
QQmlJS::AST::NewExpression
Definition
qqmljsast_p.h:1298
QQmlJS::AST::NewMemberExpression
Definition
qqmljsast_p.h:1273
QQmlJS::AST::Node
Definition
qqmljsast_p.h:113
QQmlJS::AST::NotExpression
Definition
qqmljsast_p.h:1598
QQmlJS::AST::NullExpression
Definition
qqmljsast_p.h:521
QQmlJS::AST::NumericLiteralPropertyName
Definition
qqmljsast_p.h:1160
QQmlJS::AST::NumericLiteral
Definition
qqmljsast_p.h:598
QQmlJS::AST::ObjectPattern
Definition
qqmljsast_p.h:762
QQmlJS::AST::PatternElementList
Definition
qqmljsast_p.h:1009
QQmlJS::AST::PatternElement
Definition
qqmljsast_p.h:914
QQmlJS::AST::PatternPropertyList
Definition
qqmljsast_p.h:1090
QQmlJS::AST::PatternProperty
Definition
qqmljsast_p.h:1053
QQmlJS::AST::Pattern
Definition
qqmljsast_p.h:720
QQmlJS::AST::PostDecrementExpression
Definition
qqmljsast_p.h:1409
QQmlJS::AST::PostIncrementExpression
Definition
qqmljsast_p.h:1388
QQmlJS::AST::PreDecrementExpression
Definition
qqmljsast_p.h:1514
QQmlJS::AST::PreIncrementExpression
Definition
qqmljsast_p.h:1493
QQmlJS::AST::Program
Definition
qqmljsast_p.h:2617
QQmlJS::AST::PropertyName
Definition
qqmljsast_p.h:826
QQmlJS::AST::RegExpLiteral
Definition
qqmljsast_p.h:698
QQmlJS::AST::ReturnStatement
Definition
qqmljsast_p.h:2065
QQmlJS::AST::StatementList
Definition
qqmljsast_p.h:1714
QQmlJS::AST::Statement
Definition
qqmljsast_p.h:426
QQmlJS::AST::StringLiteralPropertyName
Definition
qqmljsast_p.h:1144
QQmlJS::AST::StringLiteral
Definition
qqmljsast_p.h:649
QQmlJS::AST::SuperLiteral
Definition
qqmljsast_p.h:578
QQmlJS::AST::SwitchStatement
Definition
qqmljsast_p.h:2159
QQmlJS::AST::TaggedTemplate
Definition
qqmljsast_p.h:1251
QQmlJS::AST::TemplateLiteral
Definition
qqmljsast_p.h:670
QQmlJS::AST::ThisExpression
Definition
qqmljsast_p.h:481
QQmlJS::AST::ThrowStatement
Definition
qqmljsast_p.h:2294
QQmlJS::AST::TildeExpression
Definition
qqmljsast_p.h:1577
QQmlJS::AST::TrueLiteral
Definition
qqmljsast_p.h:540
QQmlJS::AST::TryStatement
Definition
qqmljsast_p.h:2364
QQmlJS::AST::TypeAnnotation
Definition
qqmljsast_p.h:388
QQmlJS::AST::TypeExpression
Definition
qqmljsast_p.h:462
QQmlJS::AST::TypeOfExpression
Definition
qqmljsast_p.h:1472
QQmlJS::AST::Type
Definition
qqmljsast_p.h:358
QQmlJS::AST::UiAnnotationList
Definition
qqmljsast_p.h:3877
QQmlJS::AST::UiAnnotation
Definition
qqmljsast_p.h:3854
QQmlJS::AST::UiArrayBinding
Definition
qqmljsast_p.h:3746
QQmlJS::AST::UiArrayMemberList
Definition
qqmljsast_p.h:3328
QQmlJS::AST::UiEnumDeclaration
Definition
qqmljsast_p.h:3826
QQmlJS::AST::UiEnumMemberList
Definition
qqmljsast_p.h:3773
QQmlJS::AST::UiHeaderItemList
Definition
qqmljsast_p.h:3245
QQmlJS::AST::UiImport
Definition
qqmljsast_p.h:3075
QQmlJS::AST::UiInlineComponent
Definition
qqmljsast_p.h:3625
QQmlJS::AST::UiObjectBinding
Definition
qqmljsast_p.h:3685
QQmlJS::AST::UiObjectDefinition
Definition
qqmljsast_p.h:3602
QQmlJS::AST::UiObjectInitializer
Definition
qqmljsast_p.h:3366
QQmlJS::AST::UiObjectMemberList
Definition
qqmljsast_p.h:3120
QQmlJS::AST::UiObjectMember
Definition
qqmljsast_p.h:3108
QQmlJS::AST::UiParameterList
Definition
qqmljsast_p.h:3389
QQmlJS::AST::UiPragmaValueList
Definition
qqmljsast_p.h:3157
QQmlJS::AST::UiPragma
Definition
qqmljsast_p.h:3197
QQmlJS::AST::UiProgram
Definition
qqmljsast_p.h:3294
QQmlJS::AST::UiPropertyAttributes
Definition
qqmljsast_p.h:3439
QQmlJS::AST::UiPublicMember
Definition
qqmljsast_p.h:3489
QQmlJS::AST::UiQualifiedId
Definition
qqmljsast_p.h:299
QQmlJS::AST::UiRequired
Definition
qqmljsast_p.h:3223
QQmlJS::AST::UiScriptBinding
Definition
qqmljsast_p.h:3721
QQmlJS::AST::UiSourceElement
Definition
qqmljsast_p.h:3649
QQmlJS::AST::UiVersionSpecifier
Definition
qqmljsast_p.h:619
QQmlJS::AST::UnaryMinusExpression
Definition
qqmljsast_p.h:1556
QQmlJS::AST::UnaryPlusExpression
Definition
qqmljsast_p.h:1535
QQmlJS::AST::VariableDeclarationList
Definition
qqmljsast_p.h:1752
QQmlJS::AST::VariableStatement
Definition
qqmljsast_p.h:1798
QQmlJS::AST::Visitor
Definition
qqmljsastvisitor_p.h:200
QQmlJS::AST::VoidExpression
Definition
qqmljsast_p.h:1451
QQmlJS::AST::WhileStatement
Definition
qqmljsast_p.h:1919
QQmlJS::AST::WithStatement
Definition
qqmljsast_p.h:2109
QQmlJS::AST::YieldExpression
Definition
qqmljsast_p.h:2087
QQmlJS::SourceLocation
Definition
qqmljssourcelocation_p.h:27
QQmlJS::SourceLocation::qHash
friend size_t qHash(const SourceLocation &location, size_t seed=0)
Definition
qqmljssourcelocation_p.h:185
QQmlJS::SourceLocation::startZeroLengthLocation
SourceLocation startZeroLengthLocation() const
Definition
qqmljssourcelocation_p.h:164
QQmlJS::SourceLocation::isValid
bool isValid() const
Definition
qqmljssourcelocation_p.h:158
QQmlJS::SourceLocation::SourceLocation
constexpr SourceLocation(quint32 offset=0, quint32 length=0, quint32 line=0, quint32 column=0)
Definition
qqmljssourcelocation_p.h:34
QQmlJS::SourceLocation::operator!=
friend bool operator!=(const SourceLocation &a, const SourceLocation &b)
Definition
qqmljssourcelocation_p.h:197
QQmlJS::SourceLocation::offset
quint32 offset
Definition
qqmljssourcelocation_p.h:180
QQmlJS::SourceLocation::begin
qsizetype begin() const
Definition
qqmljssourcelocation_p.h:160
QQmlJS::SourceLocation::length
quint32 length
Definition
qqmljssourcelocation_p.h:181
QQmlJS::SourceLocation::offsetFrom
static quint32 offsetFrom(QStringView text, quint32 line, quint32 column, const SourceLocation &startHint=SourceLocation{})
Definition
qqmljssourcelocation_p.h:124
QQmlJS::SourceLocation::combine
friend SourceLocation combine(const SourceLocation &l1, const SourceLocation &l2)
Definition
qqmljssourcelocation_p.h:201
QQmlJS::SourceLocation::fromQSizeType
static SourceLocation fromQSizeType(qsizetype offset, qsizetype length=0, qsizetype line=0, qsizetype column=0)
Definition
qqmljssourcelocation_p.h:52
QQmlJS::SourceLocation::startColumn
quint32 startColumn
Definition
qqmljssourcelocation_p.h:183
QQmlJS::SourceLocation::endZeroLengthLocation
SourceLocation endZeroLengthLocation(QStringView text) const
Definition
qqmljssourcelocation_p.h:169
QQmlJS::SourceLocation::startLine
quint32 startLine
Definition
qqmljssourcelocation_p.h:182
QQmlJS::SourceLocation::operator==
friend bool operator==(const SourceLocation &a, const SourceLocation &b)
Definition
qqmljssourcelocation_p.h:191
QQmlJS::SourceLocation::end
qsizetype end() const
Definition
qqmljssourcelocation_p.h:161
QQmlJS::SourceLocation::rowAndColumnFrom
static std::pair< quint32, quint32 > rowAndColumnFrom(QStringView text, quint32 offset, const SourceLocation &startHint=SourceLocation{})
Definition
qqmljssourcelocation_p.h:143
QQmlJS::AST
Definition
qqmljsast.cpp:19
QQmlJS::AST::asAnonymousFunctionDefinition
FunctionExpression * asAnonymousFunctionDefinition(Node *n)
Definition
qqmljsast.cpp:21
QQmlJS::AST::VariableScope
VariableScope
Definition
qqmljsast_p.h:93
QQmlJS::AST::VariableScope::Var
@ Var
Definition
qqmljsast_p.h:95
QQmlJS::AST::VariableScope::Const
@ Const
Definition
qqmljsast_p.h:97
QQmlJS::AST::VariableScope::NoScope
@ NoScope
Definition
qqmljsast_p.h:94
QQmlJS::AST::VariableScope::Let
@ Let
Definition
qqmljsast_p.h:96
QQmlJS::AST::lastListElement
T lastListElement(T head)
Definition
qqmljsast_p.h:290
QQmlJS::AST::ForEachType
ForEachType
Definition
qqmljsast_p.h:1978
QQmlJS::AST::ForEachType::Of
@ Of
Definition
qqmljsast_p.h:1980
QQmlJS::AST::ForEachType::In
@ In
Definition
qqmljsast_p.h:1979
QQmlJS::AST::cast
T1 cast(T2 *ast)
Definition
qqmljsast_p.h:101
QQmlJS::AST::asAnonymousClassDefinition
ClassExpression * asAnonymousClassDefinition(Node *n)
Definition
qqmljsast.cpp:31
QQmlJS
Definition
qv4bytecodegenerator_p.h:27
QQmlJS::s_documentOrigin
static constexpr SourceLocation s_documentOrigin(0, 0, 1, 1)
QQmlJS::DiagnosticCategory
DiagnosticCategory
Definition
qqmljsdiagnosticmessage_p.h:30
QQmlJS::DiagnosticCategory::AliasCycle
@ AliasCycle
Definition
qqmljsdiagnosticmessage_p.h:32
QQmlJS::DiagnosticCategory::DuplicatedName
@ DuplicatedName
Definition
qqmljsdiagnosticmessage_p.h:35
QQmlJS::DiagnosticCategory::Import
@ Import
Definition
qqmljsdiagnosticmessage_p.h:36
QQmlJS::DiagnosticCategory::SyntaxDuplicateIds
@ SyntaxDuplicateIds
Definition
qqmljsdiagnosticmessage_p.h:40
QQmlJS::DiagnosticCategory::Syntax
@ Syntax
Definition
qqmljsdiagnosticmessage_p.h:39
QQmlJS::DiagnosticCategory::DuplicatePropertyBinding
@ DuplicatePropertyBinding
Definition
qqmljsdiagnosticmessage_p.h:34
QQmlJS::DiagnosticCategory::DuplicateInlineComponent
@ DuplicateInlineComponent
Definition
qqmljsdiagnosticmessage_p.h:33
QSOperator
Definition
qqmljsast_p.h:42
QSOperator::Op
Op
Definition
qqmljsast_p.h:44
QSOperator::InplaceAdd
@ InplaceAdd
Definition
qqmljsast_p.h:61
QSOperator::InplaceMod
@ InplaceMod
Definition
qqmljsast_p.h:68
QSOperator::Sub
@ Sub
Definition
qqmljsast_p.h:78
QSOperator::As
@ As
Definition
qqmljsast_p.h:82
QSOperator::InplaceXor
@ InplaceXor
Definition
qqmljsast_p.h:81
QSOperator::Coalesce
@ Coalesce
Definition
qqmljsast_p.h:83
QSOperator::LShift
@ LShift
Definition
qqmljsast_p.h:64
QSOperator::InplaceMul
@ InplaceMul
Definition
qqmljsast_p.h:70
QSOperator::Equal
@ Equal
Definition
qqmljsast_p.h:55
QSOperator::InplaceLeftShift
@ InplaceLeftShift
Definition
qqmljsast_p.h:65
QSOperator::RShift
@ RShift
Definition
qqmljsast_p.h:74
QSOperator::InplaceExp
@ InplaceExp
Definition
qqmljsast_p.h:57
QSOperator::InplaceDiv
@ InplaceDiv
Definition
qqmljsast_p.h:54
QSOperator::Lt
@ Lt
Definition
qqmljsast_p.h:66
QSOperator::URShift
@ URShift
Definition
qqmljsast_p.h:79
QSOperator::InplaceAnd
@ InplaceAnd
Definition
qqmljsast_p.h:47
QSOperator::Div
@ Div
Definition
qqmljsast_p.h:53
QSOperator::Exp
@ Exp
Definition
qqmljsast_p.h:56
QSOperator::InplaceRightShift
@ InplaceRightShift
Definition
qqmljsast_p.h:75
QSOperator::StrictNotEqual
@ StrictNotEqual
Definition
qqmljsast_p.h:77
QSOperator::Mul
@ Mul
Definition
qqmljsast_p.h:69
QSOperator::Gt
@ Gt
Definition
qqmljsast_p.h:59
QSOperator::Add
@ Add
Definition
qqmljsast_p.h:45
QSOperator::Le
@ Le
Definition
qqmljsast_p.h:63
QSOperator::StrictEqual
@ StrictEqual
Definition
qqmljsast_p.h:76
QSOperator::Invalid
@ Invalid
Definition
qqmljsast_p.h:84
QSOperator::NotEqual
@ NotEqual
Definition
qqmljsast_p.h:71
QSOperator::BitXor
@ BitXor
Definition
qqmljsast_p.h:51
QSOperator::Ge
@ Ge
Definition
qqmljsast_p.h:58
QSOperator::InplaceOr
@ InplaceOr
Definition
qqmljsast_p.h:73
QSOperator::Mod
@ Mod
Definition
qqmljsast_p.h:67
QSOperator::InstanceOf
@ InstanceOf
Definition
qqmljsast_p.h:62
QSOperator::InplaceURightShift
@ InplaceURightShift
Definition
qqmljsast_p.h:80
QSOperator::InplaceSub
@ InplaceSub
Definition
qqmljsast_p.h:52
QSOperator::BitOr
@ BitOr
Definition
qqmljsast_p.h:50
QSOperator::Assign
@ Assign
Definition
qqmljsast_p.h:48
QSOperator::In
@ In
Definition
qqmljsast_p.h:60
QSOperator::And
@ And
Definition
qqmljsast_p.h:46
QSOperator::Or
@ Or
Definition
qqmljsast_p.h:72
QSOperator::BitAnd
@ BitAnd
Definition
qqmljsast_p.h:49
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
QQMLJS_DECLARE_AST_NODE
#define QQMLJS_DECLARE_AST_NODE(name)
Definition
qqmljsast_p.h:38
QQmlJSASTUiClassListToVisit
#define QQmlJSASTUiClassListToVisit
Definition
qqmljsastvisitor_p.h:26
QQmlJSASTQQmlJSClassListToVisit
#define QQmlJSASTQQmlJSClassListToVisit
Definition
qqmljsastvisitor_p.h:51
QQmlJSASTClassListToVisit
#define QQmlJSASTClassListToVisit
Definition
qqmljsastvisitor_p.h:145
Q_DECLARE_TYPEINFO
Q_DECLARE_TYPEINFO(QQmlJS::DiagnosticMessage, Q_RELOCATABLE_TYPE)
QML_PARSER_EXPORT
#define QML_PARSER_EXPORT
Definition
qqmljsglobal_p.h:24
QQmlJS::AST::BoundName
Definition
qqmljsast_p.h:845
QQmlJS::AST::BoundNames
Definition
qqmljsast_p.h:864
QQmlJS::AST::BoundNames::contains
bool contains(const QString &name) const
Definition
qqmljsast_p.h:874
QQmlJS::AST::BoundNames::indexOf
int indexOf(const QString &name, int from=0) const
Definition
qqmljsast_p.h:865
QQmlJS::DiagnosticMessage
Definition
qqmljsdiagnosticmessage_p.h:71
QQmlJS::DiagnosticMessage::loc
SourceLocation loc
Definition
qqmljsdiagnosticmessage_p.h:74
QQmlJS::DiagnosticMessage::message
QString message
Definition
qqmljsdiagnosticmessage_p.h:72
QQmlJS::DiagnosticMessage::msgType
QtMsgType msgType() const
Definition
qqmljsdiagnosticmessage_p.h:76
QQmlJS::DiagnosticMessage::isError
bool isError() const
Definition
qqmljsdiagnosticmessage_p.h:78
QQmlJS::DiagnosticMessage::type
MsgTypeOrDiagnosticCategory type
Definition
qqmljsdiagnosticmessage_p.h:73
QQmlJS::DiagnosticMessage::isWarning
bool isWarning() const
Definition
qqmljsdiagnosticmessage_p.h:80
QQmlJS::MsgTypeOrDiagnosticCategory
Definition
qqmljsdiagnosticmessage_p.h:44
QQmlJS::MsgTypeOrDiagnosticCategory::MsgTypeOrDiagnosticCategory
MsgTypeOrDiagnosticCategory(DiagnosticCategory diagnosticCategory)
Definition
qqmljsdiagnosticmessage_p.h:48
QQmlJS::MsgTypeOrDiagnosticCategory::comparesEqual
friend bool comparesEqual(MsgTypeOrDiagnosticCategory a, MsgTypeOrDiagnosticCategory b) noexcept
Definition
qqmljsdiagnosticmessage_p.h:52
QQmlJS::MsgTypeOrDiagnosticCategory::m_data
quint8 m_data
Definition
qqmljsdiagnosticmessage_p.h:67
QQmlJS::MsgTypeOrDiagnosticCategory::MsgTypeOrDiagnosticCategory
MsgTypeOrDiagnosticCategory(QtMsgType qtMsgType)
Definition
qqmljsdiagnosticmessage_p.h:47
QQmlJS::MsgTypeOrDiagnosticCategory::m_isQtMsgType
quint8 m_isQtMsgType
Definition
qqmljsdiagnosticmessage_p.h:66
QQmlJS::MsgTypeOrDiagnosticCategory::MsgTypeOrDiagnosticCategory
MsgTypeOrDiagnosticCategory()
Definition
qqmljsdiagnosticmessage_p.h:46
QQmlJS::MsgTypeOrDiagnosticCategory::asMsgType
QtMsgType asMsgType() const
Definition
qqmljsdiagnosticmessage_p.h:58
qtdeclarative
src
qml
parser
qqmljsastvisitor_p.h
Generated on
for Qt by
1.18.0