OLD | NEW |
---|---|
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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.cmdline.options; | 5 library dart2js.cmdline.options; |
6 | 6 |
7 /// Commandline flags used in `dart2js.dart` and/or `apiimpl.dart`. | 7 /// Commandline flags used in `dart2js.dart` and/or `apiimpl.dart`. |
8 class Flags { | 8 class Flags { |
9 static const String allowMockCompilation = '--allow-mock-compilation'; | 9 static const String allowMockCompilation = '--allow-mock-compilation'; |
10 static const String allowNativeExtensions = '--allow-native-extensions'; | 10 static const String allowNativeExtensions = '--allow-native-extensions'; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
51 | 51 |
52 static const String conditionalDirectives = '--conditional-directives'; | 52 static const String conditionalDirectives = '--conditional-directives'; |
53 | 53 |
54 // Experimental flags. | 54 // Experimental flags. |
55 static const String genericMethodSyntax = '--generic-method-syntax'; | 55 static const String genericMethodSyntax = '--generic-method-syntax'; |
56 } | 56 } |
57 | 57 |
58 class Option { | 58 class Option { |
59 static const String showPackageWarnings = | 59 static const String showPackageWarnings = |
60 '${Flags.showPackageWarnings}|${Flags.showPackageWarnings}=.*'; | 60 '${Flags.showPackageWarnings}|${Flags.showPackageWarnings}=.*'; |
61 | |
62 // Experimental options. | |
Siggi Cherem (dart-lang)
2016/05/14 01:10:31
Several ideas/comments about how to expose the fla
Johnni Winther
2016/05/17 12:37:33
The --serialization-X are not meant to last but we
Siggi Cherem (dart-lang)
2016/05/17 21:54:25
I understand, I was also thinking we'd keep the ne
| |
63 static const String serializationSource = '--serialization-source=.+'; | |
64 static const String serializationTarget = '--serialization-target=.+'; | |
61 } | 65 } |
OLD | NEW |