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