OLD | NEW |
(Empty) | |
| 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 |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 library dart2js.cmdline.options; |
| 6 |
| 7 /// Commandline flags used in `dart2js.dart` and/or `apiimpl.dart`. |
| 8 class Flags { |
| 9 static const String allowMockCompilation = '--allow-mock-compilation'; |
| 10 static const String allowNativeExtensions = '--allow-native-extensions'; |
| 11 static const String analyzeAll = '--analyze-all'; |
| 12 static const String analyzeMain = '--analyze-main'; |
| 13 static const String analyzeOnly = '--analyze-only'; |
| 14 static const String analyzeSignaturesOnly = '--analyze-signatures-only'; |
| 15 static const String disableDiagnosticColors = '--disable-diagnostic-colors'; |
| 16 static const String disableNativeLiveTypeAnalysis = |
| 17 '--disable-native-live-type-analysis'; |
| 18 static const String disableTypeInference = '--disable-type-inference'; |
| 19 static const String dumpInfo = '--dump-info'; |
| 20 static const String enableCheckedMode = '--enable-checked-mode'; |
| 21 static const String enableConcreteTypeInference = |
| 22 '--enable-concrete-type-inference'; |
| 23 static const String enableDiagnosticColors = '--enable-diagnostic-colors'; |
| 24 static const String enableExperimentalMirrors = |
| 25 '--enable-experimental-mirrors'; |
| 26 static const String fastStartup = '--fast-startup'; |
| 27 static const String fatalWarnings = '--fatal-warnings'; |
| 28 static const String generateCodeWithCompileTimeErrors = |
| 29 '--generate-code-with-compile-time-errors'; |
| 30 static const String incrementalSupport = '--incremental-support'; |
| 31 static const String minify = '--minify'; |
| 32 static const String noFrequencyBasedMinification = |
| 33 '--no-frequency-based-minification'; |
| 34 static const String noSourceMaps = '--no-source-maps'; |
| 35 static const String preserveComments = '--preserve-comments'; |
| 36 static const String preserveUris = '--preserve-uris'; |
| 37 static const String showPackageWarnings = '--show-package-warnings'; |
| 38 static const String suppressHints = '--suppress-hints'; |
| 39 static const String suppressWarnings = '--suppress-warnings'; |
| 40 static const String terse = '--terse'; |
| 41 static const String testMode = '--test-mode'; |
| 42 static const String trustPrimitives = '--trust-primitives'; |
| 43 static const String trustTypeAnnotations = '--trust-type-annotations'; |
| 44 static const String useContentSecurityPolicy = '--csp'; |
| 45 static const String useCpsIr = '--use-cps-ir'; |
| 46 static const String verbose = '--verbose'; |
| 47 static const String version = '--version'; |
| 48 } |
OLD | NEW |