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

Side by Side Diff: pkg/dartdoc/lib/mirrors.dart

Issue 11028138: Fields, getters and setters documented as properties. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments + UI bug fixed Created 8 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « pkg/dartdoc/lib/dartdoc.dart ('k') | pkg/dartdoc/lib/src/client/client-shared.dart » ('j') | 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 #library('mirrors'); 5 #library('mirrors');
6 6
7 #import('dart:io'); 7 #import('dart:io');
8 #import('dart:uri'); 8 #import('dart:uri');
9 9
10 // TODO(rnystrom): Use "package:" URL (#4968). 10 // TODO(rnystrom): Use "package:" URL (#4968).
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 * A field. 346 * A field.
347 */ 347 */
348 abstract class FieldMirror implements MemberMirror { 348 abstract class FieldMirror implements MemberMirror {
349 349
350 /** 350 /**
351 * Returns true if this field is final. 351 * Returns true if this field is final.
352 */ 352 */
353 bool get isFinal; 353 bool get isFinal;
354 354
355 /** 355 /**
356 * Returns true if this field is const.
357 */
358 bool get isConst;
359
360 /**
356 * Returns the type of this field. 361 * Returns the type of this field.
357 */ 362 */
358 TypeMirror get type; 363 TypeMirror get type;
359 } 364 }
360 365
361 /** 366 /**
362 * Common interface constructors and methods, including factories, getters and 367 * Common interface constructors and methods, including factories, getters and
363 * setters. 368 * setters.
364 */ 369 */
365 abstract class MethodMirror implements MemberMirror { 370 abstract class MethodMirror implements MemberMirror {
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 /** 495 /**
491 * Returns the URI where the source originated. 496 * Returns the URI where the source originated.
492 */ 497 */
493 Uri get uri; 498 Uri get uri;
494 499
495 /** 500 /**
496 * Returns the text of this source. 501 * Returns the text of this source.
497 */ 502 */
498 String get text; 503 String get text;
499 } 504 }
OLDNEW
« no previous file with comments | « pkg/dartdoc/lib/dartdoc.dart ('k') | pkg/dartdoc/lib/src/client/client-shared.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698