Add moduleClass or sourceModule functionality to completer for a module or module class
sym is defined, assuming we are in a nested context.
The given type, unless
sym is a constructor, in which case the
type of the constructed instance is returned
Either the current scope, or, if the current context owner is a class, the declarations of the current class.
Enter symbol into current class, if current class is owner of current context, or into current scope, if not. Should always be called instead of scope.enter in order to make sure that updates to class members are reflected in finger prints.
A new context for the interior of a class
A fresh local context with given tree and owner. Owner might not exist (can happen for self valdefs), in which case no owner is set in result context
The method type corresponding to given parameters and result type
if isConstructor, make sure it has one non-implicit parameter list
The symbol (stored in some typer's symTree) of an enclosing context definition