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

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

Issue 2844273003: Unify the server and plugin versions of the generators (Closed)
Patch Set: add missed files 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
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
11 import 'package:analysis_server/plugin/edit/fix/fix_core.dart'; 11 import 'package:analysis_server/plugin/edit/fix/fix_core.dart';
12 import 'package:analysis_server/plugin/edit/fix/fix_dart.dart'; 12 import 'package:analysis_server/plugin/edit/fix/fix_dart.dart';
13 import 'package:analysis_server/plugin/protocol/protocol.dart' 13 import 'package:analysis_server/protocol/protocol_generated.dart'
14 hide AnalysisError, Element, ElementKind; 14 hide AnalysisError, Element, ElementKind;
15 import 'package:analysis_server/src/protocol_server.dart' 15 import 'package:analysis_server/src/protocol_server.dart'
16 show doSourceChange_addElementEdit, doSourceChange_addSourceEdit; 16 show doSourceChange_addElementEdit, doSourceChange_addSourceEdit;
17 import 'package:analysis_server/src/services/correction/fix.dart'; 17 import 'package:analysis_server/src/services/correction/fix.dart';
18 import 'package:analysis_server/src/services/correction/flutter_util.dart'; 18 import 'package:analysis_server/src/services/correction/flutter_util.dart';
19 import 'package:analysis_server/src/services/correction/levenshtein.dart'; 19 import 'package:analysis_server/src/services/correction/levenshtein.dart';
20 import 'package:analysis_server/src/services/correction/name_suggestion.dart'; 20 import 'package:analysis_server/src/services/correction/name_suggestion.dart';
21 import 'package:analysis_server/src/services/correction/namespace.dart'; 21 import 'package:analysis_server/src/services/correction/namespace.dart';
22 import 'package:analysis_server/src/services/correction/source_buffer.dart'; 22 import 'package:analysis_server/src/services/correction/source_buffer.dart';
23 import 'package:analysis_server/src/services/correction/source_range.dart' 23 import 'package:analysis_server/src/services/correction/source_range.dart'
(...skipping 3127 matching lines...) Expand 10 before | Expand all | Expand 10 after
3151 } 3151 }
3152 } 3152 }
3153 } 3153 }
3154 3154
3155 void _updateList(Iterable<Element> elements) { 3155 void _updateList(Iterable<Element> elements) {
3156 for (Element element in elements) { 3156 for (Element element in elements) {
3157 _update(element); 3157 _update(element);
3158 } 3158 }
3159 } 3159 }
3160 } 3160 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698