Index: pkg/analyzer_cli/lib/src/options.dart |
diff --git a/pkg/analyzer_cli/lib/src/options.dart b/pkg/analyzer_cli/lib/src/options.dart |
index c83cffcf2554d9c9d455a724cb093f2b2113e8a8..7dd9de9317afa75fedd7b6b9f8c0ef61166ea032 100644 |
--- a/pkg/analyzer_cli/lib/src/options.dart |
+++ b/pkg/analyzer_cli/lib/src/options.dart |
@@ -33,6 +33,8 @@ typedef void ExitHandler(int code); |
/// Analyzer commandline configuration options. |
class CommandLineOptions { |
+ final bool enableNewAnalysisDriver = false; |
+ |
/// The path to output analysis results when in build mode. |
final String buildAnalysisOutput; |
@@ -198,13 +200,13 @@ class CommandLineOptions { |
bool get enableSuperMixins => |
contextBuilderOptions.defaultOptions.enableSuperMixins; |
+ /// The path to a `.packages` configuration file |
+ String get packageConfigPath => contextBuilderOptions.defaultPackageFilePath; |
+ |
/// The path to the package root |
String get packageRootPath => |
contextBuilderOptions.defaultPackagesDirectoryPath; |
- /// The path to a `.packages` configuration file |
- String get packageConfigPath => contextBuilderOptions.defaultPackageFilePath; |
- |
/// Parse [args] into [CommandLineOptions] describing the specified |
/// analyzer options. In case of a format error, calls [printAndFail], which |
/// by default prints an error message to stderr and exits. |