1 // Generated from com/puppycrawl/tools/checkstyle/grammar/javadoc/JavadocCommentsParser.g4 by ANTLR 4.13.2
2 package com.puppycrawl.tools.checkstyle.grammar.javadoc;
3 import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor;
4
5 /**
6 * This class provides an empty implementation of {@link JavadocCommentsParserVisitor},
7 * which can be extended to create a visitor which only needs to handle a subset
8 * of the available methods.
9 *
10 * @param <T> The return type of the visit operation. Use {@link Void} for
11 * operations with no return type.
12 */
13 @SuppressWarnings("CheckReturnValue")
14 public class JavadocCommentsParserBaseVisitor<T> extends AbstractParseTreeVisitor<T> implements JavadocCommentsParserVisitor<T> {
15 /**
16 * {@inheritDoc}
17 *
18 * <p>The default implementation returns the result of calling
19 * {@link #visitChildren} on {@code ctx}.</p>
20 */
21 @Override public T visitJavadoc(JavadocCommentsParser.JavadocContext ctx) { return visitChildren(ctx); }
22 /**
23 * {@inheritDoc}
24 *
25 * <p>The default implementation returns the result of calling
26 * {@link #visitChildren} on {@code ctx}.</p>
27 */
28 @Override public T visitMainDescription(JavadocCommentsParser.MainDescriptionContext ctx) { return visitChildren(ctx); }
29 /**
30 * {@inheritDoc}
31 *
32 * <p>The default implementation returns the result of calling
33 * {@link #visitChildren} on {@code ctx}.</p>
34 */
35 @Override public T visitBlockTag(JavadocCommentsParser.BlockTagContext ctx) { return visitChildren(ctx); }
36 /**
37 * {@inheritDoc}
38 *
39 * <p>The default implementation returns the result of calling
40 * {@link #visitChildren} on {@code ctx}.</p>
41 */
42 @Override public T visitAuthorTag(JavadocCommentsParser.AuthorTagContext ctx) { return visitChildren(ctx); }
43 /**
44 * {@inheritDoc}
45 *
46 * <p>The default implementation returns the result of calling
47 * {@link #visitChildren} on {@code ctx}.</p>
48 */
49 @Override public T visitDeprecatedTag(JavadocCommentsParser.DeprecatedTagContext ctx) { return visitChildren(ctx); }
50 /**
51 * {@inheritDoc}
52 *
53 * <p>The default implementation returns the result of calling
54 * {@link #visitChildren} on {@code ctx}.</p>
55 */
56 @Override public T visitReturnTag(JavadocCommentsParser.ReturnTagContext ctx) { return visitChildren(ctx); }
57 /**
58 * {@inheritDoc}
59 *
60 * <p>The default implementation returns the result of calling
61 * {@link #visitChildren} on {@code ctx}.</p>
62 */
63 @Override public T visitParameterTag(JavadocCommentsParser.ParameterTagContext ctx) { return visitChildren(ctx); }
64 /**
65 * {@inheritDoc}
66 *
67 * <p>The default implementation returns the result of calling
68 * {@link #visitChildren} on {@code ctx}.</p>
69 */
70 @Override public T visitThrowsTag(JavadocCommentsParser.ThrowsTagContext ctx) { return visitChildren(ctx); }
71 /**
72 * {@inheritDoc}
73 *
74 * <p>The default implementation returns the result of calling
75 * {@link #visitChildren} on {@code ctx}.</p>
76 */
77 @Override public T visitExceptionTag(JavadocCommentsParser.ExceptionTagContext ctx) { return visitChildren(ctx); }
78 /**
79 * {@inheritDoc}
80 *
81 * <p>The default implementation returns the result of calling
82 * {@link #visitChildren} on {@code ctx}.</p>
83 */
84 @Override public T visitSinceTag(JavadocCommentsParser.SinceTagContext ctx) { return visitChildren(ctx); }
85 /**
86 * {@inheritDoc}
87 *
88 * <p>The default implementation returns the result of calling
89 * {@link #visitChildren} on {@code ctx}.</p>
90 */
91 @Override public T visitVersionTag(JavadocCommentsParser.VersionTagContext ctx) { return visitChildren(ctx); }
92 /**
93 * {@inheritDoc}
94 *
95 * <p>The default implementation returns the result of calling
96 * {@link #visitChildren} on {@code ctx}.</p>
97 */
98 @Override public T visitSeeTag(JavadocCommentsParser.SeeTagContext ctx) { return visitChildren(ctx); }
99 /**
100 * {@inheritDoc}
101 *
102 * <p>The default implementation returns the result of calling
103 * {@link #visitChildren} on {@code ctx}.</p>
104 */
105 @Override public T visitHiddenTag(JavadocCommentsParser.HiddenTagContext ctx) { return visitChildren(ctx); }
106 /**
107 * {@inheritDoc}
108 *
109 * <p>The default implementation returns the result of calling
110 * {@link #visitChildren} on {@code ctx}.</p>
111 */
112 @Override public T visitUsesTag(JavadocCommentsParser.UsesTagContext ctx) { return visitChildren(ctx); }
113 /**
114 * {@inheritDoc}
115 *
116 * <p>The default implementation returns the result of calling
117 * {@link #visitChildren} on {@code ctx}.</p>
118 */
119 @Override public T visitProvidesTag(JavadocCommentsParser.ProvidesTagContext ctx) { return visitChildren(ctx); }
120 /**
121 * {@inheritDoc}
122 *
123 * <p>The default implementation returns the result of calling
124 * {@link #visitChildren} on {@code ctx}.</p>
125 */
126 @Override public T visitSerialTag(JavadocCommentsParser.SerialTagContext ctx) { return visitChildren(ctx); }
127 /**
128 * {@inheritDoc}
129 *
130 * <p>The default implementation returns the result of calling
131 * {@link #visitChildren} on {@code ctx}.</p>
132 */
133 @Override public T visitSerialDataTag(JavadocCommentsParser.SerialDataTagContext ctx) { return visitChildren(ctx); }
134 /**
135 * {@inheritDoc}
136 *
137 * <p>The default implementation returns the result of calling
138 * {@link #visitChildren} on {@code ctx}.</p>
139 */
140 @Override public T visitSerialFieldTag(JavadocCommentsParser.SerialFieldTagContext ctx) { return visitChildren(ctx); }
141 /**
142 * {@inheritDoc}
143 *
144 * <p>The default implementation returns the result of calling
145 * {@link #visitChildren} on {@code ctx}.</p>
146 */
147 @Override public T visitCustomBlockTag(JavadocCommentsParser.CustomBlockTagContext ctx) { return visitChildren(ctx); }
148 /**
149 * {@inheritDoc}
150 *
151 * <p>The default implementation returns the result of calling
152 * {@link #visitChildren} on {@code ctx}.</p>
153 */
154 @Override public T visitInlineTag(JavadocCommentsParser.InlineTagContext ctx) { return visitChildren(ctx); }
155 /**
156 * {@inheritDoc}
157 *
158 * <p>The default implementation returns the result of calling
159 * {@link #visitChildren} on {@code ctx}.</p>
160 */
161 @Override public T visitInlineTagContent(JavadocCommentsParser.InlineTagContentContext ctx) { return visitChildren(ctx); }
162 /**
163 * {@inheritDoc}
164 *
165 * <p>The default implementation returns the result of calling
166 * {@link #visitChildren} on {@code ctx}.</p>
167 */
168 @Override public T visitCodeInlineTag(JavadocCommentsParser.CodeInlineTagContext ctx) { return visitChildren(ctx); }
169 /**
170 * {@inheritDoc}
171 *
172 * <p>The default implementation returns the result of calling
173 * {@link #visitChildren} on {@code ctx}.</p>
174 */
175 @Override public T visitLinkPlainInlineTag(JavadocCommentsParser.LinkPlainInlineTagContext ctx) { return visitChildren(ctx); }
176 /**
177 * {@inheritDoc}
178 *
179 * <p>The default implementation returns the result of calling
180 * {@link #visitChildren} on {@code ctx}.</p>
181 */
182 @Override public T visitLinkInlineTag(JavadocCommentsParser.LinkInlineTagContext ctx) { return visitChildren(ctx); }
183 /**
184 * {@inheritDoc}
185 *
186 * <p>The default implementation returns the result of calling
187 * {@link #visitChildren} on {@code ctx}.</p>
188 */
189 @Override public T visitValueInlineTag(JavadocCommentsParser.ValueInlineTagContext ctx) { return visitChildren(ctx); }
190 /**
191 * {@inheritDoc}
192 *
193 * <p>The default implementation returns the result of calling
194 * {@link #visitChildren} on {@code ctx}.</p>
195 */
196 @Override public T visitInheritDocInlineTag(JavadocCommentsParser.InheritDocInlineTagContext ctx) { return visitChildren(ctx); }
197 /**
198 * {@inheritDoc}
199 *
200 * <p>The default implementation returns the result of calling
201 * {@link #visitChildren} on {@code ctx}.</p>
202 */
203 @Override public T visitSummaryInlineTag(JavadocCommentsParser.SummaryInlineTagContext ctx) { return visitChildren(ctx); }
204 /**
205 * {@inheritDoc}
206 *
207 * <p>The default implementation returns the result of calling
208 * {@link #visitChildren} on {@code ctx}.</p>
209 */
210 @Override public T visitSystemPropertyInlineTag(JavadocCommentsParser.SystemPropertyInlineTagContext ctx) { return visitChildren(ctx); }
211 /**
212 * {@inheritDoc}
213 *
214 * <p>The default implementation returns the result of calling
215 * {@link #visitChildren} on {@code ctx}.</p>
216 */
217 @Override public T visitIndexInlineTag(JavadocCommentsParser.IndexInlineTagContext ctx) { return visitChildren(ctx); }
218 /**
219 * {@inheritDoc}
220 *
221 * <p>The default implementation returns the result of calling
222 * {@link #visitChildren} on {@code ctx}.</p>
223 */
224 @Override public T visitReturnInlineTag(JavadocCommentsParser.ReturnInlineTagContext ctx) { return visitChildren(ctx); }
225 /**
226 * {@inheritDoc}
227 *
228 * <p>The default implementation returns the result of calling
229 * {@link #visitChildren} on {@code ctx}.</p>
230 */
231 @Override public T visitLiteralInlineTag(JavadocCommentsParser.LiteralInlineTagContext ctx) { return visitChildren(ctx); }
232 /**
233 * {@inheritDoc}
234 *
235 * <p>The default implementation returns the result of calling
236 * {@link #visitChildren} on {@code ctx}.</p>
237 */
238 @Override public T visitSnippetInlineTag(JavadocCommentsParser.SnippetInlineTagContext ctx) { return visitChildren(ctx); }
239 /**
240 * {@inheritDoc}
241 *
242 * <p>The default implementation returns the result of calling
243 * {@link #visitChildren} on {@code ctx}.</p>
244 */
245 @Override public T visitCustomInlineTag(JavadocCommentsParser.CustomInlineTagContext ctx) { return visitChildren(ctx); }
246 /**
247 * {@inheritDoc}
248 *
249 * <p>The default implementation returns the result of calling
250 * {@link #visitChildren} on {@code ctx}.</p>
251 */
252 @Override public T visitReference(JavadocCommentsParser.ReferenceContext ctx) { return visitChildren(ctx); }
253 /**
254 * {@inheritDoc}
255 *
256 * <p>The default implementation returns the result of calling
257 * {@link #visitChildren} on {@code ctx}.</p>
258 */
259 @Override public T visitTypeName(JavadocCommentsParser.TypeNameContext ctx) { return visitChildren(ctx); }
260 /**
261 * {@inheritDoc}
262 *
263 * <p>The default implementation returns the result of calling
264 * {@link #visitChildren} on {@code ctx}.</p>
265 */
266 @Override public T visitQualifiedName(JavadocCommentsParser.QualifiedNameContext ctx) { return visitChildren(ctx); }
267 /**
268 * {@inheritDoc}
269 *
270 * <p>The default implementation returns the result of calling
271 * {@link #visitChildren} on {@code ctx}.</p>
272 */
273 @Override public T visitTypeArguments(JavadocCommentsParser.TypeArgumentsContext ctx) { return visitChildren(ctx); }
274 /**
275 * {@inheritDoc}
276 *
277 * <p>The default implementation returns the result of calling
278 * {@link #visitChildren} on {@code ctx}.</p>
279 */
280 @Override public T visitTypeArgument(JavadocCommentsParser.TypeArgumentContext ctx) { return visitChildren(ctx); }
281 /**
282 * {@inheritDoc}
283 *
284 * <p>The default implementation returns the result of calling
285 * {@link #visitChildren} on {@code ctx}.</p>
286 */
287 @Override public T visitMemberReference(JavadocCommentsParser.MemberReferenceContext ctx) { return visitChildren(ctx); }
288 /**
289 * {@inheritDoc}
290 *
291 * <p>The default implementation returns the result of calling
292 * {@link #visitChildren} on {@code ctx}.</p>
293 */
294 @Override public T visitParameterTypeList(JavadocCommentsParser.ParameterTypeListContext ctx) { return visitChildren(ctx); }
295 /**
296 * {@inheritDoc}
297 *
298 * <p>The default implementation returns the result of calling
299 * {@link #visitChildren} on {@code ctx}.</p>
300 */
301 @Override public T visitSnippetAttribute(JavadocCommentsParser.SnippetAttributeContext ctx) { return visitChildren(ctx); }
302 /**
303 * {@inheritDoc}
304 *
305 * <p>The default implementation returns the result of calling
306 * {@link #visitChildren} on {@code ctx}.</p>
307 */
308 @Override public T visitSnippetBody(JavadocCommentsParser.SnippetBodyContext ctx) { return visitChildren(ctx); }
309 /**
310 * {@inheritDoc}
311 *
312 * <p>The default implementation returns the result of calling
313 * {@link #visitChildren} on {@code ctx}.</p>
314 */
315 @Override public T visitDescription(JavadocCommentsParser.DescriptionContext ctx) { return visitChildren(ctx); }
316 /**
317 * {@inheritDoc}
318 *
319 * <p>The default implementation returns the result of calling
320 * {@link #visitChildren} on {@code ctx}.</p>
321 */
322 @Override public T visitHtmlElement(JavadocCommentsParser.HtmlElementContext ctx) { return visitChildren(ctx); }
323 /**
324 * {@inheritDoc}
325 *
326 * <p>The default implementation returns the result of calling
327 * {@link #visitChildren} on {@code ctx}.</p>
328 */
329 @Override public T visitVoidElement(JavadocCommentsParser.VoidElementContext ctx) { return visitChildren(ctx); }
330 /**
331 * {@inheritDoc}
332 *
333 * <p>The default implementation returns the result of calling
334 * {@link #visitChildren} on {@code ctx}.</p>
335 */
336 @Override public T visitTightElement(JavadocCommentsParser.TightElementContext ctx) { return visitChildren(ctx); }
337 /**
338 * {@inheritDoc}
339 *
340 * <p>The default implementation returns the result of calling
341 * {@link #visitChildren} on {@code ctx}.</p>
342 */
343 @Override public T visitNonTightElement(JavadocCommentsParser.NonTightElementContext ctx) { return visitChildren(ctx); }
344 /**
345 * {@inheritDoc}
346 *
347 * <p>The default implementation returns the result of calling
348 * {@link #visitChildren} on {@code ctx}.</p>
349 */
350 @Override public T visitSelfClosingElement(JavadocCommentsParser.SelfClosingElementContext ctx) { return visitChildren(ctx); }
351 /**
352 * {@inheritDoc}
353 *
354 * <p>The default implementation returns the result of calling
355 * {@link #visitChildren} on {@code ctx}.</p>
356 */
357 @Override public T visitHtmlTagStart(JavadocCommentsParser.HtmlTagStartContext ctx) { return visitChildren(ctx); }
358 /**
359 * {@inheritDoc}
360 *
361 * <p>The default implementation returns the result of calling
362 * {@link #visitChildren} on {@code ctx}.</p>
363 */
364 @Override public T visitHtmlTagEnd(JavadocCommentsParser.HtmlTagEndContext ctx) { return visitChildren(ctx); }
365 /**
366 * {@inheritDoc}
367 *
368 * <p>The default implementation returns the result of calling
369 * {@link #visitChildren} on {@code ctx}.</p>
370 */
371 @Override public T visitHtmlAttribute(JavadocCommentsParser.HtmlAttributeContext ctx) { return visitChildren(ctx); }
372 /**
373 * {@inheritDoc}
374 *
375 * <p>The default implementation returns the result of calling
376 * {@link #visitChildren} on {@code ctx}.</p>
377 */
378 @Override public T visitHtmlContent(JavadocCommentsParser.HtmlContentContext ctx) { return visitChildren(ctx); }
379 /**
380 * {@inheritDoc}
381 *
382 * <p>The default implementation returns the result of calling
383 * {@link #visitChildren} on {@code ctx}.</p>
384 */
385 @Override public T visitNonTightHtmlContent(JavadocCommentsParser.NonTightHtmlContentContext ctx) { return visitChildren(ctx); }
386 /**
387 * {@inheritDoc}
388 *
389 * <p>The default implementation returns the result of calling
390 * {@link #visitChildren} on {@code ctx}.</p>
391 */
392 @Override public T visitHtmlComment(JavadocCommentsParser.HtmlCommentContext ctx) { return visitChildren(ctx); }
393 /**
394 * {@inheritDoc}
395 *
396 * <p>The default implementation returns the result of calling
397 * {@link #visitChildren} on {@code ctx}.</p>
398 */
399 @Override public T visitHtmlCommentContent(JavadocCommentsParser.HtmlCommentContentContext ctx) { return visitChildren(ctx); }
400 }