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

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

Issue 67203002: Implement topLevelMembers, staticMembers, instanceMembers in the VM. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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 901 matching lines...) Expand 10 before | Expand all | Expand 10 after
912 * considered static. 912 * considered static.
913 */ 913 */
914 bool get isStatic; 914 bool get isStatic;
915 915
916 /** 916 /**
917 * Is the reflectee abstract? 917 * Is the reflectee abstract?
918 */ 918 */
919 bool get isAbstract; 919 bool get isAbstract;
920 920
921 /** 921 /**
922 * Returns true if the reflectee is synthetic, and returns false otherwise.
923 *
924 * A reflectee is synthetic if it is a getter or setter implicitly introduced
925 * for a field or if it is a constructor that was implicitly introduced as a
gbracha 2013/11/26 18:35:14 or Type.
rmacnak 2013/11/26 19:27:07 Done.
926 * default constructor or as part of a mixin application.
927 */
928 bool get isSynthetic;
929
930 /**
922 * Is the reflectee a regular function or method? 931 * Is the reflectee a regular function or method?
923 * 932 *
924 * A function or method is regular if it is not a getter, setter, or 933 * A function or method is regular if it is not a getter, setter, or
925 * constructor. Note that operators, by this definition, are 934 * constructor. Note that operators, by this definition, are
926 * regular methods. 935 * regular methods.
927 */ 936 */
928 bool get isRegularMethod; 937 bool get isRegularMethod;
929 938
930 /** 939 /**
931 * Is the reflectee an operator? 940 * Is the reflectee an operator?
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
1193 * 1202 *
1194 * When used as metadata on an import of "dart:mirrors", this metadata does 1203 * When used as metadata on an import of "dart:mirrors", this metadata does
1195 * not apply to the library in which the annotation is used, but instead 1204 * not apply to the library in which the annotation is used, but instead
1196 * applies to the other libraries (all libraries if "*" is used). 1205 * applies to the other libraries (all libraries if "*" is used).
1197 */ 1206 */
1198 final override; 1207 final override;
1199 1208
1200 const MirrorsUsed( 1209 const MirrorsUsed(
1201 {this.symbols, this.targets, this.metaTargets, this.override}); 1210 {this.symbols, this.targets, this.metaTargets, this.override});
1202 } 1211 }
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