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

Side by Side Diff: pkg/analysis_server/test/integration/protocol_matchers.dart

Issue 2310153002: Issue 27244. Add 'isDeprecated' to HoverInformation. (Closed)
Patch Set: Created 4 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
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 1683 matching lines...) Expand 10 before | Expand all | Expand 10 after
1694 * 1694 *
1695 * { 1695 * {
1696 * "offset": int 1696 * "offset": int
1697 * "length": int 1697 * "length": int
1698 * "containingLibraryPath": optional String 1698 * "containingLibraryPath": optional String
1699 * "containingLibraryName": optional String 1699 * "containingLibraryName": optional String
1700 * "containingClassDescription": optional String 1700 * "containingClassDescription": optional String
1701 * "dartdoc": optional String 1701 * "dartdoc": optional String
1702 * "elementDescription": optional String 1702 * "elementDescription": optional String
1703 * "elementKind": optional String 1703 * "elementKind": optional String
1704 * "isDeprecated": optional bool
1704 * "parameter": optional String 1705 * "parameter": optional String
1705 * "propagatedType": optional String 1706 * "propagatedType": optional String
1706 * "staticType": optional String 1707 * "staticType": optional String
1707 * } 1708 * }
1708 */ 1709 */
1709 final Matcher isHoverInformation = new LazyMatcher(() => new MatchesJsonObject( 1710 final Matcher isHoverInformation = new LazyMatcher(() => new MatchesJsonObject(
1710 "HoverInformation", { 1711 "HoverInformation", {
1711 "offset": isInt, 1712 "offset": isInt,
1712 "length": isInt 1713 "length": isInt
1713 }, optionalFields: { 1714 }, optionalFields: {
1714 "containingLibraryPath": isString, 1715 "containingLibraryPath": isString,
1715 "containingLibraryName": isString, 1716 "containingLibraryName": isString,
1716 "containingClassDescription": isString, 1717 "containingClassDescription": isString,
1717 "dartdoc": isString, 1718 "dartdoc": isString,
1718 "elementDescription": isString, 1719 "elementDescription": isString,
1719 "elementKind": isString, 1720 "elementKind": isString,
1721 "isDeprecated": isBool,
1720 "parameter": isString, 1722 "parameter": isString,
1721 "propagatedType": isString, 1723 "propagatedType": isString,
1722 "staticType": isString 1724 "staticType": isString
1723 })); 1725 }));
1724 1726
1725 /** 1727 /**
1726 * ImplementedClass 1728 * ImplementedClass
1727 * 1729 *
1728 * { 1730 * {
1729 * "offset": int 1731 * "offset": int
(...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after
2479 * 2481 *
2480 * { 2482 * {
2481 * "newName": String 2483 * "newName": String
2482 * } 2484 * }
2483 */ 2485 */
2484 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject( 2486 final Matcher isRenameOptions = new LazyMatcher(() => new MatchesJsonObject(
2485 "rename options", { 2487 "rename options", {
2486 "newName": isString 2488 "newName": isString
2487 })); 2489 }));
2488 2490
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698