909ba0d3a7
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
24 lines
555 B
Java
24 lines
555 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;
|
|
|
|
/**
|
|
* Flags that can be given to Runners and Launchers.
|
|
*/
|
|
public interface RunnerOptions {
|
|
|
|
public boolean shouldProfile();
|
|
|
|
public boolean shouldCompileOnly();
|
|
|
|
public boolean shouldOptimize();
|
|
|
|
public boolean typeErrorsAreFatal();
|
|
|
|
public boolean useRhino();
|
|
|
|
public boolean verbose();
|
|
}
|