// ** This class was generated with DemFGen (vers:10/20/2009) package gen; import java.io.FileInputStream; import edu.neu.ccs.demeterf.lib.*; /** Representation of Var */ public class Var{ protected final ident v; /** Construct a(n) Var Instance */ public Var(ident v){ this.v = v; } /** Is the given object Equal to this Var? */ public boolean equals(Object o){ if(!(o instanceof Var))return false; if(o == this)return true; Var oo = (Var)o; return (((Object)v).equals(oo.v)); } /** Parse an instance of Var from the given String */ public static Var parse(String inpt) throws ParseException{ return new TheParser(new java.io.StringReader(inpt)).parse_Var(); } /** Parse an instance of Var from the given Stream */ public static Var parse(java.io.InputStream inpt) throws ParseException{ return new TheParser(inpt).parse_Var(); } /** Parse an instance of Var from the given Reader */ public static Var parse(java.io.Reader inpt) throws ParseException{ return new TheParser(inpt).parse_Var(); } /** Field Class for Var.v */ public static class v 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); } }