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 * Everything in Dart is an [Object]. | 6 * Everything in Dart is an [Object]. |
9 */ | 7 */ |
10 class Object { | 8 class Object { |
11 /** | 9 /** |
12 * Creates a new [Object] instance. | 10 * Creates a new [Object] instance. |
13 * | 11 * |
14 * [Object] instances have no meaningful state, and are only useful | 12 * [Object] instances have no meaningful state, and are only useful |
15 * through their identity. An [Object] instance is equal to itself | 13 * through their identity. An [Object] instance is equal to itself |
16 * only. | 14 * only. |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 * [noSuchMethodError]. | 56 * [noSuchMethodError]. |
59 */ | 57 */ |
60 external dynamic noSuchMethod(InvocationMirror invocation); | 58 external dynamic noSuchMethod(InvocationMirror invocation); |
61 | 59 |
62 /** | 60 /** |
63 * A representation of the runtime type of the object. | 61 * A representation of the runtime type of the object. |
64 */ | 62 */ |
65 external Type get runtimeType; | 63 external Type get runtimeType; |
66 } | 64 } |
67 | 65 |
OLD | NEW |