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

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

Issue 968283003: Static SPPM-n1 model for Dart Core API usage (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/services/completion/common_usage_generated.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/services/completion/common_usage_computer.dart
===================================================================
--- pkg/analysis_server/lib/src/services/completion/common_usage_computer.dart (revision 44155)
+++ pkg/analysis_server/lib/src/services/completion/common_usage_computer.dart (working copy)
@@ -11,22 +11,7 @@
import 'package:analyzer/src/generated/ast.dart';
import 'package:analyzer/src/generated/element.dart';
-/**
- * A map of <library>.<classname> to an ordered list of method names,
- * field names, getter names, and named constructors.
- * The names are ordered from most relevant to least relevant.
- * Names not listed are considered equally less relevant than those listed.
- */
-const Map<String, List<String>> defaultSelectorRelevance = const {
- //
-// Sample implementation which updates the relevance of the following
-// new Random().nextInt(...)
-// new Random().nextDouble(...)
-// new Random().nextBool() - not commonly used thus omitted from list
-// Entries should look something like this
-// 'dart.math.Random': const ['nextInt', 'nextDouble'],
-// 'dart.async.Future': const ['value', 'wait'],
-};
+part 'common_usage_generated.dart';
/**
* A computer for adjusting the relevance of completions computed by others
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/services/completion/common_usage_generated.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698