| 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 'compilation_error.dart'; | 7 import 'compilation_error.dart'; |
| 8 import 'file_system.dart'; | 8 import 'file_system.dart'; |
| 9 import 'physical_file_system.dart'; | 9 import 'physical_file_system.dart'; |
| 10 | 10 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 /// Callback to which compilation errors should be delivered. | 29 /// Callback to which compilation errors should be delivered. |
| 30 /// | 30 /// |
| 31 /// By default, the first error will be reported by throwing an exception of | 31 /// By default, the first error will be reported by throwing an exception of |
| 32 /// type [CompilationError]. | 32 /// type [CompilationError]. |
| 33 ErrorHandler onError = defaultErrorHandler; | 33 ErrorHandler onError = defaultErrorHandler; |
| 34 | 34 |
| 35 /// Path to the ".packages" file. | 35 /// Path to the ".packages" file. |
| 36 /// | 36 /// |
| 37 /// If `null`, the ".packages" file will be found via the standard | 37 /// If `null`, the ".packages" file will be found via the standard |
| 38 /// package_config search algorithm. | 38 /// package_config search algorithm. |
| 39 /// |
| 40 /// If the empty string, no packages file will be used. |
| 39 String packagesFilePath; | 41 String packagesFilePath; |
| 40 | 42 |
| 41 /// Paths to the input summary files (excluding the SDK summary). These files | 43 /// Paths to the input summary files (excluding the SDK summary). These files |
| 42 /// should all be linked summaries. They should also be closed, in the sense | 44 /// should all be linked summaries. They should also be closed, in the sense |
| 43 /// that any libraries they reference should also appear in [inputSummaries] | 45 /// that any libraries they reference should also appear in [inputSummaries] |
| 44 /// or [sdkSummary]. | 46 /// or [sdkSummary]. |
| 45 List<String> inputSummaries = []; | 47 List<String> inputSummaries = []; |
| 46 | 48 |
| 47 /// Path to the SDK summary file. | 49 /// Path to the SDK summary file. |
| 48 /// | 50 /// |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 /// that will be compiled are listed explicitly and all other dependencies | 114 /// that will be compiled are listed explicitly and all other dependencies |
| 113 /// are covered by summary files. | 115 /// are covered by summary files. |
| 114 /// | 116 /// |
| 115 /// When this option is true, these APIs will treat any dependency that is | 117 /// When this option is true, these APIs will treat any dependency that is |
| 116 /// not described in a summary as if it was explictly listed as an input. | 118 /// not described in a summary as if it was explictly listed as an input. |
| 117 bool chaseDependencies = false; | 119 bool chaseDependencies = false; |
| 118 | 120 |
| 119 /// Whether to intepret Dart sources in strong-mode. | 121 /// Whether to intepret Dart sources in strong-mode. |
| 120 bool strongMode = true; | 122 bool strongMode = true; |
| 121 } | 123 } |
| OLD | NEW |