Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: pkg/compiler/lib/src/commandline_options.dart

Issue 1975153002: Support (de)serialization from command-line (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/compiler/lib/src/apiimpl.dart ('k') | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 static const String useContentSecurityPolicy = '--csp'; 46 static const String useContentSecurityPolicy = '--csp';
47 static const String useCpsIr = '--use-cps-ir'; 47 static const String useCpsIr = '--use-cps-ir';
48 static const String useNewSourceInfo = '--use-new-source-info'; 48 static const String useNewSourceInfo = '--use-new-source-info';
49 static const String verbose = '--verbose'; 49 static const String verbose = '--verbose';
50 static const String version = '--version'; 50 static const String version = '--version';
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 static const String resolveOnly = '--resolve-only';
56 } 57 }
57 58
58 class Option { 59 class Option {
59 static const String showPackageWarnings = 60 static const String showPackageWarnings =
60 '${Flags.showPackageWarnings}|${Flags.showPackageWarnings}=.*'; 61 '${Flags.showPackageWarnings}|${Flags.showPackageWarnings}=.*';
62
63 // Experimental options.
64 static const String resolutionInput = '--resolution-input=.+';
61 } 65 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/apiimpl.dart ('k') | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698