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