Chromium Code Reviews| 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> { |