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 /** | 9 /** |
10 * Matchers for data types defined in the analysis server API | 10 * Matchers for data types defined in the analysis server API |
(...skipping 1354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1365 * | 1365 * |
1366 * enum { | 1366 * enum { |
1367 * ANNOTATION | 1367 * ANNOTATION |
1368 * BUILT_IN | 1368 * BUILT_IN |
1369 * CLASS | 1369 * CLASS |
1370 * COMMENT_BLOCK | 1370 * COMMENT_BLOCK |
1371 * COMMENT_DOCUMENTATION | 1371 * COMMENT_DOCUMENTATION |
1372 * COMMENT_END_OF_LINE | 1372 * COMMENT_END_OF_LINE |
1373 * CONSTRUCTOR | 1373 * CONSTRUCTOR |
1374 * DIRECTIVE | 1374 * DIRECTIVE |
1375 * DYNAMIC_TYPE | 1375 * DYNAMIC_LOCAL_VARIABLE_DECLARATION |
| 1376 * DYNAMIC_LOCAL_VARIABLE_REFERENCE |
| 1377 * DYNAMIC_PARAMETER_DECLARATION |
| 1378 * DYNAMIC_PARAMETER_REFERENCE |
1376 * ENUM | 1379 * ENUM |
1377 * ENUM_CONSTANT | 1380 * ENUM_CONSTANT |
1378 * FIELD | |
1379 * FIELD_STATIC | |
1380 * FUNCTION | |
1381 * FUNCTION_DECLARATION | |
1382 * FUNCTION_TYPE_ALIAS | 1381 * FUNCTION_TYPE_ALIAS |
1383 * GETTER_DECLARATION | |
1384 * IDENTIFIER_DEFAULT | 1382 * IDENTIFIER_DEFAULT |
1385 * IMPORT_PREFIX | 1383 * IMPORT_PREFIX |
| 1384 * INSTANCE_FIELD_DECLARATION |
| 1385 * INSTANCE_FIELD_REFERENCE |
| 1386 * INSTANCE_GETTER_DECLARATION |
| 1387 * INSTANCE_METHOD_DECLARATION |
| 1388 * INSTANCE_METHOD_REFERENCE |
| 1389 * INSTANCE_SETTER_DECLARATION |
| 1390 * INVALID_STRING_ESCAPE |
1386 * KEYWORD | 1391 * KEYWORD |
1387 * LABEL | 1392 * LABEL |
1388 * LITERAL_BOOLEAN | 1393 * LITERAL_BOOLEAN |
1389 * LITERAL_DOUBLE | 1394 * LITERAL_DOUBLE |
1390 * LITERAL_INTEGER | 1395 * LITERAL_INTEGER |
1391 * LITERAL_LIST | 1396 * LITERAL_LIST |
1392 * LITERAL_MAP | 1397 * LITERAL_MAP |
1393 * LITERAL_STRING | 1398 * LITERAL_STRING |
1394 * LOCAL_VARIABLE | 1399 * LOCAL_FUNCTION_DECLARATION |
| 1400 * LOCAL_FUNCTION_REFERENCE |
1395 * LOCAL_VARIABLE_DECLARATION | 1401 * LOCAL_VARIABLE_DECLARATION |
1396 * METHOD | 1402 * LOCAL_VARIABLE_REFERENCE |
1397 * METHOD_DECLARATION | 1403 * PARAMETER_DECLARATION |
1398 * METHOD_DECLARATION_STATIC | 1404 * PARAMETER_REFERENCE |
1399 * METHOD_STATIC | 1405 * STATIC_FIELD_DECLARATION |
1400 * PARAMETER | 1406 * STATIC_FIELD_REFERENCE |
1401 * SETTER_DECLARATION | 1407 * STATIC_GETTER_DECLARATION |
1402 * TOP_LEVEL_VARIABLE | 1408 * STATIC_METHOD_DECLARATION |
| 1409 * STATIC_METHOD_REFERENCE |
| 1410 * STATIC_SETTER_DECLARATION |
| 1411 * TOP_LEVEL_FUNCTION_DECLARATION |
| 1412 * TOP_LEVEL_FUNCTION_REFERENCE |
| 1413 * TOP_LEVEL_GETTER_DECLARATION |
| 1414 * TOP_LEVEL_SETTER_DECLARATION |
| 1415 * TOP_LEVEL_VARIABLE_DECLARATION |
| 1416 * TOP_LEVEL_VARIABLE_REFERENCE |
1403 * TYPE_NAME_DYNAMIC | 1417 * TYPE_NAME_DYNAMIC |
1404 * TYPE_PARAMETER | 1418 * TYPE_PARAMETER |
| 1419 * UNRESOLVED_INSTANCE_MEMBER_REFERENCE |
| 1420 * VALID_STRING_ESCAPE |
1405 * } | 1421 * } |
1406 */ | 1422 */ |
1407 final Matcher isHighlightRegionType = new MatchesEnum("HighlightRegionType", [ | 1423 final Matcher isHighlightRegionType = new MatchesEnum("HighlightRegionType", [ |
1408 "ANNOTATION", | 1424 "ANNOTATION", |
1409 "BUILT_IN", | 1425 "BUILT_IN", |
1410 "CLASS", | 1426 "CLASS", |
1411 "COMMENT_BLOCK", | 1427 "COMMENT_BLOCK", |
1412 "COMMENT_DOCUMENTATION", | 1428 "COMMENT_DOCUMENTATION", |
1413 "COMMENT_END_OF_LINE", | 1429 "COMMENT_END_OF_LINE", |
1414 "CONSTRUCTOR", | 1430 "CONSTRUCTOR", |
1415 "DIRECTIVE", | 1431 "DIRECTIVE", |
1416 "DYNAMIC_TYPE", | 1432 "DYNAMIC_LOCAL_VARIABLE_DECLARATION", |
| 1433 "DYNAMIC_LOCAL_VARIABLE_REFERENCE", |
| 1434 "DYNAMIC_PARAMETER_DECLARATION", |
| 1435 "DYNAMIC_PARAMETER_REFERENCE", |
1417 "ENUM", | 1436 "ENUM", |
1418 "ENUM_CONSTANT", | 1437 "ENUM_CONSTANT", |
1419 "FIELD", | |
1420 "FIELD_STATIC", | |
1421 "FUNCTION", | |
1422 "FUNCTION_DECLARATION", | |
1423 "FUNCTION_TYPE_ALIAS", | 1438 "FUNCTION_TYPE_ALIAS", |
1424 "GETTER_DECLARATION", | |
1425 "IDENTIFIER_DEFAULT", | 1439 "IDENTIFIER_DEFAULT", |
1426 "IMPORT_PREFIX", | 1440 "IMPORT_PREFIX", |
| 1441 "INSTANCE_FIELD_DECLARATION", |
| 1442 "INSTANCE_FIELD_REFERENCE", |
| 1443 "INSTANCE_GETTER_DECLARATION", |
| 1444 "INSTANCE_METHOD_DECLARATION", |
| 1445 "INSTANCE_METHOD_REFERENCE", |
| 1446 "INSTANCE_SETTER_DECLARATION", |
| 1447 "INVALID_STRING_ESCAPE", |
1427 "KEYWORD", | 1448 "KEYWORD", |
1428 "LABEL", | 1449 "LABEL", |
1429 "LITERAL_BOOLEAN", | 1450 "LITERAL_BOOLEAN", |
1430 "LITERAL_DOUBLE", | 1451 "LITERAL_DOUBLE", |
1431 "LITERAL_INTEGER", | 1452 "LITERAL_INTEGER", |
1432 "LITERAL_LIST", | 1453 "LITERAL_LIST", |
1433 "LITERAL_MAP", | 1454 "LITERAL_MAP", |
1434 "LITERAL_STRING", | 1455 "LITERAL_STRING", |
1435 "LOCAL_VARIABLE", | 1456 "LOCAL_FUNCTION_DECLARATION", |
| 1457 "LOCAL_FUNCTION_REFERENCE", |
1436 "LOCAL_VARIABLE_DECLARATION", | 1458 "LOCAL_VARIABLE_DECLARATION", |
1437 "METHOD", | 1459 "LOCAL_VARIABLE_REFERENCE", |
1438 "METHOD_DECLARATION", | 1460 "PARAMETER_DECLARATION", |
1439 "METHOD_DECLARATION_STATIC", | 1461 "PARAMETER_REFERENCE", |
1440 "METHOD_STATIC", | 1462 "STATIC_FIELD_DECLARATION", |
1441 "PARAMETER", | 1463 "STATIC_FIELD_REFERENCE", |
1442 "SETTER_DECLARATION", | 1464 "STATIC_GETTER_DECLARATION", |
1443 "TOP_LEVEL_VARIABLE", | 1465 "STATIC_METHOD_DECLARATION", |
| 1466 "STATIC_METHOD_REFERENCE", |
| 1467 "STATIC_SETTER_DECLARATION", |
| 1468 "TOP_LEVEL_FUNCTION_DECLARATION", |
| 1469 "TOP_LEVEL_FUNCTION_REFERENCE", |
| 1470 "TOP_LEVEL_GETTER_DECLARATION", |
| 1471 "TOP_LEVEL_SETTER_DECLARATION", |
| 1472 "TOP_LEVEL_VARIABLE_DECLARATION", |
| 1473 "TOP_LEVEL_VARIABLE_REFERENCE", |
1444 "TYPE_NAME_DYNAMIC", | 1474 "TYPE_NAME_DYNAMIC", |
1445 "TYPE_PARAMETER" | 1475 "TYPE_PARAMETER", |
| 1476 "UNRESOLVED_INSTANCE_MEMBER_REFERENCE", |
| 1477 "VALID_STRING_ESCAPE" |
1446 ]); | 1478 ]); |
1447 | 1479 |
1448 /** | 1480 /** |
1449 * HoverInformation | 1481 * HoverInformation |
1450 * | 1482 * |
1451 * { | 1483 * { |
1452 * "offset": int | 1484 * "offset": int |
1453 * "length": int | 1485 * "length": int |
1454 * "containingLibraryPath": optional String | 1486 * "containingLibraryPath": optional String |
1455 * "containingLibraryName": optional String | 1487 * "containingLibraryName": optional String |
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2192 * | 2224 * |
2193 * { | 2225 * { |
2194 * "newName": String | 2226 * "newName": String |
2195 * } | 2227 * } |
2196 */ | 2228 */ |
2197 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 2229 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
2198 "rename options", { | 2230 "rename options", { |
2199 "newName": isString | 2231 "newName": isString |
2200 })); | 2232 })); |
2201 | 2233 |
OLD | NEW |