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

Side by Side Diff: sdk/lib/mirrors/mirrors.dart

Issue 128933003: Add ClassMirror.isAbstract to the API and VM implementation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « sdk/lib/_internal/lib/js_mirrors.dart ('k') | tests/lib/lib.status » ('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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 // For the purposes of the mirrors library, we adopt a naming 5 // For the purposes of the mirrors library, we adopt a naming
6 // convention with respect to getters and setters. Specifically, for 6 // convention with respect to getters and setters. Specifically, for
7 // some variable or field... 7 // some variable or field...
8 // 8 //
9 // var myField; 9 // var myField;
10 // 10 //
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 * If this type is [:Object:], the superclass will be null. 698 * If this type is [:Object:], the superclass will be null.
699 */ 699 */
700 ClassMirror get superclass; 700 ClassMirror get superclass;
701 701
702 /** 702 /**
703 * A list of mirrors on the superinterfaces of the reflectee. 703 * A list of mirrors on the superinterfaces of the reflectee.
704 */ 704 */
705 List<ClassMirror> get superinterfaces; 705 List<ClassMirror> get superinterfaces;
706 706
707 /** 707 /**
708 * Is the reflectee abstract?
709 */
710 bool get isAbstract;
711
712 /**
708 * Returns an immutable map of the declarations actually given in the class 713 * Returns an immutable map of the declarations actually given in the class
709 * declaration. 714 * declaration.
710 * 715 *
711 * This map includes all regular methods, getters, setters, fields, 716 * This map includes all regular methods, getters, setters, fields,
712 * constructors and type variables actually declared in the class. Both 717 * constructors and type variables actually declared in the class. Both
713 * static and instance members are included, but no inherited members are 718 * static and instance members are included, but no inherited members are
714 * included. The map is keyed by the simple names of the declarations. 719 * included. The map is keyed by the simple names of the declarations.
715 * 720 *
716 * This does not include inherited members. 721 * This does not include inherited members.
717 */ 722 */
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
1203 * 1208 *
1204 * When used as metadata on an import of "dart:mirrors", this metadata does 1209 * When used as metadata on an import of "dart:mirrors", this metadata does
1205 * not apply to the library in which the annotation is used, but instead 1210 * not apply to the library in which the annotation is used, but instead
1206 * applies to the other libraries (all libraries if "*" is used). 1211 * applies to the other libraries (all libraries if "*" is used).
1207 */ 1212 */
1208 final override; 1213 final override;
1209 1214
1210 const MirrorsUsed( 1215 const MirrorsUsed(
1211 {this.symbols, this.targets, this.metaTargets, this.override}); 1216 {this.symbols, this.targets, this.metaTargets, this.override});
1212 } 1217 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/lib/js_mirrors.dart ('k') | tests/lib/lib.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698