1 // Generated from com/puppycrawl/tools/checkstyle/grammar/java/JavaLanguageParser.g4 by ANTLR 4.13.2
2 package com.puppycrawl.tools.checkstyle.grammar.java;
3 import org.antlr.v4.runtime.tree.ParseTreeVisitor;
4
5 /**
6 * This interface defines a complete generic visitor for a parse tree produced
7 * by {@link JavaLanguageParser}.
8 *
9 * @param <T> The return type of the visit operation. Use {@link Void} for
10 * operations with no return type.
11 */
12 public interface JavaLanguageParserVisitor<T> extends ParseTreeVisitor<T> {
13 /**
14 * Visit a parse tree produced by {@link JavaLanguageParser#compilationUnit}.
15 * @param ctx the parse tree
16 * @return the visitor result
17 */
18 T visitCompilationUnit(JavaLanguageParser.CompilationUnitContext ctx);
19 /**
20 * Visit a parse tree produced by {@link JavaLanguageParser#compactMemberDeclaration}.
21 * @param ctx the parse tree
22 * @return the visitor result
23 */
24 T visitCompactMemberDeclaration(JavaLanguageParser.CompactMemberDeclarationContext ctx);
25 /**
26 * Visit a parse tree produced by {@link JavaLanguageParser#compactMember}.
27 * @param ctx the parse tree
28 * @return the visitor result
29 */
30 T visitCompactMember(JavaLanguageParser.CompactMemberContext ctx);
31 /**
32 * Visit a parse tree produced by {@link JavaLanguageParser#packageDeclaration}.
33 * @param ctx the parse tree
34 * @return the visitor result
35 */
36 T visitPackageDeclaration(JavaLanguageParser.PackageDeclarationContext ctx);
37 /**
38 * Visit a parse tree produced by the {@code importDec}
39 * labeled alternative in {@link JavaLanguageParser#importDeclaration}.
40 * @param ctx the parse tree
41 * @return the visitor result
42 */
43 T visitImportDec(JavaLanguageParser.ImportDecContext ctx);
44 /**
45 * Visit a parse tree produced by the {@code singleSemiImport}
46 * labeled alternative in {@link JavaLanguageParser#importDeclaration}.
47 * @param ctx the parse tree
48 * @return the visitor result
49 */
50 T visitSingleSemiImport(JavaLanguageParser.SingleSemiImportContext ctx);
51 /**
52 * Visit a parse tree produced by {@link JavaLanguageParser#typeDeclaration}.
53 * @param ctx the parse tree
54 * @return the visitor result
55 */
56 T visitTypeDeclaration(JavaLanguageParser.TypeDeclarationContext ctx);
57 /**
58 * Visit a parse tree produced by {@link JavaLanguageParser#types}.
59 * @param ctx the parse tree
60 * @return the visitor result
61 */
62 T visitTypes(JavaLanguageParser.TypesContext ctx);
63 /**
64 * Visit a parse tree produced by {@link JavaLanguageParser#modifier}.
65 * @param ctx the parse tree
66 * @return the visitor result
67 */
68 T visitModifier(JavaLanguageParser.ModifierContext ctx);
69 /**
70 * Visit a parse tree produced by {@link JavaLanguageParser#variableModifier}.
71 * @param ctx the parse tree
72 * @return the visitor result
73 */
74 T visitVariableModifier(JavaLanguageParser.VariableModifierContext ctx);
75 /**
76 * Visit a parse tree produced by {@link JavaLanguageParser#classDeclaration}.
77 * @param ctx the parse tree
78 * @return the visitor result
79 */
80 T visitClassDeclaration(JavaLanguageParser.ClassDeclarationContext ctx);
81 /**
82 * Visit a parse tree produced by {@link JavaLanguageParser#recordDeclaration}.
83 * @param ctx the parse tree
84 * @return the visitor result
85 */
86 T visitRecordDeclaration(JavaLanguageParser.RecordDeclarationContext ctx);
87 /**
88 * Visit a parse tree produced by {@link JavaLanguageParser#recordComponentsList}.
89 * @param ctx the parse tree
90 * @return the visitor result
91 */
92 T visitRecordComponentsList(JavaLanguageParser.RecordComponentsListContext ctx);
93 /**
94 * Visit a parse tree produced by {@link JavaLanguageParser#recordComponents}.
95 * @param ctx the parse tree
96 * @return the visitor result
97 */
98 T visitRecordComponents(JavaLanguageParser.RecordComponentsContext ctx);
99 /**
100 * Visit a parse tree produced by {@link JavaLanguageParser#recordComponent}.
101 * @param ctx the parse tree
102 * @return the visitor result
103 */
104 T visitRecordComponent(JavaLanguageParser.RecordComponentContext ctx);
105 /**
106 * Visit a parse tree produced by {@link JavaLanguageParser#lastRecordComponent}.
107 * @param ctx the parse tree
108 * @return the visitor result
109 */
110 T visitLastRecordComponent(JavaLanguageParser.LastRecordComponentContext ctx);
111 /**
112 * Visit a parse tree produced by {@link JavaLanguageParser#recordBody}.
113 * @param ctx the parse tree
114 * @return the visitor result
115 */
116 T visitRecordBody(JavaLanguageParser.RecordBodyContext ctx);
117 /**
118 * Visit a parse tree produced by {@link JavaLanguageParser#recordBodyDeclaration}.
119 * @param ctx the parse tree
120 * @return the visitor result
121 */
122 T visitRecordBodyDeclaration(JavaLanguageParser.RecordBodyDeclarationContext ctx);
123 /**
124 * Visit a parse tree produced by {@link JavaLanguageParser#compactConstructorDeclaration}.
125 * @param ctx the parse tree
126 * @return the visitor result
127 */
128 T visitCompactConstructorDeclaration(JavaLanguageParser.CompactConstructorDeclarationContext ctx);
129 /**
130 * Visit a parse tree produced by {@link JavaLanguageParser#classExtends}.
131 * @param ctx the parse tree
132 * @return the visitor result
133 */
134 T visitClassExtends(JavaLanguageParser.ClassExtendsContext ctx);
135 /**
136 * Visit a parse tree produced by {@link JavaLanguageParser#implementsClause}.
137 * @param ctx the parse tree
138 * @return the visitor result
139 */
140 T visitImplementsClause(JavaLanguageParser.ImplementsClauseContext ctx);
141 /**
142 * Visit a parse tree produced by {@link JavaLanguageParser#typeParameters}.
143 * @param ctx the parse tree
144 * @return the visitor result
145 */
146 T visitTypeParameters(JavaLanguageParser.TypeParametersContext ctx);
147 /**
148 * Visit a parse tree produced by {@link JavaLanguageParser#typeParameter}.
149 * @param ctx the parse tree
150 * @return the visitor result
151 */
152 T visitTypeParameter(JavaLanguageParser.TypeParameterContext ctx);
153 /**
154 * Visit a parse tree produced by {@link JavaLanguageParser#typeUpperBounds}.
155 * @param ctx the parse tree
156 * @return the visitor result
157 */
158 T visitTypeUpperBounds(JavaLanguageParser.TypeUpperBoundsContext ctx);
159 /**
160 * Visit a parse tree produced by {@link JavaLanguageParser#typeBound}.
161 * @param ctx the parse tree
162 * @return the visitor result
163 */
164 T visitTypeBound(JavaLanguageParser.TypeBoundContext ctx);
165 /**
166 * Visit a parse tree produced by {@link JavaLanguageParser#typeBoundType}.
167 * @param ctx the parse tree
168 * @return the visitor result
169 */
170 T visitTypeBoundType(JavaLanguageParser.TypeBoundTypeContext ctx);
171 /**
172 * Visit a parse tree produced by {@link JavaLanguageParser#enumDeclaration}.
173 * @param ctx the parse tree
174 * @return the visitor result
175 */
176 T visitEnumDeclaration(JavaLanguageParser.EnumDeclarationContext ctx);
177 /**
178 * Visit a parse tree produced by {@link JavaLanguageParser#enumBody}.
179 * @param ctx the parse tree
180 * @return the visitor result
181 */
182 T visitEnumBody(JavaLanguageParser.EnumBodyContext ctx);
183 /**
184 * Visit a parse tree produced by {@link JavaLanguageParser#enumConstants}.
185 * @param ctx the parse tree
186 * @return the visitor result
187 */
188 T visitEnumConstants(JavaLanguageParser.EnumConstantsContext ctx);
189 /**
190 * Visit a parse tree produced by {@link JavaLanguageParser#enumConstant}.
191 * @param ctx the parse tree
192 * @return the visitor result
193 */
194 T visitEnumConstant(JavaLanguageParser.EnumConstantContext ctx);
195 /**
196 * Visit a parse tree produced by {@link JavaLanguageParser#enumBodyDeclarations}.
197 * @param ctx the parse tree
198 * @return the visitor result
199 */
200 T visitEnumBodyDeclarations(JavaLanguageParser.EnumBodyDeclarationsContext ctx);
201 /**
202 * Visit a parse tree produced by {@link JavaLanguageParser#interfaceDeclaration}.
203 * @param ctx the parse tree
204 * @return the visitor result
205 */
206 T visitInterfaceDeclaration(JavaLanguageParser.InterfaceDeclarationContext ctx);
207 /**
208 * Visit a parse tree produced by {@link JavaLanguageParser#interfaceExtends}.
209 * @param ctx the parse tree
210 * @return the visitor result
211 */
212 T visitInterfaceExtends(JavaLanguageParser.InterfaceExtendsContext ctx);
213 /**
214 * Visit a parse tree produced by {@link JavaLanguageParser#classBody}.
215 * @param ctx the parse tree
216 * @return the visitor result
217 */
218 T visitClassBody(JavaLanguageParser.ClassBodyContext ctx);
219 /**
220 * Visit a parse tree produced by {@link JavaLanguageParser#interfaceBody}.
221 * @param ctx the parse tree
222 * @return the visitor result
223 */
224 T visitInterfaceBody(JavaLanguageParser.InterfaceBodyContext ctx);
225 /**
226 * Visit a parse tree produced by the {@code emptyClass}
227 * labeled alternative in {@link JavaLanguageParser#classBodyDeclaration}.
228 * @param ctx the parse tree
229 * @return the visitor result
230 */
231 T visitEmptyClass(JavaLanguageParser.EmptyClassContext ctx);
232 /**
233 * Visit a parse tree produced by the {@code classBlock}
234 * labeled alternative in {@link JavaLanguageParser#classBodyDeclaration}.
235 * @param ctx the parse tree
236 * @return the visitor result
237 */
238 T visitClassBlock(JavaLanguageParser.ClassBlockContext ctx);
239 /**
240 * Visit a parse tree produced by the {@code classDef}
241 * labeled alternative in {@link JavaLanguageParser#classBodyDeclaration}.
242 * @param ctx the parse tree
243 * @return the visitor result
244 */
245 T visitClassDef(JavaLanguageParser.ClassDefContext ctx);
246 /**
247 * Visit a parse tree produced by {@link JavaLanguageParser#memberDeclaration}.
248 * @param ctx the parse tree
249 * @return the visitor result
250 */
251 T visitMemberDeclaration(JavaLanguageParser.MemberDeclarationContext ctx);
252 /**
253 * Visit a parse tree produced by {@link JavaLanguageParser#methodDeclaration}.
254 * @param ctx the parse tree
255 * @return the visitor result
256 */
257 T visitMethodDeclaration(JavaLanguageParser.MethodDeclarationContext ctx);
258 /**
259 * Visit a parse tree produced by {@link JavaLanguageParser#methodBody}.
260 * @param ctx the parse tree
261 * @return the visitor result
262 */
263 T visitMethodBody(JavaLanguageParser.MethodBodyContext ctx);
264 /**
265 * Visit a parse tree produced by {@link JavaLanguageParser#throwsList}.
266 * @param ctx the parse tree
267 * @return the visitor result
268 */
269 T visitThrowsList(JavaLanguageParser.ThrowsListContext ctx);
270 /**
271 * Visit a parse tree produced by {@link JavaLanguageParser#constructorDeclaration}.
272 * @param ctx the parse tree
273 * @return the visitor result
274 */
275 T visitConstructorDeclaration(JavaLanguageParser.ConstructorDeclarationContext ctx);
276 /**
277 * Visit a parse tree produced by {@link JavaLanguageParser#fieldDeclaration}.
278 * @param ctx the parse tree
279 * @return the visitor result
280 */
281 T visitFieldDeclaration(JavaLanguageParser.FieldDeclarationContext ctx);
282 /**
283 * Visit a parse tree produced by {@link JavaLanguageParser#interfaceBodyDeclaration}.
284 * @param ctx the parse tree
285 * @return the visitor result
286 */
287 T visitInterfaceBodyDeclaration(JavaLanguageParser.InterfaceBodyDeclarationContext ctx);
288 /**
289 * Visit a parse tree produced by {@link JavaLanguageParser#interfaceMemberDeclaration}.
290 * @param ctx the parse tree
291 * @return the visitor result
292 */
293 T visitInterfaceMemberDeclaration(JavaLanguageParser.InterfaceMemberDeclarationContext ctx);
294 /**
295 * Visit a parse tree produced by {@link JavaLanguageParser#interfaceMethodDeclaration}.
296 * @param ctx the parse tree
297 * @return the visitor result
298 */
299 T visitInterfaceMethodDeclaration(JavaLanguageParser.InterfaceMethodDeclarationContext ctx);
300 /**
301 * Visit a parse tree produced by {@link JavaLanguageParser#variableDeclarators}.
302 * @param ctx the parse tree
303 * @return the visitor result
304 */
305 T visitVariableDeclarators(JavaLanguageParser.VariableDeclaratorsContext ctx);
306 /**
307 * Visit a parse tree produced by {@link JavaLanguageParser#variableDeclarator}.
308 * @param ctx the parse tree
309 * @return the visitor result
310 */
311 T visitVariableDeclarator(JavaLanguageParser.VariableDeclaratorContext ctx);
312 /**
313 * Visit a parse tree produced by {@link JavaLanguageParser#variableDeclaratorId}.
314 * @param ctx the parse tree
315 * @return the visitor result
316 */
317 T visitVariableDeclaratorId(JavaLanguageParser.VariableDeclaratorIdContext ctx);
318 /**
319 * Visit a parse tree produced by {@link JavaLanguageParser#variableInitializer}.
320 * @param ctx the parse tree
321 * @return the visitor result
322 */
323 T visitVariableInitializer(JavaLanguageParser.VariableInitializerContext ctx);
324 /**
325 * Visit a parse tree produced by {@link JavaLanguageParser#arrayInitializer}.
326 * @param ctx the parse tree
327 * @return the visitor result
328 */
329 T visitArrayInitializer(JavaLanguageParser.ArrayInitializerContext ctx);
330 /**
331 * Visit a parse tree produced by {@link JavaLanguageParser#classOrInterfaceType}.
332 * @param ctx the parse tree
333 * @return the visitor result
334 */
335 T visitClassOrInterfaceType(JavaLanguageParser.ClassOrInterfaceTypeContext ctx);
336 /**
337 * Visit a parse tree produced by {@link JavaLanguageParser#classOrInterfaceTypeExtended}.
338 * @param ctx the parse tree
339 * @return the visitor result
340 */
341 T visitClassOrInterfaceTypeExtended(JavaLanguageParser.ClassOrInterfaceTypeExtendedContext ctx);
342 /**
343 * Visit a parse tree produced by the {@code simpleTypeArgument}
344 * labeled alternative in {@link JavaLanguageParser#typeArgument}.
345 * @param ctx the parse tree
346 * @return the visitor result
347 */
348 T visitSimpleTypeArgument(JavaLanguageParser.SimpleTypeArgumentContext ctx);
349 /**
350 * Visit a parse tree produced by the {@code wildCardTypeArgument}
351 * labeled alternative in {@link JavaLanguageParser#typeArgument}.
352 * @param ctx the parse tree
353 * @return the visitor result
354 */
355 T visitWildCardTypeArgument(JavaLanguageParser.WildCardTypeArgumentContext ctx);
356 /**
357 * Visit a parse tree produced by {@link JavaLanguageParser#qualifiedNameList}.
358 * @param ctx the parse tree
359 * @return the visitor result
360 */
361 T visitQualifiedNameList(JavaLanguageParser.QualifiedNameListContext ctx);
362 /**
363 * Visit a parse tree produced by {@link JavaLanguageParser#formalParameters}.
364 * @param ctx the parse tree
365 * @return the visitor result
366 */
367 T visitFormalParameters(JavaLanguageParser.FormalParametersContext ctx);
368 /**
369 * Visit a parse tree produced by {@link JavaLanguageParser#formalParameterList}.
370 * @param ctx the parse tree
371 * @return the visitor result
372 */
373 T visitFormalParameterList(JavaLanguageParser.FormalParameterListContext ctx);
374 /**
375 * Visit a parse tree produced by {@link JavaLanguageParser#formalParameter}.
376 * @param ctx the parse tree
377 * @return the visitor result
378 */
379 T visitFormalParameter(JavaLanguageParser.FormalParameterContext ctx);
380 /**
381 * Visit a parse tree produced by {@link JavaLanguageParser#lastFormalParameter}.
382 * @param ctx the parse tree
383 * @return the visitor result
384 */
385 T visitLastFormalParameter(JavaLanguageParser.LastFormalParameterContext ctx);
386 /**
387 * Visit a parse tree produced by {@link JavaLanguageParser#qualifiedName}.
388 * @param ctx the parse tree
389 * @return the visitor result
390 */
391 T visitQualifiedName(JavaLanguageParser.QualifiedNameContext ctx);
392 /**
393 * Visit a parse tree produced by {@link JavaLanguageParser#qualifiedNameExtended}.
394 * @param ctx the parse tree
395 * @return the visitor result
396 */
397 T visitQualifiedNameExtended(JavaLanguageParser.QualifiedNameExtendedContext ctx);
398 /**
399 * Visit a parse tree produced by {@link JavaLanguageParser#literal}.
400 * @param ctx the parse tree
401 * @return the visitor result
402 */
403 T visitLiteral(JavaLanguageParser.LiteralContext ctx);
404 /**
405 * Visit a parse tree produced by {@link JavaLanguageParser#integerLiteral}.
406 * @param ctx the parse tree
407 * @return the visitor result
408 */
409 T visitIntegerLiteral(JavaLanguageParser.IntegerLiteralContext ctx);
410 /**
411 * Visit a parse tree produced by {@link JavaLanguageParser#floatLiteral}.
412 * @param ctx the parse tree
413 * @return the visitor result
414 */
415 T visitFloatLiteral(JavaLanguageParser.FloatLiteralContext ctx);
416 /**
417 * Visit a parse tree produced by {@link JavaLanguageParser#textBlockLiteral}.
418 * @param ctx the parse tree
419 * @return the visitor result
420 */
421 T visitTextBlockLiteral(JavaLanguageParser.TextBlockLiteralContext ctx);
422 /**
423 * Visit a parse tree produced by {@link JavaLanguageParser#annotations}.
424 * @param ctx the parse tree
425 * @return the visitor result
426 */
427 T visitAnnotations(JavaLanguageParser.AnnotationsContext ctx);
428 /**
429 * Visit a parse tree produced by {@link JavaLanguageParser#annotation}.
430 * @param ctx the parse tree
431 * @return the visitor result
432 */
433 T visitAnnotation(JavaLanguageParser.AnnotationContext ctx);
434 /**
435 * Visit a parse tree produced by {@link JavaLanguageParser#elementValuePairs}.
436 * @param ctx the parse tree
437 * @return the visitor result
438 */
439 T visitElementValuePairs(JavaLanguageParser.ElementValuePairsContext ctx);
440 /**
441 * Visit a parse tree produced by {@link JavaLanguageParser#elementValuePair}.
442 * @param ctx the parse tree
443 * @return the visitor result
444 */
445 T visitElementValuePair(JavaLanguageParser.ElementValuePairContext ctx);
446 /**
447 * Visit a parse tree produced by {@link JavaLanguageParser#elementValue}.
448 * @param ctx the parse tree
449 * @return the visitor result
450 */
451 T visitElementValue(JavaLanguageParser.ElementValueContext ctx);
452 /**
453 * Visit a parse tree produced by {@link JavaLanguageParser#elementValueArrayInitializer}.
454 * @param ctx the parse tree
455 * @return the visitor result
456 */
457 T visitElementValueArrayInitializer(JavaLanguageParser.ElementValueArrayInitializerContext ctx);
458 /**
459 * Visit a parse tree produced by {@link JavaLanguageParser#annotationTypeDeclaration}.
460 * @param ctx the parse tree
461 * @return the visitor result
462 */
463 T visitAnnotationTypeDeclaration(JavaLanguageParser.AnnotationTypeDeclarationContext ctx);
464 /**
465 * Visit a parse tree produced by {@link JavaLanguageParser#annotationTypeBody}.
466 * @param ctx the parse tree
467 * @return the visitor result
468 */
469 T visitAnnotationTypeBody(JavaLanguageParser.AnnotationTypeBodyContext ctx);
470 /**
471 * Visit a parse tree produced by {@link JavaLanguageParser#annotationTypeElementDeclaration}.
472 * @param ctx the parse tree
473 * @return the visitor result
474 */
475 T visitAnnotationTypeElementDeclaration(JavaLanguageParser.AnnotationTypeElementDeclarationContext ctx);
476 /**
477 * Visit a parse tree produced by the {@code annotationField}
478 * labeled alternative in {@link JavaLanguageParser#annotationTypeElementRest}.
479 * @param ctx the parse tree
480 * @return the visitor result
481 */
482 T visitAnnotationField(JavaLanguageParser.AnnotationFieldContext ctx);
483 /**
484 * Visit a parse tree produced by the {@code annotationType}
485 * labeled alternative in {@link JavaLanguageParser#annotationTypeElementRest}.
486 * @param ctx the parse tree
487 * @return the visitor result
488 */
489 T visitAnnotationType(JavaLanguageParser.AnnotationTypeContext ctx);
490 /**
491 * Visit a parse tree produced by {@link JavaLanguageParser#annotationMethodRest}.
492 * @param ctx the parse tree
493 * @return the visitor result
494 */
495 T visitAnnotationMethodRest(JavaLanguageParser.AnnotationMethodRestContext ctx);
496 /**
497 * Visit a parse tree produced by {@link JavaLanguageParser#annotationConstantRest}.
498 * @param ctx the parse tree
499 * @return the visitor result
500 */
501 T visitAnnotationConstantRest(JavaLanguageParser.AnnotationConstantRestContext ctx);
502 /**
503 * Visit a parse tree produced by {@link JavaLanguageParser#defaultValue}.
504 * @param ctx the parse tree
505 * @return the visitor result
506 */
507 T visitDefaultValue(JavaLanguageParser.DefaultValueContext ctx);
508 /**
509 * Visit a parse tree produced by {@link JavaLanguageParser#constructorBlock}.
510 * @param ctx the parse tree
511 * @return the visitor result
512 */
513 T visitConstructorBlock(JavaLanguageParser.ConstructorBlockContext ctx);
514 /**
515 * Visit a parse tree produced by {@link JavaLanguageParser#constructorBlockStatement}.
516 * @param ctx the parse tree
517 * @return the visitor result
518 */
519 T visitConstructorBlockStatement(JavaLanguageParser.ConstructorBlockStatementContext ctx);
520 /**
521 * Visit a parse tree produced by the {@code explicitCtorCall}
522 * labeled alternative in {@link JavaLanguageParser#explicitConstructorInvocation}.
523 * @param ctx the parse tree
524 * @return the visitor result
525 */
526 T visitExplicitCtorCall(JavaLanguageParser.ExplicitCtorCallContext ctx);
527 /**
528 * Visit a parse tree produced by the {@code primaryCtorCall}
529 * labeled alternative in {@link JavaLanguageParser#explicitConstructorInvocation}.
530 * @param ctx the parse tree
531 * @return the visitor result
532 */
533 T visitPrimaryCtorCall(JavaLanguageParser.PrimaryCtorCallContext ctx);
534 /**
535 * Visit a parse tree produced by {@link JavaLanguageParser#block}.
536 * @param ctx the parse tree
537 * @return the visitor result
538 */
539 T visitBlock(JavaLanguageParser.BlockContext ctx);
540 /**
541 * Visit a parse tree produced by the {@code localVar}
542 * labeled alternative in {@link JavaLanguageParser#blockStatement}.
543 * @param ctx the parse tree
544 * @return the visitor result
545 */
546 T visitLocalVar(JavaLanguageParser.LocalVarContext ctx);
547 /**
548 * Visit a parse tree produced by the {@code stat}
549 * labeled alternative in {@link JavaLanguageParser#blockStatement}.
550 * @param ctx the parse tree
551 * @return the visitor result
552 */
553 T visitStat(JavaLanguageParser.StatContext ctx);
554 /**
555 * Visit a parse tree produced by the {@code localType}
556 * labeled alternative in {@link JavaLanguageParser#blockStatement}.
557 * @param ctx the parse tree
558 * @return the visitor result
559 */
560 T visitLocalType(JavaLanguageParser.LocalTypeContext ctx);
561 /**
562 * Visit a parse tree produced by {@link JavaLanguageParser#localVariableDeclaration}.
563 * @param ctx the parse tree
564 * @return the visitor result
565 */
566 T visitLocalVariableDeclaration(JavaLanguageParser.LocalVariableDeclarationContext ctx);
567 /**
568 * Visit a parse tree produced by {@link JavaLanguageParser#localTypeDeclaration}.
569 * @param ctx the parse tree
570 * @return the visitor result
571 */
572 T visitLocalTypeDeclaration(JavaLanguageParser.LocalTypeDeclarationContext ctx);
573 /**
574 * Visit a parse tree produced by the {@code blockStat}
575 * labeled alternative in {@link JavaLanguageParser#statement}.
576 * @param ctx the parse tree
577 * @return the visitor result
578 */
579 T visitBlockStat(JavaLanguageParser.BlockStatContext ctx);
580 /**
581 * Visit a parse tree produced by the {@code assertExp}
582 * labeled alternative in {@link JavaLanguageParser#statement}.
583 * @param ctx the parse tree
584 * @return the visitor result
585 */
586 T visitAssertExp(JavaLanguageParser.AssertExpContext ctx);
587 /**
588 * Visit a parse tree produced by the {@code ifStat}
589 * labeled alternative in {@link JavaLanguageParser#statement}.
590 * @param ctx the parse tree
591 * @return the visitor result
592 */
593 T visitIfStat(JavaLanguageParser.IfStatContext ctx);
594 /**
595 * Visit a parse tree produced by the {@code forStat}
596 * labeled alternative in {@link JavaLanguageParser#statement}.
597 * @param ctx the parse tree
598 * @return the visitor result
599 */
600 T visitForStat(JavaLanguageParser.ForStatContext ctx);
601 /**
602 * Visit a parse tree produced by the {@code whileStat}
603 * labeled alternative in {@link JavaLanguageParser#statement}.
604 * @param ctx the parse tree
605 * @return the visitor result
606 */
607 T visitWhileStat(JavaLanguageParser.WhileStatContext ctx);
608 /**
609 * Visit a parse tree produced by the {@code doStat}
610 * labeled alternative in {@link JavaLanguageParser#statement}.
611 * @param ctx the parse tree
612 * @return the visitor result
613 */
614 T visitDoStat(JavaLanguageParser.DoStatContext ctx);
615 /**
616 * Visit a parse tree produced by the {@code tryStat}
617 * labeled alternative in {@link JavaLanguageParser#statement}.
618 * @param ctx the parse tree
619 * @return the visitor result
620 */
621 T visitTryStat(JavaLanguageParser.TryStatContext ctx);
622 /**
623 * Visit a parse tree produced by the {@code tryWithResourceStat}
624 * labeled alternative in {@link JavaLanguageParser#statement}.
625 * @param ctx the parse tree
626 * @return the visitor result
627 */
628 T visitTryWithResourceStat(JavaLanguageParser.TryWithResourceStatContext ctx);
629 /**
630 * Visit a parse tree produced by the {@code yieldStat}
631 * labeled alternative in {@link JavaLanguageParser#statement}.
632 * @param ctx the parse tree
633 * @return the visitor result
634 */
635 T visitYieldStat(JavaLanguageParser.YieldStatContext ctx);
636 /**
637 * Visit a parse tree produced by the {@code switchStat}
638 * labeled alternative in {@link JavaLanguageParser#statement}.
639 * @param ctx the parse tree
640 * @return the visitor result
641 */
642 T visitSwitchStat(JavaLanguageParser.SwitchStatContext ctx);
643 /**
644 * Visit a parse tree produced by the {@code syncStat}
645 * labeled alternative in {@link JavaLanguageParser#statement}.
646 * @param ctx the parse tree
647 * @return the visitor result
648 */
649 T visitSyncStat(JavaLanguageParser.SyncStatContext ctx);
650 /**
651 * Visit a parse tree produced by the {@code returnStat}
652 * labeled alternative in {@link JavaLanguageParser#statement}.
653 * @param ctx the parse tree
654 * @return the visitor result
655 */
656 T visitReturnStat(JavaLanguageParser.ReturnStatContext ctx);
657 /**
658 * Visit a parse tree produced by the {@code throwStat}
659 * labeled alternative in {@link JavaLanguageParser#statement}.
660 * @param ctx the parse tree
661 * @return the visitor result
662 */
663 T visitThrowStat(JavaLanguageParser.ThrowStatContext ctx);
664 /**
665 * Visit a parse tree produced by the {@code breakStat}
666 * labeled alternative in {@link JavaLanguageParser#statement}.
667 * @param ctx the parse tree
668 * @return the visitor result
669 */
670 T visitBreakStat(JavaLanguageParser.BreakStatContext ctx);
671 /**
672 * Visit a parse tree produced by the {@code continueStat}
673 * labeled alternative in {@link JavaLanguageParser#statement}.
674 * @param ctx the parse tree
675 * @return the visitor result
676 */
677 T visitContinueStat(JavaLanguageParser.ContinueStatContext ctx);
678 /**
679 * Visit a parse tree produced by the {@code emptyStat}
680 * labeled alternative in {@link JavaLanguageParser#statement}.
681 * @param ctx the parse tree
682 * @return the visitor result
683 */
684 T visitEmptyStat(JavaLanguageParser.EmptyStatContext ctx);
685 /**
686 * Visit a parse tree produced by the {@code expStat}
687 * labeled alternative in {@link JavaLanguageParser#statement}.
688 * @param ctx the parse tree
689 * @return the visitor result
690 */
691 T visitExpStat(JavaLanguageParser.ExpStatContext ctx);
692 /**
693 * Visit a parse tree produced by the {@code labelStat}
694 * labeled alternative in {@link JavaLanguageParser#statement}.
695 * @param ctx the parse tree
696 * @return the visitor result
697 */
698 T visitLabelStat(JavaLanguageParser.LabelStatContext ctx);
699 /**
700 * Visit a parse tree produced by {@link JavaLanguageParser#switchExpressionOrStatement}.
701 * @param ctx the parse tree
702 * @return the visitor result
703 */
704 T visitSwitchExpressionOrStatement(JavaLanguageParser.SwitchExpressionOrStatementContext ctx);
705 /**
706 * Visit a parse tree produced by the {@code switchRules}
707 * labeled alternative in {@link JavaLanguageParser#switchBlock}.
708 * @param ctx the parse tree
709 * @return the visitor result
710 */
711 T visitSwitchRules(JavaLanguageParser.SwitchRulesContext ctx);
712 /**
713 * Visit a parse tree produced by the {@code switchBlocks}
714 * labeled alternative in {@link JavaLanguageParser#switchBlock}.
715 * @param ctx the parse tree
716 * @return the visitor result
717 */
718 T visitSwitchBlocks(JavaLanguageParser.SwitchBlocksContext ctx);
719 /**
720 * Visit a parse tree produced by {@link JavaLanguageParser#switchLabeledRule}.
721 * @param ctx the parse tree
722 * @return the visitor result
723 */
724 T visitSwitchLabeledRule(JavaLanguageParser.SwitchLabeledRuleContext ctx);
725 /**
726 * Visit a parse tree produced by {@link JavaLanguageParser#switchLabeledExpression}.
727 * @param ctx the parse tree
728 * @return the visitor result
729 */
730 T visitSwitchLabeledExpression(JavaLanguageParser.SwitchLabeledExpressionContext ctx);
731 /**
732 * Visit a parse tree produced by {@link JavaLanguageParser#switchLabeledBlock}.
733 * @param ctx the parse tree
734 * @return the visitor result
735 */
736 T visitSwitchLabeledBlock(JavaLanguageParser.SwitchLabeledBlockContext ctx);
737 /**
738 * Visit a parse tree produced by {@link JavaLanguageParser#switchLabeledThrow}.
739 * @param ctx the parse tree
740 * @return the visitor result
741 */
742 T visitSwitchLabeledThrow(JavaLanguageParser.SwitchLabeledThrowContext ctx);
743 /**
744 * Visit a parse tree produced by {@link JavaLanguageParser#elseStat}.
745 * @param ctx the parse tree
746 * @return the visitor result
747 */
748 T visitElseStat(JavaLanguageParser.ElseStatContext ctx);
749 /**
750 * Visit a parse tree produced by {@link JavaLanguageParser#catchClause}.
751 * @param ctx the parse tree
752 * @return the visitor result
753 */
754 T visitCatchClause(JavaLanguageParser.CatchClauseContext ctx);
755 /**
756 * Visit a parse tree produced by {@link JavaLanguageParser#catchParameter}.
757 * @param ctx the parse tree
758 * @return the visitor result
759 */
760 T visitCatchParameter(JavaLanguageParser.CatchParameterContext ctx);
761 /**
762 * Visit a parse tree produced by {@link JavaLanguageParser#catchType}.
763 * @param ctx the parse tree
764 * @return the visitor result
765 */
766 T visitCatchType(JavaLanguageParser.CatchTypeContext ctx);
767 /**
768 * Visit a parse tree produced by {@link JavaLanguageParser#finallyBlock}.
769 * @param ctx the parse tree
770 * @return the visitor result
771 */
772 T visitFinallyBlock(JavaLanguageParser.FinallyBlockContext ctx);
773 /**
774 * Visit a parse tree produced by {@link JavaLanguageParser#resourceSpecification}.
775 * @param ctx the parse tree
776 * @return the visitor result
777 */
778 T visitResourceSpecification(JavaLanguageParser.ResourceSpecificationContext ctx);
779 /**
780 * Visit a parse tree produced by {@link JavaLanguageParser#resources}.
781 * @param ctx the parse tree
782 * @return the visitor result
783 */
784 T visitResources(JavaLanguageParser.ResourcesContext ctx);
785 /**
786 * Visit a parse tree produced by {@link JavaLanguageParser#resource}.
787 * @param ctx the parse tree
788 * @return the visitor result
789 */
790 T visitResource(JavaLanguageParser.ResourceContext ctx);
791 /**
792 * Visit a parse tree produced by {@link JavaLanguageParser#resourceDeclaration}.
793 * @param ctx the parse tree
794 * @return the visitor result
795 */
796 T visitResourceDeclaration(JavaLanguageParser.ResourceDeclarationContext ctx);
797 /**
798 * Visit a parse tree produced by {@link JavaLanguageParser#variableAccess}.
799 * @param ctx the parse tree
800 * @return the visitor result
801 */
802 T visitVariableAccess(JavaLanguageParser.VariableAccessContext ctx);
803 /**
804 * Visit a parse tree produced by {@link JavaLanguageParser#fieldAccessNoIdent}.
805 * @param ctx the parse tree
806 * @return the visitor result
807 */
808 T visitFieldAccessNoIdent(JavaLanguageParser.FieldAccessNoIdentContext ctx);
809 /**
810 * Visit a parse tree produced by {@link JavaLanguageParser#switchBlockStatementGroup}.
811 * @param ctx the parse tree
812 * @return the visitor result
813 */
814 T visitSwitchBlockStatementGroup(JavaLanguageParser.SwitchBlockStatementGroupContext ctx);
815 /**
816 * Visit a parse tree produced by the {@code caseLabel}
817 * labeled alternative in {@link JavaLanguageParser#switchLabel}.
818 * @param ctx the parse tree
819 * @return the visitor result
820 */
821 T visitCaseLabel(JavaLanguageParser.CaseLabelContext ctx);
822 /**
823 * Visit a parse tree produced by the {@code defaultLabel}
824 * labeled alternative in {@link JavaLanguageParser#switchLabel}.
825 * @param ctx the parse tree
826 * @return the visitor result
827 */
828 T visitDefaultLabel(JavaLanguageParser.DefaultLabelContext ctx);
829 /**
830 * Visit a parse tree produced by {@link JavaLanguageParser#caseConstants}.
831 * @param ctx the parse tree
832 * @return the visitor result
833 */
834 T visitCaseConstants(JavaLanguageParser.CaseConstantsContext ctx);
835 /**
836 * Visit a parse tree produced by {@link JavaLanguageParser#caseConstant}.
837 * @param ctx the parse tree
838 * @return the visitor result
839 */
840 T visitCaseConstant(JavaLanguageParser.CaseConstantContext ctx);
841 /**
842 * Visit a parse tree produced by the {@code enhancedFor}
843 * labeled alternative in {@link JavaLanguageParser#forControl}.
844 * @param ctx the parse tree
845 * @return the visitor result
846 */
847 T visitEnhancedFor(JavaLanguageParser.EnhancedForContext ctx);
848 /**
849 * Visit a parse tree produced by the {@code forFor}
850 * labeled alternative in {@link JavaLanguageParser#forControl}.
851 * @param ctx the parse tree
852 * @return the visitor result
853 */
854 T visitForFor(JavaLanguageParser.ForForContext ctx);
855 /**
856 * Visit a parse tree produced by {@link JavaLanguageParser#forInit}.
857 * @param ctx the parse tree
858 * @return the visitor result
859 */
860 T visitForInit(JavaLanguageParser.ForInitContext ctx);
861 /**
862 * Visit a parse tree produced by {@link JavaLanguageParser#enhancedForControl}.
863 * @param ctx the parse tree
864 * @return the visitor result
865 */
866 T visitEnhancedForControl(JavaLanguageParser.EnhancedForControlContext ctx);
867 /**
868 * Visit a parse tree produced by {@link JavaLanguageParser#enhancedForControlWithRecordPattern}.
869 * @param ctx the parse tree
870 * @return the visitor result
871 */
872 T visitEnhancedForControlWithRecordPattern(JavaLanguageParser.EnhancedForControlWithRecordPatternContext ctx);
873 /**
874 * Visit a parse tree produced by {@link JavaLanguageParser#parExpression}.
875 * @param ctx the parse tree
876 * @return the visitor result
877 */
878 T visitParExpression(JavaLanguageParser.ParExpressionContext ctx);
879 /**
880 * Visit a parse tree produced by {@link JavaLanguageParser#expressionList}.
881 * @param ctx the parse tree
882 * @return the visitor result
883 */
884 T visitExpressionList(JavaLanguageParser.ExpressionListContext ctx);
885 /**
886 * Visit a parse tree produced by {@link JavaLanguageParser#expression}.
887 * @param ctx the parse tree
888 * @return the visitor result
889 */
890 T visitExpression(JavaLanguageParser.ExpressionContext ctx);
891 /**
892 * Visit a parse tree produced by the {@code refOp}
893 * labeled alternative in {@link JavaLanguageParser#expr}.
894 * @param ctx the parse tree
895 * @return the visitor result
896 */
897 T visitRefOp(JavaLanguageParser.RefOpContext ctx);
898 /**
899 * Visit a parse tree produced by the {@code superExp}
900 * labeled alternative in {@link JavaLanguageParser#expr}.
901 * @param ctx the parse tree
902 * @return the visitor result
903 */
904 T visitSuperExp(JavaLanguageParser.SuperExpContext ctx);
905 /**
906 * Visit a parse tree produced by the {@code instanceOfExp}
907 * labeled alternative in {@link JavaLanguageParser#expr}.
908 * @param ctx the parse tree
909 * @return the visitor result
910 */
911 T visitInstanceOfExp(JavaLanguageParser.InstanceOfExpContext ctx);
912 /**
913 * Visit a parse tree produced by the {@code bitShift}
914 * labeled alternative in {@link JavaLanguageParser#expr}.
915 * @param ctx the parse tree
916 * @return the visitor result
917 */
918 T visitBitShift(JavaLanguageParser.BitShiftContext ctx);
919 /**
920 * Visit a parse tree produced by the {@code newExp}
921 * labeled alternative in {@link JavaLanguageParser#expr}.
922 * @param ctx the parse tree
923 * @return the visitor result
924 */
925 T visitNewExp(JavaLanguageParser.NewExpContext ctx);
926 /**
927 * Visit a parse tree produced by the {@code prefix}
928 * labeled alternative in {@link JavaLanguageParser#expr}.
929 * @param ctx the parse tree
930 * @return the visitor result
931 */
932 T visitPrefix(JavaLanguageParser.PrefixContext ctx);
933 /**
934 * Visit a parse tree produced by the {@code castExp}
935 * labeled alternative in {@link JavaLanguageParser#expr}.
936 * @param ctx the parse tree
937 * @return the visitor result
938 */
939 T visitCastExp(JavaLanguageParser.CastExpContext ctx);
940 /**
941 * Visit a parse tree produced by the {@code indexOp}
942 * labeled alternative in {@link JavaLanguageParser#expr}.
943 * @param ctx the parse tree
944 * @return the visitor result
945 */
946 T visitIndexOp(JavaLanguageParser.IndexOpContext ctx);
947 /**
948 * Visit a parse tree produced by the {@code invOp}
949 * labeled alternative in {@link JavaLanguageParser#expr}.
950 * @param ctx the parse tree
951 * @return the visitor result
952 */
953 T visitInvOp(JavaLanguageParser.InvOpContext ctx);
954 /**
955 * Visit a parse tree produced by the {@code initExp}
956 * labeled alternative in {@link JavaLanguageParser#expr}.
957 * @param ctx the parse tree
958 * @return the visitor result
959 */
960 T visitInitExp(JavaLanguageParser.InitExpContext ctx);
961 /**
962 * Visit a parse tree produced by the {@code simpleMethodCall}
963 * labeled alternative in {@link JavaLanguageParser#expr}.
964 * @param ctx the parse tree
965 * @return the visitor result
966 */
967 T visitSimpleMethodCall(JavaLanguageParser.SimpleMethodCallContext ctx);
968 /**
969 * Visit a parse tree produced by the {@code lambdaExp}
970 * labeled alternative in {@link JavaLanguageParser#expr}.
971 * @param ctx the parse tree
972 * @return the visitor result
973 */
974 T visitLambdaExp(JavaLanguageParser.LambdaExpContext ctx);
975 /**
976 * Visit a parse tree produced by the {@code thisExp}
977 * labeled alternative in {@link JavaLanguageParser#expr}.
978 * @param ctx the parse tree
979 * @return the visitor result
980 */
981 T visitThisExp(JavaLanguageParser.ThisExpContext ctx);
982 /**
983 * Visit a parse tree produced by the {@code primaryExp}
984 * labeled alternative in {@link JavaLanguageParser#expr}.
985 * @param ctx the parse tree
986 * @return the visitor result
987 */
988 T visitPrimaryExp(JavaLanguageParser.PrimaryExpContext ctx);
989 /**
990 * Visit a parse tree produced by the {@code postfix}
991 * labeled alternative in {@link JavaLanguageParser#expr}.
992 * @param ctx the parse tree
993 * @return the visitor result
994 */
995 T visitPostfix(JavaLanguageParser.PostfixContext ctx);
996 /**
997 * Visit a parse tree produced by the {@code methodRef}
998 * labeled alternative in {@link JavaLanguageParser#expr}.
999 * @param ctx the parse tree
1000 * @return the visitor result
1001 */
1002 T visitMethodRef(JavaLanguageParser.MethodRefContext ctx);
1003 /**
1004 * Visit a parse tree produced by the {@code ternaryOp}
1005 * labeled alternative in {@link JavaLanguageParser#expr}.
1006 * @param ctx the parse tree
1007 * @return the visitor result
1008 */
1009 T visitTernaryOp(JavaLanguageParser.TernaryOpContext ctx);
1010 /**
1011 * Visit a parse tree produced by the {@code binOp}
1012 * labeled alternative in {@link JavaLanguageParser#expr}.
1013 * @param ctx the parse tree
1014 * @return the visitor result
1015 */
1016 T visitBinOp(JavaLanguageParser.BinOpContext ctx);
1017 /**
1018 * Visit a parse tree produced by the {@code methodCall}
1019 * labeled alternative in {@link JavaLanguageParser#expr}.
1020 * @param ctx the parse tree
1021 * @return the visitor result
1022 */
1023 T visitMethodCall(JavaLanguageParser.MethodCallContext ctx);
1024 /**
1025 * Visit a parse tree produced by {@link JavaLanguageParser#typeCastParameters}.
1026 * @param ctx the parse tree
1027 * @return the visitor result
1028 */
1029 T visitTypeCastParameters(JavaLanguageParser.TypeCastParametersContext ctx);
1030 /**
1031 * Visit a parse tree produced by the {@code singleLambdaParam}
1032 * labeled alternative in {@link JavaLanguageParser#lambdaParameters}.
1033 * @param ctx the parse tree
1034 * @return the visitor result
1035 */
1036 T visitSingleLambdaParam(JavaLanguageParser.SingleLambdaParamContext ctx);
1037 /**
1038 * Visit a parse tree produced by the {@code formalLambdaParam}
1039 * labeled alternative in {@link JavaLanguageParser#lambdaParameters}.
1040 * @param ctx the parse tree
1041 * @return the visitor result
1042 */
1043 T visitFormalLambdaParam(JavaLanguageParser.FormalLambdaParamContext ctx);
1044 /**
1045 * Visit a parse tree produced by the {@code multiLambdaParam}
1046 * labeled alternative in {@link JavaLanguageParser#lambdaParameters}.
1047 * @param ctx the parse tree
1048 * @return the visitor result
1049 */
1050 T visitMultiLambdaParam(JavaLanguageParser.MultiLambdaParamContext ctx);
1051 /**
1052 * Visit a parse tree produced by {@link JavaLanguageParser#multiLambdaParams}.
1053 * @param ctx the parse tree
1054 * @return the visitor result
1055 */
1056 T visitMultiLambdaParams(JavaLanguageParser.MultiLambdaParamsContext ctx);
1057 /**
1058 * Visit a parse tree produced by the {@code switchPrimary}
1059 * labeled alternative in {@link JavaLanguageParser#primary}.
1060 * @param ctx the parse tree
1061 * @return the visitor result
1062 */
1063 T visitSwitchPrimary(JavaLanguageParser.SwitchPrimaryContext ctx);
1064 /**
1065 * Visit a parse tree produced by the {@code parenPrimary}
1066 * labeled alternative in {@link JavaLanguageParser#primary}.
1067 * @param ctx the parse tree
1068 * @return the visitor result
1069 */
1070 T visitParenPrimary(JavaLanguageParser.ParenPrimaryContext ctx);
1071 /**
1072 * Visit a parse tree produced by the {@code tokenPrimary}
1073 * labeled alternative in {@link JavaLanguageParser#primary}.
1074 * @param ctx the parse tree
1075 * @return the visitor result
1076 */
1077 T visitTokenPrimary(JavaLanguageParser.TokenPrimaryContext ctx);
1078 /**
1079 * Visit a parse tree produced by the {@code literalPrimary}
1080 * labeled alternative in {@link JavaLanguageParser#primary}.
1081 * @param ctx the parse tree
1082 * @return the visitor result
1083 */
1084 T visitLiteralPrimary(JavaLanguageParser.LiteralPrimaryContext ctx);
1085 /**
1086 * Visit a parse tree produced by the {@code classRefPrimary}
1087 * labeled alternative in {@link JavaLanguageParser#primary}.
1088 * @param ctx the parse tree
1089 * @return the visitor result
1090 */
1091 T visitClassRefPrimary(JavaLanguageParser.ClassRefPrimaryContext ctx);
1092 /**
1093 * Visit a parse tree produced by the {@code primitivePrimary}
1094 * labeled alternative in {@link JavaLanguageParser#primary}.
1095 * @param ctx the parse tree
1096 * @return the visitor result
1097 */
1098 T visitPrimitivePrimary(JavaLanguageParser.PrimitivePrimaryContext ctx);
1099 /**
1100 * Visit a parse tree produced by {@link JavaLanguageParser#classType}.
1101 * @param ctx the parse tree
1102 * @return the visitor result
1103 */
1104 T visitClassType(JavaLanguageParser.ClassTypeContext ctx);
1105 /**
1106 * Visit a parse tree produced by {@link JavaLanguageParser#creator}.
1107 * @param ctx the parse tree
1108 * @return the visitor result
1109 */
1110 T visitCreator(JavaLanguageParser.CreatorContext ctx);
1111 /**
1112 * Visit a parse tree produced by the {@code createdNameObject}
1113 * labeled alternative in {@link JavaLanguageParser#createdName}.
1114 * @param ctx the parse tree
1115 * @return the visitor result
1116 */
1117 T visitCreatedNameObject(JavaLanguageParser.CreatedNameObjectContext ctx);
1118 /**
1119 * Visit a parse tree produced by the {@code createdNamePrimitive}
1120 * labeled alternative in {@link JavaLanguageParser#createdName}.
1121 * @param ctx the parse tree
1122 * @return the visitor result
1123 */
1124 T visitCreatedNamePrimitive(JavaLanguageParser.CreatedNamePrimitiveContext ctx);
1125 /**
1126 * Visit a parse tree produced by {@link JavaLanguageParser#createdNameExtended}.
1127 * @param ctx the parse tree
1128 * @return the visitor result
1129 */
1130 T visitCreatedNameExtended(JavaLanguageParser.CreatedNameExtendedContext ctx);
1131 /**
1132 * Visit a parse tree produced by {@link JavaLanguageParser#innerCreator}.
1133 * @param ctx the parse tree
1134 * @return the visitor result
1135 */
1136 T visitInnerCreator(JavaLanguageParser.InnerCreatorContext ctx);
1137 /**
1138 * Visit a parse tree produced by {@link JavaLanguageParser#arrayCreatorRest}.
1139 * @param ctx the parse tree
1140 * @return the visitor result
1141 */
1142 T visitArrayCreatorRest(JavaLanguageParser.ArrayCreatorRestContext ctx);
1143 /**
1144 * Visit a parse tree produced by {@link JavaLanguageParser#bracketsWithExp}.
1145 * @param ctx the parse tree
1146 * @return the visitor result
1147 */
1148 T visitBracketsWithExp(JavaLanguageParser.BracketsWithExpContext ctx);
1149 /**
1150 * Visit a parse tree produced by {@link JavaLanguageParser#classCreatorRest}.
1151 * @param ctx the parse tree
1152 * @return the visitor result
1153 */
1154 T visitClassCreatorRest(JavaLanguageParser.ClassCreatorRestContext ctx);
1155 /**
1156 * Visit a parse tree produced by the {@code diamond}
1157 * labeled alternative in {@link JavaLanguageParser#typeArgumentsOrDiamond}.
1158 * @param ctx the parse tree
1159 * @return the visitor result
1160 */
1161 T visitDiamond(JavaLanguageParser.DiamondContext ctx);
1162 /**
1163 * Visit a parse tree produced by the {@code typeArgs}
1164 * labeled alternative in {@link JavaLanguageParser#typeArgumentsOrDiamond}.
1165 * @param ctx the parse tree
1166 * @return the visitor result
1167 */
1168 T visitTypeArgs(JavaLanguageParser.TypeArgsContext ctx);
1169 /**
1170 * Visit a parse tree produced by the {@code nonWildcardDiamond}
1171 * labeled alternative in {@link JavaLanguageParser#nonWildcardTypeArgumentsOrDiamond}.
1172 * @param ctx the parse tree
1173 * @return the visitor result
1174 */
1175 T visitNonWildcardDiamond(JavaLanguageParser.NonWildcardDiamondContext ctx);
1176 /**
1177 * Visit a parse tree produced by the {@code nonWildcardTypeArgs}
1178 * labeled alternative in {@link JavaLanguageParser#nonWildcardTypeArgumentsOrDiamond}.
1179 * @param ctx the parse tree
1180 * @return the visitor result
1181 */
1182 T visitNonWildcardTypeArgs(JavaLanguageParser.NonWildcardTypeArgsContext ctx);
1183 /**
1184 * Visit a parse tree produced by {@link JavaLanguageParser#nonWildcardTypeArguments}.
1185 * @param ctx the parse tree
1186 * @return the visitor result
1187 */
1188 T visitNonWildcardTypeArguments(JavaLanguageParser.NonWildcardTypeArgumentsContext ctx);
1189 /**
1190 * Visit a parse tree produced by {@link JavaLanguageParser#typeArgumentsTypeList}.
1191 * @param ctx the parse tree
1192 * @return the visitor result
1193 */
1194 T visitTypeArgumentsTypeList(JavaLanguageParser.TypeArgumentsTypeListContext ctx);
1195 /**
1196 * Visit a parse tree produced by {@link JavaLanguageParser#typeList}.
1197 * @param ctx the parse tree
1198 * @return the visitor result
1199 */
1200 T visitTypeList(JavaLanguageParser.TypeListContext ctx);
1201 /**
1202 * Visit a parse tree produced by {@link JavaLanguageParser#typeType}.
1203 * @param ctx the parse tree
1204 * @return the visitor result
1205 */
1206 T visitTypeType(JavaLanguageParser.TypeTypeContext ctx);
1207 /**
1208 * Visit a parse tree produced by {@link JavaLanguageParser#classOrInterfaceOrPrimitiveType}.
1209 * @param ctx the parse tree
1210 * @return the visitor result
1211 */
1212 T visitClassOrInterfaceOrPrimitiveType(JavaLanguageParser.ClassOrInterfaceOrPrimitiveTypeContext ctx);
1213 /**
1214 * Visit a parse tree produced by {@link JavaLanguageParser#arrayDeclarator}.
1215 * @param ctx the parse tree
1216 * @return the visitor result
1217 */
1218 T visitArrayDeclarator(JavaLanguageParser.ArrayDeclaratorContext ctx);
1219 /**
1220 * Visit a parse tree produced by {@link JavaLanguageParser#primitiveType}.
1221 * @param ctx the parse tree
1222 * @return the visitor result
1223 */
1224 T visitPrimitiveType(JavaLanguageParser.PrimitiveTypeContext ctx);
1225 /**
1226 * Visit a parse tree produced by {@link JavaLanguageParser#typeArguments}.
1227 * @param ctx the parse tree
1228 * @return the visitor result
1229 */
1230 T visitTypeArguments(JavaLanguageParser.TypeArgumentsContext ctx);
1231 /**
1232 * Visit a parse tree produced by the {@code superSuffixSimple}
1233 * labeled alternative in {@link JavaLanguageParser#superSuffix}.
1234 * @param ctx the parse tree
1235 * @return the visitor result
1236 */
1237 T visitSuperSuffixSimple(JavaLanguageParser.SuperSuffixSimpleContext ctx);
1238 /**
1239 * Visit a parse tree produced by the {@code superSuffixDot}
1240 * labeled alternative in {@link JavaLanguageParser#superSuffix}.
1241 * @param ctx the parse tree
1242 * @return the visitor result
1243 */
1244 T visitSuperSuffixDot(JavaLanguageParser.SuperSuffixDotContext ctx);
1245 /**
1246 * Visit a parse tree produced by {@link JavaLanguageParser#arguments}.
1247 * @param ctx the parse tree
1248 * @return the visitor result
1249 */
1250 T visitArguments(JavaLanguageParser.ArgumentsContext ctx);
1251 /**
1252 * Visit a parse tree produced by {@link JavaLanguageParser#pattern}.
1253 * @param ctx the parse tree
1254 * @return the visitor result
1255 */
1256 T visitPattern(JavaLanguageParser.PatternContext ctx);
1257 /**
1258 * Visit a parse tree produced by {@link JavaLanguageParser#innerPattern}.
1259 * @param ctx the parse tree
1260 * @return the visitor result
1261 */
1262 T visitInnerPattern(JavaLanguageParser.InnerPatternContext ctx);
1263 /**
1264 * Visit a parse tree produced by {@link JavaLanguageParser#guardedPattern}.
1265 * @param ctx the parse tree
1266 * @return the visitor result
1267 */
1268 T visitGuardedPattern(JavaLanguageParser.GuardedPatternContext ctx);
1269 /**
1270 * Visit a parse tree produced by {@link JavaLanguageParser#guard}.
1271 * @param ctx the parse tree
1272 * @return the visitor result
1273 */
1274 T visitGuard(JavaLanguageParser.GuardContext ctx);
1275 /**
1276 * Visit a parse tree produced by the {@code patternVariableDef}
1277 * labeled alternative in {@link JavaLanguageParser#primaryPattern}.
1278 * @param ctx the parse tree
1279 * @return the visitor result
1280 */
1281 T visitPatternVariableDef(JavaLanguageParser.PatternVariableDefContext ctx);
1282 /**
1283 * Visit a parse tree produced by the {@code recordPatternDef}
1284 * labeled alternative in {@link JavaLanguageParser#primaryPattern}.
1285 * @param ctx the parse tree
1286 * @return the visitor result
1287 */
1288 T visitRecordPatternDef(JavaLanguageParser.RecordPatternDefContext ctx);
1289 /**
1290 * Visit a parse tree produced by the {@code typePatternDef}
1291 * labeled alternative in {@link JavaLanguageParser#typePattern}.
1292 * @param ctx the parse tree
1293 * @return the visitor result
1294 */
1295 T visitTypePatternDef(JavaLanguageParser.TypePatternDefContext ctx);
1296 /**
1297 * Visit a parse tree produced by the {@code unnamedPatternDef}
1298 * labeled alternative in {@link JavaLanguageParser#typePattern}.
1299 * @param ctx the parse tree
1300 * @return the visitor result
1301 */
1302 T visitUnnamedPatternDef(JavaLanguageParser.UnnamedPatternDefContext ctx);
1303 /**
1304 * Visit a parse tree produced by {@link JavaLanguageParser#recordPattern}.
1305 * @param ctx the parse tree
1306 * @return the visitor result
1307 */
1308 T visitRecordPattern(JavaLanguageParser.RecordPatternContext ctx);
1309 /**
1310 * Visit a parse tree produced by {@link JavaLanguageParser#recordComponentPatternList}.
1311 * @param ctx the parse tree
1312 * @return the visitor result
1313 */
1314 T visitRecordComponentPatternList(JavaLanguageParser.RecordComponentPatternListContext ctx);
1315 /**
1316 * Visit a parse tree produced by {@link JavaLanguageParser#permittedSubclassesAndInterfaces}.
1317 * @param ctx the parse tree
1318 * @return the visitor result
1319 */
1320 T visitPermittedSubclassesAndInterfaces(JavaLanguageParser.PermittedSubclassesAndInterfacesContext ctx);
1321 /**
1322 * Visit a parse tree produced by {@link JavaLanguageParser#id}.
1323 * @param ctx the parse tree
1324 * @return the visitor result
1325 */
1326 T visitId(JavaLanguageParser.IdContext ctx);
1327 }