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

Unified Diff: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/CompletionSuggestionKind.java

Issue 684183002: Refactor CompletionSuggestionKind (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 6 years, 2 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
Index: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/CompletionSuggestionKind.java
diff --git a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/CompletionSuggestionKind.java b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/CompletionSuggestionKind.java
index 8111d8c235ecb3365d4ed6923cfa1c4a12be5114..36ab4fc2b085c1a6f7b9a9b384aded31404be8c6 100644
--- a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/CompletionSuggestionKind.java
+++ b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/CompletionSuggestionKind.java
@@ -25,44 +25,31 @@ public class CompletionSuggestionKind {
public static final String ARGUMENT_LIST = "ARGUMENT_LIST";
- public static final String CLASS = "CLASS";
-
- public static final String CLASS_ALIAS = "CLASS_ALIAS";
-
- public static final String CONSTRUCTOR = "CONSTRUCTOR";
-
- public static final String FIELD = "FIELD";
-
- public static final String FUNCTION = "FUNCTION";
-
- public static final String FUNCTION_TYPE_ALIAS = "FUNCTION_TYPE_ALIAS";
-
- public static final String GETTER = "GETTER";
-
public static final String IMPORT = "IMPORT";
+ /**
+ * The element identifier should be inserted at the completion location. For example "someMethod"
+ * in import 'myLib.dart' show someMethod; . For suggestions of this kind, the element attribute is
+ * defined and the completion field is the element's identifier.
+ */
+ public static final String IDENTIFIER = "IDENTIFIER";
+
+ /**
+ * The element is being invoked at the completion location. For example, "someMethod" in
+ * x.someMethod(); . For suggestions of this kind, the element attribute is defined and the
+ * completion field is the element's identifier.
+ */
+ public static final String INVOCATION = "INVOCATION";
+
+ /**
+ * A keyword is being suggested. For suggestions of this kind, the completion is the keyword.
+ */
public static final String KEYWORD = "KEYWORD";
- public static final String LABEL = "LABEL";
-
- public static final String LIBRARY_PREFIX = "LIBRARY_PREFIX";
-
- public static final String LOCAL_VARIABLE = "LOCAL_VARIABLE";
-
- public static final String METHOD = "METHOD";
-
- public static final String METHOD_NAME = "METHOD_NAME";
-
public static final String NAMED_ARGUMENT = "NAMED_ARGUMENT";
public static final String OPTIONAL_ARGUMENT = "OPTIONAL_ARGUMENT";
public static final String PARAMETER = "PARAMETER";
- public static final String SETTER = "SETTER";
-
- public static final String TOP_LEVEL_VARIABLE = "TOP_LEVEL_VARIABLE";
-
- public static final String TYPE_PARAMETER = "TYPE_PARAMETER";
-
}
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.server_test/src/com/google/dart/server/internal/remote/RemoteAnalysisServerImplTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698