(BlockManager blockManager, Scope scope)
| 31 | private Instruction[] instructions; |
| 32 | |
| 33 | public IRJSProgram(BlockManager blockManager, Scope scope) { |
| 34 | this.blockManager = blockManager; |
| 35 | this.scope = scope; |
| 36 | this.instructions = scope.prepareForInterpret(); |
| 37 | |
| 38 | // System.out.println("PROGRAM:"); |
| 39 | int size = instructions.length; |
| 40 | for (int i = 0; i < size; i++) { |
| 41 | System.out.println("" + instructions[i]); |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | @Override |
| 46 | public Completion execute(ExecutionContext context) { |
nothing calls this directly
no test coverage detected