You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how many args and which types does this class take?
without "dangling parens"
private[this] classChangeOwnerAndModuleClassTraverser(
oldowner: global.Symbol,
newowner: global.Symbol)
extends global.ChangeOwnerTraverser(oldowner, newowner) {
overridedeftraverse(tree: global.Tree):Unit= {
tree match {
with "dangling parens"
private[this] classChangeOwnerAndModuleClassTraverser(
oldowner: global.Symbol,
newowner: global.Symbol
) extends global.ChangeOwnerTraverser(oldowner, newowner) {
overridedeftraverse(tree: global.Tree):Unit= {
tree match {
what's the result type of this method?
without "dangling parens"
*Typically, `f` is a `Select` or `Ident`.
*The wrapper is replaced with the result of `subWrapper(<Type of T>, <Tree of v>, <wrapper Tree>)`
*/deftransformWrappers(
t: Tree,
subWrapper: (String, Type, Tree, Tree) =>Converted[ctx.type]):Tree= {
// the main tree transformer that replaces calls to InputWrapper.wrap(x) with// plain Idents that reference the actual input valueobjectappTransformerextendsTransformer {
with "dangling parens"
*Typically, `f` is a `Select` or `Ident`.
*The wrapper is replaced with the result of `subWrapper(<Type of T>, <Tree of v>, <wrapper Tree>)`
*/deftransformWrappers(
t: Tree,
subWrapper: (String, Type, Tree, Tree) =>Converted[ctx.type]
):Tree= {
// the main tree transformer that replaces calls to InputWrapper.wrap(x) with// plain Idents that reference the actual input valueobjectappTransformerextendsTransformer {