ASTfwd.h 7.93 KB
Newer Older
1
/**************************************************************************
con's avatar
con committed
2
3
4
**
** This file is part of Qt Creator
**
con's avatar
con committed
5
** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
con's avatar
con committed
6
**
hjk's avatar
hjk committed
7
** Contact: Nokia Corporation (info@qt.nokia.com)
con's avatar
con committed
8
**
9
**
10
** GNU Lesser General Public License Usage
11
**
hjk's avatar
hjk committed
12
13
14
15
16
17
** This file may be used under the terms of the GNU Lesser General Public
** License version 2.1 as published by the Free Software Foundation and
** appearing in the file LICENSE.LGPL included in the packaging of this file.
** Please review the following information to ensure the GNU Lesser General
** Public License version 2.1 requirements will be met:
** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
18
**
con's avatar
con committed
19
** In addition, as a special exception, Nokia gives you certain additional
hjk's avatar
hjk committed
20
** rights. These rights are described in the Nokia Qt LGPL Exception
con's avatar
con committed
21
22
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
hjk's avatar
hjk committed
23
24
25
26
27
** Other Usage
**
** Alternatively, this file may be used in accordance with the terms and
** conditions contained in a signed written agreement between you and Nokia.
**
con's avatar
con committed
28
** If you have questions regarding the use of this file, please contact
Tobias Hunger's avatar
Tobias Hunger committed
29
** Nokia at info@qt.nokia.com.
con's avatar
con committed
30
**
31
**************************************************************************/
con's avatar
con committed
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

#ifndef CPLUSPLUS_ASTFWD_H
#define CPLUSPLUS_ASTFWD_H

Roberto Raggi's avatar
Roberto Raggi committed
55
#include "CPlusPlusForwardDeclarations.h"
Roberto Raggi's avatar
Roberto Raggi committed
56
57

