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

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

Issue 22625003: Make ClosureMirror handle instances of user-defined classes that implement call. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase Created 7 years, 4 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 | « runtime/vm/bootstrap_natives.h ('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) 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 // 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 872 matching lines...) Expand 10 before | Expand all | Expand 10 after
883 */ 883 */
884 TypeMirror get returnType; 884 TypeMirror get returnType;
885 885
886 /** 886 /**
887 * Returns a list of the parameter types of the reflectee. 887 * Returns a list of the parameter types of the reflectee.
888 */ 888 */
889 List<ParameterMirror> get parameters; 889 List<ParameterMirror> get parameters;
890 890
891 /** 891 /**
892 * A mirror on the [:call:] method for the reflectee. 892 * A mirror on the [:call:] method for the reflectee.
893 *
894 * TODO(turnidge): What is this and what is it for?
895 */ 893 */
896 MethodMirror get callMethod; 894 MethodMirror get callMethod;
897 } 895 }
898 896
899 /** 897 /**
900 * A [TypeVariableMirror] represents a type parameter of a generic 898 * A [TypeVariableMirror] represents a type parameter of a generic
901 * type. 899 * type.
902 */ 900 */
903 abstract class TypeVariableMirror extends TypeMirror { 901 abstract class TypeVariableMirror extends TypeMirror {
904 /** 902 /**
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
1308 * 1306 *
1309 * When used as metadata on an import of "dart:mirrors", this metadata does 1307 * When used as metadata on an import of "dart:mirrors", this metadata does
1310 * not apply to the library in which the annotation is used, but instead 1308 * not apply to the library in which the annotation is used, but instead
1311 * applies to the other libraries (all libraries if "*" is used). 1309 * applies to the other libraries (all libraries if "*" is used).
1312 */ 1310 */
1313 final override; 1311 final override;
1314 1312
1315 const MirrorsUsed( 1313 const MirrorsUsed(
1316 {this.symbols, this.targets, this.metaTargets, this.override}); 1314 {this.symbols, this.targets, this.metaTargets, this.override});
1317 } 1315 }
OLDNEW
« no previous file with comments | « runtime/vm/bootstrap_natives.h ('k') | tests/lib/lib.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698