Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/parser/qqmljsastfwd_p.h |
Source code | Switch to Preprocessed file |
Line | Source | Count |
---|---|---|
1 | /**************************************************************************** | - |
2 | ** | - |
3 | ** Copyright (C) 2016 The Qt Company Ltd. | - |
4 | ** Contact: https://www.qt.io/licensing/ | - |
5 | ** | - |
6 | ** This file is part of the QtQml module of the Qt Toolkit. | - |
7 | ** | - |
8 | ** $QT_BEGIN_LICENSE:LGPL$ | - |
9 | ** Commercial License Usage | - |
10 | ** Licensees holding valid commercial Qt licenses may use this file in | - |
11 | ** accordance with the commercial license agreement provided with the | - |
12 | ** Software or, alternatively, in accordance with the terms contained in | - |
13 | ** a written agreement between you and The Qt Company. For licensing terms | - |
14 | ** and conditions see https://www.qt.io/terms-conditions. For further | - |
15 | ** information use the contact form at https://www.qt.io/contact-us. | - |
16 | ** | - |
17 | ** GNU Lesser General Public License Usage | - |
18 | ** Alternatively, this file may be used under the terms of the GNU Lesser | - |
19 | ** General Public License version 3 as published by the Free Software | - |
20 | ** Foundation and appearing in the file LICENSE.LGPL3 included in the | - |
21 | ** packaging of this file. Please review the following information to | - |
22 | ** ensure the GNU Lesser General Public License version 3 requirements | - |
23 | ** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. | - |
24 | ** | - |
25 | ** GNU General Public License Usage | - |
26 | ** Alternatively, this file may be used under the terms of the GNU | - |
27 | ** General Public License version 2.0 or (at your option) the GNU General | - |
28 | ** Public license version 3 or any later version approved by the KDE Free | - |
29 | ** Qt Foundation. The licenses are as published by the Free Software | - |
30 | ** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 | - |
31 | ** included in the packaging of this file. Please review the following | - |
32 | ** information to ensure the GNU General Public License requirements will | - |
33 | ** be met: https://www.gnu.org/licenses/gpl-2.0.html and | - |
34 | ** https://www.gnu.org/licenses/gpl-3.0.html. | - |
35 | ** | - |
36 | ** $QT_END_LICENSE$ | - |
37 | ** | - |
38 | ****************************************************************************/ | - |
39 | - | |
40 | #ifndef QQMLJSAST_FWD_P_H | - |
41 | #define QQMLJSAST_FWD_P_H | - |
42 | - | |
43 | #include "qqmljsglobal_p.h" | - |
44 | - | |
45 | #include <QtCore/qglobal.h> | - |
46 | - | |
47 | // | - |
48 | // W A R N I N G | - |
49 | // ------------- | - |
50 | // | - |
51 | // This file is not part of the Qt API. It exists purely as an | - |
52 | // implementation detail. This header file may change from version to | - |
53 | // version without notice, or even be removed. | - |
54 | // | - |
55 | // We mean it. | - |
56 | // | - |
57 | - | |
58 | QT_QML_BEGIN_NAMESPACE | - |
59 | - | |
60 | namespace QQmlJS { namespace AST { | - |
61 | - | |
62 | class SourceLocation | - |
63 | { | - |
64 | public: | - |
65 | explicit SourceLocation(quint32 offset = 0, quint32 length = 0, quint32 line = 0, quint32 column = 0) | - |
66 | : offset(offset), length(length), | - |
67 | startLine(line), startColumn(column) | - |
68 | { } executed 179994219 times by 150 tests: end of block Executed by:
| 179994219 |
69 | - | |
70 | bool isValid() const { return length != 0; } executed 1833198 times by 104 tests: return length != 0; Executed by:
| 1833198 |
71 | - | |
72 | quint32 begin() const { return offset; } executed 16720416 times by 1 test: return offset; Executed by:
| 16720416 |
73 | quint32 end() const { return offset + length; } executed 16720414 times by 1 test: return offset + length; Executed by:
| 16720414 |
74 | - | |
75 | // attributes | - |
76 | // ### encode | - |
77 | quint32 offset; | - |
78 | quint32 length; | - |
79 | quint32 startLine; | - |
80 | quint32 startColumn; | - |
81 | }; | - |
82 | - | |
83 | class Visitor; | - |
84 | class Node; | - |
85 | class ExpressionNode; | - |
86 | class Statement; | - |
87 | class ThisExpression; | - |
88 | class IdentifierExpression; | - |
89 | class NullExpression; | - |
90 | class TrueLiteral; | - |
91 | class FalseLiteral; | - |
92 | class SuperLiteral; | - |
93 | class NumericLiteral; | - |
94 | class StringLiteral; | - |
95 | class TemplateLiteral; | - |
96 | class RegExpLiteral; | - |
97 | class Pattern; | - |
98 | class ArrayPattern; | - |
99 | class ObjectPattern; | - |
100 | class PatternElement; | - |
101 | class PatternElementList; | - |
102 | class PatternProperty; | - |
103 | class PatternPropertyList; | - |
104 | class Elision; | - |
105 | class PropertyName; | - |
106 | class IdentifierPropertyName; | - |
107 | class StringLiteralPropertyName; | - |
108 | class NumericLiteralPropertyName; | - |
109 | class ComputedPropertyName; | - |
110 | class ArrayMemberExpression; | - |
111 | class FieldMemberExpression; | - |
112 | class TaggedTemplate; | - |
113 | class NewMemberExpression; | - |
114 | class NewExpression; | - |
115 | class CallExpression; | - |
116 | class ArgumentList; | - |
117 | class PostIncrementExpression; | - |
118 | class PostDecrementExpression; | - |
119 | class DeleteExpression; | - |
120 | class VoidExpression; | - |
121 | class TypeOfExpression; | - |
122 | class PreIncrementExpression; | - |
123 | class PreDecrementExpression; | - |
124 | class UnaryPlusExpression; | - |
125 | class UnaryMinusExpression; | - |
126 | class TildeExpression; | - |
127 | class NotExpression; | - |
128 | class BinaryExpression; | - |
129 | class ConditionalExpression; | - |
130 | class Expression; // ### rename | - |
131 | class YieldExpression; | - |
132 | class Block; | - |
133 | class LeftHandSideExpression; | - |
134 | class StatementList; | - |
135 | class VariableStatement; | - |
136 | class VariableDeclarationList; | - |
137 | class EmptyStatement; | - |
138 | class ExpressionStatement; | - |
139 | class IfStatement; | - |
140 | class DoWhileStatement; | - |
141 | class WhileStatement; | - |
142 | class ForStatement; | - |
143 | class ForEachStatement; | - |
144 | class ContinueStatement; | - |
145 | class BreakStatement; | - |
146 | class ReturnStatement; | - |
147 | class WithStatement; | - |
148 | class SwitchStatement; | - |
149 | class CaseBlock; | - |
150 | class CaseClauses; | - |
151 | class CaseClause; | - |
152 | class DefaultClause; | - |
153 | class LabelledStatement; | - |
154 | class ThrowStatement; | - |
155 | class TryStatement; | - |
156 | class Catch; | - |
157 | class Finally; | - |
158 | class FunctionDeclaration; | - |
159 | class FunctionExpression; | - |
160 | class FormalParameterList; | - |
161 | class Program; | - |
162 | class DebuggerStatement; | - |
163 | class NestedExpression; | - |
164 | class ClassExpression; | - |
165 | class ClassDeclaration; | - |
166 | class ClassElementList; | - |
167 | - | |
168 | // ui elements | - |
169 | class UiProgram; | - |
170 | class UiPragma; | - |
171 | class UiImport; | - |
172 | class UiPublicMember; | - |
173 | class UiParameterList; | - |
174 | class UiObjectDefinition; | - |
175 | class UiObjectInitializer; | - |
176 | class UiObjectBinding; | - |
177 | class UiScriptBinding; | - |
178 | class UiSourceElement; | - |
179 | class UiArrayBinding; | - |
180 | class UiObjectMember; | - |
181 | class UiObjectMemberList; | - |
182 | class UiArrayMemberList; | - |
183 | class UiQualifiedId; | - |
184 | class UiQualifiedPragmaId; | - |
185 | class UiHeaderItemList; | - |
186 | class UiEnumDeclaration; | - |
187 | class UiEnumMemberList; | - |
188 | - | |
189 | } } // namespace AST | - |
190 | - | |
191 | QT_QML_END_NAMESPACE | - |
192 | - | |
193 | #endif | - |
Source code | Switch to Preprocessed file |