| 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 dart2js.src.options; | 5 library dart2js.src.options; |
| 6 | 6 |
| 7 import '../compiler.dart' show PackagesDiscoveryProvider; |
| 7 import 'commandline_options.dart' show Flags; | 8 import 'commandline_options.dart' show Flags; |
| 8 import '../compiler.dart' show PackagesDiscoveryProvider; | |
| 9 | 9 |
| 10 /// Options used for parsing. | 10 /// Options used for parsing. |
| 11 /// | 11 /// |
| 12 /// Use this to conditionally support certain constructs, e.g., | 12 /// Use this to conditionally support certain constructs, e.g., |
| 13 /// experimental ones. | 13 /// experimental ones. |
| 14 abstract class ParserOptions { | 14 abstract class ParserOptions { |
| 15 const ParserOptions(); | 15 const ParserOptions(); |
| 16 | 16 |
| 17 /// Support parsing of generic method declarations, and invocations of | 17 /// Support parsing of generic method declarations, and invocations of |
| 18 /// methods where type arguments are passed. | 18 /// methods where type arguments are passed. |
| (...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 729 } | 729 } |
| 730 | 730 |
| 731 /// Locations of the platform descriptor files relative to the library root. | 731 /// Locations of the platform descriptor files relative to the library root. |
| 732 const String _clientPlatform = "lib/dart_client.platform"; | 732 const String _clientPlatform = "lib/dart_client.platform"; |
| 733 const String _serverPlatform = "lib/dart_server.platform"; | 733 const String _serverPlatform = "lib/dart_server.platform"; |
| 734 const String _sharedPlatform = "lib/dart_shared.platform"; | 734 const String _sharedPlatform = "lib/dart_shared.platform"; |
| 735 | 735 |
| 736 const String _UNDETERMINED_BUILD_ID = "build number could not be determined"; | 736 const String _UNDETERMINED_BUILD_ID = "build number could not be determined"; |
| 737 const bool _forceIncrementalSupport = | 737 const bool _forceIncrementalSupport = |
| 738 const bool.fromEnvironment('DART2JS_EXPERIMENTAL_INCREMENTAL_SUPPORT'); | 738 const bool.fromEnvironment('DART2JS_EXPERIMENTAL_INCREMENTAL_SUPPORT'); |
| OLD | NEW |