OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 dart2js.mirrors; | 5 part of dart2js.mirrors; |
6 | 6 |
7 abstract class ClassMirrorMixin implements ClassSourceMirror { | 7 abstract class ClassMirrorMixin implements ClassSourceMirror { |
8 bool get hasReflectedType => false; | 8 bool get hasReflectedType => false; |
9 Type get reflectedType { | 9 Type get reflectedType { |
10 throw new UnsupportedError("ClassMirror.reflectedType is not supported."); | 10 throw new UnsupportedError("ClassMirror.reflectedType is not supported."); |
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
495 if (other is! TypeMirror) { | 495 if (other is! TypeMirror) { |
496 return false; | 496 return false; |
497 } | 497 } |
498 return other.isDynamic; | 498 return other.isDynamic; |
499 } | 499 } |
500 | 500 |
501 int get hashCode => 13 * _type.hashCode; | 501 int get hashCode => 13 * _type.hashCode; |
502 | 502 |
503 String toString() => 'Mirror on dynamic'; | 503 String toString() => 'Mirror on dynamic'; |
504 } | 504 } |
OLD | NEW |