FunctionTypeOfMethod

dotty.tools.dotc.core.Definitions.FunctionTypeOfMethod

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def unapply(ft: Type)(using Context): Option[MethodOrPoly]

Matches a FunctionN[...]/ContextFunctionN[...] or refined PolyFunction/FunctionN[...]/ContextFunctionN[...]. Extracts the method type type and apply info.

Matches a FunctionN[...]/ContextFunctionN[...] or refined PolyFunction/FunctionN[...]/ContextFunctionN[...]. Extracts the method type type and apply info.

Attributes