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

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

Issue 27953002: Refine spec for TypedefMirror.value and for ClosureMirror.findInContext. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 1 month 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 | « no previous file | 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) 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 857 matching lines...) Expand 10 before | Expand all | Expand 10 after
868 */ 868 */
869 bool operator == (other); 869 bool operator == (other);
870 } 870 }
871 871
872 /** 872 /**
873 * A [TypedefMirror] represents a typedef in a Dart language program. 873 * A [TypedefMirror] represents a typedef in a Dart language program.
874 */ 874 */
875 abstract class TypedefMirror implements TypeMirror { 875 abstract class TypedefMirror implements TypeMirror {
876 /** 876 /**
877 * The defining type for this typedef. 877 * The defining type for this typedef.
878 * If the the type referred to by the reflectee is a function type
879 * *F*, the result will be [:FunctionTypeMirror:] reflecting *F*
880 * which is abstract and has an abstract method [:call:] whose
881 * signature corresponds to *F*.
878 * 882 *
879 * For instance [:void f(int):] is the referent for [:typedef void f(int):]. 883 * For instance [:void f(int):] is the referent for [:typedef void f(int):].
880 */ 884 */
881 FunctionTypeMirror get referent; 885 FunctionTypeMirror get referent;
882 } 886 }
883 887
884 /** 888 /**
885 * A [MethodMirror] reflects a Dart language function, method, 889 * A [MethodMirror] reflects a Dart language function, method,
886 * constructor, getter, or setter. 890 * constructor, getter, or setter.
887 */ 891 */
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
1189 * 1193 *
1190 * When used as metadata on an import of "dart:mirrors", this metadata does 1194 * When used as metadata on an import of "dart:mirrors", this metadata does
1191 * not apply to the library in which the annotation is used, but instead 1195 * not apply to the library in which the annotation is used, but instead
1192 * applies to the other libraries (all libraries if "*" is used). 1196 * applies to the other libraries (all libraries if "*" is used).
1193 */ 1197 */
1194 final override; 1198 final override;
1195 1199
1196 const MirrorsUsed( 1200 const MirrorsUsed(
1197 {this.symbols, this.targets, this.metaTargets, this.override}); 1201 {this.symbols, this.targets, this.metaTargets, this.override});
1198 } 1202 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698