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