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

Side by Side Diff: pkg/analyzer/lib/src/generated/engine.dart

Issue 2565993002: Remove the command-line plugin (Closed)
Patch Set: remove missed file Created 4 years 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/analyzer/lib/plugin/command_line.dart ('k') | pkg/analyzer/lib/src/lint/analysis.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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 analyzer.src.generated.engine; 5 library analyzer.src.generated.engine;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 9
10 import 'package:analyzer/dart/ast/ast.dart'; 10 import 'package:analyzer/dart/ast/ast.dart';
11 import 'package:analyzer/dart/ast/visitor.dart'; 11 import 'package:analyzer/dart/ast/visitor.dart';
12 import 'package:analyzer/dart/element/element.dart'; 12 import 'package:analyzer/dart/element/element.dart';
13 import 'package:analyzer/error/error.dart'; 13 import 'package:analyzer/error/error.dart';
14 import 'package:analyzer/exception/exception.dart'; 14 import 'package:analyzer/exception/exception.dart';
15 import 'package:analyzer/instrumentation/instrumentation.dart'; 15 import 'package:analyzer/instrumentation/instrumentation.dart';
16 import 'package:analyzer/plugin/resolver_provider.dart'; 16 import 'package:analyzer/plugin/resolver_provider.dart';
17 import 'package:analyzer/source/error_processor.dart'; 17 import 'package:analyzer/source/error_processor.dart';
18 import 'package:analyzer/src/cancelable_future.dart'; 18 import 'package:analyzer/src/cancelable_future.dart';
19 import 'package:analyzer/src/context/builder.dart' show EmbedderYamlLocator; 19 import 'package:analyzer/src/context/builder.dart' show EmbedderYamlLocator;
20 import 'package:analyzer/src/context/cache.dart'; 20 import 'package:analyzer/src/context/cache.dart';
21 import 'package:analyzer/src/context/context.dart'; 21 import 'package:analyzer/src/context/context.dart';
22 import 'package:analyzer/src/generated/constant.dart'; 22 import 'package:analyzer/src/generated/constant.dart';
23 import 'package:analyzer/src/generated/java_engine.dart'; 23 import 'package:analyzer/src/generated/java_engine.dart';
24 import 'package:analyzer/src/generated/resolver.dart'; 24 import 'package:analyzer/src/generated/resolver.dart';
25 import 'package:analyzer/src/generated/source.dart'; 25 import 'package:analyzer/src/generated/source.dart';
26 import 'package:analyzer/src/generated/utilities_general.dart'; 26 import 'package:analyzer/src/generated/utilities_general.dart';
27 import 'package:analyzer/src/plugin/command_line_plugin.dart';
28 import 'package:analyzer/src/plugin/engine_plugin.dart'; 27 import 'package:analyzer/src/plugin/engine_plugin.dart';
29 import 'package:analyzer/src/services/lint.dart'; 28 import 'package:analyzer/src/services/lint.dart';
30 import 'package:analyzer/src/task/manager.dart'; 29 import 'package:analyzer/src/task/manager.dart';
31 import 'package:analyzer/task/dart.dart'; 30 import 'package:analyzer/task/dart.dart';
32 import 'package:analyzer/task/model.dart'; 31 import 'package:analyzer/task/model.dart';
33 import 'package:front_end/src/base/timestamped_data.dart'; 32 import 'package:front_end/src/base/timestamped_data.dart';
34 import 'package:html/dom.dart' show Document; 33 import 'package:html/dom.dart' show Document;
35 import 'package:path/path.dart' as pathos; 34 import 'package:path/path.dart' as pathos;
36 import 'package:plugin/manager.dart'; 35 import 'package:plugin/manager.dart';
37 import 'package:plugin/plugin.dart'; 36 import 'package:plugin/plugin.dart';
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after
749 */ 748 */
750 static final AnalysisEngine instance = new AnalysisEngine._(); 749 static final AnalysisEngine instance = new AnalysisEngine._();
751 750
752 /** 751 /**
753 * The logger that should receive information about errors within the analysis 752 * The logger that should receive information about errors within the analysis
754 * engine. 753 * engine.
755 */ 754 */
756 Logger _logger = Logger.NULL; 755 Logger _logger = Logger.NULL;
757 756
758 /** 757 /**
759 * The plugin that defines the extension points and extensions that are define d by
760 * command-line applications using the analysis engine.
761 */
762 final CommandLinePlugin commandLinePlugin = new CommandLinePlugin();
763
764 /**
765 * The plugin that defines the extension points and extensions that are 758 * The plugin that defines the extension points and extensions that are
766 * inherently defined by the analysis engine. 759 * inherently defined by the analysis engine.
767 */ 760 */
768 final EnginePlugin enginePlugin = new EnginePlugin(); 761 final EnginePlugin enginePlugin = new EnginePlugin();
769 762
770 /** 763 /**
771 * The instrumentation service that is to be used by this analysis engine. 764 * The instrumentation service that is to be used by this analysis engine.
772 */ 765 */
773 InstrumentationService _instrumentationService = 766 InstrumentationService _instrumentationService =
774 InstrumentationService.NULL_SERVICE; 767 InstrumentationService.NULL_SERVICE;
(...skipping 2054 matching lines...) Expand 10 before | Expand all | Expand 10 after
2829 */ 2822 */
2830 bool get wereSourcesAdded => _changeSet.addedSources.length > 0; 2823 bool get wereSourcesAdded => _changeSet.addedSources.length > 0;
2831 2824
2832 /** 2825 /**
2833 * Return `true` if any sources were removed or deleted. 2826 * Return `true` if any sources were removed or deleted.
2834 */ 2827 */
2835 bool get wereSourcesRemoved => 2828 bool get wereSourcesRemoved =>
2836 _changeSet.removedSources.length > 0 || 2829 _changeSet.removedSources.length > 0 ||
2837 _changeSet.removedContainers.length > 0; 2830 _changeSet.removedContainers.length > 0;
2838 } 2831 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/plugin/command_line.dart ('k') | pkg/analyzer/lib/src/lint/analysis.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698