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

Side by Side Diff: pkg/analyzer/tool/summary/idl.dart

Issue 1564343004: Add support for Element.docRange to the summary. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « pkg/analyzer/test/src/summary/summary_test.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 is not 6 * This file is an "idl" style description of the summary format. It is not
7 * executed directly; instead it is parsed and transformed into code that 7 * executed directly; instead it is parsed and transformed into code that
8 * implements the summary format. 8 * implements the summary format.
9 * 9 *
10 * The code generation process introduces the following non-typical semantics: 10 * The code generation process introduces the following non-typical semantics:
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 * Unlinked summary information about a documentation comment. 297 * Unlinked summary information about a documentation comment.
298 */ 298 */
299 class UnlinkedDocumentationComment { 299 class UnlinkedDocumentationComment {
300 /** 300 /**
301 * Text of the documentation comment, with '\r\n' replaced by '\n'. 301 * Text of the documentation comment, with '\r\n' replaced by '\n'.
302 * 302 *
303 * References appearing within the doc comment in square brackets are not 303 * References appearing within the doc comment in square brackets are not
304 * specially encoded. 304 * specially encoded.
305 */ 305 */
306 String text; 306 String text;
307
308 /**
309 * Offset of the beginning of the documentation comment relative to the
310 * beginning of the file.
311 */
312 int offset;
313
314 /**
315 * Length of the documentation comment (prior to replacing '\r\n' with '\n').
316 */
317 int length;
307 } 318 }
308 319
309 /** 320 /**
310 * Unlinked summary information about an enum declaration. 321 * Unlinked summary information about an enum declaration.
311 */ 322 */
312 class UnlinkedEnum { 323 class UnlinkedEnum {
313 /** 324 /**
314 * Name of the enum type. 325 * Name of the enum type.
315 */ 326 */
316 String name; 327 String name;
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after
978 /** 989 /**
979 * Indicates whether the variable is declared using the `const` keyword. 990 * Indicates whether the variable is declared using the `const` keyword.
980 */ 991 */
981 bool isConst; 992 bool isConst;
982 993
983 /** 994 /**
984 * Indicates whether this variable lacks an explicit type declaration. 995 * Indicates whether this variable lacks an explicit type declaration.
985 */ 996 */
986 bool hasImplicitType; 997 bool hasImplicitType;
987 } 998 }
OLDNEW
« no previous file with comments | « pkg/analyzer/test/src/summary/summary_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698