// ** This class was generated with DemFGen (vers:09/27/2009) package gen; import edu.neu.ccs.demeterf.lib.*; /** Representation of Load */ public class Load extends StkOp{ protected final int i; /** Construct a(n) Load Instance */ public Load(int i){ this.i = i; } /** Is the given object Equal to this Load? */ public boolean equals(Object o){ if(!(o instanceof Load))return false; if(o == this)return true; Load oo = (Load)o; return (((Object)i).equals(oo.i)); } /** Parse an instance of Load from the given String */ public static Load parse(String inpt) throws ParseException{ return new TheParser(new java.io.StringReader(inpt)).parse_Load(); } /** Parse an instance of Load from the given Stream */ public static Load parse(java.io.InputStream inpt) throws ParseException{ return new TheParser(inpt).parse_Load(); } /** Parse an instance of Load from the given Reader */ public static Load parse(java.io.Reader inpt) throws ParseException{ return new TheParser(inpt).parse_Load(); } /** Field Class for Load.i */ public static class i extends edu.neu.ccs.demeterf.control.Fields.any{} ExecStack eval(ExecStack s){ return s.pushRes(s.load(i)); } /** DGP method from Class Print */ public String print(){ return gen.Print.PrintM(this); } /** Getter for field Load.i */ public int getI(){ return i; } }