ByNameFunction

dotty.tools.dotc.core.Definitions.ByNameFunction

Extractor for context function types representing by-name parameters, of the form () ?=> T. Under purefunctions, this becomes () ?-> T or {r1, ..., rN} () ?-> T.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(tp: Type)(using Context): Type
def unapply(tp: Type)(using Context): Option[Type]