MCPcopy Create free account
hub / github.com/dynjs/dynjs / IRJSProgram

Method IRJSProgram

src/main/java/org/dynjs/ir/IRJSProgram.java:33–43  ·  view source on GitHub ↗
(BlockManager blockManager, Scope scope)

Source from the content-addressed store, hash-verified

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) {

Callers

nothing calls this directly

Calls 1

prepareForInterpretMethod · 0.80

Tested by

no test coverage detected