| 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 protocol; | 9 part of protocol; |
| 10 /** | 10 /** |
| (...skipping 5333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5344 */ | 5344 */ |
| 5345 class AnalysisErrorType implements Enum { | 5345 class AnalysisErrorType implements Enum { |
| 5346 static const ANGULAR = const AnalysisErrorType._("ANGULAR"); | 5346 static const ANGULAR = const AnalysisErrorType._("ANGULAR"); |
| 5347 | 5347 |
| 5348 static const CHECKED_MODE_COMPILE_TIME_ERROR = const AnalysisErrorType._("CHEC
KED_MODE_COMPILE_TIME_ERROR"); | 5348 static const CHECKED_MODE_COMPILE_TIME_ERROR = const AnalysisErrorType._("CHEC
KED_MODE_COMPILE_TIME_ERROR"); |
| 5349 | 5349 |
| 5350 static const COMPILE_TIME_ERROR = const AnalysisErrorType._("COMPILE_TIME_ERRO
R"); | 5350 static const COMPILE_TIME_ERROR = const AnalysisErrorType._("COMPILE_TIME_ERRO
R"); |
| 5351 | 5351 |
| 5352 static const HINT = const AnalysisErrorType._("HINT"); | 5352 static const HINT = const AnalysisErrorType._("HINT"); |
| 5353 | 5353 |
| 5354 static const LINT = const AnalysisErrorType._("LINT"); |
| 5355 |
| 5354 static const POLYMER = const AnalysisErrorType._("POLYMER"); | 5356 static const POLYMER = const AnalysisErrorType._("POLYMER"); |
| 5355 | 5357 |
| 5356 static const STATIC_TYPE_WARNING = const AnalysisErrorType._("STATIC_TYPE_WARN
ING"); | 5358 static const STATIC_TYPE_WARNING = const AnalysisErrorType._("STATIC_TYPE_WARN
ING"); |
| 5357 | 5359 |
| 5358 static const STATIC_WARNING = const AnalysisErrorType._("STATIC_WARNING"); | 5360 static const STATIC_WARNING = const AnalysisErrorType._("STATIC_WARNING"); |
| 5359 | 5361 |
| 5360 static const SYNTACTIC_ERROR = const AnalysisErrorType._("SYNTACTIC_ERROR"); | 5362 static const SYNTACTIC_ERROR = const AnalysisErrorType._("SYNTACTIC_ERROR"); |
| 5361 | 5363 |
| 5362 static const TODO = const AnalysisErrorType._("TODO"); | 5364 static const TODO = const AnalysisErrorType._("TODO"); |
| 5363 | 5365 |
| 5364 final String name; | 5366 final String name; |
| 5365 | 5367 |
| 5366 const AnalysisErrorType._(this.name); | 5368 const AnalysisErrorType._(this.name); |
| 5367 | 5369 |
| 5368 factory AnalysisErrorType(String name) { | 5370 factory AnalysisErrorType(String name) { |
| 5369 switch (name) { | 5371 switch (name) { |
| 5370 case "ANGULAR": | 5372 case "ANGULAR": |
| 5371 return ANGULAR; | 5373 return ANGULAR; |
| 5372 case "CHECKED_MODE_COMPILE_TIME_ERROR": | 5374 case "CHECKED_MODE_COMPILE_TIME_ERROR": |
| 5373 return CHECKED_MODE_COMPILE_TIME_ERROR; | 5375 return CHECKED_MODE_COMPILE_TIME_ERROR; |
| 5374 case "COMPILE_TIME_ERROR": | 5376 case "COMPILE_TIME_ERROR": |
| 5375 return COMPILE_TIME_ERROR; | 5377 return COMPILE_TIME_ERROR; |
| 5376 case "HINT": | 5378 case "HINT": |
| 5377 return HINT; | 5379 return HINT; |
| 5380 case "LINT": |
| 5381 return LINT; |
| 5378 case "POLYMER": | 5382 case "POLYMER": |
| 5379 return POLYMER; | 5383 return POLYMER; |
| 5380 case "STATIC_TYPE_WARNING": | 5384 case "STATIC_TYPE_WARNING": |
| 5381 return STATIC_TYPE_WARNING; | 5385 return STATIC_TYPE_WARNING; |
| 5382 case "STATIC_WARNING": | 5386 case "STATIC_WARNING": |
| 5383 return STATIC_WARNING; | 5387 return STATIC_WARNING; |
| 5384 case "SYNTACTIC_ERROR": | 5388 case "SYNTACTIC_ERROR": |
| 5385 return SYNTACTIC_ERROR; | 5389 return SYNTACTIC_ERROR; |
| 5386 case "TODO": | 5390 case "TODO": |
| 5387 return TODO; | 5391 return TODO; |
| (...skipping 5599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10987 return false; | 10991 return false; |
| 10988 } | 10992 } |
| 10989 | 10993 |
| 10990 @override | 10994 @override |
| 10991 int get hashCode { | 10995 int get hashCode { |
| 10992 int hash = 0; | 10996 int hash = 0; |
| 10993 hash = _JenkinsSmiHash.combine(hash, newName.hashCode); | 10997 hash = _JenkinsSmiHash.combine(hash, newName.hashCode); |
| 10994 return _JenkinsSmiHash.finish(hash); | 10998 return _JenkinsSmiHash.finish(hash); |
| 10995 } | 10999 } |
| 10996 } | 11000 } |
| OLD | NEW |