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

Side by Side Diff: dart/pkg/analysis_server/lib/src/services/completion/common_usage_computer.dart

Issue 931103003: Version 1.9.0-dev.8.2 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
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 services.completion.computer.dart.relevance; 5 library services.completion.computer.dart.relevance;
6 6
7 import 'package:analysis_server/src/protocol_server.dart' as protocol; 7 import 'package:analysis_server/src/protocol_server.dart' as protocol;
8 import 'package:analysis_server/src/protocol_server.dart' show 8 import 'package:analysis_server/src/protocol_server.dart' show
9 CompletionSuggestion, CompletionSuggestionKind; 9 CompletionSuggestion, CompletionSuggestionKind;
10 import 'package:analysis_server/src/services/completion/dart_completion_manager. dart'; 10 import 'package:analysis_server/src/services/completion/dart_completion_manager. dart';
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 DartType visitPropertyAccess(PropertyAccess node) { 151 DartType visitPropertyAccess(PropertyAccess node) {
152 if (node.propertyName == entity) { 152 if (node.propertyName == entity) {
153 Expression target = node.realTarget; 153 Expression target = node.realTarget;
154 if (target != null) { 154 if (target != null) {
155 return target.bestType; 155 return target.bestType;
156 } 156 }
157 } 157 }
158 return null; 158 return null;
159 } 159 }
160 } 160 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698