UntypedTreeCopier

dotty.tools.dotc.ast.untpd.UntypedTreeCopier

Attributes

Graph
Supertypes
class TreeCopier
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def CapturesAndResult(tree: Tree)(refs: List[Tree], parent: Tree)(using Context): Tree
def ContextBoundTypeTree(tree: Tree)(tycon: Tree, paramName: TypeName, ownName: TermName)(using Context): Tree
def ContextBounds(tree: Tree)(bounds: TypeBoundsTree, cxBounds: List[Tree])(using Context): TypTree
def ExtMethods(tree: Tree)(paramss: List[ParamClause], methods: List[Tree])(using Context): Tree
def ForDo(tree: Tree)(enums: List[Tree], body: Tree)(using Context): TermTree
def ForYield(tree: Tree)(enums: List[Tree], expr: Tree)(using Context): TermTree
def Function(tree: Tree)(args: List[Tree], body: Tree)(using Context): Tree
def GenAlias(tree: Tree)(pat: Tree, expr: Tree)(using Context): Tree
def GenFrom(tree: Tree)(pat: Tree, expr: Tree, checkMode: GenCheckMode)(using Context): Tree
def ImportSelector(tree: Tree)(imported: Ident, renamed: Tree, bound: Tree)(using Context): Tree
def InfixOp(tree: Tree)(left: Tree, op: Ident, right: Tree)(using Context): Tree
def InterpolatedString(tree: Tree)(id: TermName, segments: List[Tree])(using Context): TermTree
def MacroTree(tree: Tree)(expr: Tree)(using Context): Tree
def ModuleDef(tree: Tree)(name: TermName, impl: Template)(using Context): ModuleDef
def Number(tree: Tree)(digits: String, kind: NumberKind)(using Context): Tree
def Parens(tree: Tree)(t: Tree)(using Context): ProxyTree
def ParsedTry(tree: Tree)(expr: Tree, handler: Tree, finalizer: Tree)(using Context): TermTree
def PatDef(tree: Tree)(mods: Modifiers, pats: List[Tree], tpt: Tree, rhs: Tree)(using Context): Tree
def PolyFunction(tree: Tree)(targs: List[Tree], body: Tree)(using Context): Tree
def PostfixOp(tree: Tree)(od: Tree, op: Ident)(using Context): Tree
def PrefixOp(tree: Tree)(op: Ident, od: Tree)(using Context): Tree
def SymbolLit(tree: Tree)(str: String)(using Context): TermTree
def Throw(tree: Tree)(expr: Tree)(using Context): TermTree
def Tuple(tree: Tree)(trees: List[Tree])(using Context): Tree
def TypedSplice(tree: Tree)(splice: Tree)(using Context): ProxyTree
def postProcess(tree: Tree, copied: Tree): copied.ThisTree[Untyped]
def postProcess(tree: Tree, copied: MemberDef): copied.ThisTree[Untyped]

Inherited methods

def Alternative(tree: Instance.this.Tree)(trees: List[Instance.this.Tree])(using Context): Instance.this.Alternative

Attributes

Inherited from:
TreeCopier
def Annotated(tree: Instance.this.Tree)(arg: Instance.this.Tree, annot: Instance.this.Tree)(using Context): Instance.this.Annotated

Attributes

Inherited from:
TreeCopier
def AppliedTypeTree(tree: Instance.this.Tree)(tpt: Instance.this.Tree, args: List[Instance.this.Tree])(using Context): Instance.this.AppliedTypeTree

Attributes

Inherited from:
TreeCopier
def Apply(tree: Instance.this.Tree)(fun: Instance.this.Tree, args: List[Instance.this.Tree])(using Context): Instance.this.Apply

Attributes

Inherited from:
TreeCopier
def Assign(tree: Instance.this.Tree)(lhs: Instance.this.Tree, rhs: Instance.this.Tree)(using Context): Instance.this.Assign

Attributes

Inherited from:
TreeCopier
def Bind(tree: Instance.this.Tree)(name: Name, body: Instance.this.Tree)(using Context): Instance.this.Bind

Attributes

