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