Either an assignment or a named argument.
Documented definition, eliminated by analyzer
Substitute symbols in 'from' with symbols in 'to'.
A synthetic term holding an arbitrary type.
emitted by typer, eliminated by refchecks
Block factory that flattens directly nested blocks.
casedef shorthand
Construct class definition with given class symbol, value parameters, supercall arguments and template body.
Construct class definition with given class symbol, value parameters, supercall arguments and template body.
the class symbol
the modifiers for the class constructor, i.e. as in class C private (...)'
the value parameters -- if they have symbols they
should be owned by sym'
the supercall arguments
the template statements without primary constructor and value parameter fields.
the class symbol
the implementation template
the class symbol
the implementation template
Factory method for object creation new tpt(args_1)...(args_n)
A New(t, as)
is expanded to: (new t).<init>(as)
Generates a template with constructor corresponding to
Generates a template with constructor corresponding to
constrmods (vparams1_) ... (vparams_n) preSuper { presupers } extends superclass(args_1) ... (args_n) with mixins { self => body }
This gets translated to
extends superclass with mixins { self => presupers' // presupers without rhs vparamss // abstract fields corresponding to value parameters def <init>(vparamss) { presupers super.<init>(args) } body }
A TypeDef node which defines abstract type or type parameter for given sym'
A TypeDef node which defines given sym' with given tight hand side
rhs'.
resets symbol and tpe fields in a tree, @see ResetAttrsTraverse