ImpureByNameTypeTree

dotty.tools.dotc.ast.UntypedTreeInfo.ImpureByNameTypeTree

Under pureFunctions: A builder and extractor for => T, which is an alias for ->{cap} T. Only trees of the form => T are matched; trees written directly as ->{cap} T are ignored by the extractor.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

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