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

Side by Side Diff: pkg/analysis_server/lib/src/services/correction/fix_internal.dart

Issue 2875323002: Remove unintentional dependency on analysis_server (Closed)
Patch Set: Created 3 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 | « no previous file | pkg/analysis_server/lib/src/services/correction/name_suggestion.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 analysis_server.src.services.correction.fix_internal; 5 library analysis_server.src.services.correction.fix_internal;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 import 'dart:core'; 9 import 'dart:core';
10 10
(...skipping 28 matching lines...) Expand all
39 import 'package:analyzer/src/dart/element/member.dart'; 39 import 'package:analyzer/src/dart/element/member.dart';
40 import 'package:analyzer/src/dart/element/type.dart'; 40 import 'package:analyzer/src/dart/element/type.dart';
41 import 'package:analyzer/src/dart/resolver/inheritance_manager.dart'; 41 import 'package:analyzer/src/dart/resolver/inheritance_manager.dart';
42 import 'package:analyzer/src/error/codes.dart'; 42 import 'package:analyzer/src/error/codes.dart';
43 import 'package:analyzer/src/generated/engine.dart'; 43 import 'package:analyzer/src/generated/engine.dart';
44 import 'package:analyzer/src/generated/error_verifier.dart'; 44 import 'package:analyzer/src/generated/error_verifier.dart';
45 import 'package:analyzer/src/generated/java_core.dart'; 45 import 'package:analyzer/src/generated/java_core.dart';
46 import 'package:analyzer/src/generated/parser.dart'; 46 import 'package:analyzer/src/generated/parser.dart';
47 import 'package:analyzer/src/generated/source.dart'; 47 import 'package:analyzer/src/generated/source.dart';
48 import 'package:analyzer/src/generated/utilities_dart.dart'; 48 import 'package:analyzer/src/generated/utilities_dart.dart';
49 import 'package:analyzer_plugin/src/utilities/string_utilities.dart';
49 import 'package:analyzer_plugin/utilities/range_factory.dart'; 50 import 'package:analyzer_plugin/utilities/range_factory.dart';
50 import 'package:path/path.dart'; 51 import 'package:path/path.dart';
51 52
52 /** 53 /**
53 * A predicate is a one-argument function that returns a boolean value. 54 * A predicate is a one-argument function that returns a boolean value.
54 */ 55 */
55 typedef bool ElementPredicate(Element argument); 56 typedef bool ElementPredicate(Element argument);
56 57
57 /** 58 /**
58 * The implementation of [DartFixContext]. 59 * The implementation of [DartFixContext].
(...skipping 3203 matching lines...) Expand 10 before | Expand all | Expand 10 after
3262 } 3263 }
3263 } 3264 }
3264 } 3265 }
3265 3266
3266 void _updateList(Iterable<Element> elements) { 3267 void _updateList(Iterable<Element> elements) {
3267 for (Element element in elements) { 3268 for (Element element in elements) {
3268 _update(element); 3269 _update(element);
3269 } 3270 }
3270 } 3271 }
3271 } 3272 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/services/correction/name_suggestion.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698