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

Side by Side Diff: dart/sdk/lib/core/object.dart

Issue 14049009: Rename Invocation to InvocationMirror. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged Created 7 years, 8 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 | « dart/sdk/lib/core/invocation_mirror.dart ('k') | dart/tests/co19/co19-runtime.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 part of dart.core; 5 part of dart.core;
6 6
7 /** 7 /**
8 * Everything in Dart is an [Object]. 8 * Everything in Dart is an [Object].
9 */ 9 */
10 class Object { 10 class Object {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 external int get hashCode; 43 external int get hashCode;
44 44
45 /** 45 /**
46 * Returns a string representation of this object. 46 * Returns a string representation of this object.
47 */ 47 */
48 external String toString(); 48 external String toString();
49 49
50 /** 50 /**
51 * [noSuchMethod] is invoked when users invoke a non-existant method 51 * [noSuchMethod] is invoked when users invoke a non-existant method
52 * on an object. The name of the method and the arguments of the 52 * on an object. The name of the method and the arguments of the
53 * invocation are passed to [noSuchMethod] in an [InvocationMirror]. 53 * invocation are passed to [noSuchMethod] in an [Invocation].
54 * If [noSuchMethod] returns a value, that value becomes the result of 54 * If [noSuchMethod] returns a value, that value becomes the result of
55 * the original invocation. 55 * the original invocation.
56 * 56 *
57 * The default behavior of [noSuchMethod] is to throw a 57 * The default behavior of [noSuchMethod] is to throw a
58 * [noSuchMethodError]. 58 * [noSuchMethodError].
59 */ 59 */
60 external dynamic noSuchMethod(InvocationMirror invocation); 60 external dynamic noSuchMethod(Invocation invocation);
61 61
62 /** 62 /**
63 * A representation of the runtime type of the object. 63 * A representation of the runtime type of the object.
64 */ 64 */
65 external Type get runtimeType; 65 external Type get runtimeType;
66 } 66 }
67 67
OLDNEW
« no previous file with comments | « dart/sdk/lib/core/invocation_mirror.dart ('k') | dart/tests/co19/co19-runtime.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698