TermRef

object TermRef
Companion:
class
class Object
trait Matchable
class Any
TermRef.type

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

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.