01: // This file is part of KeY - Integrated Deductive Software Design
02: // Copyright (C) 2001-2007 Universitaet Karlsruhe, Germany
03: // Universitaet Koblenz-Landau, Germany
04: // Chalmers University of Technology, Sweden
05: //
06: // The KeY system is protected by the GNU General Public License.
07: // See LICENSE.TXT for details.
08: //
09: //
10:
11: package de.uka.ilkd.key.java.statement;
12:
13: import de.uka.ilkd.key.java.PrettyPrinter;
14: import de.uka.ilkd.key.java.visitor.Visitor;
15: import de.uka.ilkd.key.util.ExtList;
16:
17: /**
18: * Continue.
19: *
20: */
21: public class Continue extends LabelJumpStatement {
22:
23: /**
24: * Continue.
25: */
26: public Continue() {
27: super ();
28: }
29:
30: /**
31: * Continue.
32: * @param label an identifier.
33: */
34: public Continue(de.uka.ilkd.key.logic.ProgramElementName label) {
35: super (label);
36: }
37:
38: /**
39: * Constructor for the transformation of COMPOST ASTs to KeY.
40: * @param children the children of this AST element as KeY classes.
41: * May contain: Comments,
42: * a ProgramElementName (as label of the label jump statement)
43: */
44: public Continue(ExtList children) {
45: super (children);
46: }
47:
48: /** calls the corresponding method of a visitor in order to
49: * perform some action/transformation on this element
50: * @param v the Visitor
51: */
52: public void visit(Visitor v) {
53: v.performActionOnContinue(this );
54: }
55:
56: public void prettyPrint(PrettyPrinter p) throws java.io.IOException {
57: p.printContinue(this);
58: }
59: }
|