Chromium Code Reviews| Index: pkg/analysis_server/lib/src/protocol.dart |
| diff --git a/pkg/analysis_server/lib/src/protocol.dart b/pkg/analysis_server/lib/src/protocol.dart |
| index 83a10557781675d2e3ff15ae7b53719dc75e67ee..94da4eaf01f15d9b651c02aa8e97569d12a04b61 100644 |
| --- a/pkg/analysis_server/lib/src/protocol.dart |
| +++ b/pkg/analysis_server/lib/src/protocol.dart |
| @@ -226,6 +226,18 @@ RefactoringOptions _refactoringOptionsFromJson(JsonDecoder jsonDecoder, |
| /** |
| + * Classes implementing [Enum] represent enumerated types in the protocol. |
| + */ |
| +abstract class Enum { |
|
Brian Wilkerson
2014/10/09 21:41:22
I can't think of a better name, but I am mildly co
|
| + /** |
| + * The name of the enumerated value. This should match the name of the |
| + * static getter which provides access to this enumerated value. |
| + */ |
| + String get name; |
| +} |
| + |
| + |
| +/** |
| * Type of callbacks used to decode parts of JSON objects. [jsonPath] is a |
| * string describing the part of the JSON object being decoded, and [value] is |
| * the part to decode. |