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

Unified Diff: pkg/analysis_server/lib/src/analysis_server.dart

Issue 302503002: API and stubs for the 'analysis' domain. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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/domain_analysis.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/analysis_server.dart
diff --git a/pkg/analysis_server/lib/src/analysis_server.dart b/pkg/analysis_server/lib/src/analysis_server.dart
index 152eacedf59d6949b972967a8b3200e1e166f6f2..f432dc0a6141dc34ae5100a2e4ad56c86318d463 100644
--- a/pkg/analysis_server/lib/src/analysis_server.dart
+++ b/pkg/analysis_server/lib/src/analysis_server.dart
@@ -249,6 +249,22 @@ class AnalysisServer {
/**
+ * An enumeration of the services provided by the analysis domain.
+ */
+class AnalysisService extends Enum2<ServerService> {
Brian Wilkerson 2014/05/25 14:51:32 "ServerService" --> "AnalysisService" everywhere i
scheglov 2014/05/25 15:23:17 Oops... Fixed.
+ static const ServerService ERRORS = const ServerService('ERRORS', 0);
+ static const ServerService HIGHLIGHTS = const ServerService('HIGHLIGHTS', 1);
+ static const ServerService NAVIGATION = const ServerService('NAVIGATION', 2);
+ static const ServerService OUTLINE = const ServerService('OUTLINE', 3);
+
+ static const List<ServerService> VALUES =
+ const [ERRORS, HIGHLIGHTS, NAVIGATION, OUTLINE];
+
+ const AnalysisService(String name, int ordinal) : super(name, ordinal);
+}
+
+
+/**
* An enumeration of the services provided by the server domain.
*/
class ServerService extends Enum2<ServerService> {
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/domain_analysis.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698