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 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
461 "analysis.occurrences params", { | 461 "analysis.occurrences params", { |
462 "file": isFilePath, | 462 "file": isFilePath, |
463 "occurrences": isListOf(isOccurrences) | 463 "occurrences": isListOf(isOccurrences) |
464 })); | 464 })); |
465 | 465 |
466 /** | 466 /** |
467 * analysis.outline params | 467 * analysis.outline params |
468 * | 468 * |
469 * { | 469 * { |
470 * "file": FilePath | 470 * "file": FilePath |
| 471 * "kind": FileKind |
| 472 * "libraryName": optional String |
471 * "outline": Outline | 473 * "outline": Outline |
472 * } | 474 * } |
473 */ | 475 */ |
474 final Matcher isAnalysisOutlineParams = new LazyMatcher(() => new MatchesJsonObj
ect( | 476 final Matcher isAnalysisOutlineParams = new LazyMatcher(() => new MatchesJsonObj
ect( |
475 "analysis.outline params", { | 477 "analysis.outline params", { |
476 "file": isFilePath, | 478 "file": isFilePath, |
| 479 "kind": isFileKind, |
477 "outline": isOutline | 480 "outline": isOutline |
| 481 }, optionalFields: { |
| 482 "libraryName": isString |
478 })); | 483 })); |
479 | 484 |
480 /** | 485 /** |
481 * analysis.overrides params | 486 * analysis.overrides params |
482 * | 487 * |
483 * { | 488 * { |
484 * "file": FilePath | 489 * "file": FilePath |
485 * "overrides": List<Override> | 490 * "overrides": List<Override> |
486 * } | 491 * } |
487 */ | 492 */ |
(...skipping 884 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1372 * | 1377 * |
1373 * enum { | 1378 * enum { |
1374 * LAUNCH_DATA | 1379 * LAUNCH_DATA |
1375 * } | 1380 * } |
1376 */ | 1381 */ |
1377 final Matcher isExecutionService = new MatchesEnum("ExecutionService", [ | 1382 final Matcher isExecutionService = new MatchesEnum("ExecutionService", [ |
1378 "LAUNCH_DATA" | 1383 "LAUNCH_DATA" |
1379 ]); | 1384 ]); |
1380 | 1385 |
1381 /** | 1386 /** |
| 1387 * FileKind |
| 1388 * |
| 1389 * enum { |
| 1390 * LIBRARY |
| 1391 * PART |
| 1392 * } |
| 1393 */ |
| 1394 final Matcher isFileKind = new MatchesEnum("FileKind", [ |
| 1395 "LIBRARY", |
| 1396 "PART" |
| 1397 ]); |
| 1398 |
| 1399 /** |
1382 * FilePath | 1400 * FilePath |
1383 * | 1401 * |
1384 * String | 1402 * String |
1385 */ | 1403 */ |
1386 final Matcher isFilePath = isString; | 1404 final Matcher isFilePath = isString; |
1387 | 1405 |
1388 /** | 1406 /** |
1389 * FoldingKind | 1407 * FoldingKind |
1390 * | 1408 * |
1391 * enum { | 1409 * enum { |
(...skipping 991 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2383 * | 2401 * |
2384 * { | 2402 * { |
2385 * "newName": String | 2403 * "newName": String |
2386 * } | 2404 * } |
2387 */ | 2405 */ |
2388 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( | 2406 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( |
2389 "rename options", { | 2407 "rename options", { |
2390 "newName": isString | 2408 "newName": isString |
2391 })); | 2409 })); |
2392 | 2410 |
OLD | NEW |