JavaParser Source Viewer

Home|JavaParser/com/github/javaparser/ast/visitor/VoidVisitor.java
1/*
2 * Copyright (C) 2007-2010 JĂșlio Vilmar Gesser.
3 * Copyright (C) 2011, 2013-2020 The JavaParser Team.
4 *
5 * This file is part of JavaParser.
6 *
7 * JavaParser can be used either under the terms of
8 * a) the GNU Lesser General Public License as published by
9 *     the Free Software Foundation, either version 3 of the License, or
10 *     (at your option) any later version.
11 * b) the terms of the Apache License
12 *
13 * You should have received a copy of both licenses in LICENCE.LGPL and
14 * LICENCE.APACHE. Please refer to those files for details.
15 *
16 * JavaParser is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 * GNU Lesser General Public License for more details.
20 */
21package com.github.javaparser.ast.visitor;
22
23import com.github.javaparser.ast.*;
24import com.github.javaparser.ast.body.*;
25import com.github.javaparser.ast.comments.BlockComment;
26import com.github.javaparser.ast.comments.JavadocComment;
27import com.github.javaparser.ast.comments.LineComment;
28import com.github.javaparser.ast.expr.*;
29import com.github.javaparser.ast.modules.*;
30import com.github.javaparser.ast.stmt.*;
31import com.github.javaparser.ast.type.*;
32
33/**
34 * A visitor that does not return anything.
35 *
36 * @author Julio Vilmar Gesser
37 */
38public interface VoidVisitor<A> {
39
40    void visit(NodeList nA arg);
41
42    void visit(AnnotationDeclaration nA arg);
43
44    void visit(AnnotationMemberDeclaration nA arg);
45
46    void visit(ArrayAccessExpr nA arg);
47
48    void visit(ArrayCreationExpr nA arg);
49
50    void visit(ArrayCreationLevel nA arg);
51
52    void visit(ArrayInitializerExpr nA arg);
53
54    void visit(ArrayType nA arg);
55
56    void visit(AssertStmt nA arg);
57
58    void visit(AssignExpr nA arg);
59
60    void visit(BinaryExpr nA arg);
61
62    void visit(BlockComment nA arg);
63
64    void visit(BlockStmt nA arg);
65
66    void visit(BooleanLiteralExpr nA arg);
67
68    void visit(BreakStmt nA arg);
69
70    void visit(CastExpr nA arg);
71
72    void visit(CatchClause nA arg);
73
74    void visit(CharLiteralExpr nA arg);
75
76    void visit(ClassExpr nA arg);
77
78    void visit(ClassOrInterfaceDeclaration nA arg);
79
80    void visit(ClassOrInterfaceType nA arg);
81
82    void visit(CompilationUnit nA arg);
83
84    void visit(ConditionalExpr nA arg);
85
86    void visit(ConstructorDeclaration nA arg);
87
88    void visit(ContinueStmt nA arg);
89
90    void visit(DoStmt nA arg);
91
92    void visit(DoubleLiteralExpr nA arg);
93
94    void visit(EmptyStmt nA arg);
95
96    void visit(EnclosedExpr nA arg);
97
98    void visit(EnumConstantDeclaration nA arg);
99
100    void visit(EnumDeclaration nA arg);
101
102    void visit(ExplicitConstructorInvocationStmt nA arg);
103
104    void visit(ExpressionStmt nA arg);
105
106    void visit(FieldAccessExpr nA arg);
107
108    void visit(FieldDeclaration nA arg);
109
110    void visit(ForStmt nA arg);
111
112    void visit(ForEachStmt nA arg);
113
114    void visit(IfStmt nA arg);
115
116    void visit(ImportDeclaration nA arg);
117
118    void visit(InitializerDeclaration nA arg);
119
120    void visit(InstanceOfExpr nA arg);
121
122    void visit(IntegerLiteralExpr nA arg);
123
124    void visit(IntersectionType nA arg);
125
126    void visit(JavadocComment nA arg);
127
128    void visit(LabeledStmt nA arg);
129
130    void visit(LambdaExpr nA arg);
131
132    void visit(LineComment nA arg);
133
134    void visit(LocalClassDeclarationStmt nA arg);
135
136    void visit(LongLiteralExpr nA arg);
137
138    void visit(MarkerAnnotationExpr nA arg);
139
140    void visit(MemberValuePair nA arg);
141
142    void visit(MethodCallExpr nA arg);
143
144    void visit(MethodDeclaration nA arg);
145
146    void visit(MethodReferenceExpr nA arg);
147
148    void visit(NameExpr nA arg);
149
150    void visit(Name nA arg);
151
152    void visit(NormalAnnotationExpr nA arg);
153
154    void visit(NullLiteralExpr nA arg);
155
156    void visit(ObjectCreationExpr nA arg);
157
158    void visit(PackageDeclaration nA arg);
159
160    void visit(Parameter nA arg);
161
162    void visit(PrimitiveType nA arg);
163
164    void visit(ReturnStmt nA arg);
165
166    void visit(SimpleName nA arg);
167
168    void visit(SingleMemberAnnotationExpr nA arg);
169
170    void visit(StringLiteralExpr nA arg);
171
172    void visit(SuperExpr nA arg);
173
174    void visit(SwitchEntry nA arg);
175
176    void visit(SwitchStmt nA arg);
177
178    void visit(SynchronizedStmt nA arg);
179
180    void visit(ThisExpr nA arg);
181
182    void visit(ThrowStmt nA arg);
183
184    void visit(TryStmt nA arg);
185
186    void visit(TypeExpr nA arg);
187
188    void visit(TypeParameter nA arg);
189
190    void visit(UnaryExpr nA arg);
191
192    void visit(UnionType nA arg);
193
194    void visit(UnknownType nA arg);
195
196    void visit(VariableDeclarationExpr nA arg);
197
198    void visit(VariableDeclarator nA arg);
199
200    void visit(VoidType nA arg);
201
202    void visit(WhileStmt nA arg);
203
204    void visit(WildcardType nA arg);
205
206    void visit(ModuleDeclaration nA arg);
207
208    void visit(ModuleRequiresDirective nA arg);
209
210    void visit(ModuleExportsDirective nA arg);
211
212    void visit(ModuleProvidesDirective nA arg);
213
214    void visit(ModuleUsesDirective nA arg);
215
216    void visit(ModuleOpensDirective nA arg);
217
218    void visit(UnparsableStmt nA arg);
219
220    void visit(ReceiverParameter nA arg);
221
222    void visit(VarType nA arg);
223
224    void visit(Modifier nA arg);
225
226    void visit(SwitchExpr switchExprA arg);
227
228    void visit(TextBlockLiteralExpr nA arg);
229
230    void visit(YieldStmt yieldStmtA arg);
231}
232
MembersX
VoidVisitor:visit
Members
X