Inherited from:
TreeCopier
def Block(tree: Instance.this.Tree)(stats: List[Instance.this.Tree], expr: Instance.this.Tree)(using Context): Instance.this.Block

Attributes

Inherited from:
TreeCopier
def ByNameTypeTree(tree: Instance.this.Tree)(result: Instance.this.Tree)(using Context): Instance.this.ByNameTypeTree

Attributes

Inherited from:
TreeCopier
def CaseDef(tree: Instance.this.CaseDef)(pat: Instance.this.Tree = ..., guard: Instance.this.Tree = ..., body: Instance.this.Tree = ...)(using Context): Instance.this.CaseDef

Attributes

Inherited from:
TreeCopier
def CaseDef(tree: Instance.this.Tree)(pat: Instance.this.Tree, guard: Instance.this.Tree, body: Instance.this.Tree)(using Context): Instance.this.CaseDef

Attributes

Inherited from:
TreeCopier
def Closure(tree: Instance.this.Closure)(env: List[Instance.this.Tree] = ..., meth: Instance.this.Tree = ..., tpt: Instance.this.Tree = ...)(using Context): Instance.this.Closure

Attributes

Inherited from:
TreeCopier
def Closure(tree: Instance.this.Tree)(env: List[Instance.this.Tree], meth: Instance.this.Tree, tpt: Instance.this.Tree)(using Context): Instance.this.Closure

Attributes

Inherited from:
TreeCopier
def DefDef(tree: Instance.this.DefDef)(name: TermName = ..., paramss: List[Instance.this.ParamClause] = ..., tpt: Instance.this.Tree = ..., rhs: Instance.this.LazyTree = ...)(using Context): Instance.this.DefDef

Attributes

Inherited from:
TreeCopier
def DefDef(tree: Instance.this.Tree)(name: TermName, paramss: List[Instance.this.ParamClause], tpt: Instance.this.Tree, rhs: Instance.this.LazyTree)(using Context): Instance.this.DefDef

Attributes

Inherited from:
TreeCopier
def Export(tree: Instance.this.Tree)(expr: Instance.this.Tree, selectors: List[ImportSelector])(using Context): Instance.this.Export

Attributes

Inherited from:
TreeCopier
def Hole(tree: Instance.this.Hole)(isTerm: Boolean = ..., idx: Int = ..., args: List[Instance.this.Tree] = ..., content: Instance.this.Tree = ...)(using Context): Instance.this.Hole

Attributes

Inherited from:
TreeCopier
def Hole(tree: Instance.this.Tree)(isTerm: Boolean, idx: Int, args: List[Instance.this.Tree], content: Instance.this.Tree)(using Context): Instance.this.Hole

Attributes

Inherited from:
TreeCopier
def Ident(tree: Instance.this.Tree)(name: Name)(using Context): Instance.this.Ident

Attributes

Inherited from:
TreeCopier
def If(tree: Instance.this.If)(cond: Instance.this.Tree = ..., thenp: Instance.this.Tree = ..., elsep: Instance.this.Tree = ...)(using Context): Instance.this.If

Attributes

Inherited from:
TreeCopier
def If(tree: Instance.this.Tree)(cond: Instance.this.Tree, thenp: Instance.this.Tree, elsep: Instance.this.Tree)(using Context): Instance.this.If

Attributes

Inherited from:
TreeCopier
def Import(tree: Instance.this.Tree)(expr: Instance.this.Tree, selectors: List[ImportSelector])(using Context): Instance.this.Import

Attributes

Inherited from:
TreeCopier
def Inlined(tree: Instance.this.Inlined)(call: Tree, bindings: List[Instance.this.MemberDef], expansion: Instance.this.Tree)(using Context): Instance.this.Inlined

Attributes

Inherited from:
TreeCopier
def Labeled(tree: Instance.this.Tree)(bind: Instance.this.Bind, expr: Instance.this.Tree)(using Context): Instance.this.Labeled

Attributes

Inherited from:
TreeCopier
def LambdaTypeTree(tree: Instance.this.Tree)(tparams: List[Instance.this.TypeDef], body: Instance.this.Tree)(using Context): Instance.this.LambdaTypeTree

