OLD | NEW |
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 part of dart_core; | |
6 | |
7 /** | 5 /** |
8 * Representation of the invocation of a member on an object. | 6 * Representation of the invocation of a member on an object. |
9 * | 7 * |
10 * This is the type of objects passed to [Object.noSuchMethod] when | 8 * This is the type of objects passed to [Object.noSuchMethod] when |
11 * an object doesn't support the member invocation that was attempted | 9 * an object doesn't support the member invocation that was attempted |
12 * on it. | 10 * on it. |
13 */ | 11 */ |
14 abstract class InvocationMirror { | 12 abstract class InvocationMirror { |
15 /** The name of the invoked member. */ | 13 /** The name of the invoked member. */ |
16 String get memberName; | 14 String get memberName; |
(...skipping 26 matching lines...) Expand all Loading... |
43 | 41 |
44 /** | 42 /** |
45 * Perform the invocation on the provided object. | 43 * Perform the invocation on the provided object. |
46 * | 44 * |
47 * If the object doesn't support the invocation, its [noSuchMethod] | 45 * If the object doesn't support the invocation, its [noSuchMethod] |
48 * method will be called with either this [InvocationMirror] or another | 46 * method will be called with either this [InvocationMirror] or another |
49 * equivalent [InvocationMirror]. | 47 * equivalent [InvocationMirror]. |
50 */ | 48 */ |
51 invokeOn(Object receiver); | 49 invokeOn(Object receiver); |
52 } | 50 } |
OLD | NEW |