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

Side by Side Diff: test_reflectable/test/meta_reflectors_domain.dart

Issue 1391543003: Creates `reflectors`, as a meta-meta feature that enables dynamic selection of a "mirror system". (Closed) Base URL: https://github.com/dart-lang/reflectable.git@master
Patch Set: Review response. Created 5 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
OLDNEW
(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 'meta_reflectors_test.dart'.
7 ///
8 /// Independence: The "domain classes" `M1`..`M3`, `A`..`D`, `P` are assumed to
9 /// be specific to the particular entry point 'meta_reflectors_test.dart' and
10 /// its transitive closure, but there is no dependency from them to any of the
11 /// libraries introducing or using reflectable reflection.
12 library test_reflectable.test.meta_reflectors_share;
13
14 class P {
15 const P();
16 }
17
18 @P()
19 class M1 {
20 foo() {}
21 var field;
22 static staticFoo(x) {}
23 }
24
25 class M2 {}
26
27 class M3 {}
28
29 class A {
30 foo() {}
31 var field;
32 static staticFoo(x) {}
33 static staticBar() {}
34 }
35
36 class B extends A with M1 {}
37
38 class C extends B with M2, M3 {}
39
40 class D = A with M1;
OLDNEW
« no previous file with comments | « test_reflectable/test/meta_reflectors_definer.dart ('k') | test_reflectable/test/meta_reflectors_domain_definer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698