OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 library front_end.compiler_options; | 5 library front_end.compiler_options; |
6 | 6 |
7 import 'package:front_end/src/base/performace_logger.dart'; | 7 import 'package:front_end/src/base/performace_logger.dart'; |
8 import 'package:front_end/src/incremental/byte_store.dart'; | 8 import 'package:front_end/src/byte_store/byte_store.dart'; |
9 import 'package:kernel/target/targets.dart' show Target; | 9 import 'package:kernel/target/targets.dart' show Target; |
10 | 10 |
11 import 'compilation_message.dart'; | 11 import 'compilation_message.dart'; |
12 import 'file_system.dart'; | 12 import 'file_system.dart'; |
13 import 'physical_file_system.dart'; | 13 import 'physical_file_system.dart'; |
14 | 14 |
15 /// Callback used to report errors encountered during compilation. | 15 /// Callback used to report errors encountered during compilation. |
16 typedef void ErrorHandler(CompilationMessage error); | 16 typedef void ErrorHandler(CompilationMessage error); |
17 | 17 |
18 /// Front-end options relevant to compiler back ends. | 18 /// Front-end options relevant to compiler back ends. |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 /// | 225 /// |
226 /// Typically used by developers to debug internals of the compiler. | 226 /// Typically used by developers to debug internals of the compiler. |
227 bool throwOnWarnings = false; | 227 bool throwOnWarnings = false; |
228 | 228 |
229 /// Whether the compiler should throw as soon as it encounters a | 229 /// Whether the compiler should throw as soon as it encounters a |
230 /// compilation nit. | 230 /// compilation nit. |
231 /// | 231 /// |
232 /// Typically used by developers to debug internals of the compiler. | 232 /// Typically used by developers to debug internals of the compiler. |
233 bool throwOnNits = false; | 233 bool throwOnNits = false; |
234 } | 234 } |
OLD | NEW |