b5b46da81c
Cleans up the usage message for cmdline parsing, and passes the object CompilerOptions (and friends) around instead of the array of command line arguments. Review URL: https://chromereviews.googleplex.com/3565012 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@187 260f80e4-7a28-3924-810f-c04153c831b5
20 lines
542 B
Java
20 lines
542 B
Java
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
package com.google.dart.runner;
|
|
|
|
import java.io.PrintStream;
|
|
|
|
/**
|
|
* @author floitsch@google.com (Florian Loitsch)
|
|
*
|
|
*/
|
|
interface JavaScriptLauncher {
|
|
|
|
void execute(String jsScript, String sourceName, String[] args, RunnerOptions flags,
|
|
PrintStream stdout, PrintStream stderr)
|
|
throws RunnerError;
|
|
|
|
}
|