| OLD | NEW |
| 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 // This code was auto-generated, is not intended to be edited, and is subject to | 5 // This code was auto-generated, is not intended to be edited, and is subject to |
| 6 // significant change. Please see the README file for more information. | 6 // significant change. Please see the README file for more information. |
| 7 | 7 |
| 8 library service.interfaces; | 8 library service.interfaces; |
| 9 | 9 |
| 10 import 'package:analyzer/src/generated/java_core.dart' show Enum, StringUtils; | 10 import 'package:analyzer/src/generated/java_core.dart' show Enum, StringUtils; |
| 11 import 'package:analyzer/src/generated/source.dart' show Source; | 11 import 'package:analyzer/src/generated/source.dart' show Source; |
| 12 import 'package:analysis_services/src/generated/change.dart' show SourceChange; | |
| 13 | 12 |
| 14 /** | 13 ///** |
| 15 * The interface `AssistsConsumer` defines the behavior of objects that consume
assists | 14 // * The interface `AssistsConsumer` defines the behavior of objects that consum
e assists |
| 16 * [SourceChange]s. | 15 // * [SourceChange]s. |
| 17 */ | 16 // */ |
| 18 abstract class AssistsConsumer implements Consumer { | 17 //abstract class AssistsConsumer implements Consumer { |
| 19 /** | 18 // /** |
| 20 * A set of [SourceChange]s that have been computed. | 19 // * A set of [SourceChange]s that have been computed. |
| 21 * | 20 // * |
| 22 * @param proposals an array of computed [SourceChange]s | 21 // * @param proposals an array of computed [SourceChange]s |
| 23 * @param isLastResult is `true` if this is the last set of results | 22 // * @param isLastResult is `true` if this is the last set of results |
| 24 */ | 23 // */ |
| 25 void computedSourceChanges(List<SourceChange> sourceChanges, bool isLastResult
); | 24 // void computedSourceChanges(List<SourceChange> sourceChanges, bool isLastResu
lt); |
| 26 } | 25 //} |
| 27 | 26 |
| 28 /** | 27 /** |
| 29 * The interface `CompletionSuggestion` defines the behavior of objects represen
ting a | 28 * The interface `CompletionSuggestion` defines the behavior of objects represen
ting a |
| 30 * completion suggestions. | 29 * completion suggestions. |
| 31 */ | 30 */ |
| 32 abstract class CompletionSuggestion { | 31 abstract class CompletionSuggestion { |
| 33 static final int RELEVANCE_LOW = 0; | 32 static final int RELEVANCE_LOW = 0; |
| 34 | 33 |
| 35 static final int RELEVANCE_DEFAULT = 10; | 34 static final int RELEVANCE_DEFAULT = 10; |
| 36 | 35 |
| (...skipping 854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 891 final SourceSetKind kind; | 890 final SourceSetKind kind; |
| 892 | 891 |
| 893 _ImplicitSourceSet(this.kind); | 892 _ImplicitSourceSet(this.kind); |
| 894 | 893 |
| 895 @override | 894 @override |
| 896 List<Source> get sources => Source.EMPTY_ARRAY; | 895 List<Source> get sources => Source.EMPTY_ARRAY; |
| 897 | 896 |
| 898 @override | 897 @override |
| 899 String toString() => kind.toString(); | 898 String toString() => kind.toString(); |
| 900 } | 899 } |
| OLD | NEW |