1) Enter methods such as enterGetterSetter are called
from Namer with a tree which may generate further trees such as accessors or
implicit wrappers. Some setup is performed. In general this creates symbols
and enters them into the scope of the owner.
2) addDerivedTrees is called from Typer when a Template is typed.
It completes the job, returning a list of trees with their symbols
set to those created in the enter methods. Those trees then become
part of the typed template.
This member is added by an implicit conversion from Analyzer.MethodSynth to
StringFormat[Analyzer.MethodSynth] performed by method StringFormat in scala.Predef.
There are two key methods in here.
1) Enter methods such as enterGetterSetter are called from Namer with a tree which may generate further trees such as accessors or implicit wrappers. Some setup is performed. In general this creates symbols and enters them into the scope of the owner.
2) addDerivedTrees is called from Typer when a Template is typed. It completes the job, returning a list of trees with their symbols set to those created in the enter methods. Those trees then become part of the typed template.