Hoister

dotty.tools.dotc.transform.HoistSuperArgs.Hoister
class Hoister(cls: Symbol)(using x$2: Context)

Defines methods for hoisting complex supercall arguments out of parent super calls and constructor definitions. Hoisted superarg methods are collected in superArgDefs

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def hoistSuperArgsFromCall(superCall: Tree, cdef: DefDef, lifted: ListBuffer[Symbol]): Tree

Hoist complex arguments in super call out of the class.

Hoist complex arguments in super call out of the class.

Attributes

Hoist complex arguments in this-constructor call of secondary constructor out of the class.

Hoist complex arguments in this-constructor call of secondary constructor out of the class.

Attributes

Concrete fields