TermRef

dotty.tools.dotc.core.Types$.TermRef$
See theTermRef companion class
object TermRef

Attributes

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

Members list

Value members

Concrete methods

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

Create a term ref with given designator

Create a term ref with given designator

Attributes

def apply(prefix: Type, name: TermName, denot: Denotation)(using Context): TermRef

Create a term 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 term 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