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.
The method type corresponding to given parameters and result type
if isConstructor, make sure it has one non-implicit parameter list