// ** This class was generated with DemFGen (vers:06/04/2009) package gen; import edu.neu.ccs.demeterf.demfgen.lib.*; import edu.neu.ccs.demeterf.*; /** Representation of QualIdent */ public class QualIdent{ public final ident first; public final List rest; /** Construct a(n) QualIdent Instance */ public QualIdent(ident first, List rest){ this.first = first; this.rest = rest; } /** Is the given object Equal to this QualIdent? */ public boolean equals(Object o){ if(!(o instanceof QualIdent))return false; if(o == this)return true; QualIdent oo = (QualIdent)o; return (((Object)first).equals(oo.first))&&(((Object)rest).equals(oo.rest)); } /** Parse an instance of QualIdent from the given String */ public static QualIdent parse(String inpt) throws ParseException{ return new TheParser(new java.io.StringReader(inpt)).parse_QualIdent(); } /** Parse an instance of QualIdent from the given Stream */ public static QualIdent parse(java.io.InputStream inpt) throws ParseException{ return new TheParser(inpt).parse_QualIdent(); } /** Parse an instance of QualIdent from the given Reader */ public static QualIdent parse(java.io.Reader inpt) throws ParseException{ return new TheParser(inpt).parse_QualIdent(); } /** Field Class for QualIdent.first */ public static class first extends edu.neu.ccs.demeterf.control.Fields.any{} /** Field Class for QualIdent.rest */ public static class rest extends edu.neu.ccs.demeterf.control.Fields.any{} /** 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); } }