scala.tools.nsc.interactive.RangePositions
Leave apply available in the generic traverser to do something else.
Leave apply available in the generic traverser to do something else.
Compiler specific tree types are handled here: the remainder are in the library's abstract tree traverser.
The abstract traverser is not aware of Tree.
The abstract traverser is not aware of Tree.isTerm, so we override this one.
A locator for trees with given positions. Given a position
pos
, locator.apply returns the smallest tree that enclosespos
.