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/analyzer/lib/src/summary/idl.dart

Issue 2330813002: Reapply abc5051854fd7c98c7ba6b593211e47dcbcec9e8: Remove 'Element.docRange'. (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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 /** 5 /**
6 * This file is an "idl" style description of the summary format. It 6 * This file is an "idl" style description of the summary format. It
7 * contains abstract classes which declare the interface for reading data from 7 * contains abstract classes which declare the interface for reading data from
8 * summaries. It is parsed and transformed into code that implements the 8 * summaries. It is parsed and transformed into code that implements the
9 * summary format. 9 * summary format.
10 * 10 *
(...skipping 1656 matching lines...) Expand 10 before | Expand all | Expand 10 after
1667 } 1667 }
1668 1668
1669 /** 1669 /**
1670 * Unlinked summary information about a documentation comment. 1670 * Unlinked summary information about a documentation comment.
1671 */ 1671 */
1672 abstract class UnlinkedDocumentationComment extends base.SummaryClass { 1672 abstract class UnlinkedDocumentationComment extends base.SummaryClass {
1673 /** 1673 /**
1674 * Length of the documentation comment (prior to replacing '\r\n' with '\n'). 1674 * Length of the documentation comment (prior to replacing '\r\n' with '\n').
1675 */ 1675 */
1676 @Id(0) 1676 @Id(0)
1677 @deprecated
1677 int get length; 1678 int get length;
1678 1679
1679 /** 1680 /**
1680 * Offset of the beginning of the documentation comment relative to the 1681 * Offset of the beginning of the documentation comment relative to the
1681 * beginning of the file. 1682 * beginning of the file.
1682 */ 1683 */
1683 @Id(2) 1684 @Id(2)
1685 @deprecated
1684 int get offset; 1686 int get offset;
1685 1687
1686 /** 1688 /**
1687 * Text of the documentation comment, with '\r\n' replaced by '\n'. 1689 * Text of the documentation comment, with '\r\n' replaced by '\n'.
1688 * 1690 *
1689 * References appearing within the doc comment in square brackets are not 1691 * References appearing within the doc comment in square brackets are not
1690 * specially encoded. 1692 * specially encoded.
1691 */ 1693 */
1692 @Id(1) 1694 @Id(1)
1693 String get text; 1695 String get text;
(...skipping 1158 matching lines...) Expand 10 before | Expand all | Expand 10 after
2852 */ 2854 */
2853 @Id(11) 2855 @Id(11)
2854 int get visibleLength; 2856 int get visibleLength;
2855 2857
2856 /** 2858 /**
2857 * If a local variable, the beginning of the visible range; zero otherwise. 2859 * If a local variable, the beginning of the visible range; zero otherwise.
2858 */ 2860 */
2859 @Id(12) 2861 @Id(12)
2860 int get visibleOffset; 2862 int get visibleOffset;
2861 } 2863 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698