Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(414)

Side by Side Diff: pkg/analysis_server/lib/src/generated_protocol.dart

Issue 1236433003: Revert "Update Analysis Server highlight API and implementation." (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_LOCAL_VARIABLE_DECLARATION 9299 * DYNAMIC_TYPE
9300 * DYNAMIC_LOCAL_VARIABLE_REFERENCE
9301 * DYNAMIC_PARAMETER_DECLARATION
9302 * DYNAMIC_PARAMETER_REFERENCE
9303 * ENUM 9300 * ENUM
9304 * ENUM_CONSTANT 9301 * ENUM_CONSTANT
9302 * FIELD
9303 * FIELD_STATIC
9304 * FUNCTION
9305 * FUNCTION_DECLARATION
9305 * FUNCTION_TYPE_ALIAS 9306 * FUNCTION_TYPE_ALIAS
9307 * GETTER_DECLARATION
9306 * IDENTIFIER_DEFAULT 9308 * IDENTIFIER_DEFAULT
9307 * IMPORT_PREFIX 9309 * IMPORT_PREFIX
9308 * INSTANCE_FIELD_DECLARATION
9309 * INSTANCE_FIELD_REFERENCE
9310 * INSTANCE_GETTER_DECLARATION
9311 * INSTANCE_GETTER_REFERENCE
9312 * INSTANCE_METHOD_DECLARATION
9313 * INSTANCE_METHOD_REFERENCE
9314 * INSTANCE_SETTER_DECLARATION
9315 * INSTANCE_SETTER_REFERENCE
9316 * INVALID_STRING_ESCAPE
9317 * KEYWORD 9310 * KEYWORD
9318 * LABEL 9311 * LABEL
9319 * LITERAL_BOOLEAN 9312 * LITERAL_BOOLEAN
9320 * LITERAL_DOUBLE 9313 * LITERAL_DOUBLE
9321 * LITERAL_INTEGER 9314 * LITERAL_INTEGER
9322 * LITERAL_LIST 9315 * LITERAL_LIST
9323 * LITERAL_MAP 9316 * LITERAL_MAP
9324 * LITERAL_STRING 9317 * LITERAL_STRING
9325 * LOCAL_FUNCTION_DECLARATION 9318 * LOCAL_VARIABLE
9326 * LOCAL_FUNCTION_REFERENCE
9327 * LOCAL_VARIABLE_DECLARATION 9319 * LOCAL_VARIABLE_DECLARATION
9328 * LOCAL_VARIABLE_REFERENCE 9320 * METHOD
9329 * PARAMETER_DECLARATION 9321 * METHOD_DECLARATION
9330 * PARAMETER_REFERENCE 9322 * METHOD_DECLARATION_STATIC
9331 * STATIC_FIELD_DECLARATION 9323 * METHOD_STATIC
9332 * STATIC_GETTER_DECLARATION 9324 * PARAMETER
9333 * STATIC_GETTER_REFERENCE 9325 * SETTER_DECLARATION
9334 * STATIC_METHOD_DECLARATION 9326 * TOP_LEVEL_VARIABLE
9335 * STATIC_METHOD_REFERENCE
9336 * STATIC_SETTER_DECLARATION
9337 * STATIC_SETTER_REFERENCE
9338 * TOP_LEVEL_FUNCTION_DECLARATION
9339 * TOP_LEVEL_FUNCTION_REFERENCE
9340 * TOP_LEVEL_GETTER_DECLARATION
9341 * TOP_LEVEL_GETTER_REFERENCE
9342 * TOP_LEVEL_SETTER_DECLARATION
9343 * TOP_LEVEL_SETTER_REFERENCE
9344 * TOP_LEVEL_VARIABLE_DECLARATION
9345 * TYPE_NAME_DYNAMIC 9327 * TYPE_NAME_DYNAMIC
9346 * TYPE_PARAMETER 9328 * TYPE_PARAMETER
9347 * UNRESOLVED_INSTANCE_MEMBER_REFERENCE
9348 * VALID_STRING_ESCAPE
9349 * } 9329 * }
9350 */ 9330 */
9351 class HighlightRegionType implements Enum { 9331 class HighlightRegionType implements Enum {
9352 static const ANNOTATION = const HighlightRegionType._("ANNOTATION"); 9332 static const ANNOTATION = const HighlightRegionType._("ANNOTATION");
9353 9333
9354 static const BUILT_IN = const HighlightRegionType._("BUILT_IN"); 9334 static const BUILT_IN = const HighlightRegionType._("BUILT_IN");
9355 9335
9356 static const CLASS = const HighlightRegionType._("CLASS"); 9336 static const CLASS = const HighlightRegionType._("CLASS");
9357 9337
9358 static const COMMENT_BLOCK = const HighlightRegionType._("COMMENT_BLOCK"); 9338 static const COMMENT_BLOCK = const HighlightRegionType._("COMMENT_BLOCK");
9359 9339
9360 static const COMMENT_DOCUMENTATION = const HighlightRegionType._("COMMENT_DOCU MENTATION"); 9340 static const COMMENT_DOCUMENTATION = const HighlightRegionType._("COMMENT_DOCU MENTATION");
9361 9341
9362 static const COMMENT_END_OF_LINE = const HighlightRegionType._("COMMENT_END_OF _LINE"); 9342 static const COMMENT_END_OF_LINE = const HighlightRegionType._("COMMENT_END_OF _LINE");
9363 9343
9364 static const CONSTRUCTOR = const HighlightRegionType._("CONSTRUCTOR"); 9344 static const CONSTRUCTOR = const HighlightRegionType._("CONSTRUCTOR");
9365 9345
9366 static const DIRECTIVE = const HighlightRegionType._("DIRECTIVE"); 9346 static const DIRECTIVE = const HighlightRegionType._("DIRECTIVE");
9367 9347
9368 static const DYNAMIC_LOCAL_VARIABLE_DECLARATION = const HighlightRegionType._( "DYNAMIC_LOCAL_VARIABLE_DECLARATION"); 9348 static const DYNAMIC_TYPE = const HighlightRegionType._("DYNAMIC_TYPE");
9369
9370 static const DYNAMIC_LOCAL_VARIABLE_REFERENCE = const HighlightRegionType._("D YNAMIC_LOCAL_VARIABLE_REFERENCE");
9371
9372 static const DYNAMIC_PARAMETER_DECLARATION = const HighlightRegionType._("DYNA MIC_PARAMETER_DECLARATION");
9373
9374 static const DYNAMIC_PARAMETER_REFERENCE = const HighlightRegionType._("DYNAMI C_PARAMETER_REFERENCE");
9375 9349
9376 static const ENUM = const HighlightRegionType._("ENUM"); 9350 static const ENUM = const HighlightRegionType._("ENUM");
9377 9351
9378 static const ENUM_CONSTANT = const HighlightRegionType._("ENUM_CONSTANT"); 9352 static const ENUM_CONSTANT = const HighlightRegionType._("ENUM_CONSTANT");
9379 9353
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
9380 static const FUNCTION_TYPE_ALIAS = const HighlightRegionType._("FUNCTION_TYPE_ ALIAS"); 9362 static const FUNCTION_TYPE_ALIAS = const HighlightRegionType._("FUNCTION_TYPE_ ALIAS");
9381 9363
9364 static const GETTER_DECLARATION = const HighlightRegionType._("GETTER_DECLARAT ION");
9365
9382 static const IDENTIFIER_DEFAULT = const HighlightRegionType._("IDENTIFIER_DEFA ULT"); 9366 static const IDENTIFIER_DEFAULT = const HighlightRegionType._("IDENTIFIER_DEFA ULT");
9383 9367
9384 static const IMPORT_PREFIX = const HighlightRegionType._("IMPORT_PREFIX"); 9368 static const IMPORT_PREFIX = const HighlightRegionType._("IMPORT_PREFIX");
9385 9369
9386 static const INSTANCE_FIELD_DECLARATION = const HighlightRegionType._("INSTANC E_FIELD_DECLARATION");
9387
9388 static const INSTANCE_FIELD_REFERENCE = const HighlightRegionType._("INSTANCE_ FIELD_REFERENCE");
9389
9390 static const INSTANCE_GETTER_DECLARATION = const HighlightRegionType._("INSTAN CE_GETTER_DECLARATION");
9391
9392 static const INSTANCE_GETTER_REFERENCE = const HighlightRegionType._("INSTANCE _GETTER_REFERENCE");
9393
9394 static const INSTANCE_METHOD_DECLARATION = const HighlightRegionType._("INSTAN CE_METHOD_DECLARATION");
9395
9396 static const INSTANCE_METHOD_REFERENCE = const HighlightRegionType._("INSTANCE _METHOD_REFERENCE");
9397
9398 static const INSTANCE_SETTER_DECLARATION = const HighlightRegionType._("INSTAN CE_SETTER_DECLARATION");
9399
9400 static const INSTANCE_SETTER_REFERENCE = const HighlightRegionType._("INSTANCE _SETTER_REFERENCE");
9401
9402 static const INVALID_STRING_ESCAPE = const HighlightRegionType._("INVALID_STRI NG_ESCAPE");
9403
9404 static const KEYWORD = const HighlightRegionType._("KEYWORD"); 9370 static const KEYWORD = const HighlightRegionType._("KEYWORD");
9405 9371
9406 static const LABEL = const HighlightRegionType._("LABEL"); 9372 static const LABEL = const HighlightRegionType._("LABEL");
9407 9373
9408 static const LITERAL_BOOLEAN = const HighlightRegionType._("LITERAL_BOOLEAN"); 9374 static const LITERAL_BOOLEAN = const HighlightRegionType._("LITERAL_BOOLEAN");
9409 9375
9410 static const LITERAL_DOUBLE = const HighlightRegionType._("LITERAL_DOUBLE"); 9376 static const LITERAL_DOUBLE = const HighlightRegionType._("LITERAL_DOUBLE");
9411 9377
9412 static const LITERAL_INTEGER = const HighlightRegionType._("LITERAL_INTEGER"); 9378 static const LITERAL_INTEGER = const HighlightRegionType._("LITERAL_INTEGER");
9413 9379
9414 static const LITERAL_LIST = const HighlightRegionType._("LITERAL_LIST"); 9380 static const LITERAL_LIST = const HighlightRegionType._("LITERAL_LIST");
9415 9381
9416 static const LITERAL_MAP = const HighlightRegionType._("LITERAL_MAP"); 9382 static const LITERAL_MAP = const HighlightRegionType._("LITERAL_MAP");
9417 9383
9418 static const LITERAL_STRING = const HighlightRegionType._("LITERAL_STRING"); 9384 static const LITERAL_STRING = const HighlightRegionType._("LITERAL_STRING");
9419 9385
9420 static const LOCAL_FUNCTION_DECLARATION = const HighlightRegionType._("LOCAL_F UNCTION_DECLARATION"); 9386 static const LOCAL_VARIABLE = const HighlightRegionType._("LOCAL_VARIABLE");
9421
9422 static const LOCAL_FUNCTION_REFERENCE = const HighlightRegionType._("LOCAL_FUN CTION_REFERENCE");
9423 9387
9424 static const LOCAL_VARIABLE_DECLARATION = const HighlightRegionType._("LOCAL_V ARIABLE_DECLARATION"); 9388 static const LOCAL_VARIABLE_DECLARATION = const HighlightRegionType._("LOCAL_V ARIABLE_DECLARATION");
9425 9389
9426 static const LOCAL_VARIABLE_REFERENCE = const HighlightRegionType._("LOCAL_VAR IABLE_REFERENCE"); 9390 static const METHOD = const HighlightRegionType._("METHOD");
9427 9391
9428 static const PARAMETER_DECLARATION = const HighlightRegionType._("PARAMETER_DE CLARATION"); 9392 static const METHOD_DECLARATION = const HighlightRegionType._("METHOD_DECLARAT ION");
9429 9393
9430 static const PARAMETER_REFERENCE = const HighlightRegionType._("PARAMETER_REFE RENCE"); 9394 static const METHOD_DECLARATION_STATIC = const HighlightRegionType._("METHOD_D ECLARATION_STATIC");
9431 9395
9432 static const STATIC_FIELD_DECLARATION = const HighlightRegionType._("STATIC_FI ELD_DECLARATION"); 9396 static const METHOD_STATIC = const HighlightRegionType._("METHOD_STATIC");
9433 9397
9434 static const STATIC_GETTER_DECLARATION = const HighlightRegionType._("STATIC_G ETTER_DECLARATION"); 9398 static const PARAMETER = const HighlightRegionType._("PARAMETER");
9435 9399
9436 static const STATIC_GETTER_REFERENCE = const HighlightRegionType._("STATIC_GET TER_REFERENCE"); 9400 static const SETTER_DECLARATION = const HighlightRegionType._("SETTER_DECLARAT ION");
9437 9401
9438 static const STATIC_METHOD_DECLARATION = const HighlightRegionType._("STATIC_M ETHOD_DECLARATION"); 9402 static const TOP_LEVEL_VARIABLE = const HighlightRegionType._("TOP_LEVEL_VARIA BLE");
9439
9440 static const STATIC_METHOD_REFERENCE = const HighlightRegionType._("STATIC_MET HOD_REFERENCE");
9441
9442 static const STATIC_SETTER_DECLARATION = const HighlightRegionType._("STATIC_S ETTER_DECLARATION");
9443
9444 static const STATIC_SETTER_REFERENCE = const HighlightRegionType._("STATIC_SET TER_REFERENCE");
9445
9446 static const TOP_LEVEL_FUNCTION_DECLARATION = const HighlightRegionType._("TOP _LEVEL_FUNCTION_DECLARATION");
9447
9448 static const TOP_LEVEL_FUNCTION_REFERENCE = const HighlightRegionType._("TOP_L EVEL_FUNCTION_REFERENCE");
9449
9450 static const TOP_LEVEL_GETTER_DECLARATION = const HighlightRegionType._("TOP_L EVEL_GETTER_DECLARATION");
9451
9452 static const TOP_LEVEL_GETTER_REFERENCE = const HighlightRegionType._("TOP_LEV EL_GETTER_REFERENCE");
9453
9454 static const TOP_LEVEL_SETTER_DECLARATION = const HighlightRegionType._("TOP_L EVEL_SETTER_DECLARATION");
9455
9456 static const TOP_LEVEL_SETTER_REFERENCE = const HighlightRegionType._("TOP_LEV EL_SETTER_REFERENCE");
9457
9458 static const TOP_LEVEL_VARIABLE_DECLARATION = const HighlightRegionType._("TOP _LEVEL_VARIABLE_DECLARATION");
9459 9403
9460 static const TYPE_NAME_DYNAMIC = const HighlightRegionType._("TYPE_NAME_DYNAMI C"); 9404 static const TYPE_NAME_DYNAMIC = const HighlightRegionType._("TYPE_NAME_DYNAMI C");
9461 9405
9462 static const TYPE_PARAMETER = const HighlightRegionType._("TYPE_PARAMETER"); 9406 static const TYPE_PARAMETER = const HighlightRegionType._("TYPE_PARAMETER");
9463 9407
9464 static const UNRESOLVED_INSTANCE_MEMBER_REFERENCE = const HighlightRegionType. _("UNRESOLVED_INSTANCE_MEMBER_REFERENCE");
9465
9466 static const VALID_STRING_ESCAPE = const HighlightRegionType._("VALID_STRING_E SCAPE");
9467
9468 /** 9408 /**
9469 * A list containing all of the enum values that are defined. 9409 * A list containing all of the enum values that are defined.
9470 */ 9410 */
9471 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_GETTER_REFERENCE, INSTANCE_METHOD_DECLARATION, INSTANCE_METHOD_REFERENC E, INSTANCE_SETTER_DECLARATION, INSTANCE_SETTER_REFERENCE, INVALID_STRING_ESCAPE , KEYWORD, LABEL, LITERAL_BOOLEAN, LITERAL_DOUBLE, LITERAL_INTEGER, LITERAL_LIST , LITERAL_MAP, LITERAL_STRING, LOCAL_FUNCTION_DECLARATION, LOCAL_FUNCTION_REFERE NCE, LOCAL_VARIABLE_DECLARATION, LOCAL_VARIABLE_REFERENCE, PARAMETER_DECLARATION , PARAMETER_REFERENCE, STATIC_FIELD_DECLARATION, STATIC_GETTER_DECLARATION, STAT IC_GETTER_REFERENCE, STATIC_METHOD_DECLARATION, STATIC_METHOD_REFERENCE, STATIC_ SETTER_DECLARATION, STATIC_SETTER_REFERENCE, TOP_LEVEL_FUNCTION_DECLARATION, TOP _LEVEL_FUNCTION_REFERENCE, TOP_LEVEL_GETTER_DECLARATION, TOP_LEVEL_GETTER_REFERE NCE, TOP_LEVEL_SETTER_DECLARATION, TOP_LEVEL_SETTER_REFERENCE, TOP_LEVEL_VARIABL E_DECLARATION, TYPE_NAME_DYNAMIC, TYPE_PARAMETER, UNRESOLVED_INSTANCE_MEMBER_REF ERENCE, VALID_STRING_ESCAPE]; 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];
9472 9412
9473 final String name; 9413 final String name;
9474 9414
9475 const HighlightRegionType._(this.name); 9415 const HighlightRegionType._(this.name);
9476 9416
9477 factory HighlightRegionType(String name) { 9417 factory HighlightRegionType(String name) {
9478 switch (name) { 9418 switch (name) {
9479 case "ANNOTATION": 9419 case "ANNOTATION":
9480 return ANNOTATION; 9420 return ANNOTATION;
9481 case "BUILT_IN": 9421 case "BUILT_IN":
9482 return BUILT_IN; 9422 return BUILT_IN;
9483 case "CLASS": 9423 case "CLASS":
9484 return CLASS; 9424 return CLASS;
9485 case "COMMENT_BLOCK": 9425 case "COMMENT_BLOCK":
9486 return COMMENT_BLOCK; 9426 return COMMENT_BLOCK;
9487 case "COMMENT_DOCUMENTATION": 9427 case "COMMENT_DOCUMENTATION":
9488 return COMMENT_DOCUMENTATION; 9428 return COMMENT_DOCUMENTATION;
9489 case "COMMENT_END_OF_LINE": 9429 case "COMMENT_END_OF_LINE":
9490 return COMMENT_END_OF_LINE; 9430 return COMMENT_END_OF_LINE;
9491 case "CONSTRUCTOR": 9431 case "CONSTRUCTOR":
9492 return CONSTRUCTOR; 9432 return CONSTRUCTOR;
9493 case "DIRECTIVE": 9433 case "DIRECTIVE":
9494 return DIRECTIVE; 9434 return DIRECTIVE;
9495 case "DYNAMIC_LOCAL_VARIABLE_DECLARATION": 9435 case "DYNAMIC_TYPE":
9496 return DYNAMIC_LOCAL_VARIABLE_DECLARATION; 9436 return DYNAMIC_TYPE;
9497 case "DYNAMIC_LOCAL_VARIABLE_REFERENCE":
9498 return DYNAMIC_LOCAL_VARIABLE_REFERENCE;
9499 case "DYNAMIC_PARAMETER_DECLARATION":
9500 return DYNAMIC_PARAMETER_DECLARATION;
9501 case "DYNAMIC_PARAMETER_REFERENCE":
9502 return DYNAMIC_PARAMETER_REFERENCE;
9503 case "ENUM": 9437 case "ENUM":
9504 return ENUM; 9438 return ENUM;
9505 case "ENUM_CONSTANT": 9439 case "ENUM_CONSTANT":
9506 return ENUM_CONSTANT; 9440 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;
9507 case "FUNCTION_TYPE_ALIAS": 9449 case "FUNCTION_TYPE_ALIAS":
9508 return FUNCTION_TYPE_ALIAS; 9450 return FUNCTION_TYPE_ALIAS;
9451 case "GETTER_DECLARATION":
9452 return GETTER_DECLARATION;
9509 case "IDENTIFIER_DEFAULT": 9453 case "IDENTIFIER_DEFAULT":
9510 return IDENTIFIER_DEFAULT; 9454 return IDENTIFIER_DEFAULT;
9511 case "IMPORT_PREFIX": 9455 case "IMPORT_PREFIX":
9512 return IMPORT_PREFIX; 9456 return IMPORT_PREFIX;
9513 case "INSTANCE_FIELD_DECLARATION":
9514 return INSTANCE_FIELD_DECLARATION;
9515 case "INSTANCE_FIELD_REFERENCE":
9516 return INSTANCE_FIELD_REFERENCE;
9517 case "INSTANCE_GETTER_DECLARATION":
9518 return INSTANCE_GETTER_DECLARATION;
9519 case "INSTANCE_GETTER_REFERENCE":
9520 return INSTANCE_GETTER_REFERENCE;
9521 case "INSTANCE_METHOD_DECLARATION":
9522 return INSTANCE_METHOD_DECLARATION;
9523 case "INSTANCE_METHOD_REFERENCE":
9524 return INSTANCE_METHOD_REFERENCE;
9525 case "INSTANCE_SETTER_DECLARATION":
9526 return INSTANCE_SETTER_DECLARATION;
9527 case "INSTANCE_SETTER_REFERENCE":
9528 return INSTANCE_SETTER_REFERENCE;
9529 case "INVALID_STRING_ESCAPE":
9530 return INVALID_STRING_ESCAPE;
9531 case "KEYWORD": 9457 case "KEYWORD":
9532 return KEYWORD; 9458 return KEYWORD;
9533 case "LABEL": 9459 case "LABEL":
9534 return LABEL; 9460 return LABEL;
9535 case "LITERAL_BOOLEAN": 9461 case "LITERAL_BOOLEAN":
9536 return LITERAL_BOOLEAN; 9462 return LITERAL_BOOLEAN;
9537 case "LITERAL_DOUBLE": 9463 case "LITERAL_DOUBLE":
9538 return LITERAL_DOUBLE; 9464 return LITERAL_DOUBLE;
9539 case "LITERAL_INTEGER": 9465 case "LITERAL_INTEGER":
9540 return LITERAL_INTEGER; 9466 return LITERAL_INTEGER;
9541 case "LITERAL_LIST": 9467 case "LITERAL_LIST":
9542 return LITERAL_LIST; 9468 return LITERAL_LIST;
9543 case "LITERAL_MAP": 9469 case "LITERAL_MAP":
9544 return LITERAL_MAP; 9470 return LITERAL_MAP;
9545 case "LITERAL_STRING": 9471 case "LITERAL_STRING":
9546 return LITERAL_STRING; 9472 return LITERAL_STRING;
9547 case "LOCAL_FUNCTION_DECLARATION": 9473 case "LOCAL_VARIABLE":
9548 return LOCAL_FUNCTION_DECLARATION; 9474 return LOCAL_VARIABLE;
9549 case "LOCAL_FUNCTION_REFERENCE":
9550 return LOCAL_FUNCTION_REFERENCE;
9551 case "LOCAL_VARIABLE_DECLARATION": 9475 case "LOCAL_VARIABLE_DECLARATION":
9552 return LOCAL_VARIABLE_DECLARATION; 9476 return LOCAL_VARIABLE_DECLARATION;
9553 case "LOCAL_VARIABLE_REFERENCE": 9477 case "METHOD":
9554 return LOCAL_VARIABLE_REFERENCE; 9478 return METHOD;
9555 case "PARAMETER_DECLARATION": 9479 case "METHOD_DECLARATION":
9556 return PARAMETER_DECLARATION; 9480 return METHOD_DECLARATION;
9557 case "PARAMETER_REFERENCE": 9481 case "METHOD_DECLARATION_STATIC":
9558 return PARAMETER_REFERENCE; 9482 return METHOD_DECLARATION_STATIC;
9559 case "STATIC_FIELD_DECLARATION": 9483 case "METHOD_STATIC":
9560 return STATIC_FIELD_DECLARATION; 9484 return METHOD_STATIC;
9561 case "STATIC_GETTER_DECLARATION": 9485 case "PARAMETER":
9562 return STATIC_GETTER_DECLARATION; 9486 return PARAMETER;
9563 case "STATIC_GETTER_REFERENCE": 9487 case "SETTER_DECLARATION":
9564 return STATIC_GETTER_REFERENCE; 9488 return SETTER_DECLARATION;
9565 case "STATIC_METHOD_DECLARATION": 9489 case "TOP_LEVEL_VARIABLE":
9566 return STATIC_METHOD_DECLARATION; 9490 return TOP_LEVEL_VARIABLE;
9567 case "STATIC_METHOD_REFERENCE":
9568 return STATIC_METHOD_REFERENCE;
9569 case "STATIC_SETTER_DECLARATION":
9570 return STATIC_SETTER_DECLARATION;
9571 case "STATIC_SETTER_REFERENCE":
9572 return STATIC_SETTER_REFERENCE;
9573 case "TOP_LEVEL_FUNCTION_DECLARATION":
9574 return TOP_LEVEL_FUNCTION_DECLARATION;
9575 case "TOP_LEVEL_FUNCTION_REFERENCE":
9576 return TOP_LEVEL_FUNCTION_REFERENCE;
9577 case "TOP_LEVEL_GETTER_DECLARATION":
9578 return TOP_LEVEL_GETTER_DECLARATION;
9579 case "TOP_LEVEL_GETTER_REFERENCE":
9580 return TOP_LEVEL_GETTER_REFERENCE;
9581 case "TOP_LEVEL_SETTER_DECLARATION":
9582 return TOP_LEVEL_SETTER_DECLARATION;
9583 case "TOP_LEVEL_SETTER_REFERENCE":
9584 return TOP_LEVEL_SETTER_REFERENCE;
9585 case "TOP_LEVEL_VARIABLE_DECLARATION":
9586 return TOP_LEVEL_VARIABLE_DECLARATION;
9587 case "TYPE_NAME_DYNAMIC": 9491 case "TYPE_NAME_DYNAMIC":
9588 return TYPE_NAME_DYNAMIC; 9492 return TYPE_NAME_DYNAMIC;
9589 case "TYPE_PARAMETER": 9493 case "TYPE_PARAMETER":
9590 return TYPE_PARAMETER; 9494 return TYPE_PARAMETER;
9591 case "UNRESOLVED_INSTANCE_MEMBER_REFERENCE":
9592 return UNRESOLVED_INSTANCE_MEMBER_REFERENCE;
9593 case "VALID_STRING_ESCAPE":
9594 return VALID_STRING_ESCAPE;
9595 } 9495 }
9596 throw new Exception('Illegal enum value: $name'); 9496 throw new Exception('Illegal enum value: $name');
9597 } 9497 }
9598 9498
9599 factory HighlightRegionType.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object json) { 9499 factory HighlightRegionType.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object json) {
9600 if (json is String) { 9500 if (json is String) {
9601 try { 9501 try {
9602 return new HighlightRegionType(json); 9502 return new HighlightRegionType(json);
9603 } catch(_) { 9503 } catch(_) {
9604 // Fall through 9504 // Fall through
(...skipping 5306 matching lines...) Expand 10 before | Expand all | Expand 10 after
14911 return false; 14811 return false;
14912 } 14812 }
14913 14813
14914 @override 14814 @override
14915 int get hashCode { 14815 int get hashCode {
14916 int hash = 0; 14816 int hash = 0;
14917 hash = _JenkinsSmiHash.combine(hash, newName.hashCode); 14817 hash = _JenkinsSmiHash.combine(hash, newName.hashCode);
14918 return _JenkinsSmiHash.finish(hash); 14818 return _JenkinsSmiHash.finish(hash);
14919 } 14819 }
14920 } 14820 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698