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

Side by Side Diff: pkg/analysis_server/test/integration/protocol_matchers.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 /** 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
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_LOCAL_VARIABLE_DECLARATION 1375 * DYNAMIC_TYPE
1376 * DYNAMIC_LOCAL_VARIABLE_REFERENCE
1377 * DYNAMIC_PARAMETER_DECLARATION
1378 * DYNAMIC_PARAMETER_REFERENCE
1379 * ENUM 1376 * ENUM
1380 * ENUM_CONSTANT 1377 * ENUM_CONSTANT
1378 * FIELD
1379 * FIELD_STATIC
1380 * FUNCTION
1381 * FUNCTION_DECLARATION
1381 * FUNCTION_TYPE_ALIAS 1382 * FUNCTION_TYPE_ALIAS
1383 * GETTER_DECLARATION
1382 * IDENTIFIER_DEFAULT 1384 * IDENTIFIER_DEFAULT
1383 * IMPORT_PREFIX 1385 * IMPORT_PREFIX
1384 * INSTANCE_FIELD_DECLARATION
1385 * INSTANCE_FIELD_REFERENCE
1386 * INSTANCE_GETTER_DECLARATION
1387 * INSTANCE_GETTER_REFERENCE
1388 * INSTANCE_METHOD_DECLARATION
1389 * INSTANCE_METHOD_REFERENCE
1390 * INSTANCE_SETTER_DECLARATION
1391 * INSTANCE_SETTER_REFERENCE
1392 * INVALID_STRING_ESCAPE
1393 * KEYWORD 1386 * KEYWORD
1394 * LABEL 1387 * LABEL
1395 * LITERAL_BOOLEAN 1388 * LITERAL_BOOLEAN
1396 * LITERAL_DOUBLE 1389 * LITERAL_DOUBLE
1397 * LITERAL_INTEGER 1390 * LITERAL_INTEGER
1398 * LITERAL_LIST 1391 * LITERAL_LIST
1399 * LITERAL_MAP 1392 * LITERAL_MAP
1400 * LITERAL_STRING 1393 * LITERAL_STRING
1401 * LOCAL_FUNCTION_DECLARATION 1394 * LOCAL_VARIABLE
1402 * LOCAL_FUNCTION_REFERENCE
1403 * LOCAL_VARIABLE_DECLARATION 1395 * LOCAL_VARIABLE_DECLARATION
1404 * LOCAL_VARIABLE_REFERENCE 1396 * METHOD
1405 * PARAMETER_DECLARATION 1397 * METHOD_DECLARATION
1406 * PARAMETER_REFERENCE 1398 * METHOD_DECLARATION_STATIC
1407 * STATIC_FIELD_DECLARATION 1399 * METHOD_STATIC
1408 * STATIC_GETTER_DECLARATION 1400 * PARAMETER
1409 * STATIC_GETTER_REFERENCE 1401 * SETTER_DECLARATION
1410 * STATIC_METHOD_DECLARATION 1402 * TOP_LEVEL_VARIABLE
1411 * STATIC_METHOD_REFERENCE
1412 * STATIC_SETTER_DECLARATION
1413 * STATIC_SETTER_REFERENCE
1414 * TOP_LEVEL_FUNCTION_DECLARATION
1415 * TOP_LEVEL_FUNCTION_REFERENCE
1416 * TOP_LEVEL_GETTER_DECLARATION
1417 * TOP_LEVEL_GETTER_REFERENCE
1418 * TOP_LEVEL_SETTER_DECLARATION
1419 * TOP_LEVEL_SETTER_REFERENCE
1420 * TOP_LEVEL_VARIABLE_DECLARATION
1421 * TYPE_NAME_DYNAMIC 1403 * TYPE_NAME_DYNAMIC
1422 * TYPE_PARAMETER 1404 * TYPE_PARAMETER
1423 * UNRESOLVED_INSTANCE_MEMBER_REFERENCE
1424 * VALID_STRING_ESCAPE
1425 * } 1405 * }
1426 */ 1406 */
1427 final Matcher isHighlightRegionType = new MatchesEnum("HighlightRegionType", [ 1407 final Matcher isHighlightRegionType = new MatchesEnum("HighlightRegionType", [
1428 "ANNOTATION", 1408 "ANNOTATION",
1429 "BUILT_IN", 1409 "BUILT_IN",
1430 "CLASS", 1410 "CLASS",
1431 "COMMENT_BLOCK", 1411 "COMMENT_BLOCK",
1432 "COMMENT_DOCUMENTATION", 1412 "COMMENT_DOCUMENTATION",
1433 "COMMENT_END_OF_LINE", 1413 "COMMENT_END_OF_LINE",
1434 "CONSTRUCTOR", 1414 "CONSTRUCTOR",
1435 "DIRECTIVE", 1415 "DIRECTIVE",
1436 "DYNAMIC_LOCAL_VARIABLE_DECLARATION", 1416 "DYNAMIC_TYPE",
1437 "DYNAMIC_LOCAL_VARIABLE_REFERENCE",
1438 "DYNAMIC_PARAMETER_DECLARATION",
1439 "DYNAMIC_PARAMETER_REFERENCE",
1440 "ENUM", 1417 "ENUM",
1441 "ENUM_CONSTANT", 1418 "ENUM_CONSTANT",
1419 "FIELD",
1420 "FIELD_STATIC",
1421 "FUNCTION",
1422 "FUNCTION_DECLARATION",
1442 "FUNCTION_TYPE_ALIAS", 1423 "FUNCTION_TYPE_ALIAS",
1424 "GETTER_DECLARATION",
1443 "IDENTIFIER_DEFAULT", 1425 "IDENTIFIER_DEFAULT",
1444 "IMPORT_PREFIX", 1426 "IMPORT_PREFIX",
1445 "INSTANCE_FIELD_DECLARATION",
1446 "INSTANCE_FIELD_REFERENCE",
1447 "INSTANCE_GETTER_DECLARATION",
1448 "INSTANCE_GETTER_REFERENCE",
1449 "INSTANCE_METHOD_DECLARATION",
1450 "INSTANCE_METHOD_REFERENCE",
1451 "INSTANCE_SETTER_DECLARATION",
1452 "INSTANCE_SETTER_REFERENCE",
1453 "INVALID_STRING_ESCAPE",
1454 "KEYWORD", 1427 "KEYWORD",
1455 "LABEL", 1428 "LABEL",
1456 "LITERAL_BOOLEAN", 1429 "LITERAL_BOOLEAN",
1457 "LITERAL_DOUBLE", 1430 "LITERAL_DOUBLE",
1458 "LITERAL_INTEGER", 1431 "LITERAL_INTEGER",
1459 "LITERAL_LIST", 1432 "LITERAL_LIST",
1460 "LITERAL_MAP", 1433 "LITERAL_MAP",
1461 "LITERAL_STRING", 1434 "LITERAL_STRING",
1462 "LOCAL_FUNCTION_DECLARATION", 1435 "LOCAL_VARIABLE",
1463 "LOCAL_FUNCTION_REFERENCE",
1464 "LOCAL_VARIABLE_DECLARATION", 1436 "LOCAL_VARIABLE_DECLARATION",
1465 "LOCAL_VARIABLE_REFERENCE", 1437 "METHOD",
1466 "PARAMETER_DECLARATION", 1438 "METHOD_DECLARATION",
1467 "PARAMETER_REFERENCE", 1439 "METHOD_DECLARATION_STATIC",
1468 "STATIC_FIELD_DECLARATION", 1440 "METHOD_STATIC",
1469 "STATIC_GETTER_DECLARATION", 1441 "PARAMETER",
1470 "STATIC_GETTER_REFERENCE", 1442 "SETTER_DECLARATION",
1471 "STATIC_METHOD_DECLARATION", 1443 "TOP_LEVEL_VARIABLE",
1472 "STATIC_METHOD_REFERENCE",
1473 "STATIC_SETTER_DECLARATION",
1474 "STATIC_SETTER_REFERENCE",
1475 "TOP_LEVEL_FUNCTION_DECLARATION",
1476 "TOP_LEVEL_FUNCTION_REFERENCE",
1477 "TOP_LEVEL_GETTER_DECLARATION",
1478 "TOP_LEVEL_GETTER_REFERENCE",
1479 "TOP_LEVEL_SETTER_DECLARATION",
1480 "TOP_LEVEL_SETTER_REFERENCE",
1481 "TOP_LEVEL_VARIABLE_DECLARATION",
1482 "TYPE_NAME_DYNAMIC", 1444 "TYPE_NAME_DYNAMIC",
1483 "TYPE_PARAMETER", 1445 "TYPE_PARAMETER"
1484 "UNRESOLVED_INSTANCE_MEMBER_REFERENCE",
1485 "VALID_STRING_ESCAPE"
1486 ]); 1446 ]);
1487 1447
1488 /** 1448 /**
1489 * HoverInformation 1449 * HoverInformation
1490 * 1450 *
1491 * { 1451 * {
1492 * "offset": int 1452 * "offset": int
1493 * "length": int 1453 * "length": int
1494 * "containingLibraryPath": optional String 1454 * "containingLibraryPath": optional String
1495 * "containingLibraryName": optional String 1455 * "containingLibraryName": optional String
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after
2234 * 2194 *
2235 * { 2195 * {
2236 * "newName": String 2196 * "newName": String
2237 * } 2197 * }
2238 */ 2198 */
2239 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( 2199 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject(
2240 "rename options", { 2200 "rename options", {
2241 "newName": isString 2201 "newName": isString
2242 })); 2202 }));
2243 2203
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698