| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 package com.google.dart.compiler; | 5 package com.google.dart.compiler; |
| 6 | 6 |
| 7 import com.google.common.collect.Lists; | 7 import com.google.common.collect.Lists; |
| 8 import com.google.dart.compiler.CompilerConfiguration.ErrorFormat; | 8 import com.google.dart.compiler.CompilerConfiguration.ErrorFormat; |
| 9 | 9 |
| 10 import org.kohsuke.args4j.Argument; | 10 import org.kohsuke.args4j.Argument; |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 * Returns whether the compiler should attempt to incrementally recompile. | 168 * Returns whether the compiler should attempt to incrementally recompile. |
| 169 */ | 169 */ |
| 170 public boolean buildIncrementally() { | 170 public boolean buildIncrementally() { |
| 171 return incremental; | 171 return incremental; |
| 172 } | 172 } |
| 173 | 173 |
| 174 public boolean shouldBatch() { | 174 public boolean shouldBatch() { |
| 175 return batch; | 175 return batch; |
| 176 } | 176 } |
| 177 | 177 |
| 178 public boolean resolveDespiteParseErrors() { |
| 179 return resolveDespiteParseErrors; |
| 180 } |
| 181 |
| 178 /** | 182 /** |
| 179 * Returns <code>true</code> if the compiler should print it's help message. | 183 * Returns <code>true</code> if the compiler should print it's help message. |
| 180 */ | 184 */ |
| 181 public boolean showHelp() { | 185 public boolean showHelp() { |
| 182 return showHelp; | 186 return showHelp; |
| 183 } | 187 } |
| 184 | 188 |
| 185 public boolean showJvmMetrics() { | 189 public boolean showJvmMetrics() { |
| 186 return showJvmMetrics; | 190 return showJvmMetrics; |
| 187 } | 191 } |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 args = newArgs.toArray(new String[newArgs.size()]); | 280 args = newArgs.toArray(new String[newArgs.size()]); |
| 277 cmdLineParser = new CmdLineParser(parsedOptions); | 281 cmdLineParser = new CmdLineParser(parsedOptions); |
| 278 continue; | 282 continue; |
| 279 } | 283 } |
| 280 } | 284 } |
| 281 break; | 285 break; |
| 282 } | 286 } |
| 283 return cmdLineParser; | 287 return cmdLineParser; |
| 284 } | 288 } |
| 285 } | 289 } |
| OLD | NEW |