TypeRef

dotty.tools.dotc.core.Types.TypeRef
See theTypeRef companion class
object TypeRef

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
TypeRef.type

Members list

Value members

Concrete methods

def apply(prefix: Type, desig: Designator)(using Context): TypeRef

Create a type ref with given prefix and name

Create a type ref with given prefix and name

Attributes

def apply(prefix: Type, name: TypeName, denot: Denotation)(using Context): TypeRef

Create a type ref with given initial denotation. The name of the reference is taken from the denotation's symbol if the latter exists, or else it is the given name.

Create a type ref with given initial denotation. The name of the reference is taken from the denotation's symbol if the latter exists, or else it is the given name.

Attributes