NewWithArgs

dotty.tools.dotc.transform.TreeExtractors$.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

Concise view

Value members

Concrete methods

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