A problem with options parsing due to half-way converting from RunnerFlags
Cleans up the usage message for cmdline parsing, and passes the object CompilerOptions (and friends) around instead of the array of command line arguments. Committed: https://code.google.com/p/dart/source/detail?r=187 Review URL: https://chromereviews.googleplex.com/3565012 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@189 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
package com.google.dart.runner;
|
||||
|
||||
import java.io.PrintStream;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @author floitsch@google.com (Florian Loitsch)
|
||||
@@ -13,7 +12,7 @@ import java.util.Set;
|
||||
*/
|
||||
interface JavaScriptLauncher {
|
||||
|
||||
void execute(String jsScript, String sourceName, String[] args, Set<RunnerFlag> flags,
|
||||
void execute(String jsScript, String sourceName, String[] args, RunnerOptions flags,
|
||||
PrintStream stdout, PrintStream stderr)
|
||||
throws RunnerError;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user