The base class of tree transforms. For each kind of tree K, there are two methods which can be overridden:
prepareForK: return a new Context which gets passed to the node and its children transformK // transform node of type K
There are also prepare/transform hooks for
- Stats: to prepare/transform a statement sequence in a block, template, or package def,
- Unit : to prepare/transform a whole compilation unit
- Other: to prepape/transform a tree that does not have a specific prepare/transform method pair.
If set, allow missing or superfluous arguments in applications and type applications.
If set, use relaxed typing for all phases in group
List of names of phases that should have finished their processing of all compilation units before this phase starts
Transform tree using all transforms of current group (including this one)
Transform single node using all transforms following the current one in this group
Transform tree using all transforms following the current one in this group