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

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

Issue 567273002: Add LABEL ElementKind, completion and highlighting kinds. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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 | Annotate | Revision Log
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 5380 matching lines...) Expand 10 before | Expand all | Expand 10 after
5391 * ARGUMENT_LIST 5391 * ARGUMENT_LIST
5392 * CLASS 5392 * CLASS
5393 * CLASS_ALIAS 5393 * CLASS_ALIAS
5394 * CONSTRUCTOR 5394 * CONSTRUCTOR
5395 * FIELD 5395 * FIELD
5396 * FUNCTION 5396 * FUNCTION
5397 * FUNCTION_TYPE_ALIAS 5397 * FUNCTION_TYPE_ALIAS
5398 * GETTER 5398 * GETTER
5399 * IMPORT 5399 * IMPORT
5400 * KEYWORD 5400 * KEYWORD
5401 * LABEL
5401 * LIBRARY_PREFIX 5402 * LIBRARY_PREFIX
5402 * LOCAL_VARIABLE 5403 * LOCAL_VARIABLE
5403 * METHOD 5404 * METHOD
5404 * METHOD_NAME 5405 * METHOD_NAME
5405 * NAMED_ARGUMENT 5406 * NAMED_ARGUMENT
5406 * OPTIONAL_ARGUMENT 5407 * OPTIONAL_ARGUMENT
5407 * PARAMETER 5408 * PARAMETER
5408 * SETTER 5409 * SETTER
5409 * TOP_LEVEL_VARIABLE 5410 * TOP_LEVEL_VARIABLE
5410 * TYPE_PARAMETER 5411 * TYPE_PARAMETER
(...skipping 13 matching lines...) Expand all
5424 static const FUNCTION = const CompletionSuggestionKind._("FUNCTION"); 5425 static const FUNCTION = const CompletionSuggestionKind._("FUNCTION");
5425 5426
5426 static const FUNCTION_TYPE_ALIAS = const CompletionSuggestionKind._("FUNCTION_ TYPE_ALIAS"); 5427 static const FUNCTION_TYPE_ALIAS = const CompletionSuggestionKind._("FUNCTION_ TYPE_ALIAS");
5427 5428
5428 static const GETTER = const CompletionSuggestionKind._("GETTER"); 5429 static const GETTER = const CompletionSuggestionKind._("GETTER");
5429 5430
5430 static const IMPORT = const CompletionSuggestionKind._("IMPORT"); 5431 static const IMPORT = const CompletionSuggestionKind._("IMPORT");
5431 5432
5432 static const KEYWORD = const CompletionSuggestionKind._("KEYWORD"); 5433 static const KEYWORD = const CompletionSuggestionKind._("KEYWORD");
5433 5434
5435 static const LABEL = const CompletionSuggestionKind._("LABEL");
5436
5434 static const LIBRARY_PREFIX = const CompletionSuggestionKind._("LIBRARY_PREFIX "); 5437 static const LIBRARY_PREFIX = const CompletionSuggestionKind._("LIBRARY_PREFIX ");
5435 5438
5436 static const LOCAL_VARIABLE = const CompletionSuggestionKind._("LOCAL_VARIABLE "); 5439 static const LOCAL_VARIABLE = const CompletionSuggestionKind._("LOCAL_VARIABLE ");
5437 5440
5438 static const METHOD = const CompletionSuggestionKind._("METHOD"); 5441 static const METHOD = const CompletionSuggestionKind._("METHOD");
5439 5442
5440 static const METHOD_NAME = const CompletionSuggestionKind._("METHOD_NAME"); 5443 static const METHOD_NAME = const CompletionSuggestionKind._("METHOD_NAME");
5441 5444
5442 static const NAMED_ARGUMENT = const CompletionSuggestionKind._("NAMED_ARGUMENT "); 5445 static const NAMED_ARGUMENT = const CompletionSuggestionKind._("NAMED_ARGUMENT ");
5443 5446
(...skipping 26 matching lines...) Expand all
5470 case "FUNCTION": 5473 case "FUNCTION":
5471 return FUNCTION; 5474 return FUNCTION;
5472 case "FUNCTION_TYPE_ALIAS": 5475 case "FUNCTION_TYPE_ALIAS":
5473 return FUNCTION_TYPE_ALIAS; 5476 return FUNCTION_TYPE_ALIAS;
5474 case "GETTER": 5477 case "GETTER":
5475 return GETTER; 5478 return GETTER;
5476 case "IMPORT": 5479 case "IMPORT":
5477 return IMPORT; 5480 return IMPORT;
5478 case "KEYWORD": 5481 case "KEYWORD":
5479 return KEYWORD; 5482 return KEYWORD;
5483 case "LABEL":
5484 return LABEL;
5480 case "LIBRARY_PREFIX": 5485 case "LIBRARY_PREFIX":
5481 return LIBRARY_PREFIX; 5486 return LIBRARY_PREFIX;
5482 case "LOCAL_VARIABLE": 5487 case "LOCAL_VARIABLE":
5483 return LOCAL_VARIABLE; 5488 return LOCAL_VARIABLE;
5484 case "METHOD": 5489 case "METHOD":
5485 return METHOD; 5490 return METHOD;
5486 case "METHOD_NAME": 5491 case "METHOD_NAME":
5487 return METHOD_NAME; 5492 return METHOD_NAME;
5488 case "NAMED_ARGUMENT": 5493 case "NAMED_ARGUMENT":
5489 return NAMED_ARGUMENT; 5494 return NAMED_ARGUMENT;
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
5705 * 5710 *
5706 * enum { 5711 * enum {
5707 * CLASS 5712 * CLASS
5708 * CLASS_TYPE_ALIAS 5713 * CLASS_TYPE_ALIAS
5709 * COMPILATION_UNIT 5714 * COMPILATION_UNIT
5710 * CONSTRUCTOR 5715 * CONSTRUCTOR
5711 * FIELD 5716 * FIELD
5712 * FUNCTION 5717 * FUNCTION
5713 * FUNCTION_TYPE_ALIAS 5718 * FUNCTION_TYPE_ALIAS
5714 * GETTER 5719 * GETTER
5720 * LABEL
5715 * LIBRARY 5721 * LIBRARY
5716 * LOCAL_VARIABLE 5722 * LOCAL_VARIABLE
5717 * METHOD 5723 * METHOD
5718 * PARAMETER 5724 * PARAMETER
5719 * SETTER 5725 * SETTER
5720 * TOP_LEVEL_VARIABLE 5726 * TOP_LEVEL_VARIABLE
5721 * TYPE_PARAMETER 5727 * TYPE_PARAMETER
5722 * UNIT_TEST_GROUP 5728 * UNIT_TEST_GROUP
5723 * UNIT_TEST_TEST 5729 * UNIT_TEST_TEST
5724 * UNKNOWN 5730 * UNKNOWN
5725 * } 5731 * }
5726 */ 5732 */
5727 class ElementKind { 5733 class ElementKind {
5728 static const CLASS = const ElementKind._("CLASS"); 5734 static const CLASS = const ElementKind._("CLASS");
5729 5735
5730 static const CLASS_TYPE_ALIAS = const ElementKind._("CLASS_TYPE_ALIAS"); 5736 static const CLASS_TYPE_ALIAS = const ElementKind._("CLASS_TYPE_ALIAS");
5731 5737
5732 static const COMPILATION_UNIT = const ElementKind._("COMPILATION_UNIT"); 5738 static const COMPILATION_UNIT = const ElementKind._("COMPILATION_UNIT");
5733 5739
5734 static const CONSTRUCTOR = const ElementKind._("CONSTRUCTOR"); 5740 static const CONSTRUCTOR = const ElementKind._("CONSTRUCTOR");
5735 5741
5736 static const FIELD = const ElementKind._("FIELD"); 5742 static const FIELD = const ElementKind._("FIELD");
5737 5743
5738 static const FUNCTION = const ElementKind._("FUNCTION"); 5744 static const FUNCTION = const ElementKind._("FUNCTION");
5739 5745
5740 static const FUNCTION_TYPE_ALIAS = const ElementKind._("FUNCTION_TYPE_ALIAS"); 5746 static const FUNCTION_TYPE_ALIAS = const ElementKind._("FUNCTION_TYPE_ALIAS");
5741 5747
5742 static const GETTER = const ElementKind._("GETTER"); 5748 static const GETTER = const ElementKind._("GETTER");
5743 5749
5750 static const LABEL = const ElementKind._("LABEL");
5751
5744 static const LIBRARY = const ElementKind._("LIBRARY"); 5752 static const LIBRARY = const ElementKind._("LIBRARY");
5745 5753
5746 static const LOCAL_VARIABLE = const ElementKind._("LOCAL_VARIABLE"); 5754 static const LOCAL_VARIABLE = const ElementKind._("LOCAL_VARIABLE");
5747 5755
5748 static const METHOD = const ElementKind._("METHOD"); 5756 static const METHOD = const ElementKind._("METHOD");
5749 5757
5750 static const PARAMETER = const ElementKind._("PARAMETER"); 5758 static const PARAMETER = const ElementKind._("PARAMETER");
5751 5759
5752 static const SETTER = const ElementKind._("SETTER"); 5760 static const SETTER = const ElementKind._("SETTER");
5753 5761
(...skipping 22 matching lines...) Expand all
5776 case "CONSTRUCTOR": 5784 case "CONSTRUCTOR":
5777 return CONSTRUCTOR; 5785 return CONSTRUCTOR;
5778 case "FIELD": 5786 case "FIELD":
5779 return FIELD; 5787 return FIELD;
5780 case "FUNCTION": 5788 case "FUNCTION":
5781 return FUNCTION; 5789 return FUNCTION;
5782 case "FUNCTION_TYPE_ALIAS": 5790 case "FUNCTION_TYPE_ALIAS":
5783 return FUNCTION_TYPE_ALIAS; 5791 return FUNCTION_TYPE_ALIAS;
5784 case "GETTER": 5792 case "GETTER":
5785 return GETTER; 5793 return GETTER;
5794 case "LABEL":
5795 return LABEL;
5786 case "LIBRARY": 5796 case "LIBRARY":
5787 return LIBRARY; 5797 return LIBRARY;
5788 case "LOCAL_VARIABLE": 5798 case "LOCAL_VARIABLE":
5789 return LOCAL_VARIABLE; 5799 return LOCAL_VARIABLE;
5790 case "METHOD": 5800 case "METHOD":
5791 return METHOD; 5801 return METHOD;
5792 case "PARAMETER": 5802 case "PARAMETER":
5793 return PARAMETER; 5803 return PARAMETER;
5794 case "SETTER": 5804 case "SETTER":
5795 return SETTER; 5805 return SETTER;
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
6238 * DYNAMIC_TYPE 6248 * DYNAMIC_TYPE
6239 * FIELD 6249 * FIELD
6240 * FIELD_STATIC 6250 * FIELD_STATIC
6241 * FUNCTION 6251 * FUNCTION
6242 * FUNCTION_DECLARATION 6252 * FUNCTION_DECLARATION
6243 * FUNCTION_TYPE_ALIAS 6253 * FUNCTION_TYPE_ALIAS
6244 * GETTER_DECLARATION 6254 * GETTER_DECLARATION
6245 * IDENTIFIER_DEFAULT 6255 * IDENTIFIER_DEFAULT
6246 * IMPORT_PREFIX 6256 * IMPORT_PREFIX
6247 * KEYWORD 6257 * KEYWORD
6258 * LABEL
6248 * LITERAL_BOOLEAN 6259 * LITERAL_BOOLEAN
6249 * LITERAL_DOUBLE 6260 * LITERAL_DOUBLE
6250 * LITERAL_INTEGER 6261 * LITERAL_INTEGER
6251 * LITERAL_LIST 6262 * LITERAL_LIST
6252 * LITERAL_MAP 6263 * LITERAL_MAP
6253 * LITERAL_STRING 6264 * LITERAL_STRING
6254 * LOCAL_VARIABLE 6265 * LOCAL_VARIABLE
6255 * LOCAL_VARIABLE_DECLARATION 6266 * LOCAL_VARIABLE_DECLARATION
6256 * METHOD 6267 * METHOD
6257 * METHOD_DECLARATION 6268 * METHOD_DECLARATION
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
6294 static const FUNCTION_TYPE_ALIAS = const HighlightRegionType._("FUNCTION_TYPE_ ALIAS"); 6305 static const FUNCTION_TYPE_ALIAS = const HighlightRegionType._("FUNCTION_TYPE_ ALIAS");
6295 6306
6296 static const GETTER_DECLARATION = const HighlightRegionType._("GETTER_DECLARAT ION"); 6307 static const GETTER_DECLARATION = const HighlightRegionType._("GETTER_DECLARAT ION");
6297 6308
6298 static const IDENTIFIER_DEFAULT = const HighlightRegionType._("IDENTIFIER_DEFA ULT"); 6309 static const IDENTIFIER_DEFAULT = const HighlightRegionType._("IDENTIFIER_DEFA ULT");
6299 6310
6300 static const IMPORT_PREFIX = const HighlightRegionType._("IMPORT_PREFIX"); 6311 static const IMPORT_PREFIX = const HighlightRegionType._("IMPORT_PREFIX");
6301 6312
6302 static const KEYWORD = const HighlightRegionType._("KEYWORD"); 6313 static const KEYWORD = const HighlightRegionType._("KEYWORD");
6303 6314
6315 static const LABEL = const HighlightRegionType._("LABEL");
6316
6304 static const LITERAL_BOOLEAN = const HighlightRegionType._("LITERAL_BOOLEAN"); 6317 static const LITERAL_BOOLEAN = const HighlightRegionType._("LITERAL_BOOLEAN");
6305 6318
6306 static const LITERAL_DOUBLE = const HighlightRegionType._("LITERAL_DOUBLE"); 6319 static const LITERAL_DOUBLE = const HighlightRegionType._("LITERAL_DOUBLE");
6307 6320
6308 static const LITERAL_INTEGER = const HighlightRegionType._("LITERAL_INTEGER"); 6321 static const LITERAL_INTEGER = const HighlightRegionType._("LITERAL_INTEGER");
6309 6322
6310 static const LITERAL_LIST = const HighlightRegionType._("LITERAL_LIST"); 6323 static const LITERAL_LIST = const HighlightRegionType._("LITERAL_LIST");
6311 6324
6312 static const LITERAL_MAP = const HighlightRegionType._("LITERAL_MAP"); 6325 static const LITERAL_MAP = const HighlightRegionType._("LITERAL_MAP");
6313 6326
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
6370 case "FUNCTION_TYPE_ALIAS": 6383 case "FUNCTION_TYPE_ALIAS":
6371 return FUNCTION_TYPE_ALIAS; 6384 return FUNCTION_TYPE_ALIAS;
6372 case "GETTER_DECLARATION": 6385 case "GETTER_DECLARATION":
6373 return GETTER_DECLARATION; 6386 return GETTER_DECLARATION;
6374 case "IDENTIFIER_DEFAULT": 6387 case "IDENTIFIER_DEFAULT":
6375 return IDENTIFIER_DEFAULT; 6388 return IDENTIFIER_DEFAULT;
6376 case "IMPORT_PREFIX": 6389 case "IMPORT_PREFIX":
6377 return IMPORT_PREFIX; 6390 return IMPORT_PREFIX;
6378 case "KEYWORD": 6391 case "KEYWORD":
6379 return KEYWORD; 6392 return KEYWORD;
6393 case "LABEL":
6394 return LABEL;
6380 case "LITERAL_BOOLEAN": 6395 case "LITERAL_BOOLEAN":
6381 return LITERAL_BOOLEAN; 6396 return LITERAL_BOOLEAN;
6382 case "LITERAL_DOUBLE": 6397 case "LITERAL_DOUBLE":
6383 return LITERAL_DOUBLE; 6398 return LITERAL_DOUBLE;
6384 case "LITERAL_INTEGER": 6399 case "LITERAL_INTEGER":
6385 return LITERAL_INTEGER; 6400 return LITERAL_INTEGER;
6386 case "LITERAL_LIST": 6401 case "LITERAL_LIST":
6387 return LITERAL_LIST; 6402 return LITERAL_LIST;
6388 case "LITERAL_MAP": 6403 case "LITERAL_MAP":
6389 return LITERAL_MAP; 6404 return LITERAL_MAP;
(...skipping 3625 matching lines...) Expand 10 before | Expand all | Expand 10 after
10015 return false; 10030 return false;
10016 } 10031 }
10017 10032
10018 @override 10033 @override
10019 int get hashCode { 10034 int get hashCode {
10020 int hash = 0; 10035 int hash = 0;
10021 hash = _JenkinsSmiHash.combine(hash, newName.hashCode); 10036 hash = _JenkinsSmiHash.combine(hash, newName.hashCode);
10022 return _JenkinsSmiHash.finish(hash); 10037 return _JenkinsSmiHash.finish(hash);
10023 } 10038 }
10024 } 10039 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/doc/api.html ('k') | pkg/analysis_server/test/integration/protocol_matchers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698