reset method

void reset({
  1. String source = "",
})

Reset the interpreter with the given source code.

Implementation

void reset({String source = ""}) {
  this.source = source;
  parser = null;
  vm = null;
}