public PrgState(ImyStack <Istmt> stk, ImyDict <string, int> sym, ImyList <int> output, ImyDict <int, Tuple <string, StreamReader> > file) { this.stk = stk; this.sym = sym; this.output = output; this.file = file; }
public void execute(PrgState state) { ImyList <int> output = state.getOutput(); ImyDict <String, int> symTable = state.getSymTable(); output.add(e.eval(symTable)); }