| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 /// Set of flags and options passed to the compiler | 5 /// Set of flags and options passed to the compiler |
| 6 library ddc.src.options; | 6 library ddc.src.options; |
| 7 | 7 |
| 8 import 'package:ddc/config.dart'; | 8 import 'package:dev_compiler/config.dart'; |
| 9 | 9 |
| 10 /// Options used by ddc's TypeResolver. | 10 /// Options used by ddc's TypeResolver. |
| 11 class ResolverOptions { | 11 class ResolverOptions { |
| 12 /// Whether to resolve 'package:' uris using the multi-package resolver. | 12 /// Whether to resolve 'package:' uris using the multi-package resolver. |
| 13 final bool useMultiPackage; | 13 final bool useMultiPackage; |
| 14 | 14 |
| 15 /// Package root when resolving 'package:' urls the standard way. | 15 /// Package root when resolving 'package:' urls the standard way. |
| 16 final String packageRoot; | 16 final String packageRoot; |
| 17 | 17 |
| 18 /// List of paths used for the multi-package resolver. | 18 /// List of paths used for the multi-package resolver. |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 this.formatOutput: false, this.ignoreTypes: false, this.outputDir, | 153 this.formatOutput: false, this.ignoreTypes: false, this.outputDir, |
| 154 this.outputDart: false, this.useColors: true, | 154 this.outputDart: false, this.useColors: true, |
| 155 this.covariantGenerics: true, this.relaxedCasts: true, | 155 this.covariantGenerics: true, this.relaxedCasts: true, |
| 156 this.useMultiPackage: false, this.packageRoot: 'packages/', | 156 this.useMultiPackage: false, this.packageRoot: 'packages/', |
| 157 this.packagePaths: const [], this.inferFromOverrides: true, | 157 this.packagePaths: const [], this.inferFromOverrides: true, |
| 158 this.inferStaticsFromIdentifiers: false, | 158 this.inferStaticsFromIdentifiers: false, |
| 159 this.inferInNonStableOrder: false, | 159 this.inferInNonStableOrder: false, |
| 160 this.onlyInferConstsAndFinalFields: false, | 160 this.onlyInferConstsAndFinalFields: false, |
| 161 this.nonnullableTypes: TypeOptions.NONNULLABLE_TYPES}); | 161 this.nonnullableTypes: TypeOptions.NONNULLABLE_TYPES}); |
| 162 } | 162 } |
| OLD | NEW |