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 9278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9289 * | 9289 * |
9290 * enum { | 9290 * enum { |
9291 * ANNOTATION | 9291 * ANNOTATION |
9292 * BUILT_IN | 9292 * BUILT_IN |
9293 * CLASS | 9293 * CLASS |
9294 * COMMENT_BLOCK | 9294 * COMMENT_BLOCK |
9295 * COMMENT_DOCUMENTATION | 9295 * COMMENT_DOCUMENTATION |
9296 * COMMENT_END_OF_LINE | 9296 * COMMENT_END_OF_LINE |
9297 * CONSTRUCTOR | 9297 * CONSTRUCTOR |
9298 * DIRECTIVE | 9298 * DIRECTIVE |
9299 * DYNAMIC_TYPE | 9299 * DYNAMIC_LOCAL_VARIABLE_DECLARATION |
| 9300 * DYNAMIC_LOCAL_VARIABLE_REFERENCE |
| 9301 * DYNAMIC_PARAMETER_DECLARATION |
| 9302 * DYNAMIC_PARAMETER_REFERENCE |
9300 * ENUM | 9303 * ENUM |
9301 * ENUM_CONSTANT | 9304 * ENUM_CONSTANT |
9302 * FIELD | |
9303 * FIELD_STATIC | |
9304 * FUNCTION | |
9305 * FUNCTION_DECLARATION | |
9306 * FUNCTION_TYPE_ALIAS | 9305 * FUNCTION_TYPE_ALIAS |
9307 * GETTER_DECLARATION | |
9308 * IDENTIFIER_DEFAULT | 9306 * IDENTIFIER_DEFAULT |
9309 * IMPORT_PREFIX | 9307 * IMPORT_PREFIX |
| 9308 * INSTANCE_FIELD_DECLARATION |
| 9309 * INSTANCE_FIELD_REFERENCE |
| 9310 * INSTANCE_GETTER_DECLARATION |
| 9311 * INSTANCE_METHOD_DECLARATION |
| 9312 * INSTANCE_METHOD_REFERENCE |
| 9313 * INSTANCE_SETTER_DECLARATION |
| 9314 * INVALID_STRING_ESCAPE |
9310 * KEYWORD | 9315 * KEYWORD |
9311 * LABEL | 9316 * LABEL |
9312 * LITERAL_BOOLEAN | 9317 * LITERAL_BOOLEAN |
9313 * LITERAL_DOUBLE | 9318 * LITERAL_DOUBLE |
9314 * LITERAL_INTEGER | 9319 * LITERAL_INTEGER |
9315 * LITERAL_LIST | 9320 * LITERAL_LIST |
9316 * LITERAL_MAP | 9321 * LITERAL_MAP |
9317 * LITERAL_STRING | 9322 * LITERAL_STRING |
9318 * LOCAL_VARIABLE | 9323 * LOCAL_FUNCTION_DECLARATION |
| 9324 * LOCAL_FUNCTION_REFERENCE |
9319 * LOCAL_VARIABLE_DECLARATION | 9325 * LOCAL_VARIABLE_DECLARATION |
9320 * METHOD | 9326 * LOCAL_VARIABLE_REFERENCE |
9321 * METHOD_DECLARATION | 9327 * PARAMETER_DECLARATION |
9322 * METHOD_DECLARATION_STATIC | 9328 * PARAMETER_REFERENCE |
9323 * METHOD_STATIC | 9329 * STATIC_FIELD_DECLARATION |
9324 * PARAMETER | 9330 * STATIC_FIELD_REFERENCE |
9325 * SETTER_DECLARATION | 9331 * STATIC_GETTER_DECLARATION |
9326 * TOP_LEVEL_VARIABLE | 9332 * STATIC_METHOD_DECLARATION |
| 9333 * STATIC_METHOD_REFERENCE |
| 9334 * STATIC_SETTER_DECLARATION |
| 9335 * TOP_LEVEL_FUNCTION_DECLARATION |
| 9336 * TOP_LEVEL_FUNCTION_REFERENCE |
| 9337 * TOP_LEVEL_GETTER_DECLARATION |
| 9338 * TOP_LEVEL_SETTER_DECLARATION |
| 9339 * TOP_LEVEL_VARIABLE_DECLARATION |
| 9340 * TOP_LEVEL_VARIABLE_REFERENCE |
9327 * TYPE_NAME_DYNAMIC | 9341 * TYPE_NAME_DYNAMIC |
9328 * TYPE_PARAMETER | 9342 * TYPE_PARAMETER |
| 9343 * UNRESOLVED_INSTANCE_MEMBER_REFERENCE |
| 9344 * VALID_STRING_ESCAPE |
9329 * } | 9345 * } |
9330 */ | 9346 */ |
9331 class HighlightRegionType implements Enum { | 9347 class HighlightRegionType implements Enum { |
9332 static const ANNOTATION = const HighlightRegionType._("ANNOTATION"); | 9348 static const ANNOTATION = const HighlightRegionType._("ANNOTATION"); |
9333 | 9349 |
9334 static const BUILT_IN = const HighlightRegionType._("BUILT_IN"); | 9350 static const BUILT_IN = const HighlightRegionType._("BUILT_IN"); |
9335 | 9351 |
9336 static const CLASS = const HighlightRegionType._("CLASS"); | 9352 static const CLASS = const HighlightRegionType._("CLASS"); |
9337 | 9353 |
9338 static const COMMENT_BLOCK = const HighlightRegionType._("COMMENT_BLOCK"); | 9354 static const COMMENT_BLOCK = const HighlightRegionType._("COMMENT_BLOCK"); |
9339 | 9355 |
9340 static const COMMENT_DOCUMENTATION = const HighlightRegionType._("COMMENT_DOCU
MENTATION"); | 9356 static const COMMENT_DOCUMENTATION = const HighlightRegionType._("COMMENT_DOCU
MENTATION"); |
9341 | 9357 |
9342 static const COMMENT_END_OF_LINE = const HighlightRegionType._("COMMENT_END_OF
_LINE"); | 9358 static const COMMENT_END_OF_LINE = const HighlightRegionType._("COMMENT_END_OF
_LINE"); |
9343 | 9359 |
9344 static const CONSTRUCTOR = const HighlightRegionType._("CONSTRUCTOR"); | 9360 static const CONSTRUCTOR = const HighlightRegionType._("CONSTRUCTOR"); |
9345 | 9361 |
9346 static const DIRECTIVE = const HighlightRegionType._("DIRECTIVE"); | 9362 static const DIRECTIVE = const HighlightRegionType._("DIRECTIVE"); |
9347 | 9363 |
9348 static const DYNAMIC_TYPE = const HighlightRegionType._("DYNAMIC_TYPE"); | 9364 static const DYNAMIC_LOCAL_VARIABLE_DECLARATION = const HighlightRegionType._(
"DYNAMIC_LOCAL_VARIABLE_DECLARATION"); |
| 9365 |
| 9366 static const DYNAMIC_LOCAL_VARIABLE_REFERENCE = const HighlightRegionType._("D
YNAMIC_LOCAL_VARIABLE_REFERENCE"); |
| 9367 |
| 9368 static const DYNAMIC_PARAMETER_DECLARATION = const HighlightRegionType._("DYNA
MIC_PARAMETER_DECLARATION"); |
| 9369 |
| 9370 static const DYNAMIC_PARAMETER_REFERENCE = const HighlightRegionType._("DYNAMI
C_PARAMETER_REFERENCE"); |
9349 | 9371 |
9350 static const ENUM = const HighlightRegionType._("ENUM"); | 9372 static const ENUM = const HighlightRegionType._("ENUM"); |
9351 | 9373 |
9352 static const ENUM_CONSTANT = const HighlightRegionType._("ENUM_CONSTANT"); | 9374 static const ENUM_CONSTANT = const HighlightRegionType._("ENUM_CONSTANT"); |
9353 | 9375 |
9354 static const FIELD = const HighlightRegionType._("FIELD"); | |
9355 | |
9356 static const FIELD_STATIC = const HighlightRegionType._("FIELD_STATIC"); | |
9357 | |
9358 static const FUNCTION = const HighlightRegionType._("FUNCTION"); | |
9359 | |
9360 static const FUNCTION_DECLARATION = const HighlightRegionType._("FUNCTION_DECL
ARATION"); | |
9361 | |
9362 static const FUNCTION_TYPE_ALIAS = const HighlightRegionType._("FUNCTION_TYPE_
ALIAS"); | 9376 static const FUNCTION_TYPE_ALIAS = const HighlightRegionType._("FUNCTION_TYPE_
ALIAS"); |
9363 | 9377 |
9364 static const GETTER_DECLARATION = const HighlightRegionType._("GETTER_DECLARAT
ION"); | |
9365 | |
9366 static const IDENTIFIER_DEFAULT = const HighlightRegionType._("IDENTIFIER_DEFA
ULT"); | 9378 static const IDENTIFIER_DEFAULT = const HighlightRegionType._("IDENTIFIER_DEFA
ULT"); |
9367 | 9379 |
9368 static const IMPORT_PREFIX = const HighlightRegionType._("IMPORT_PREFIX"); | 9380 static const IMPORT_PREFIX = const HighlightRegionType._("IMPORT_PREFIX"); |
9369 | 9381 |
| 9382 static const INSTANCE_FIELD_DECLARATION = const HighlightRegionType._("INSTANC
E_FIELD_DECLARATION"); |
| 9383 |
| 9384 static const INSTANCE_FIELD_REFERENCE = const HighlightRegionType._("INSTANCE_
FIELD_REFERENCE"); |
| 9385 |
| 9386 static const INSTANCE_GETTER_DECLARATION = const HighlightRegionType._("INSTAN
CE_GETTER_DECLARATION"); |
| 9387 |
| 9388 static const INSTANCE_METHOD_DECLARATION = const HighlightRegionType._("INSTAN
CE_METHOD_DECLARATION"); |
| 9389 |
| 9390 static const INSTANCE_METHOD_REFERENCE = const HighlightRegionType._("INSTANCE
_METHOD_REFERENCE"); |
| 9391 |
| 9392 static const INSTANCE_SETTER_DECLARATION = const HighlightRegionType._("INSTAN
CE_SETTER_DECLARATION"); |
| 9393 |
| 9394 static const INVALID_STRING_ESCAPE = const HighlightRegionType._("INVALID_STRI
NG_ESCAPE"); |
| 9395 |
9370 static const KEYWORD = const HighlightRegionType._("KEYWORD"); | 9396 static const KEYWORD = const HighlightRegionType._("KEYWORD"); |
9371 | 9397 |
9372 static const LABEL = const HighlightRegionType._("LABEL"); | 9398 static const LABEL = const HighlightRegionType._("LABEL"); |
9373 | 9399 |
9374 static const LITERAL_BOOLEAN = const HighlightRegionType._("LITERAL_BOOLEAN"); | 9400 static const LITERAL_BOOLEAN = const HighlightRegionType._("LITERAL_BOOLEAN"); |
9375 | 9401 |
9376 static const LITERAL_DOUBLE = const HighlightRegionType._("LITERAL_DOUBLE"); | 9402 static const LITERAL_DOUBLE = const HighlightRegionType._("LITERAL_DOUBLE"); |
9377 | 9403 |
9378 static const LITERAL_INTEGER = const HighlightRegionType._("LITERAL_INTEGER"); | 9404 static const LITERAL_INTEGER = const HighlightRegionType._("LITERAL_INTEGER"); |
9379 | 9405 |
9380 static const LITERAL_LIST = const HighlightRegionType._("LITERAL_LIST"); | 9406 static const LITERAL_LIST = const HighlightRegionType._("LITERAL_LIST"); |
9381 | 9407 |
9382 static const LITERAL_MAP = const HighlightRegionType._("LITERAL_MAP"); | 9408 static const LITERAL_MAP = const HighlightRegionType._("LITERAL_MAP"); |
9383 | 9409 |
9384 static const LITERAL_STRING = const HighlightRegionType._("LITERAL_STRING"); | 9410 static const LITERAL_STRING = const HighlightRegionType._("LITERAL_STRING"); |
9385 | 9411 |
9386 static const LOCAL_VARIABLE = const HighlightRegionType._("LOCAL_VARIABLE"); | 9412 static const LOCAL_FUNCTION_DECLARATION = const HighlightRegionType._("LOCAL_F
UNCTION_DECLARATION"); |
| 9413 |
| 9414 static const LOCAL_FUNCTION_REFERENCE = const HighlightRegionType._("LOCAL_FUN
CTION_REFERENCE"); |
9387 | 9415 |
9388 static const LOCAL_VARIABLE_DECLARATION = const HighlightRegionType._("LOCAL_V
ARIABLE_DECLARATION"); | 9416 static const LOCAL_VARIABLE_DECLARATION = const HighlightRegionType._("LOCAL_V
ARIABLE_DECLARATION"); |
9389 | 9417 |
9390 static const METHOD = const HighlightRegionType._("METHOD"); | 9418 static const LOCAL_VARIABLE_REFERENCE = const HighlightRegionType._("LOCAL_VAR
IABLE_REFERENCE"); |
9391 | 9419 |
9392 static const METHOD_DECLARATION = const HighlightRegionType._("METHOD_DECLARAT
ION"); | 9420 static const PARAMETER_DECLARATION = const HighlightRegionType._("PARAMETER_DE
CLARATION"); |
9393 | 9421 |
9394 static const METHOD_DECLARATION_STATIC = const HighlightRegionType._("METHOD_D
ECLARATION_STATIC"); | 9422 static const PARAMETER_REFERENCE = const HighlightRegionType._("PARAMETER_REFE
RENCE"); |
9395 | 9423 |
9396 static const METHOD_STATIC = const HighlightRegionType._("METHOD_STATIC"); | 9424 static const STATIC_FIELD_DECLARATION = const HighlightRegionType._("STATIC_FI
ELD_DECLARATION"); |
9397 | 9425 |
9398 static const PARAMETER = const HighlightRegionType._("PARAMETER"); | 9426 static const STATIC_FIELD_REFERENCE = const HighlightRegionType._("STATIC_FIEL
D_REFERENCE"); |
9399 | 9427 |
9400 static const SETTER_DECLARATION = const HighlightRegionType._("SETTER_DECLARAT
ION"); | 9428 static const STATIC_GETTER_DECLARATION = const HighlightRegionType._("STATIC_G
ETTER_DECLARATION"); |
9401 | 9429 |
9402 static const TOP_LEVEL_VARIABLE = const HighlightRegionType._("TOP_LEVEL_VARIA
BLE"); | 9430 static const STATIC_METHOD_DECLARATION = const HighlightRegionType._("STATIC_M
ETHOD_DECLARATION"); |
| 9431 |
| 9432 static const STATIC_METHOD_REFERENCE = const HighlightRegionType._("STATIC_MET
HOD_REFERENCE"); |
| 9433 |
| 9434 static const STATIC_SETTER_DECLARATION = const HighlightRegionType._("STATIC_S
ETTER_DECLARATION"); |
| 9435 |
| 9436 static const TOP_LEVEL_FUNCTION_DECLARATION = const HighlightRegionType._("TOP
_LEVEL_FUNCTION_DECLARATION"); |
| 9437 |
| 9438 static const TOP_LEVEL_FUNCTION_REFERENCE = const HighlightRegionType._("TOP_L
EVEL_FUNCTION_REFERENCE"); |
| 9439 |
| 9440 static const TOP_LEVEL_GETTER_DECLARATION = const HighlightRegionType._("TOP_L
EVEL_GETTER_DECLARATION"); |
| 9441 |
| 9442 static const TOP_LEVEL_SETTER_DECLARATION = const HighlightRegionType._("TOP_L
EVEL_SETTER_DECLARATION"); |
| 9443 |
| 9444 static const TOP_LEVEL_VARIABLE_DECLARATION = const HighlightRegionType._("TOP
_LEVEL_VARIABLE_DECLARATION"); |
| 9445 |
| 9446 static const TOP_LEVEL_VARIABLE_REFERENCE = const HighlightRegionType._("TOP_L
EVEL_VARIABLE_REFERENCE"); |
9403 | 9447 |
9404 static const TYPE_NAME_DYNAMIC = const HighlightRegionType._("TYPE_NAME_DYNAMI
C"); | 9448 static const TYPE_NAME_DYNAMIC = const HighlightRegionType._("TYPE_NAME_DYNAMI
C"); |
9405 | 9449 |
9406 static const TYPE_PARAMETER = const HighlightRegionType._("TYPE_PARAMETER"); | 9450 static const TYPE_PARAMETER = const HighlightRegionType._("TYPE_PARAMETER"); |
9407 | 9451 |
| 9452 static const UNRESOLVED_INSTANCE_MEMBER_REFERENCE = const HighlightRegionType.
_("UNRESOLVED_INSTANCE_MEMBER_REFERENCE"); |
| 9453 |
| 9454 static const VALID_STRING_ESCAPE = const HighlightRegionType._("VALID_STRING_E
SCAPE"); |
| 9455 |
9408 /** | 9456 /** |
9409 * A list containing all of the enum values that are defined. | 9457 * A list containing all of the enum values that are defined. |
9410 */ | 9458 */ |
9411 static const List<HighlightRegionType> VALUES = const <HighlightRegionType>[AN
NOTATION, BUILT_IN, CLASS, COMMENT_BLOCK, COMMENT_DOCUMENTATION, COMMENT_END_OF_
LINE, CONSTRUCTOR, DIRECTIVE, DYNAMIC_TYPE, ENUM, ENUM_CONSTANT, FIELD, FIELD_ST
ATIC, FUNCTION, FUNCTION_DECLARATION, FUNCTION_TYPE_ALIAS, GETTER_DECLARATION, I
DENTIFIER_DEFAULT, IMPORT_PREFIX, KEYWORD, LABEL, LITERAL_BOOLEAN, LITERAL_DOUBL
E, LITERAL_INTEGER, LITERAL_LIST, LITERAL_MAP, LITERAL_STRING, LOCAL_VARIABLE, L
OCAL_VARIABLE_DECLARATION, METHOD, METHOD_DECLARATION, METHOD_DECLARATION_STATIC
, METHOD_STATIC, PARAMETER, SETTER_DECLARATION, TOP_LEVEL_VARIABLE, TYPE_NAME_DY
NAMIC, TYPE_PARAMETER]; | 9459 static const List<HighlightRegionType> VALUES = const <HighlightRegionType>[AN
NOTATION, BUILT_IN, CLASS, COMMENT_BLOCK, COMMENT_DOCUMENTATION, COMMENT_END_OF_
LINE, CONSTRUCTOR, DIRECTIVE, DYNAMIC_LOCAL_VARIABLE_DECLARATION, DYNAMIC_LOCAL_
VARIABLE_REFERENCE, DYNAMIC_PARAMETER_DECLARATION, DYNAMIC_PARAMETER_REFERENCE,
ENUM, ENUM_CONSTANT, FUNCTION_TYPE_ALIAS, IDENTIFIER_DEFAULT, IMPORT_PREFIX, INS
TANCE_FIELD_DECLARATION, INSTANCE_FIELD_REFERENCE, INSTANCE_GETTER_DECLARATION,
INSTANCE_METHOD_DECLARATION, INSTANCE_METHOD_REFERENCE, INSTANCE_SETTER_DECLARAT
ION, INVALID_STRING_ESCAPE, KEYWORD, LABEL, LITERAL_BOOLEAN, LITERAL_DOUBLE, LIT
ERAL_INTEGER, LITERAL_LIST, LITERAL_MAP, LITERAL_STRING, LOCAL_FUNCTION_DECLARAT
ION, LOCAL_FUNCTION_REFERENCE, LOCAL_VARIABLE_DECLARATION, LOCAL_VARIABLE_REFERE
NCE, PARAMETER_DECLARATION, PARAMETER_REFERENCE, STATIC_FIELD_DECLARATION, STATI
C_FIELD_REFERENCE, STATIC_GETTER_DECLARATION, STATIC_METHOD_DECLARATION, STATIC_
METHOD_REFERENCE, STATIC_SETTER_DECLARATION, TOP_LEVEL_FUNCTION_DECLARATION, TOP
_LEVEL_FUNCTION_REFERENCE, TOP_LEVEL_GETTER_DECLARATION, TOP_LEVEL_SETTER_DECLAR
ATION, TOP_LEVEL_VARIABLE_DECLARATION, TOP_LEVEL_VARIABLE_REFERENCE, TYPE_NAME_D
YNAMIC, TYPE_PARAMETER, UNRESOLVED_INSTANCE_MEMBER_REFERENCE, VALID_STRING_ESCAP
E]; |
9412 | 9460 |
9413 final String name; | 9461 final String name; |
9414 | 9462 |
9415 const HighlightRegionType._(this.name); | 9463 const HighlightRegionType._(this.name); |
9416 | 9464 |
9417 factory HighlightRegionType(String name) { | 9465 factory HighlightRegionType(String name) { |
9418 switch (name) { | 9466 switch (name) { |
9419 case "ANNOTATION": | 9467 case "ANNOTATION": |
9420 return ANNOTATION; | 9468 return ANNOTATION; |
9421 case "BUILT_IN": | 9469 case "BUILT_IN": |
9422 return BUILT_IN; | 9470 return BUILT_IN; |
9423 case "CLASS": | 9471 case "CLASS": |
9424 return CLASS; | 9472 return CLASS; |
9425 case "COMMENT_BLOCK": | 9473 case "COMMENT_BLOCK": |
9426 return COMMENT_BLOCK; | 9474 return COMMENT_BLOCK; |
9427 case "COMMENT_DOCUMENTATION": | 9475 case "COMMENT_DOCUMENTATION": |
9428 return COMMENT_DOCUMENTATION; | 9476 return COMMENT_DOCUMENTATION; |
9429 case "COMMENT_END_OF_LINE": | 9477 case "COMMENT_END_OF_LINE": |
9430 return COMMENT_END_OF_LINE; | 9478 return COMMENT_END_OF_LINE; |
9431 case "CONSTRUCTOR": | 9479 case "CONSTRUCTOR": |
9432 return CONSTRUCTOR; | 9480 return CONSTRUCTOR; |
9433 case "DIRECTIVE": | 9481 case "DIRECTIVE": |
9434 return DIRECTIVE; | 9482 return DIRECTIVE; |
9435 case "DYNAMIC_TYPE": | 9483 case "DYNAMIC_LOCAL_VARIABLE_DECLARATION": |
9436 return DYNAMIC_TYPE; | 9484 return DYNAMIC_LOCAL_VARIABLE_DECLARATION; |
| 9485 case "DYNAMIC_LOCAL_VARIABLE_REFERENCE": |
| 9486 return DYNAMIC_LOCAL_VARIABLE_REFERENCE; |
| 9487 case "DYNAMIC_PARAMETER_DECLARATION": |
| 9488 return DYNAMIC_PARAMETER_DECLARATION; |
| 9489 case "DYNAMIC_PARAMETER_REFERENCE": |
| 9490 return DYNAMIC_PARAMETER_REFERENCE; |
9437 case "ENUM": | 9491 case "ENUM": |
9438 return ENUM; | 9492 return ENUM; |
9439 case "ENUM_CONSTANT": | 9493 case "ENUM_CONSTANT": |
9440 return ENUM_CONSTANT; | 9494 return ENUM_CONSTANT; |
9441 case "FIELD": | |
9442 return FIELD; | |
9443 case "FIELD_STATIC": | |
9444 return FIELD_STATIC; | |
9445 case "FUNCTION": | |
9446 return FUNCTION; | |
9447 case "FUNCTION_DECLARATION": | |
9448 return FUNCTION_DECLARATION; | |
9449 case "FUNCTION_TYPE_ALIAS": | 9495 case "FUNCTION_TYPE_ALIAS": |
9450 return FUNCTION_TYPE_ALIAS; | 9496 return FUNCTION_TYPE_ALIAS; |
9451 case "GETTER_DECLARATION": | |
9452 return GETTER_DECLARATION; | |
9453 case "IDENTIFIER_DEFAULT": | 9497 case "IDENTIFIER_DEFAULT": |
9454 return IDENTIFIER_DEFAULT; | 9498 return IDENTIFIER_DEFAULT; |
9455 case "IMPORT_PREFIX": | 9499 case "IMPORT_PREFIX": |
9456 return IMPORT_PREFIX; | 9500 return IMPORT_PREFIX; |
| 9501 case "INSTANCE_FIELD_DECLARATION": |
| 9502 return INSTANCE_FIELD_DECLARATION; |
| 9503 case "INSTANCE_FIELD_REFERENCE": |
| 9504 return INSTANCE_FIELD_REFERENCE; |
| 9505 case "INSTANCE_GETTER_DECLARATION": |
| 9506 return INSTANCE_GETTER_DECLARATION; |
| 9507 case "INSTANCE_METHOD_DECLARATION": |
| 9508 return INSTANCE_METHOD_DECLARATION; |
| 9509 case "INSTANCE_METHOD_REFERENCE": |
| 9510 return INSTANCE_METHOD_REFERENCE; |
| 9511 case "INSTANCE_SETTER_DECLARATION": |
| 9512 return INSTANCE_SETTER_DECLARATION; |
| 9513 case "INVALID_STRING_ESCAPE": |
| 9514 return INVALID_STRING_ESCAPE; |
9457 case "KEYWORD": | 9515 case "KEYWORD": |
9458 return KEYWORD; | 9516 return KEYWORD; |
9459 case "LABEL": | 9517 case "LABEL": |
9460 return LABEL; | 9518 return LABEL; |
9461 case "LITERAL_BOOLEAN": | 9519 case "LITERAL_BOOLEAN": |
9462 return LITERAL_BOOLEAN; | 9520 return LITERAL_BOOLEAN; |
9463 case "LITERAL_DOUBLE": | 9521 case "LITERAL_DOUBLE": |
9464 return LITERAL_DOUBLE; | 9522 return LITERAL_DOUBLE; |
9465 case "LITERAL_INTEGER": | 9523 case "LITERAL_INTEGER": |
9466 return LITERAL_INTEGER; | 9524 return LITERAL_INTEGER; |
9467 case "LITERAL_LIST": | 9525 case "LITERAL_LIST": |
9468 return LITERAL_LIST; | 9526 return LITERAL_LIST; |
9469 case "LITERAL_MAP": | 9527 case "LITERAL_MAP": |
9470 return LITERAL_MAP; | 9528 return LITERAL_MAP; |
9471 case "LITERAL_STRING": | 9529 case "LITERAL_STRING": |
9472 return LITERAL_STRING; | 9530 return LITERAL_STRING; |
9473 case "LOCAL_VARIABLE": | 9531 case "LOCAL_FUNCTION_DECLARATION": |
9474 return LOCAL_VARIABLE; | 9532 return LOCAL_FUNCTION_DECLARATION; |
| 9533 case "LOCAL_FUNCTION_REFERENCE": |
| 9534 return LOCAL_FUNCTION_REFERENCE; |
9475 case "LOCAL_VARIABLE_DECLARATION": | 9535 case "LOCAL_VARIABLE_DECLARATION": |
9476 return LOCAL_VARIABLE_DECLARATION; | 9536 return LOCAL_VARIABLE_DECLARATION; |
9477 case "METHOD": | 9537 case "LOCAL_VARIABLE_REFERENCE": |
9478 return METHOD; | 9538 return LOCAL_VARIABLE_REFERENCE; |
9479 case "METHOD_DECLARATION": | 9539 case "PARAMETER_DECLARATION": |
9480 return METHOD_DECLARATION; | 9540 return PARAMETER_DECLARATION; |
9481 case "METHOD_DECLARATION_STATIC": | 9541 case "PARAMETER_REFERENCE": |
9482 return METHOD_DECLARATION_STATIC; | 9542 return PARAMETER_REFERENCE; |
9483 case "METHOD_STATIC": | 9543 case "STATIC_FIELD_DECLARATION": |
9484 return METHOD_STATIC; | 9544 return STATIC_FIELD_DECLARATION; |
9485 case "PARAMETER": | 9545 case "STATIC_FIELD_REFERENCE": |
9486 return PARAMETER; | 9546 return STATIC_FIELD_REFERENCE; |
9487 case "SETTER_DECLARATION": | 9547 case "STATIC_GETTER_DECLARATION": |
9488 return SETTER_DECLARATION; | 9548 return STATIC_GETTER_DECLARATION; |
9489 case "TOP_LEVEL_VARIABLE": | 9549 case "STATIC_METHOD_DECLARATION": |
9490 return TOP_LEVEL_VARIABLE; | 9550 return STATIC_METHOD_DECLARATION; |
| 9551 case "STATIC_METHOD_REFERENCE": |
| 9552 return STATIC_METHOD_REFERENCE; |
| 9553 case "STATIC_SETTER_DECLARATION": |
| 9554 return STATIC_SETTER_DECLARATION; |
| 9555 case "TOP_LEVEL_FUNCTION_DECLARATION": |
| 9556 return TOP_LEVEL_FUNCTION_DECLARATION; |
| 9557 case "TOP_LEVEL_FUNCTION_REFERENCE": |
| 9558 return TOP_LEVEL_FUNCTION_REFERENCE; |
| 9559 case "TOP_LEVEL_GETTER_DECLARATION": |
| 9560 return TOP_LEVEL_GETTER_DECLARATION; |
| 9561 case "TOP_LEVEL_SETTER_DECLARATION": |
| 9562 return TOP_LEVEL_SETTER_DECLARATION; |
| 9563 case "TOP_LEVEL_VARIABLE_DECLARATION": |
| 9564 return TOP_LEVEL_VARIABLE_DECLARATION; |
| 9565 case "TOP_LEVEL_VARIABLE_REFERENCE": |
| 9566 return TOP_LEVEL_VARIABLE_REFERENCE; |
9491 case "TYPE_NAME_DYNAMIC": | 9567 case "TYPE_NAME_DYNAMIC": |
9492 return TYPE_NAME_DYNAMIC; | 9568 return TYPE_NAME_DYNAMIC; |
9493 case "TYPE_PARAMETER": | 9569 case "TYPE_PARAMETER": |
9494 return TYPE_PARAMETER; | 9570 return TYPE_PARAMETER; |
| 9571 case "UNRESOLVED_INSTANCE_MEMBER_REFERENCE": |
| 9572 return UNRESOLVED_INSTANCE_MEMBER_REFERENCE; |
| 9573 case "VALID_STRING_ESCAPE": |
| 9574 return VALID_STRING_ESCAPE; |
9495 } | 9575 } |
9496 throw new Exception('Illegal enum value: $name'); | 9576 throw new Exception('Illegal enum value: $name'); |
9497 } | 9577 } |
9498 | 9578 |
9499 factory HighlightRegionType.fromJson(JsonDecoder jsonDecoder, String jsonPath,
Object json) { | 9579 factory HighlightRegionType.fromJson(JsonDecoder jsonDecoder, String jsonPath,
Object json) { |
9500 if (json is String) { | 9580 if (json is String) { |
9501 try { | 9581 try { |
9502 return new HighlightRegionType(json); | 9582 return new HighlightRegionType(json); |
9503 } catch(_) { | 9583 } catch(_) { |
9504 // Fall through | 9584 // Fall through |
(...skipping 5297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14802 return false; | 14882 return false; |
14803 } | 14883 } |
14804 | 14884 |
14805 @override | 14885 @override |
14806 int get hashCode { | 14886 int get hashCode { |
14807 int hash = 0; | 14887 int hash = 0; |
14808 hash = _JenkinsSmiHash.combine(hash, newName.hashCode); | 14888 hash = _JenkinsSmiHash.combine(hash, newName.hashCode); |
14809 return _JenkinsSmiHash.finish(hash); | 14889 return _JenkinsSmiHash.finish(hash); |
14810 } | 14890 } |
14811 } | 14891 } |
OLD | NEW |