NamerOps
Operations that are shared between Namer and TreeUnpickler
Type members
Value members
Concrete methods
Add constructor proxy apply methods to scope. Proxies are for constructors
in cls and they reside in modcls.
Add constructor proxy apply methods to scope. Proxies are for constructors
in cls and they reside in modcls.
Add all necesssary constructor proxy symbols for members of class cls. This means:
Add all necesssary constructor proxy symbols for members of class cls. This means:
- if a member is a class, or type alias, that needs a constructor companion, add one, provided no member with the same name exists.
- if
clsis a companion object of a class that needs a constructor companion, andclsdoes not already define or inherit anapplymethod, addapplymethods for all constructors of the companion class.
Add moduleClass or sourceModule functionality to completer for a module or module class
Add moduleClass or sourceModule functionality to completer for a module or module class
A new symbol that is the constructor companion for class cls
A new symbol that is the constructor companion for class cls
The completer of a constructor companion for class cls, where
modul is the companion symbol and modcls is its class.
The completer of a constructor companion for class cls, where
modul is the companion symbol and modcls is its class.
The type of the constructed instance is returned
The type of the constructed instance is returned
- Value Params
- ctor
the constructor
Turn modul into a constructor companion for class cls
Turn modul into a constructor companion for class cls
The method type corresponding to given parameters and result type
The method type corresponding to given parameters and result type
Does symbol sym need constructor proxies to be generated?
Does symbol sym need constructor proxies to be generated?