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

Side by Side Diff: lib/mirrors/mirrors.dart

Issue 10993059: Stop using the Hashable interface. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Another space removed. Created 8 years, 2 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 | « lib/isolate/base.dart ('k') | pkg/dartdoc/lib/mirrors.dart » ('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 // The dart:mirrors library provides reflective access for Dart program. 5 // The dart:mirrors library provides reflective access for Dart program.
6 // 6 //
7 // For the purposes of the mirrors library, we adopt a naming 7 // For the purposes of the mirrors library, we adopt a naming
8 // convention with respect to getters and setters. Specifically, for 8 // convention with respect to getters and setters. Specifically, for
9 // some variable or field... 9 // some variable or field...
10 // 10 //
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 */ 75 */
76 InstanceMirror reflect(Object reflectee) { 76 InstanceMirror reflect(Object reflectee) {
77 return _Mirrors.reflect(reflectee); 77 return _Mirrors.reflect(reflectee);
78 } 78 }
79 79
80 /** 80 /**
81 * A [Mirror] reflects some Dart language entity. 81 * A [Mirror] reflects some Dart language entity.
82 * 82 *
83 * Every [Mirror] originates from some [MirrorSystem]. 83 * Every [Mirror] originates from some [MirrorSystem].
84 */ 84 */
85 abstract class Mirror implements Hashable { 85 abstract class Mirror {
86 /** 86 /**
87 * The [MirrorSystem] that contains this mirror. 87 * The [MirrorSystem] that contains this mirror.
88 */ 88 */
89 MirrorSystem get mirrors; 89 MirrorSystem get mirrors;
90 } 90 }
91 91
92 /** 92 /**
93 * An [IsolateMirror] reflects an isolate. 93 * An [IsolateMirror] reflects an isolate.
94 */ 94 */
95 abstract class IsolateMirror implements Mirror { 95 abstract class IsolateMirror implements Mirror {
(...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 736
737 /** 737 /**
738 * A [MirrorException] is used to indicate errors within the mirrors 738 * A [MirrorException] is used to indicate errors within the mirrors
739 * framework. 739 * framework.
740 */ 740 */
741 class MirrorException implements Exception { 741 class MirrorException implements Exception {
742 const MirrorException(String this._message); 742 const MirrorException(String this._message);
743 String toString() => "MirrorException: '$_message'"; 743 String toString() => "MirrorException: '$_message'";
744 final String _message; 744 final String _message;
745 } 745 }
OLDNEW
« no previous file with comments | « lib/isolate/base.dart ('k') | pkg/dartdoc/lib/mirrors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698