OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2015, the Dart Team. All rights reserved. Use of this |
| 2 // source code is governed by a BSD-style license that can be found in |
| 3 // the LICENSE file. |
| 4 |
| 5 // File being transformed by the reflectable transformer. |
| 6 // Part of the entry point 'reflectors_test.dart'. |
| 7 // |
| 8 // Independence: This library defines reflectors only, and it does not depend |
| 9 // on domain classes (`M1..3, A..D, P`) nor on the usage of reflection, i.e., |
| 10 // these reflectors could have been defined in a third-party package . |
| 11 |
| 12 library test_reflectable.test.meta_reflectors_definer; |
| 13 |
| 14 import "package:reflectable/reflectable.dart"; |
| 15 |
| 16 class Reflector extends Reflectable { |
| 17 const Reflector() |
| 18 : super(invokingCapability, declarationsCapability, libraryCapability); |
| 19 } |
| 20 |
| 21 class Reflector2 extends Reflectable { |
| 22 const Reflector2() |
| 23 : super(invokingCapability, metadataCapability, libraryCapability); |
| 24 } |
| 25 |
| 26 class ReflectorUpwardsClosed extends Reflectable { |
| 27 const ReflectorUpwardsClosed() |
| 28 : super(superclassQuantifyCapability, invokingCapability, |
| 29 declarationsCapability, typeRelationsCapability); |
| 30 } |
OLD | NEW |