scala.tools.refactoring.common.PimpedTrees
Returns the position this tree's name has in the source code.
Returns the position this tree's name has in the source code. Can also return NoPosition if the tree does not have a name.
Returns the name for the tree that matches what was printed in the source code.
Returns the name for the tree that matches what was printed in the source code. Compiler generated names for '_' return '_' and otherwise synthetic names return "".
Add some methods to Tree that make it easier to compare Trees by position and to extract the position of a tree's name, which is tricky for Selects.