JSInterpreter constructor

JSInterpreter(
  1. String code,
  2. Program program,
  3. Context programContext
)

Implementation

JSInterpreter(this.code, this.program, Context programContext) {
  contexts[program] = programContext;
  InvokableController.addGlobals(programContext.getContextMap());
  InvokableController.updateLocale(programContext.getContextMap());
}