// ** This class was generated with DemFGen (vers:02/05/2009) package gen; import edu.neu.ccs.demeterf.demfgen.lib.*; import edu.neu.ccs.demeterf.*; /** Representation of Start */ public class Start{ public final List sample; /** Construct a(n) Start Instance */ public Start(List sample){ this.sample = sample; } /** Is the given Start Equal to this one? */ public boolean equals(Object o){ if(!(o instanceof Start))return false; Start oo = (Start)o; return (((Object)sample).equals(oo.sample)); } /** Parse an instance of Start from the given String */ public static Start parse(String inpt) throws ParseException{ return new TheParser(new java.io.StringReader(inpt)).parse_Start(); } /** Parse an instance of Start from the given Stream */ public static Start parse(java.io.InputStream inpt) throws ParseException{ return new TheParser(inpt).parse_Start(); } /** Parse an instance of Start from the given Reader */ public static Start parse(java.io.Reader inpt) throws ParseException{ return new TheParser(inpt).parse_Start(); } /** Field Class for Start.sample */ public static class sample extends edu.neu.ccs.demeterf.control.Fields.any{} public Start magic() { return new Traversal(new Bc(){ // B combine(Literal l){return new B(l.isPositive2());} B combine(Literal l){return new B(l.isPositive());} }). traverse(this); } public Start magic2() { return new Traversal(new Bc(){ B combine(Literal l){return new B(l.isPositive2());} // B combine(Literal l){return new B(l.isPositive());} }). traverse(this); } /** DGP method from Class Display */ public String display(){ return gen.Display.DisplayM(this); } /** DGP method from Class Print */ public String print(){ return gen.Print.PrintM(this); } /** DGP method from Class ToStr */ public String toStr(){ return gen.ToStr.ToStrM(this); } }