NewWithArgs

dotty.tools.dotc.transform.TreeExtractors.NewWithArgs
object NewWithArgs

Match new C(args) and extract (C, args). Also admit new C(args): T and {new C(args)}.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def unapply(t: Tree)(using Context): Option[(Type, List[Tree])]