Ejemplo n.º 1
0
 public CommandInterpreter(Environment env, boolean echo) {
   this.env = env;
   this.echo = echo;
   this.runtime = env.getExecutionManager();
   this.context = env.getContextManager();
   this.classManager = env.getClassManager();
   this.sourceManager = env.getSourceManager();
 }
Ejemplo n.º 2
0
 public SourceManager(Environment env, SearchPath sourcePath) {
   this.env = env;
   this.sourceList = new LinkedList<SourceModel>();
   this.sourcePath = sourcePath;
   env.getExecutionManager().addJDIListener(classListener);
 }