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

Side by Side Diff: pkg/analyzer/lib/src/summary/idl.dart

Issue 2293143003: Revert "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
1678 int get length; 1677 int get length;
1679 1678
1680 /** 1679 /**
1681 * Offset of the beginning of the documentation comment relative to the 1680 * Offset of the beginning of the documentation comment relative to the
1682 * beginning of the file. 1681 * beginning of the file.
1683 */ 1682 */
1684 @Id(2) 1683 @Id(2)
1685 @deprecated
1686 int get offset; 1684 int get offset;
1687 1685
1688 /** 1686 /**
1689 * Text of the documentation comment, with '\r\n' replaced by '\n'. 1687 * Text of the documentation comment, with '\r\n' replaced by '\n'.
1690 * 1688 *
1691 * References appearing within the doc comment in square brackets are not 1689 * References appearing within the doc comment in square brackets are not
1692 * specially encoded. 1690 * specially encoded.
1693 */ 1691 */
1694 @Id(1) 1692 @Id(1)
1695 String get text; 1693 String get text;
(...skipping 1158 matching lines...) Expand 10 before | Expand all | Expand 10 after
2854 */ 2852 */
2855 @Id(11) 2853 @Id(11)
2856 int get visibleLength; 2854 int get visibleLength;
2857 2855
2858 /** 2856 /**
2859 * If a local variable, the beginning of the visible range; zero otherwise. 2857 * If a local variable, the beginning of the visible range; zero otherwise.
2860 */ 2858 */
2861 @Id(12) 2859 @Id(12)
2862 int get visibleOffset; 2860 int get visibleOffset;
2863 } 2861 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/summary/format.fbs ('k') | pkg/analyzer/lib/src/summary/summarize_ast.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698