possiblyTypedClosureDef

dotty.tools.dotc.ast.TypedTreeInfo.possiblyTypedClosureDef

An extractor for def of a closure contained the block of the closure, possibly with type ascriptions.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def unapply(tree: Tree)(using Context): Option[DefDef]