Attributes

Inherited from:
TreeCopier
def Literal(tree: Instance.this.Tree)(const: Constant)(using Context): Instance.this.Literal

Attributes

Inherited from:
TreeCopier
def Match(tree: Instance.this.Tree)(selector: Instance.this.Tree, cases: List[Instance.this.CaseDef])(using Context): Instance.this.Match

Attributes

Inherited from:
TreeCopier
def MatchTypeTree(tree: Instance.this.Tree)(bound: Instance.this.Tree, selector: Instance.this.Tree, cases: List[Instance.this.CaseDef])(using Context): Instance.this.MatchTypeTree

Attributes

Inherited from:
TreeCopier
def NamedArg(tree: Instance.this.Tree)(name: Name, arg: Instance.this.Tree)(using Context): Instance.this.NamedArg

Attributes

Inherited from:
TreeCopier
def New(tree: Instance.this.Tree)(tpt: Instance.this.Tree)(using Context): Instance.this.New

Attributes

Inherited from:
TreeCopier
def PackageDef(tree: Instance.this.Tree)(pid: Instance.this.RefTree, stats: List[Instance.this.Tree])(using Context): Instance.this.PackageDef

Attributes

Inherited from:
TreeCopier
def Quote(tree: Instance.this.Tree)(body: Instance.this.Tree, tags: List[Instance.this.Tree])(using Context): Instance.this.Quote

Attributes

Inherited from:
TreeCopier
def QuotePattern(tree: Instance.this.Tree)(bindings: List[Instance.this.Tree], body: Instance.this.Tree, quotes: Instance.this.Tree)(using Context): Instance.this.QuotePattern

Attributes

Inherited from:
TreeCopier
def Ref(tree: Instance.this.RefTree)(name: Name)(using Context): Instance.this.RefTree

Copy Ident or Select trees

Copy Ident or Select trees

Attributes

Inherited from:
TreeCopier
def RefinedTypeTree(tree: Instance.this.Tree)(tpt: Instance.this.Tree, refinements: List[Instance.this.Tree])(using Context): Instance.this.RefinedTypeTree

Attributes

Inherited from:
TreeCopier
def Return(tree: Instance.this.Tree)(expr: Instance.this.Tree, from: Instance.this.Tree)(using Context): Instance.this.Return

Attributes

Inherited from:
TreeCopier
def Select(tree: Instance.this.Tree)(qualifier: Instance.this.Tree, name: Name)(using Context): Instance.this.Select

Attributes

Inherited from:
TreeCopier
def SeqLiteral(tree: Instance.this.Tree)(elems: List[Instance.this.Tree], elemtpt: Instance.this.Tree)(using Context): Instance.this.SeqLiteral

Attributes

Inherited from:
TreeCopier
def SingletonTypeTree(tree: Instance.this.Tree)(ref: Instance.this.Tree)(using Context): Instance.this.SingletonTypeTree

Attributes

Inherited from:
TreeCopier
def Splice(tree: Instance.this.Tree)(expr: Instance.this.Tree)(using Context): Instance.this.Splice

Attributes

Inherited from:
TreeCopier
def SplicePattern(tree: Instance.this.Tree)(body: Instance.this.Tree, typeargs: List[Instance.this.Tree], args: List[Instance.this.Tree])(using Context): Instance.this.SplicePattern

Attributes

Inherited from:
TreeCopier
def Super(tree: Instance.this.Tree)(qual: Instance.this.Tree, mix: Ident)(using Context): Instance.this.Super

Attributes

Inherited from:
TreeCopier
def Template(tree: Instance.this.Template)(using Context)(constr: Instance.this.DefDef = ..., parents: List[Instance.this.Tree] = ..., derived: List[Tree] = ..., self: Instance.this.ValDef = ..., body: Instance.this.LazyTreeList = ...): Instance.this.Template

Attributes

