| Index: compiler/java/com/google/dart/compiler/CommandLineOptions.java
|
| diff --git a/compiler/java/com/google/dart/compiler/CommandLineOptions.java b/compiler/java/com/google/dart/compiler/CommandLineOptions.java
|
| index 94c18ea9a0cfb6f9a4bc4a52e8e88898fc6702f8..62976f869f464f377e108bea0f8a7ba5893c2a70 100644
|
| --- a/compiler/java/com/google/dart/compiler/CommandLineOptions.java
|
| +++ b/compiler/java/com/google/dart/compiler/CommandLineOptions.java
|
| @@ -38,6 +38,9 @@ public class CommandLineOptions {
|
| usage = "Do not generate output, only analyze")
|
| private boolean checkOnly = false;
|
|
|
| + @Option(name = "--expose_core_impl", usage = "Automatic import of dart:coreimpl library")
|
| + private boolean exposeCoreImpl = false;
|
| +
|
| @Option(name = "--warn_no_such_type",
|
| usage = "Treat some type checks as warnings\n instead of fatal errors")
|
| private boolean shouldWarnOnNoSuchType = false;
|
| @@ -153,6 +156,13 @@ public class CommandLineOptions {
|
| }
|
|
|
| /**
|
| + * @return <code>true</code> to automatically import dart:coreimpl
|
| + */
|
| + public boolean shouldExposeCoreImpl() {
|
| + return exposeCoreImpl;
|
| + }
|
| +
|
| + /**
|
| * Returns whether the option -generate-documentation is provided.
|
| */
|
| public boolean generateDocumentation() {
|
| @@ -301,9 +311,6 @@ public class CommandLineOptions {
|
| @Option(name = "--compile-only", usage = "Compile but do not execute")
|
| private boolean compileOnly = false;
|
|
|
| - @Option(name = "--expose_core_impl", usage = "Automatic import of dart:coreimpl library")
|
| - private boolean exposeCoreImpl = false;
|
| -
|
| @Option(name = "--verbose", usage = "Extra diagnostic output")
|
| private boolean verbose = false;
|
|
|
| @@ -322,13 +329,6 @@ public class CommandLineOptions {
|
| }
|
|
|
| /**
|
| - * @return <code>true</code> to automatically import dart:coreimpl
|
| - */
|
| - public boolean shouldExposeCoreImpl() {
|
| - return exposeCoreImpl;
|
| - }
|
| -
|
| - /**
|
| * Returns <code>true</code> if profiling is enabled.
|
| */
|
| @Override
|
|
|