001: //
002: // Generated by JTB 1.2.2
003: //
004:
005: package xtc.lang.javacc.visitor;
006:
007: import xtc.lang.javacc.syntaxtree.*;
008: import java.util.*;
009:
010: /**
011: * All Object visitors must implement this interface.
012: */
013: public interface ObjectVisitor {
014: //
015: // Object Auto class visitors
016: //
017: public Object visit(NodeList n, Object argu);
018:
019: public Object visit(NodeListOptional n, Object argu);
020:
021: public Object visit(NodeOptional n, Object argu);
022:
023: public Object visit(NodeSequence n, Object argu);
024:
025: public Object visit(NodeToken n, Object argu);
026:
027: //
028: // User-generated visitor methods below
029: //
030:
031: /**
032: * Visit the specified node.
033: * <pre>
034: * f0 -> [ PackageDeclaration() ]
035: * f1 -> ( ImportDeclaration() )*
036: * f2 -> ( TypeDeclaration() )*
037: * f3 -> <EOF>
038: * </pre>
039: */
040: public Object visit(CompilationUnit n, Object argu);
041:
042: /**
043: * Visit the specified node.
044: * <pre>
045: * f0 -> "package"
046: * f1 -> Name()
047: * f2 -> ";"
048: * </pre>
049: */
050: public Object visit(PackageDeclaration n, Object argu);
051:
052: /**
053: * Visit the specified node.
054: * <pre>
055: * f0 -> "import"
056: * f1 -> Name()
057: * f2 -> [ "." "*" ]
058: * f3 -> ";"
059: * </pre>
060: */
061: public Object visit(ImportDeclaration n, Object argu);
062:
063: /**
064: * Visit the specified node.
065: * <pre>
066: * f0 -> ClassDeclaration()
067: * | InterfaceDeclaration()
068: * | ";"
069: * </pre>
070: */
071: public Object visit(TypeDeclaration n, Object argu);
072:
073: /**
074: * Visit the specified node.
075: * <pre>
076: * f0 -> ( "abstract" | "final" | "public" | "strictfp" )*
077: * f1 -> UnmodifiedClassDeclaration()
078: * </pre>
079: */
080: public Object visit(ClassDeclaration n, Object argu);
081:
082: /**
083: * Visit the specified node.
084: * <pre>
085: * f0 -> "class"
086: * f1 -> <IDENTIFIER>
087: * f2 -> [ "extends" Name() ]
088: * f3 -> [ "implements" NameList() ]
089: * f4 -> ClassBody()
090: * </pre>
091: */
092: public Object visit(UnmodifiedClassDeclaration n, Object argu);
093:
094: /**
095: * Visit the specified node.
096: * <pre>
097: * f0 -> "{"
098: * f1 -> ( ClassBodyDeclaration() )*
099: * f2 -> "}"
100: * </pre>
101: */
102: public Object visit(ClassBody n, Object argu);
103:
104: /**
105: * Visit the specified node.
106: * <pre>
107: * f0 -> ( "static" | "abstract" | "final" | "public" | "protected" | "private" | "strictfp" )*
108: * f1 -> UnmodifiedClassDeclaration()
109: * </pre>
110: */
111: public Object visit(NestedClassDeclaration n, Object argu);
112:
113: /**
114: * Visit the specified node.
115: * <pre>
116: * f0 -> Initializer()
117: * | NestedClassDeclaration()
118: * | NestedInterfaceDeclaration()
119: * | ConstructorDeclaration()
120: * | MethodDeclaration()
121: * | FieldDeclaration()
122: * | ";"
123: * </pre>
124: */
125: public Object visit(ClassBodyDeclaration n, Object argu);
126:
127: /**
128: * Visit the specified node.
129: * <pre>
130: * f0 -> ( "public" | "protected" | "private" | "static" | "abstract" | "final" | "native" | "synchronized" | "strictfp" )*
131: * f1 -> ResultType()
132: * f2 -> <IDENTIFIER>
133: * f3 -> "("
134: * </pre>
135: */
136: public Object visit(MethodDeclarationLookahead n, Object argu);
137:
138: /**
139: * Visit the specified node.
140: * <pre>
141: * f0 -> ( "abstract" | "public" | "strictfp" )*
142: * f1 -> UnmodifiedInterfaceDeclaration()
143: * </pre>
144: */
145: public Object visit(InterfaceDeclaration n, Object argu);
146:
147: /**
148: * Visit the specified node.
149: * <pre>
150: * f0 -> ( "static" | "abstract" | "final" | "public" | "protected" | "private" | "strictfp" )*
151: * f1 -> UnmodifiedInterfaceDeclaration()
152: * </pre>
153: */
154: public Object visit(NestedInterfaceDeclaration n, Object argu);
155:
156: /**
157: * Visit the specified node.
158: * <pre>
159: * f0 -> "interface"
160: * f1 -> <IDENTIFIER>
161: * f2 -> [ "extends" NameList() ]
162: * f3 -> "{"
163: * f4 -> ( InterfaceMemberDeclaration() )*
164: * f5 -> "}"
165: * </pre>
166: */
167: public Object visit(UnmodifiedInterfaceDeclaration n, Object argu);
168:
169: /**
170: * Visit the specified node.
171: * <pre>
172: * f0 -> NestedClassDeclaration()
173: * | NestedInterfaceDeclaration()
174: * | MethodDeclaration()
175: * | FieldDeclaration()
176: * | ";"
177: * </pre>
178: */
179: public Object visit(InterfaceMemberDeclaration n, Object argu);
180:
181: /**
182: * Visit the specified node.
183: * <pre>
184: * f0 -> ( "public" | "protected" | "private" | "static" | "final" | "transient" | "volatile" )*
185: * f1 -> Type()
186: * f2 -> VariableDeclarator()
187: * f3 -> ( "," VariableDeclarator() )*
188: * f4 -> ";"
189: * </pre>
190: */
191: public Object visit(FieldDeclaration n, Object argu);
192:
193: /**
194: * Visit the specified node.
195: * <pre>
196: * f0 -> VariableDeclaratorId()
197: * f1 -> [ "=" VariableInitializer() ]
198: * </pre>
199: */
200: public Object visit(VariableDeclarator n, Object argu);
201:
202: /**
203: * Visit the specified node.
204: * <pre>
205: * f0 -> <IDENTIFIER>
206: * f1 -> ( "[" "]" )*
207: * </pre>
208: */
209: public Object visit(VariableDeclaratorId n, Object argu);
210:
211: /**
212: * Visit the specified node.
213: * <pre>
214: * f0 -> ArrayInitializer()
215: * | Expression()
216: * </pre>
217: */
218: public Object visit(VariableInitializer n, Object argu);
219:
220: /**
221: * Visit the specified node.
222: * <pre>
223: * f0 -> "{"
224: * f1 -> [ VariableInitializer() ( "," VariableInitializer() )* ]
225: * f2 -> [ "," ]
226: * f3 -> "}"
227: * </pre>
228: */
229: public Object visit(ArrayInitializer n, Object argu);
230:
231: /**
232: * Visit the specified node.
233: * <pre>
234: * f0 -> ( "public" | "protected" | "private" | "static" | "abstract" | "final" | "native" | "synchronized" | "strictfp" )*
235: * f1 -> ResultType()
236: * f2 -> MethodDeclarator()
237: * f3 -> [ "throws" NameList() ]
238: * f4 -> ( Block() | ";" )
239: * </pre>
240: */
241: public Object visit(MethodDeclaration n, Object argu);
242:
243: /**
244: * Visit the specified node.
245: * <pre>
246: * f0 -> <IDENTIFIER>
247: * f1 -> FormalParameters()
248: * f2 -> ( "[" "]" )*
249: * </pre>
250: */
251: public Object visit(MethodDeclarator n, Object argu);
252:
253: /**
254: * Visit the specified node.
255: * <pre>
256: * f0 -> "("
257: * f1 -> [ FormalParameter() ( "," FormalParameter() )* ]
258: * f2 -> ")"
259: * </pre>
260: */
261: public Object visit(FormalParameters n, Object argu);
262:
263: /**
264: * Visit the specified node.
265: * <pre>
266: * f0 -> [ "final" ]
267: * f1 -> Type()
268: * f2 -> VariableDeclaratorId()
269: * </pre>
270: */
271: public Object visit(FormalParameter n, Object argu);
272:
273: /**
274: * Visit the specified node.
275: * <pre>
276: * f0 -> [ "public" | "protected" | "private" ]
277: * f1 -> <IDENTIFIER>
278: * f2 -> FormalParameters()
279: * f3 -> [ "throws" NameList() ]
280: * f4 -> "{"
281: * f5 -> [ ExplicitConstructorInvocation() ]
282: * f6 -> ( BlockStatement() )*
283: * f7 -> "}"
284: * </pre>
285: */
286: public Object visit(ConstructorDeclaration n, Object argu);
287:
288: /**
289: * Visit the specified node.
290: * <pre>
291: * f0 -> "this" Arguments() ";"
292: * | [ PrimaryExpression() "." ] "super" Arguments() ";"
293: * </pre>
294: */
295: public Object visit(ExplicitConstructorInvocation n, Object argu);
296:
297: /**
298: * Visit the specified node.
299: * <pre>
300: * f0 -> [ "static" ]
301: * f1 -> Block()
302: * </pre>
303: */
304: public Object visit(Initializer n, Object argu);
305:
306: /**
307: * Visit the specified node.
308: * <pre>
309: * f0 -> ( PrimitiveType() | Name() )
310: * f1 -> ( "[" "]" )*
311: * </pre>
312: */
313: public Object visit(Type n, Object argu);
314:
315: /**
316: * Visit the specified node.
317: * <pre>
318: * f0 -> "boolean"
319: * | "char"
320: * | "byte"
321: * | "short"
322: * | "int"
323: * | "long"
324: * | "float"
325: * | "double"
326: * </pre>
327: */
328: public Object visit(PrimitiveType n, Object argu);
329:
330: /**
331: * Visit the specified node.
332: * <pre>
333: * f0 -> "void"
334: * | Type()
335: * </pre>
336: */
337: public Object visit(ResultType n, Object argu);
338:
339: /**
340: * Visit the specified node.
341: * <pre>
342: * f0 -> <IDENTIFIER>
343: * f1 -> ( "." <IDENTIFIER> )*
344: * </pre>
345: */
346: public Object visit(Name n, Object argu);
347:
348: /**
349: * Visit the specified node.
350: * <pre>
351: * f0 -> Name()
352: * f1 -> ( "," Name() )*
353: * </pre>
354: */
355: public Object visit(NameList n, Object argu);
356:
357: /**
358: * Visit the specified node.
359: * <pre>
360: * f0 -> ConditionalExpression()
361: * f1 -> [ AssignmentOperator() Expression() ]
362: * </pre>
363: */
364: public Object visit(Expression n, Object argu);
365:
366: /**
367: * Visit the specified node.
368: * <pre>
369: * f0 -> "="
370: * | "*="
371: * | "/="
372: * | "%="
373: * | "+="
374: * | "-="
375: * | "<<="
376: * | ">>="
377: * | ">>>="
378: * | "&="
379: * | "^="
380: * | "|="
381: * </pre>
382: */
383: public Object visit(AssignmentOperator n, Object argu);
384:
385: /**
386: * Visit the specified node.
387: * <pre>
388: * f0 -> ConditionalOrExpression()
389: * f1 -> [ "?" Expression() ":" ConditionalExpression() ]
390: * </pre>
391: */
392: public Object visit(ConditionalExpression n, Object argu);
393:
394: /**
395: * Visit the specified node.
396: * <pre>
397: * f0 -> ConditionalAndExpression()
398: * f1 -> ( "||" ConditionalAndExpression() )*
399: * </pre>
400: */
401: public Object visit(ConditionalOrExpression n, Object argu);
402:
403: /**
404: * Visit the specified node.
405: * <pre>
406: * f0 -> InclusiveOrExpression()
407: * f1 -> ( "&&" InclusiveOrExpression() )*
408: * </pre>
409: */
410: public Object visit(ConditionalAndExpression n, Object argu);
411:
412: /**
413: * Visit the specified node.
414: * <pre>
415: * f0 -> ExclusiveOrExpression()
416: * f1 -> ( "|" ExclusiveOrExpression() )*
417: * </pre>
418: */
419: public Object visit(InclusiveOrExpression n, Object argu);
420:
421: /**
422: * Visit the specified node.
423: * <pre>
424: * f0 -> AndExpression()
425: * f1 -> ( "^" AndExpression() )*
426: * </pre>
427: */
428: public Object visit(ExclusiveOrExpression n, Object argu);
429:
430: /**
431: * Visit the specified node.
432: * <pre>
433: * f0 -> EqualityExpression()
434: * f1 -> ( "&" EqualityExpression() )*
435: * </pre>
436: */
437: public Object visit(AndExpression n, Object argu);
438:
439: /**
440: * Visit the specified node.
441: * <pre>
442: * f0 -> InstanceOfExpression()
443: * f1 -> ( ( "==" | "!=" ) InstanceOfExpression() )*
444: * </pre>
445: */
446: public Object visit(EqualityExpression n, Object argu);
447:
448: /**
449: * Visit the specified node.
450: * <pre>
451: * f0 -> RelationalExpression()
452: * f1 -> [ "instanceof" Type() ]
453: * </pre>
454: */
455: public Object visit(InstanceOfExpression n, Object argu);
456:
457: /**
458: * Visit the specified node.
459: * <pre>
460: * f0 -> ShiftExpression()
461: * f1 -> ( ( "<" | ">" | "<=" | ">=" ) ShiftExpression() )*
462: * </pre>
463: */
464: public Object visit(RelationalExpression n, Object argu);
465:
466: /**
467: * Visit the specified node.
468: * <pre>
469: * f0 -> AdditiveExpression()
470: * f1 -> ( ( "<<" | ">>" | ">>>" ) AdditiveExpression() )*
471: * </pre>
472: */
473: public Object visit(ShiftExpression n, Object argu);
474:
475: /**
476: * Visit the specified node.
477: * <pre>
478: * f0 -> MultiplicativeExpression()
479: * f1 -> ( ( "+" | "-" ) MultiplicativeExpression() )*
480: * </pre>
481: */
482: public Object visit(AdditiveExpression n, Object argu);
483:
484: /**
485: * Visit the specified node.
486: * <pre>
487: * f0 -> UnaryExpression()
488: * f1 -> ( ( "*" | "/" | "%" ) UnaryExpression() )*
489: * </pre>
490: */
491: public Object visit(MultiplicativeExpression n, Object argu);
492:
493: /**
494: * Visit the specified node.
495: * <pre>
496: * f0 -> ( "+" | "-" ) UnaryExpression()
497: * | PreIncrementExpression()
498: * | PreDecrementExpression()
499: * | UnaryExpressionNotPlusMinus()
500: * </pre>
501: */
502: public Object visit(UnaryExpression n, Object argu);
503:
504: /**
505: * Visit the specified node.
506: * <pre>
507: * f0 -> "++"
508: * f1 -> PrimaryExpression()
509: * </pre>
510: */
511: public Object visit(PreIncrementExpression n, Object argu);
512:
513: /**
514: * Visit the specified node.
515: * <pre>
516: * f0 -> "--"
517: * f1 -> PrimaryExpression()
518: * </pre>
519: */
520: public Object visit(PreDecrementExpression n, Object argu);
521:
522: /**
523: * Visit the specified node.
524: * <pre>
525: * f0 -> ( "~" | "!" ) UnaryExpression()
526: * | CastExpression()
527: * | PostfixExpression()
528: * </pre>
529: */
530: public Object visit(UnaryExpressionNotPlusMinus n, Object argu);
531:
532: /**
533: * Visit the specified node.
534: * <pre>
535: * f0 -> "(" PrimitiveType()
536: * | "(" Name() "[" "]"
537: * | "(" Name() ")" ( "~" | "!" | "(" | <IDENTIFIER> | "this" | "super" | "new" | Literal() )
538: * </pre>
539: */
540: public Object visit(CastLookahead n, Object argu);
541:
542: /**
543: * Visit the specified node.
544: * <pre>
545: * f0 -> PrimaryExpression()
546: * f1 -> [ "++" | "--" ]
547: * </pre>
548: */
549: public Object visit(PostfixExpression n, Object argu);
550:
551: /**
552: * Visit the specified node.
553: * <pre>
554: * f0 -> "(" Type() ")" UnaryExpression()
555: * | "(" Type() ")" UnaryExpressionNotPlusMinus()
556: * </pre>
557: */
558: public Object visit(CastExpression n, Object argu);
559:
560: /**
561: * Visit the specified node.
562: * <pre>
563: * f0 -> PrimaryPrefix()
564: * f1 -> ( PrimarySuffix() )*
565: * </pre>
566: */
567: public Object visit(PrimaryExpression n, Object argu);
568:
569: /**
570: * Visit the specified node.
571: * <pre>
572: * f0 -> Literal()
573: * | "this"
574: * | "super" "." <IDENTIFIER>
575: * | "(" Expression() ")"
576: * | AllocationExpression()
577: * | ResultType() "." "class"
578: * | Name()
579: * </pre>
580: */
581: public Object visit(PrimaryPrefix n, Object argu);
582:
583: /**
584: * Visit the specified node.
585: * <pre>
586: * f0 -> "." "this"
587: * | "." "super"
588: * | "." AllocationExpression()
589: * | "[" Expression() "]"
590: * | "." <IDENTIFIER>
591: * | Arguments()
592: * </pre>
593: */
594: public Object visit(PrimarySuffix n, Object argu);
595:
596: /**
597: * Visit the specified node.
598: * <pre>
599: * f0 -> <INTEGER_LITERAL>
600: * | <FLOATING_POINT_LITERAL>
601: * | <CHARACTER_LITERAL>
602: * | <STRING_LITERAL>
603: * | BooleanLiteral()
604: * | NullLiteral()
605: * </pre>
606: */
607: public Object visit(Literal n, Object argu);
608:
609: /**
610: * Visit the specified node.
611: * <pre>
612: * f0 -> "true"
613: * | "false"
614: * </pre>
615: */
616: public Object visit(BooleanLiteral n, Object argu);
617:
618: /**
619: * Visit the specified node.
620: * <pre>
621: * f0 -> "null"
622: * </pre>
623: */
624: public Object visit(NullLiteral n, Object argu);
625:
626: /**
627: * Visit the specified node.
628: * <pre>
629: * f0 -> "("
630: * f1 -> [ ArgumentList() ]
631: * f2 -> ")"
632: * </pre>
633: */
634: public Object visit(Arguments n, Object argu);
635:
636: /**
637: * Visit the specified node.
638: * <pre>
639: * f0 -> Expression()
640: * f1 -> ( "," Expression() )*
641: * </pre>
642: */
643: public Object visit(ArgumentList n, Object argu);
644:
645: /**
646: * Visit the specified node.
647: * <pre>
648: * f0 -> "new" PrimitiveType() ArrayDimsAndInits()
649: * | "new" Name() ( ArrayDimsAndInits() | Arguments() [ ClassBody() ] )
650: * </pre>
651: */
652: public Object visit(AllocationExpression n, Object argu);
653:
654: /**
655: * Visit the specified node.
656: * <pre>
657: * f0 -> ( "[" Expression() "]" )+ ( "[" "]" )*
658: * | ( "[" "]" )+ ArrayInitializer()
659: * </pre>
660: */
661: public Object visit(ArrayDimsAndInits n, Object argu);
662:
663: /**
664: * Visit the specified node.
665: * <pre>
666: * f0 -> LabeledStatement()
667: * | Block()
668: * | EmptyStatement()
669: * | StatementExpression() ";"
670: * | SwitchStatement()
671: * | IfStatement()
672: * | WhileStatement()
673: * | DoStatement()
674: * | ForStatement()
675: * | BreakStatement()
676: * | ContinueStatement()
677: * | ReturnStatement()
678: * | ThrowStatement()
679: * | SynchronizedStatement()
680: * | TryStatement()
681: * | AssertStatement()
682: * </pre>
683: */
684: public Object visit(Statement n, Object argu);
685:
686: /**
687: * Visit the specified node.
688: * <pre>
689: * f0 -> <IDENTIFIER>
690: * f1 -> ":"
691: * f2 -> Statement()
692: * </pre>
693: */
694: public Object visit(LabeledStatement n, Object argu);
695:
696: /**
697: * Visit the specified node.
698: * <pre>
699: * f0 -> "{"
700: * f1 -> ( BlockStatement() )*
701: * f2 -> "}"
702: * </pre>
703: */
704: public Object visit(Block n, Object argu);
705:
706: /**
707: * Visit the specified node.
708: * <pre>
709: * f0 -> LocalVariableDeclaration() ";"
710: * | Statement()
711: * | UnmodifiedClassDeclaration()
712: * | UnmodifiedInterfaceDeclaration()
713: * </pre>
714: */
715: public Object visit(BlockStatement n, Object argu);
716:
717: /**
718: * Visit the specified node.
719: * <pre>
720: * f0 -> [ "final" ]
721: * f1 -> Type()
722: * f2 -> VariableDeclarator()
723: * f3 -> ( "," VariableDeclarator() )*
724: * </pre>
725: */
726: public Object visit(LocalVariableDeclaration n, Object argu);
727:
728: /**
729: * Visit the specified node.
730: * <pre>
731: * f0 -> ";"
732: * </pre>
733: */
734: public Object visit(EmptyStatement n, Object argu);
735:
736: /**
737: * Visit the specified node.
738: * <pre>
739: * f0 -> PreIncrementExpression()
740: * | PreDecrementExpression()
741: * | PrimaryExpression() [ "++" | "--" | AssignmentOperator() Expression() ]
742: * </pre>
743: */
744: public Object visit(StatementExpression n, Object argu);
745:
746: /**
747: * Visit the specified node.
748: * <pre>
749: * f0 -> "switch"
750: * f1 -> "("
751: * f2 -> Expression()
752: * f3 -> ")"
753: * f4 -> "{"
754: * f5 -> ( SwitchLabel() ( BlockStatement() )* )*
755: * f6 -> "}"
756: * </pre>
757: */
758: public Object visit(SwitchStatement n, Object argu);
759:
760: /**
761: * Visit the specified node.
762: * <pre>
763: * f0 -> "case" Expression() ":"
764: * | "default" ":"
765: * </pre>
766: */
767: public Object visit(SwitchLabel n, Object argu);
768:
769: /**
770: * Visit the specified node.
771: * <pre>
772: * f0 -> "if"
773: * f1 -> "("
774: * f2 -> Expression()
775: * f3 -> ")"
776: * f4 -> Statement()
777: * f5 -> [ "else" Statement() ]
778: * </pre>
779: */
780: public Object visit(IfStatement n, Object argu);
781:
782: /**
783: * Visit the specified node.
784: * <pre>
785: * f0 -> "while"
786: * f1 -> "("
787: * f2 -> Expression()
788: * f3 -> ")"
789: * f4 -> Statement()
790: * </pre>
791: */
792: public Object visit(WhileStatement n, Object argu);
793:
794: /**
795: * Visit the specified node.
796: * <pre>
797: * f0 -> "do"
798: * f1 -> Statement()
799: * f2 -> "while"
800: * f3 -> "("
801: * f4 -> Expression()
802: * f5 -> ")"
803: * f6 -> ";"
804: * </pre>
805: */
806: public Object visit(DoStatement n, Object argu);
807:
808: /**
809: * Visit the specified node.
810: * <pre>
811: * f0 -> "for"
812: * f1 -> "("
813: * f2 -> [ ForInit() ]
814: * f3 -> ";"
815: * f4 -> [ Expression() ]
816: * f5 -> ";"
817: * f6 -> [ ForUpdate() ]
818: * f7 -> ")"
819: * f8 -> Statement()
820: * </pre>
821: */
822: public Object visit(ForStatement n, Object argu);
823:
824: /**
825: * Visit the specified node.
826: * <pre>
827: * f0 -> LocalVariableDeclaration()
828: * | StatementExpressionList()
829: * </pre>
830: */
831: public Object visit(ForInit n, Object argu);
832:
833: /**
834: * Visit the specified node.
835: * <pre>
836: * f0 -> StatementExpression()
837: * f1 -> ( "," StatementExpression() )*
838: * </pre>
839: */
840: public Object visit(StatementExpressionList n, Object argu);
841:
842: /**
843: * Visit the specified node.
844: * <pre>
845: * f0 -> StatementExpressionList()
846: * </pre>
847: */
848: public Object visit(ForUpdate n, Object argu);
849:
850: /**
851: * Visit the specified node.
852: * <pre>
853: * f0 -> "break"
854: * f1 -> [ <IDENTIFIER> ]
855: * f2 -> ";"
856: * </pre>
857: */
858: public Object visit(BreakStatement n, Object argu);
859:
860: /**
861: * Visit the specified node.
862: * <pre>
863: * f0 -> "continue"
864: * f1 -> [ <IDENTIFIER> ]
865: * f2 -> ";"
866: * </pre>
867: */
868: public Object visit(ContinueStatement n, Object argu);
869:
870: /**
871: * Visit the specified node.
872: * <pre>
873: * f0 -> "return"
874: * f1 -> [ Expression() ]
875: * f2 -> ";"
876: * </pre>
877: */
878: public Object visit(ReturnStatement n, Object argu);
879:
880: /**
881: * Visit the specified node.
882: * <pre>
883: * f0 -> "throw"
884: * f1 -> Expression()
885: * f2 -> ";"
886: * </pre>
887: */
888: public Object visit(ThrowStatement n, Object argu);
889:
890: /**
891: * Visit the specified node.
892: * <pre>
893: * f0 -> "synchronized"
894: * f1 -> "("
895: * f2 -> Expression()
896: * f3 -> ")"
897: * f4 -> Block()
898: * </pre>
899: */
900: public Object visit(SynchronizedStatement n, Object argu);
901:
902: /**
903: * Visit the specified node.
904: * <pre>
905: * f0 -> "try"
906: * f1 -> Block()
907: * f2 -> ( "catch" "(" FormalParameter() ")" Block() )*
908: * f3 -> [ "finally" Block() ]
909: * </pre>
910: */
911: public Object visit(TryStatement n, Object argu);
912:
913: /**
914: * Visit the specified node.
915: * <pre>
916: * f0 -> "assert"
917: * f1 -> Expression()
918: * f2 -> [ ":" Expression() ]
919: * f3 -> ";"
920: * </pre>
921: */
922: public Object visit(AssertStatement n, Object argu);
923:
924: }
|