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

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

Issue 22455003: Make FunctionTypeMirror and ClosureMirror handle user-defined classes that implement the call opera… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Assert call method of function type not null 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/symbols.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 830 matching lines...) Expand 10 before | Expand all | Expand 10 after
841 */ 841 */
842 TypeMirror get returnType; 842 TypeMirror get returnType;
843 843
844 /** 844 /**
845 * A list of the parameter types of the reflectee. 845 * A list of the parameter types of the reflectee.
846 */ 846 */
847 List<ParameterMirror> get parameters; 847 List<ParameterMirror> get parameters;
848 848
849 /** 849 /**
850 * A mirror on the [:call:] method for the reflectee. 850 * A mirror on the [:call:] method for the reflectee.
851 *
852 * TODO(turnidge): What is this and what is it for?
853 */ 851 */
854 MethodMirror get callMethod; 852 MethodMirror get callMethod;
855 } 853 }
856 854
857 /** 855 /**
858 * A [TypeVariableMirror] represents a type parameter of a generic 856 * A [TypeVariableMirror] represents a type parameter of a generic
859 * type. 857 * type.
860 */ 858 */
861 abstract class TypeVariableMirror extends TypeMirror { 859 abstract class TypeVariableMirror extends TypeMirror {
862 /** 860 /**
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
1260 * 1258 *
1261 * When used as metadata on an import of "dart:mirrors", this metadata does 1259 * When used as metadata on an import of "dart:mirrors", this metadata does
1262 * not apply to the library in which the annotation is used, but instead 1260 * not apply to the library in which the annotation is used, but instead
1263 * applies to the other libraries (all libraries if "*" is used). 1261 * applies to the other libraries (all libraries if "*" is used).
1264 */ 1262 */
1265 final override; 1263 final override;
1266 1264
1267 const MirrorsUsed( 1265 const MirrorsUsed(
1268 {this.symbols, this.targets, this.metaTargets, this.override}); 1266 {this.symbols, this.targets, this.metaTargets, this.override});
1269 } 1267 }
OLDNEW
« no previous file with comments | « runtime/vm/symbols.h ('k') | tests/lib/lib.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698