// ** This class was generated with DemFGen (vers:09/27/2009) package gen; import edu.neu.ccs.demeterf.lib.*; /** Representation of Jmp */ public class Jmp extends CtrlOp{ protected final ident id; /** Construct a(n) Jmp Instance */ public Jmp(ident id){ this.id = id; } /** Is the given object Equal to this Jmp? */ public boolean equals(Object o){ if(!(o instanceof Jmp))return false; if(o == this)return true; Jmp oo = (Jmp)o; return (((Object)id).equals(oo.id)); } /** Parse an instance of Jmp from the given String */ public static Jmp parse(String inpt) throws ParseException{ return new TheParser(new java.io.StringReader(inpt)).parse_Jmp(); } /** Parse an instance of Jmp from the given Stream */ public static Jmp parse(java.io.InputStream inpt) throws ParseException{ return new TheParser(inpt).parse_Jmp(); } /** Parse an instance of Jmp from the given Reader */ public static Jmp parse(java.io.Reader inpt) throws ParseException{ return new TheParser(inpt).parse_Jmp(); } /** Field Class for Jmp.id */ public static class id extends edu.neu.ccs.demeterf.control.Fields.any{} String id(){ return ""+id; } boolean branch(ExecStack s){ return true; } /** DGP method from Class Print */ public String print(){ return gen.Print.PrintM(this); } /** Getter for field Jmp.id */ public ident getId(){ return id; } }