Inherited from:
TreeCopier
def Template(tree: Instance.this.Tree)(constr: Instance.this.DefDef, parents: List[Instance.this.Tree], derived: List[Tree], self: Instance.this.ValDef, body: Instance.this.LazyTreeList)(using Context): Instance.this.Template

Attributes

Inherited from:
TreeCopier
def TermLambdaTypeTree(tree: Instance.this.Tree)(params: List[Instance.this.ValDef], body: Instance.this.Tree)(using Context): Instance.this.TermLambdaTypeTree

Attributes

Inherited from:
TreeCopier
def Thicket(tree: Instance.this.Tree)(trees: List[Instance.this.Tree])(using Context): Instance.this.Thicket

Attributes

Inherited from:
TreeCopier
def This(tree: Instance.this.Tree)(qual: Ident)(using Context): Instance.this.This

Attributes

Inherited from:
TreeCopier
def Try(tree: Instance.this.Try)(expr: Instance.this.Tree = ..., cases: List[Instance.this.CaseDef] = ..., finalizer: Instance.this.Tree = ...)(using Context): Instance.this.Try

Attributes

Inherited from:
TreeCopier
def Try(tree: Instance.this.Tree)(expr: Instance.this.Tree, cases: List[Instance.this.CaseDef], finalizer: Instance.this.Tree)(using Context): Instance.this.Try

Attributes

Inherited from:
TreeCopier
def TypeApply(tree: Instance.this.Tree)(fun: Instance.this.Tree, args: List[Instance.this.Tree])(using Context): Instance.this.TypeApply

Attributes

Inherited from:
TreeCopier
def TypeBoundsTree(tree: Instance.this.Tree)(lo: Instance.this.Tree, hi: Instance.this.Tree, alias: Instance.this.Tree)(using Context): Instance.this.TypeBoundsTree

Attributes

Inherited from:
TreeCopier
def TypeDef(tree: Instance.this.TypeDef)(name: TypeName = ..., rhs: Instance.this.Tree = ...)(using Context): Instance.this.TypeDef

Attributes

Inherited from:
TreeCopier
def TypeDef(tree: Instance.this.Tree)(name: TypeName, rhs: Instance.this.Tree)(using Context): Instance.this.TypeDef

Attributes

Inherited from:
TreeCopier
def Typed(tree: Instance.this.Tree)(expr: Instance.this.Tree, tpt: Instance.this.Tree)(using Context): Instance.this.Typed

Attributes

Inherited from:
TreeCopier
def UnApply(tree: Instance.this.UnApply)(fun: Instance.this.Tree = ..., implicits: List[Instance.this.Tree] = ..., patterns: List[Instance.this.Tree] = ...)(using Context): Instance.this.UnApply

Attributes

Inherited from:
TreeCopier
def UnApply(tree: Instance.this.Tree)(fun: Instance.this.Tree, implicits: List[Instance.this.Tree], patterns: List[Instance.this.Tree])(using Context): Instance.this.UnApply

Attributes

Inherited from:
TreeCopier
def ValDef(tree: Instance.this.ValDef)(name: TermName = ..., tpt: Instance.this.Tree = ..., rhs: Instance.this.LazyTree = ...)(using Context): Instance.this.ValDef

Attributes

Inherited from:
TreeCopier
def ValDef(tree: Instance.this.Tree)(name: TermName, tpt: Instance.this.Tree, rhs: Instance.this.LazyTree)(using Context): Instance.this.ValDef

Attributes

Inherited from:
TreeCopier
def WhileDo(tree: Instance.this.Tree)(cond: Instance.this.Tree, body: Instance.this.Tree)(using Context): Instance.this.WhileDo

Attributes

Inherited from:
TreeCopier
protected def finalize(tree: Instance.this.Tree, copied: MemberDef): copied.ThisTree[Instance.this.T]

Attributes

Inherited from:
TreeCopier
protected def finalize(tree: Instance.this.Tree, copied: Tree): copied.ThisTree[Instance.this.T]

Attributes

Inherited from:
TreeCopier
protected def sourceFile(tree: Instance.this.Tree): SourceFile

Soucre of the copied tree

Soucre of the copied tree

Attributes

Inherited from:
TreeCopier