angular-cn/modules/angular2/test/transform/reflection_remover
Tim Blasi 77b31ab42f feat(dart/transform): Add debug transform parameters
Add two transform parameters to aid in debugging the transformer
- `mirror_mode`, with values {`debug`, `none`, and `verbose`}
- `init_reflector`, with values {`true`, `false`}

`mirror_mode`:
- `debug`: Allow reflective access, but log a message if it is used
- `none`: Remove reflective access, `throw` if it is used. Default value
- `verbose`: Allow reflective access, log a stack trace if it is used

`init_reflector`: Whether to generate calls to our generated
`initReflector` code.

These will be useful to reveal areas where the transformer is not generating
appropriate code and to quickly see where reflective accesses occur.

When the pub mode is `transform_dynamic`, we run in MirrorMode.debug
with `init_reflector = false`. This is used for testing purposes.
2015-04-20 12:32:04 -07:00
..
debug_files feat(dart/transform): Add debug transform parameters 2015-04-20 12:32:04 -07:00
debug_mirrors_files feat(dart/transform): Add debug transform parameters 2015-04-20 12:32:04 -07:00
log_mirrors_files feat(dart/transform): Add debug transform parameters 2015-04-20 12:32:04 -07:00
reflection_remover_files feat(dart/transform): Allow multiple transformer entry points 2015-04-10 13:41:26 -07:00
verbose_files/expected feat(dart/transform): Add debug transform parameters 2015-04-20 12:32:04 -07:00
all_tests.dart feat(dart/transform): Add debug transform parameters 2015-04-20 12:32:04 -07:00
index.dart feat(dart/transform): Add debug transform parameters 2015-04-20 12:32:04 -07:00