// ** This class was generated with DemFGen (vers:01/05/2008)

package gen;

import edu.neu.ccs.demeterf.demfgen.lib.*;
import edu.neu.ccs.demeterf.*;




public class Word{
    public final ident id;

    public Word(ident id){
        this.id = id;
    }
    public boolean equals(Object o){
        if(!(o instanceof Word))return false;
        Word oo = (Word)o;
        return (((Object)id).equals(oo.id));
    }
    public static Word parse(String inpt) throws ParseException{
        return new TheParser(new java.io.StringReader(inpt)).parse_Word();
    }
    public static Word parse(java.io.InputStream inpt) throws ParseException{
        return new TheParser(inpt).parse_Word();
    }
    public static Word parse(java.io.Reader inpt) throws ParseException{
        return new TheParser(inpt).parse_Word();
    }

    public static class id extends edu.neu.ccs.demeterf.control.Fields.any{}

    public String display(){ return gen.Display.DisplayM(this); }
    public String print(){ return gen.Print.PrintM(this); }
    public String toStr(){ return gen.ToStr.ToStrM(this); }

}