scala.tools.nsc.typechecker.Contexts
...
...
...
...
...
Return closest enclosing context that defines a subclass of clazz' or a companion
object thereof, or NoContext if no such context exists
Return closest enclosing context that defines a superclass of clazz', or a
companion module of a superclass of
clazz', or NoContext if none exists
Is sym
accessible as a member of tree site' with type
pre
in current context?
Is sym
accessible as a member of tree site' with type
pre
in current context?
...
...
...
...
Is sub' a subclass of
base' or a companion object of such a subclass?
Find a symbol in this context or one of its outers.
Find a symbol in this context or one of its outers.
Used to find symbols are owned by methods (or fields), they can't be found in some scope.
Examples: companion module of classes owned by a method, default getter methods of nested methods. See NamesDefaults.scala
...
...
...
...
...
...