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 | */ |
21 | package com.github.javaparser.ast.visitor; |
22 | |
23 | import com.github.javaparser.ast.*; |
24 | import com.github.javaparser.ast.body.*; |
25 | import com.github.javaparser.ast.comments.BlockComment; |
26 | import com.github.javaparser.ast.comments.JavadocComment; |
27 | import com.github.javaparser.ast.comments.LineComment; |
28 | import com.github.javaparser.ast.expr.*; |
29 | import com.github.javaparser.ast.modules.*; |
30 | import com.github.javaparser.ast.stmt.*; |
31 | import com.github.javaparser.ast.type.*; |
32 | |
33 | /** |
34 | * A visitor that does not return anything. |
35 | * |
36 | * @author Julio Vilmar Gesser |
37 | */ |
38 | public interface VoidVisitor<A> { |
39 | |
40 | void visit(NodeList n, A arg); |
41 | |
42 | void visit(AnnotationDeclaration n, A arg); |
43 | |
44 | void visit(AnnotationMemberDeclaration n, A arg); |
45 | |
46 | void visit(ArrayAccessExpr n, A arg); |
47 | |
48 | void visit(ArrayCreationExpr n, A arg); |
49 | |
50 | void visit(ArrayCreationLevel n, A arg); |
51 | |
52 | void visit(ArrayInitializerExpr n, A arg); |
53 | |
54 | void visit(ArrayType n, A arg); |
55 | |
56 | void visit(AssertStmt n, A arg); |
57 | |
58 | void visit(AssignExpr n, A arg); |
59 | |
60 | void visit(BinaryExpr n, A arg); |
61 | |
62 | void visit(BlockComment n, A arg); |
63 | |
64 | void visit(BlockStmt n, A arg); |
65 | |
66 | void visit(BooleanLiteralExpr n, A arg); |
67 | |
68 | void visit(BreakStmt n, A arg); |
69 | |
70 | void visit(CastExpr n, A arg); |
71 | |
72 | void visit(CatchClause n, A arg); |
73 | |
74 | void visit(CharLiteralExpr n, A arg); |
75 | |
76 | void visit(ClassExpr n, A arg); |
77 | |
78 | void visit(ClassOrInterfaceDeclaration n, A arg); |
79 | |
80 | void visit(ClassOrInterfaceType n, A arg); |
81 | |
82 | void visit(CompilationUnit n, A arg); |
83 | |
84 | void visit(ConditionalExpr n, A arg); |
85 | |
86 | void visit(ConstructorDeclaration n, A arg); |
87 | |
88 | void visit(ContinueStmt n, A arg); |
89 | |
90 | void visit(DoStmt n, A arg); |
91 | |
92 | void visit(DoubleLiteralExpr n, A arg); |
93 | |
94 | void visit(EmptyStmt n, A arg); |
95 | |
96 | void visit(EnclosedExpr n, A arg); |
97 | |
98 | void visit(EnumConstantDeclaration n, A arg); |
99 | |
100 | void visit(EnumDeclaration n, A arg); |
101 | |
102 | void visit(ExplicitConstructorInvocationStmt n, A arg); |
103 | |
104 | void visit(ExpressionStmt n, A arg); |
105 | |
106 | void visit(FieldAccessExpr n, A arg); |
107 | |
108 | void visit(FieldDeclaration n, A arg); |
109 | |
110 | void visit(ForStmt n, A arg); |
111 | |
112 | void visit(ForEachStmt n, A arg); |
113 | |
114 | void visit(IfStmt n, A arg); |
115 | |
116 | void visit(ImportDeclaration n, A arg); |
117 | |
118 | void visit(InitializerDeclaration n, A arg); |
119 | |
120 | void visit(InstanceOfExpr n, A arg); |
121 | |
122 | void visit(IntegerLiteralExpr n, A arg); |
123 | |
124 | void visit(IntersectionType n, A arg); |
125 | |
126 | void visit(JavadocComment n, A arg); |
127 | |
128 | void visit(LabeledStmt n, A arg); |
129 | |
130 | void visit(LambdaExpr n, A arg); |
131 | |
132 | void visit(LineComment n, A arg); |
133 | |
134 | void visit(LocalClassDeclarationStmt n, A arg); |
135 | |
136 | void visit(LongLiteralExpr n, A arg); |
137 | |
138 | void visit(MarkerAnnotationExpr n, A arg); |
139 | |
140 | void visit(MemberValuePair n, A arg); |
141 | |
142 | void visit(MethodCallExpr n, A arg); |
143 | |
144 | void visit(MethodDeclaration n, A arg); |
145 | |
146 | void visit(MethodReferenceExpr n, A arg); |
147 | |
148 | void visit(NameExpr n, A arg); |
149 | |
150 | void visit(Name n, A arg); |
151 | |
152 | void visit(NormalAnnotationExpr n, A arg); |
153 | |
154 | void visit(NullLiteralExpr n, A arg); |
155 | |
156 | void visit(ObjectCreationExpr n, A arg); |
157 | |
158 | void visit(PackageDeclaration n, A arg); |
159 | |
160 | void visit(Parameter n, A arg); |
161 | |
162 | void visit(PrimitiveType n, A arg); |
163 | |
164 | void visit(ReturnStmt n, A arg); |
165 | |
166 | void visit(SimpleName n, A arg); |
167 | |
168 | void visit(SingleMemberAnnotationExpr n, A arg); |
169 | |
170 | void visit(StringLiteralExpr n, A arg); |
171 | |
172 | void visit(SuperExpr n, A arg); |
173 | |
174 | void visit(SwitchEntry n, A arg); |
175 | |
176 | void visit(SwitchStmt n, A arg); |
177 | |
178 | void visit(SynchronizedStmt n, A arg); |
179 | |
180 | void visit(ThisExpr n, A arg); |
181 | |
182 | void visit(ThrowStmt n, A arg); |
183 | |
184 | void visit(TryStmt n, A arg); |
185 | |
186 | void visit(TypeExpr n, A arg); |
187 | |
188 | void visit(TypeParameter n, A arg); |
189 | |
190 | void visit(UnaryExpr n, A arg); |
191 | |
192 | void visit(UnionType n, A arg); |
193 | |
194 | void visit(UnknownType n, A arg); |
195 | |
196 | void visit(VariableDeclarationExpr n, A arg); |
197 | |
198 | void visit(VariableDeclarator n, A arg); |
199 | |
200 | void visit(VoidType n, A arg); |
201 | |
202 | void visit(WhileStmt n, A arg); |
203 | |
204 | void visit(WildcardType n, A arg); |
205 | |
206 | void visit(ModuleDeclaration n, A arg); |
207 | |
208 | void visit(ModuleRequiresDirective n, A arg); |
209 | |
210 | void visit(ModuleExportsDirective n, A arg); |
211 | |
212 | void visit(ModuleProvidesDirective n, A arg); |
213 | |
214 | void visit(ModuleUsesDirective n, A arg); |
215 | |
216 | void visit(ModuleOpensDirective n, A arg); |
217 | |
218 | void visit(UnparsableStmt n, A arg); |
219 | |
220 | void visit(ReceiverParameter n, A arg); |
221 | |
222 | void visit(VarType n, A arg); |
223 | |
224 | void visit(Modifier n, A arg); |
225 | |
226 | void visit(SwitchExpr switchExpr, A arg); |
227 | |
228 | void visit(TextBlockLiteralExpr n, A arg); |
229 | |
230 | void visit(YieldStmt yieldStmt, A arg); |
231 | } |
232 |
Members