|
Creates `reflectors`, as a meta-meta feature enabling dynamic selection of the "mirror system".
When a library is expected to be used in a context where some useful
reflectors have already been created, it is difficult for that library
to find the reflectors, but it is very easy to return the set of all
reflectors from a static method in `Reflectable`. As a result, such a
library can now offer services using reflectable based reflection,
without requiring an `init` method to learn about which reflectors
there are, and without creating its own reflector (which may cause a
lot of information to be duplicated).
R=sigurdm@google.com
Committed: https://github.com/dart-lang/reflectable/commit/23de9d2f6b6fe65dd74ab833c11351ea5bc0362e
Total comments: 28
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+987 lines, -189 lines) |
Patch |
|
M |
reflectable/lib/reflectable.dart
|
View
|
1
2
3
|
2 chunks |
+14 lines, -1 line |
0 comments
|
Download
|
|
M |
reflectable/lib/src/encoding_constants.dart
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
reflectable/lib/src/reflectable_mirror_based.dart
|
View
|
1
|
2 chunks |
+32 lines, -1 line |
0 comments
|
Download
|
|
M |
reflectable/lib/src/reflectable_transformer_based.dart
|
View
|
1
2
|
8 chunks |
+65 lines, -8 lines |
0 comments
|
Download
|
|
M |
reflectable/lib/src/transformer_implementation.dart
|
View
|
1
2
3
|
35 chunks |
+327 lines, -95 lines |
0 comments
|
Download
|
|
M |
reflectable/test/mock_tests/check_literal_transform_test.dart
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
test_reflectable/pubspec.yaml
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
A + |
test_reflectable/test/meta_reflector_test.dart
|
View
|
1
2
3
|
4 chunks |
+86 lines, -81 lines |
0 comments
|
Download
|
|
A |
test_reflectable/test/meta_reflectors_definer.dart
|
View
|
1
2
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
|
A |
test_reflectable/test/meta_reflectors_domain.dart
|
View
|
1
2
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
|
A |
test_reflectable/test/meta_reflectors_domain_definer.dart
|
View
|
1
2
|
1 chunk |
+26 lines, -0 lines |
0 comments
|
Download
|
|
A |
test_reflectable/test/meta_reflectors_meta.dart
|
View
|
1
2
3
|
1 chunk |
+54 lines, -0 lines |
0 comments
|
Download
|
|
A |
test_reflectable/test/meta_reflectors_test.dart
|
View
|
1
2
3
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
|
A |
test_reflectable/test/meta_reflectors_user.dart
|
View
|
1
2
3
|
1 chunk |
+138 lines, -0 lines |
0 comments
|
Download
|
|
M |
test_reflectable/test/reflected_type_test.dart
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
A |
test_reflectable/test/reflectors_test.dart
|
View
|
1
2
3
|
1 chunk |
+130 lines, -0 lines |
0 comments
|
Download
|
Total messages: 9 (1 generated)
|