final object TypeRef

Constructors

Members

def apply ( prefix: Type , name: TypeName ) ( implicit ctx: Context ) : TypeRef

Create type ref with given prefix and name

Create type ref with given prefix and name

def apply ( prefix: Type , sym: TypeSymbol ) ( implicit ctx: Context ) : TypeRef

Create type ref to given symbol

Create type ref to given symbol

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

Create a type ref with given name and initial denotation

Create a type ref with given name and initial denotation

def unapply ( x$1: TypeRef ) : TypeRef
def withFixedSym ( prefix: Type , name: TypeName , sym: TypeSymbol ) ( implicit ctx: Context ) : TypeRef

Create a non-member type ref (which cannot be reloaded using member), with given prefix, name, and symbol.

Create a non-member type ref (which cannot be reloaded using member), with given prefix, name, and symbol.

[+] def withSymAndName ( prefix: Type , sym: TypeSymbol , name: TypeName ) ( implicit ctx: Context ) : TypeRef

Create a type ref referring to given symbol with given name. This is very similar to TypeRef(Type, Symbol), except for two differences: (1) The symbol mi...

Create a type ref referring to given symbol with given name. This is very similar to TypeRef(Type, Symbol), except for two differences: (1) The symbol might not yet have a denotation, so the name needs to be given explicitly. (2) The name in the type ref need not be the same as the name of the Symbol.