OpenCoverage

qqmljsastfwd_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/parser/qqmljsastfwd_p.h
Source codeSwitch to Preprocessed file
LineSourceCount
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-
58QT_QML_BEGIN_NAMESPACE-
59-
60namespace QQmlJS { namespace AST {-
61-
62class SourceLocation-
63{-
64public:-
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:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qmlmin
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmldirparser
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • ...
179994219
69-
70 bool isValid() const { return length != 0; }
executed 1833198 times by 104 tests: return length != 0;
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • ...
1833198
71-
72 quint32 begin() const { return offset; }
executed 16720416 times by 1 test: return offset;
Executed by:
  • tst_qqmlparser
16720416
73 quint32 end() const { return offset + length; }
executed 16720414 times by 1 test: return offset + length;
Executed by:
  • tst_qqmlparser
16720414
74-
75// attributes-
76 // ### encode-
77 quint32 offset;-
78 quint32 length;-
79 quint32 startLine;-
80 quint32 startColumn;-
81};-
82-
83class Visitor;-
84class Node;-
85class ExpressionNode;-
86class Statement;-
87class ThisExpression;-
88class IdentifierExpression;-
89class NullExpression;-
90class TrueLiteral;-
91class FalseLiteral;-
92class SuperLiteral;-
93class NumericLiteral;-
94class StringLiteral;-
95class TemplateLiteral;-
96class RegExpLiteral;-
97class Pattern;-
98class ArrayPattern;-
99class ObjectPattern;-
100class PatternElement;-
101class PatternElementList;-
102class PatternProperty;-
103class PatternPropertyList;-
104class Elision;-
105class PropertyName;-
106class IdentifierPropertyName;-
107class StringLiteralPropertyName;-
108class NumericLiteralPropertyName;-
109class ComputedPropertyName;-
110class ArrayMemberExpression;-
111class FieldMemberExpression;-
112class TaggedTemplate;-
113class NewMemberExpression;-
114class NewExpression;-
115class CallExpression;-
116class ArgumentList;-
117class PostIncrementExpression;-
118class PostDecrementExpression;-
119class DeleteExpression;-
120class VoidExpression;-
121class TypeOfExpression;-
122class PreIncrementExpression;-
123class PreDecrementExpression;-
124class UnaryPlusExpression;-
125class UnaryMinusExpression;-
126class TildeExpression;-
127class NotExpression;-
128class BinaryExpression;-
129class ConditionalExpression;-
130class Expression; // ### rename-
131class YieldExpression;-
132class Block;-
133class LeftHandSideExpression;-
134class StatementList;-
135class VariableStatement;-
136class VariableDeclarationList;-
137class EmptyStatement;-
138class ExpressionStatement;-
139class IfStatement;-
140class DoWhileStatement;-
141class WhileStatement;-
142class ForStatement;-
143class ForEachStatement;-
144class ContinueStatement;-
145class BreakStatement;-
146class ReturnStatement;-
147class WithStatement;-
148class SwitchStatement;-
149class CaseBlock;-
150class CaseClauses;-
151class CaseClause;-
152class DefaultClause;-
153class LabelledStatement;-
154class ThrowStatement;-
155class TryStatement;-
156class Catch;-
157class Finally;-
158class FunctionDeclaration;-
159class FunctionExpression;-
160class FormalParameterList;-
161class Program;-
162class DebuggerStatement;-
163class NestedExpression;-
164class ClassExpression;-
165class ClassDeclaration;-
166class ClassElementList;-
167-
168// ui elements-
169class UiProgram;-
170class UiPragma;-
171class UiImport;-
172class UiPublicMember;-
173class UiParameterList;-
174class UiObjectDefinition;-
175class UiObjectInitializer;-
176class UiObjectBinding;-
177class UiScriptBinding;-
178class UiSourceElement;-
179class UiArrayBinding;-
180class UiObjectMember;-
181class UiObjectMemberList;-
182class UiArrayMemberList;-
183class UiQualifiedId;-
184class UiQualifiedPragmaId;-
185class UiHeaderItemList;-
186class UiEnumDeclaration;-
187class UiEnumMemberList;-
188-
189} } // namespace AST-
190-
191QT_QML_END_NAMESPACE-
192-
193#endif-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0