diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-03-04 15:38:53 +0100 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-03-06 13:29:57 +0100 |
commit | b97c4613566820b68c8def483690225087020034 (patch) | |
tree | ed5a984558adb82d1b8b8435900b5d7de24242a5 /test/x/names.scala | |
parent | 092456b806a132a64b7a4a98d0d2d30ca8114bbd (diff) | |
download | dotty-b97c4613566820b68c8def483690225087020034.tar.gz dotty-b97c4613566820b68c8def483690225087020034.tar.bz2 dotty-b97c4613566820b68c8def483690225087020034.zip |
Tree Transformer&TreeTransform:
1) using fast tracks in case node type isn't altered by Transformation;
2) using pre-computed hints(nxTransformXXX arrays) to quickly jump to next transformation interested in transforming particular Tree type;
3) using pre-computed hints(nxPrepareXXX arrays) to know which transformations are going to 'prepare' for transforming particular Tree type;
4) recomputing those hints in case some transformation changed implementation class during 'prepare';
5) TreeTransform is now responsible of calling transformFollowing on nodes created by it.
Diffstat (limited to 'test/x/names.scala')
0 files changed, 0 insertions, 0 deletions