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"; | 5 part of "core.dart"; |
6 | 6 |
7 /** | 7 /** |
8 * The base class for all Dart objects. | 8 * The base class for all Dart objects. |
9 * | 9 * |
10 * Because Object is the root of the Dart class hierarchy, | 10 * Because Object is the root of the Dart class hierarchy, |
11 * every other Dart class is a subclass of Object. | 11 * every other Dart class is a subclass of Object. |
12 * | 12 * |
13 * When you define a class, you should override [toString] | 13 * When you define a class, you should override [toString] |
14 * to return a string describing an instance of that class. | 14 * to return a string describing an instance of that class. |
15 * You might also need to define [hashCode] and [==], as described in the | 15 * You might also need to define [hashCode] and [==], as described in the |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 * | 104 * |
105 * The default behavior is to throw a [NoSuchMethodError]. | 105 * The default behavior is to throw a [NoSuchMethodError]. |
106 */ | 106 */ |
107 external dynamic noSuchMethod(Invocation invocation); | 107 external dynamic noSuchMethod(Invocation invocation); |
108 | 108 |
109 /** | 109 /** |
110 * A representation of the runtime type of the object. | 110 * A representation of the runtime type of the object. |
111 */ | 111 */ |
112 external Type get runtimeType; | 112 external Type get runtimeType; |
113 } | 113 } |
OLD | NEW |