// ** This class was generated with DemFGen (vers:10/20/2009) package gen; import java.io.FileInputStream; import edu.neu.ccs.demeterf.lib.*; /** Representation of Body */ public abstract class Body{ protected final int rhs; /** Construct a(n) Body Instance */ public Body(int rhs){ this.rhs = rhs; } /** Parse an instance of Body from the given String */ public static Body parse(String inpt) throws ParseException{ return new TheParser(new java.io.StringReader(inpt)).parse_Body(); } /** Parse an instance of Body from the given Stream */ public static Body parse(java.io.InputStream inpt) throws ParseException{ return new TheParser(inpt).parse_Body(); } /** Parse an instance of Body from the given Reader */ public static Body parse(java.io.Reader inpt) throws ParseException{ return new TheParser(inpt).parse_Body(); } /** Field Class for Body.rhs */ public static class rhs extends edu.neu.ccs.demeterf.control.Fields.any{} /** DGP method from Class ToStr */ public String toStr(){ return gen.ToStr.ToStrM(this); } /** DGP method from Class Print */ public String print(){ return gen.Print.PrintM(this); } /** DGP method from Class Display */ public String display(){ return gen.Display.DisplayM(this); } }