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

Side by Side Diff: pkg/analysis_server/lib/plugin/edit/assist/assist_dart.dart

Issue 1788223002: Deprecate the generated AST library and clean up imports (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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/plugin/edit/fix/fix_dart.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) 2015, the Dart project authors. Please see the AUTHORS file 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 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.plugin.edit.assist.assist_dart; 5 library analysis_server.plugin.edit.assist.assist_dart;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:analysis_server/plugin/edit/assist/assist_core.dart'; 9 import 'package:analysis_server/plugin/edit/assist/assist_core.dart';
10 import 'package:analyzer/src/generated/ast.dart'; 10 import 'package:analyzer/dart/ast/ast.dart';
11 import 'package:analyzer/src/generated/engine.dart'; 11 import 'package:analyzer/src/generated/engine.dart';
12 import 'package:analyzer/src/generated/source.dart'; 12 import 'package:analyzer/src/generated/source.dart';
13 13
14 /** 14 /**
15 * An object used to provide context information for [DartAssistContributor]s. 15 * An object used to provide context information for [DartAssistContributor]s.
16 * 16 *
17 * Clients may not extend, implement or mix-in this class. 17 * Clients may not extend, implement or mix-in this class.
18 */ 18 */
19 abstract class DartAssistContext { 19 abstract class DartAssistContext {
20 /** 20 /**
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 /** 103 /**
104 * The start of the selection. 104 * The start of the selection.
105 */ 105 */
106 int get selectionOffset => _context.selectionOffset; 106 int get selectionOffset => _context.selectionOffset;
107 107
108 /** 108 /**
109 * The source to get assists in. 109 * The source to get assists in.
110 */ 110 */
111 Source get source => _context.source; 111 Source get source => _context.source;
112 } 112 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/lib/plugin/edit/fix/fix_dart.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698