| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 // | 4 // |
| 5 // This file has been automatically generated. Please do not edit it manually. | 5 // This file has been automatically generated. Please do not edit it manually. |
| 6 // To regenerate the file, use the script | 6 // To regenerate the file, use the script |
| 7 // "pkg/analysis_server/tool/spec/generate_files". | 7 // "pkg/analysis_server/tool/spec/generate_files". |
| 8 | 8 |
| 9 part of analysis_server.plugin.protocol.protocol; | 9 part of analysis_server.plugin.protocol.protocol; |
| 10 | 10 |
| (...skipping 9946 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9957 static const PARAMETER = const ElementKind._("PARAMETER"); | 9957 static const PARAMETER = const ElementKind._("PARAMETER"); |
| 9958 | 9958 |
| 9959 static const PREFIX = const ElementKind._("PREFIX"); | 9959 static const PREFIX = const ElementKind._("PREFIX"); |
| 9960 | 9960 |
| 9961 static const SETTER = const ElementKind._("SETTER"); | 9961 static const SETTER = const ElementKind._("SETTER"); |
| 9962 | 9962 |
| 9963 static const TOP_LEVEL_VARIABLE = const ElementKind._("TOP_LEVEL_VARIABLE"); | 9963 static const TOP_LEVEL_VARIABLE = const ElementKind._("TOP_LEVEL_VARIABLE"); |
| 9964 | 9964 |
| 9965 static const TYPE_PARAMETER = const ElementKind._("TYPE_PARAMETER"); | 9965 static const TYPE_PARAMETER = const ElementKind._("TYPE_PARAMETER"); |
| 9966 | 9966 |
| 9967 /** |
| 9968 * Deprecated: support for tests was removed. |
| 9969 */ |
| 9967 static const UNIT_TEST_GROUP = const ElementKind._("UNIT_TEST_GROUP"); | 9970 static const UNIT_TEST_GROUP = const ElementKind._("UNIT_TEST_GROUP"); |
| 9968 | 9971 |
| 9972 /** |
| 9973 * Deprecated: support for tests was removed. |
| 9974 */ |
| 9969 static const UNIT_TEST_TEST = const ElementKind._("UNIT_TEST_TEST"); | 9975 static const UNIT_TEST_TEST = const ElementKind._("UNIT_TEST_TEST"); |
| 9970 | 9976 |
| 9971 static const UNKNOWN = const ElementKind._("UNKNOWN"); | 9977 static const UNKNOWN = const ElementKind._("UNKNOWN"); |
| 9972 | 9978 |
| 9973 /** | 9979 /** |
| 9974 * A list containing all of the enum values that are defined. | 9980 * A list containing all of the enum values that are defined. |
| 9975 */ | 9981 */ |
| 9976 static const List<ElementKind> VALUES = const <ElementKind>[CLASS, CLASS_TYPE_
ALIAS, COMPILATION_UNIT, CONSTRUCTOR, ENUM, ENUM_CONSTANT, FIELD, FILE, FUNCTION
, FUNCTION_TYPE_ALIAS, GETTER, LABEL, LIBRARY, LOCAL_VARIABLE, METHOD, PARAMETER
, PREFIX, SETTER, TOP_LEVEL_VARIABLE, TYPE_PARAMETER, UNIT_TEST_GROUP, UNIT_TEST
_TEST, UNKNOWN]; | 9982 static const List<ElementKind> VALUES = const <ElementKind>[CLASS, CLASS_TYPE_
ALIAS, COMPILATION_UNIT, CONSTRUCTOR, ENUM, ENUM_CONSTANT, FIELD, FILE, FUNCTION
, FUNCTION_TYPE_ALIAS, GETTER, LABEL, LIBRARY, LOCAL_VARIABLE, METHOD, PARAMETER
, PREFIX, SETTER, TOP_LEVEL_VARIABLE, TYPE_PARAMETER, UNIT_TEST_GROUP, UNIT_TEST
_TEST, UNKNOWN]; |
| 9977 | 9983 |
| 9978 final String name; | 9984 final String name; |
| (...skipping 6909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16888 return false; | 16894 return false; |
| 16889 } | 16895 } |
| 16890 | 16896 |
| 16891 @override | 16897 @override |
| 16892 int get hashCode { | 16898 int get hashCode { |
| 16893 int hash = 0; | 16899 int hash = 0; |
| 16894 hash = JenkinsSmiHash.combine(hash, newName.hashCode); | 16900 hash = JenkinsSmiHash.combine(hash, newName.hashCode); |
| 16895 return JenkinsSmiHash.finish(hash); | 16901 return JenkinsSmiHash.finish(hash); |
| 16896 } | 16902 } |
| 16897 } | 16903 } |
| OLD | NEW |