namespace CPlusPlus {
con's avatar
con committed
58

59
60
template <typename _Tp> class List;

con's avatar
con committed
61
62
class AST;
class ASTVisitor;
63
class ASTMatcher;
con's avatar
con committed
64
65
66
67
68
69
70
71
72
73
74

class AccessDeclarationAST;
class ArrayAccessAST;
class ArrayDeclaratorAST;
class ArrayInitializerAST;
class AsmDefinitionAST;
class AttributeAST;
class AttributeSpecifierAST;
class BaseSpecifierAST;
class BinaryExpressionAST;
class BoolLiteralAST;
Roberto Raggi's avatar
Roberto Raggi committed
75
class BracedInitializerAST;
con's avatar
con committed
76
77
class BreakStatementAST;
class CallAST;
78
class CaptureAST;
con's avatar
con committed
79
80
81
82
class CaseStatementAST;
class CastExpressionAST;
class CatchClauseAST;
class ClassSpecifierAST;
83
class CompoundExpressionAST;
84
class CompoundLiteralAST;
con's avatar
con committed
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
class CompoundStatementAST;
class ConditionAST;
class ConditionalExpressionAST;
class ContinueStatementAST;
class ConversionFunctionIdAST;
class CoreDeclaratorAST;
class CppCastExpressionAST;
class CtorInitializerAST;
class DeclarationAST;
class DeclarationStatementAST;
class DeclaratorAST;
class DeclaratorIdAST;
class DeleteExpressionAST;
class DestructorNameAST;
class DoStatementAST;
class ElaboratedTypeSpecifierAST;
class EmptyDeclarationAST;
class EnumSpecifierAST;
class EnumeratorAST;
class ExceptionDeclarationAST;
class ExceptionSpecificationAST;
class ExpressionAST;
class ExpressionOrDeclarationStatementAST;
class ExpressionStatementAST;
class ForStatementAST;
110
class ForeachStatementAST;
con's avatar
con committed
111
112
113
class FunctionDeclaratorAST;
class FunctionDefinitionAST;
class GotoStatementAST;
Roberto Raggi's avatar
Roberto Raggi committed
114
class IdExpressionAST;
con's avatar
con committed
115
116
class IfStatementAST;
class LabeledStatementAST;
117
118
119
120
class LambdaCaptureAST;
class LambdaDeclaratorAST;
class LambdaExpressionAST;
class LambdaIntroducerAST;
con's avatar
con committed
121
122
123
124
125
126
127
128
129
130
131
class LinkageBodyAST;
class LinkageSpecificationAST;
class MemInitializerAST;
class MemberAccessAST;
class NameAST;
class NamedTypeSpecifierAST;
class NamespaceAST;
class NamespaceAliasDefinitionAST;
class NestedDeclaratorAST;
class NestedExpressionAST;
class NestedNameSpecifierAST;
132
class NewArrayDeclaratorAST;
con's avatar
con committed
133
134
class NewExpressionAST;
class NewInitializerAST;
135
class NewPlacementAST;
con's avatar
con committed
136
137
class NewTypeIdAST;
class NumericLiteralAST;
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
class ObjCClassDeclarationAST;
class ObjCClassForwardDeclarationAST;
class ObjCDynamicPropertiesDeclarationAST;
class ObjCEncodeExpressionAST;
class ObjCFastEnumerationAST;
class ObjCInstanceVariablesDeclarationAST;
class ObjCMessageArgumentAST;
class ObjCMessageArgumentDeclarationAST;
class ObjCMessageExpressionAST;
class ObjCMethodDeclarationAST;
class ObjCMethodPrototypeAST;
class ObjCPropertyAttributeAST;
class ObjCPropertyDeclarationAST;
class ObjCProtocolDeclarationAST;
class ObjCProtocolExpressionAST;
class ObjCProtocolForwardDeclarationAST;
class ObjCProtocolRefsAST;
class ObjCSelectorAST;
class ObjCSelectorArgumentAST;
class ObjCSelectorExpressionAST;
class ObjCSynchronizedStatementAST;
class ObjCSynthesizedPropertiesDeclarationAST;
class ObjCSynthesizedPropertyAST;
class ObjCTypeNameAST;
class ObjCVisibilityDeclarationAST;
con's avatar
con committed
163
164
165
166
167
168
169
170
171
172
class OperatorAST;
class OperatorFunctionIdAST;
class ParameterDeclarationAST;
class ParameterDeclarationClauseAST;
class PointerAST;
class PointerToMemberAST;
class PostIncrDecrAST;
class PostfixAST;
class PostfixDeclaratorAST;
class PtrOperatorAST;
173
174
class QtEnumDeclarationAST;
class QtFlagsDeclarationAST;
175
176
class QtInterfaceNameAST;
class QtInterfacesDeclarationAST;
177
class QtMemberDeclarationAST;
178
class QtMethodAST;
179
180
class QtObjectTagAST;
class QtPrivateSlotAST;
181
class QtPropertyDeclarationAST;
182
class QtPropertyDeclarationItemAST;
con's avatar
con committed
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
class QualifiedNameAST;
class ReferenceAST;
class ReturnStatementAST;
class SimpleDeclarationAST;
class SimpleNameAST;
class SimpleSpecifierAST;
class SizeofExpressionAST;
class SpecifierAST;
class StatementAST;
class StringLiteralAST;
class SwitchStatementAST;
class TemplateDeclarationAST;
class TemplateIdAST;
class TemplateTypeParameterAST;
class ThisExpressionAST;
class ThrowExpressionAST;
199
class TrailingReturnTypeAST;
con's avatar
con committed
200
201
202
203
204
205
206
207
208
209
210
211
class TranslationUnitAST;
class TryBlockStatementAST;
class TypeConstructorCallAST;
class TypeIdAST;
class TypeidExpressionAST;
class TypenameCallExpressionAST;
class TypenameTypeParameterAST;
class TypeofSpecifierAST;
class UnaryExpressionAST;
class UsingAST;
class UsingDirectiveAST;
class WhileStatementAST;
212

213
typedef List<ExpressionAST *> ExpressionListAST;
214
typedef List<DeclarationAST *> DeclarationListAST;
Roberto Raggi's avatar
Roberto Raggi committed
215
typedef List<StatementAST *> StatementListAST;
Roberto Raggi's avatar
Roberto Raggi committed
216
typedef List<DeclaratorAST *> DeclaratorListAST;
Roberto Raggi's avatar
Roberto Raggi committed
217
typedef List<BaseSpecifierAST *> BaseSpecifierListAST;
Roberto Raggi's avatar
Roberto Raggi committed
218
219
typedef List<EnumeratorAST *> EnumeratorListAST;
typedef List<MemInitializerAST *> MemInitializerListAST;
Roberto Raggi's avatar
Roberto Raggi committed
220
typedef List<NewArrayDeclaratorAST *> NewArrayDeclaratorListAST;
Roberto Raggi's avatar
Roberto Raggi committed
221
typedef List<PostfixAST *> PostfixListAST;
Roberto Raggi's avatar
Roberto Raggi committed
222
typedef List<PostfixDeclaratorAST *> PostfixDeclaratorListAST;
Roberto Raggi's avatar
Roberto Raggi committed
223
typedef List<AttributeAST *> AttributeListAST;
Roberto Raggi's avatar
Roberto Raggi committed
224
typedef List<NestedNameSpecifierAST *> NestedNameSpecifierListAST;
Roberto Raggi's avatar
Roberto Raggi committed
225
typedef List<CatchClauseAST *> CatchClauseListAST;
Roberto Raggi's avatar
Roberto Raggi committed
226
typedef List<PtrOperatorAST *> PtrOperatorListAST;
Roberto Raggi's avatar
Roberto Raggi committed
227
typedef List<SpecifierAST *> SpecifierListAST;
228
typedef List<QtPropertyDeclarationItemAST *> QtPropertyDeclarationItemListAST;
229
typedef List<NameAST *> NameListAST;
230
typedef List<QtInterfaceNameAST *> QtInterfaceNameListAST;
231

Roberto Raggi's avatar
Roberto Raggi committed
232
typedef List<ParameterDeclarationAST *> ParameterDeclarationListAST;
233
234
typedef List<CaptureAST *> CaptureListAST;

235
typedef List<ObjCMessageArgumentAST *> ObjCMessageArgumentListAST;
236
typedef List<ObjCSelectorArgumentAST *> ObjCSelectorArgumentListAST;
237
typedef List<ObjCPropertyAttributeAST *> ObjCPropertyAttributeListAST;
238
typedef List<ObjCMessageArgumentDeclarationAST *> ObjCMessageArgumentDeclarationListAST;
239
typedef List<ObjCSynthesizedPropertyAST *> ObjCSynthesizedPropertyListAST;
Roberto Raggi's avatar
Roberto Raggi committed
240

241
} // namespace CPlusPlus
Roberto Raggi's avatar
Roberto Raggi committed
242

con's avatar
con committed
243
244

#endif // CPLUSPLUS_ASTFWD_H