Packages

c

scala.reflect.api.Trees

TreeCopierOps

abstract class TreeCopierOps extends AnyRef

The API of a tree copier.

Source
Trees.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
TreeCopier, TreeCopier
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TreeCopierOps
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TreeCopierOps()

Abstract Value Members

  1. abstract def Alternative(tree: Universe.Tree, trees: List[Universe.Tree]): Universe.Alternative

    Creates a Alternative node from the given components, having a given tree as a prototype.

    Creates a Alternative node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  2. abstract def Annotated(tree: Universe.Tree, annot: Universe.Tree, arg: Universe.Tree): Universe.Annotated

    Creates a Annotated node from the given components, having a given tree as a prototype.

    Creates a Annotated node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  3. abstract def AppliedTypeTree(tree: Universe.Tree, tpt: Universe.Tree, args: List[Universe.Tree]): Universe.AppliedTypeTree

    Creates a AppliedTypeTree node from the given components, having a given tree as a prototype.

    Creates a AppliedTypeTree node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  4. abstract def Apply(tree: Universe.Tree, fun: Universe.Tree, args: List[Universe.Tree]): Universe.Apply

    Creates a Apply node from the given components, having a given tree as a prototype.

    Creates a Apply node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  5. abstract def Assign(tree: Universe.Tree, lhs: Universe.Tree, rhs: Universe.Tree): Universe.Assign

    Creates a Assign node from the given components, having a given tree as a prototype.

    Creates a Assign node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  6. abstract def Bind(tree: Universe.Tree, name: Universe.Name, body: Universe.Tree): Universe.Bind

    Creates a Bind node from the given components, having a given tree as a prototype.

    Creates a Bind node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  7. abstract def Block(tree: Universe.Tree, stats: List[Universe.Tree], expr: Universe.Tree): Universe.Block

    Creates a Block node from the given components, having a given tree as a prototype.

    Creates a Block node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  8. abstract def CaseDef(tree: Universe.Tree, pat: Universe.Tree, guard: Universe.Tree, body: Universe.Tree): Universe.CaseDef

    Creates a CaseDef node from the given components, having a given tree as a prototype.

    Creates a CaseDef node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  9. abstract def ClassDef(tree: Universe.Tree, mods: Universe.Modifiers, name: Universe.Name, tparams: List[Universe.TypeDef], impl: Universe.Template): Universe.ClassDef

    Creates a ClassDef node from the given components, having a given tree as a prototype.

    Creates a ClassDef node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  10. abstract def CompoundTypeTree(tree: Universe.Tree, templ: Universe.Template): Universe.CompoundTypeTree

    Creates a CompoundTypeTree node from the given components, having a given tree as a prototype.

    Creates a CompoundTypeTree node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  11. abstract def DefDef(tree: Universe.Tree, mods: Universe.Modifiers, name: Universe.Name, tparams: List[Universe.TypeDef], vparamss: List[List[Universe.ValDef]], tpt: Universe.Tree, rhs: Universe.Tree): Universe.DefDef

    Creates a DefDef node from the given components, having a given tree as a prototype.

    Creates a DefDef node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  12. abstract def ExistentialTypeTree(tree: Universe.Tree, tpt: Universe.Tree, whereClauses: List[Universe.MemberDef]): Universe.ExistentialTypeTree

    Creates a ExistentialTypeTree node from the given components, having a given tree as a prototype.

    Creates a ExistentialTypeTree node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  13. abstract def Function(tree: Universe.Tree, vparams: List[Universe.ValDef], body: Universe.Tree): Universe.Function

    Creates a Function node from the given components, having a given tree as a prototype.

    Creates a Function node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  14. abstract def Ident(tree: Universe.Tree, name: Universe.Name): Universe.Ident

    Creates a Ident node from the given components, having a given tree as a prototype.

    Creates a Ident node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  15. abstract def If(tree: Universe.Tree, cond: Universe.Tree, thenp: Universe.Tree, elsep: Universe.Tree): Universe.If

    Creates a If node from the given components, having a given tree as a prototype.

    Creates a If node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  16. abstract def Import(tree: Universe.Tree, expr: Universe.Tree, selectors: List[Universe.ImportSelector]): Universe.Import

    Creates a Import node from the given components, having a given tree as a prototype.

    Creates a Import node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  17. abstract def LabelDef(tree: Universe.Tree, name: Universe.Name, params: List[Universe.Ident], rhs: Universe.Tree): Universe.LabelDef

    Creates a LabelDef node from the given components, having a given tree as a prototype.

    Creates a LabelDef node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  18. abstract def Literal(tree: Universe.Tree, value: Universe.Constant): Universe.Literal

    Creates a Literal node from the given components, having a given tree as a prototype.

    Creates a Literal node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  19. abstract def Match(tree: Universe.Tree, selector: Universe.Tree, cases: List[Universe.CaseDef]): Universe.Match

    Creates a Match node from the given components, having a given tree as a prototype.

    Creates a Match node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  20. abstract def ModuleDef(tree: Universe.Tree, mods: Universe.Modifiers, name: Universe.Name, impl: Universe.Template): Universe.ModuleDef

    Creates a ModuleDef node from the given components, having a given tree as a prototype.

    Creates a ModuleDef node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  21. abstract def NamedArg(tree: Universe.Tree, lhs: Universe.Tree, rhs: Universe.Tree): Universe.NamedArg

    Creates a NamedArg node from the given components, having a given tree as a prototype.

    Creates a NamedArg node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  22. abstract def New(tree: Universe.Tree, tpt: Universe.Tree): Universe.New

    Creates a New node from the given components, having a given tree as a prototype.

    Creates a New node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  23. abstract def PackageDef(tree: Universe.Tree, pid: Universe.RefTree, stats: List[Universe.Tree]): Universe.PackageDef

    Creates a PackageDef node from the given components, having a given tree as a prototype.

    Creates a PackageDef node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  24. abstract def RefTree(tree: Universe.Tree, qualifier: Universe.Tree, selector: Universe.Name): Universe.RefTree

    Creates a RefTree node from the given components, having a given tree as a prototype.

    Creates a RefTree node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  25. abstract def ReferenceToBoxed(tree: Universe.Tree, idt: Universe.Ident): Universe.ReferenceToBoxed

    Creates a ReferenceToBoxed node from the given components, having a given tree as a prototype.

    Creates a ReferenceToBoxed node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  26. abstract def Return(tree: Universe.Tree, expr: Universe.Tree): Universe.Return

    Creates a Return node from the given components, having a given tree as a prototype.

    Creates a Return node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  27. abstract def Select(tree: Universe.Tree, qualifier: Universe.Tree, selector: Universe.Name): Universe.Select

    Creates a Select node from the given components, having a given tree as a prototype.

    Creates a Select node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  28. abstract def SelectFromTypeTree(tree: Universe.Tree, qualifier: Universe.Tree, selector: Universe.Name): Universe.SelectFromTypeTree

    Creates a SelectFromTypeTree node from the given components, having a given tree as a prototype.

    Creates a SelectFromTypeTree node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  29. abstract def SingletonTypeTree(tree: Universe.Tree, ref: Universe.Tree): Universe.SingletonTypeTree

    Creates a SingletonTypeTree node from the given components, having a given tree as a prototype.

    Creates a SingletonTypeTree node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  30. abstract def Star(tree: Universe.Tree, elem: Universe.Tree): Universe.Star

    Creates a Star node from the given components, having a given tree as a prototype.

    Creates a Star node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  31. abstract def Super(tree: Universe.Tree, qual: Universe.Tree, mix: Universe.TypeName): Universe.Super

    Creates a Super node from the given components, having a given tree as a prototype.

    Creates a Super node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  32. abstract def Template(tree: Universe.Tree, parents: List[Universe.Tree], self: Universe.ValDef, body: List[Universe.Tree]): Universe.Template

    Creates a Template node from the given components, having a given tree as a prototype.

    Creates a Template node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  33. abstract def This(tree: Universe.Tree, qual: Universe.Name): Universe.This

    Creates a This node from the given components, having a given tree as a prototype.

    Creates a This node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  34. abstract def Throw(tree: Universe.Tree, expr: Universe.Tree): Universe.Throw

    Creates a Throw node from the given components, having a given tree as a prototype.

    Creates a Throw node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  35. abstract def Try(tree: Universe.Tree, block: Universe.Tree, catches: List[Universe.CaseDef], finalizer: Universe.Tree): Universe.Try

    Creates a Try node from the given components, having a given tree as a prototype.

    Creates a Try node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  36. abstract def TypeApply(tree: Universe.Tree, fun: Universe.Tree, args: List[Universe.Tree]): Universe.TypeApply

    Creates a TypeApply node from the given components, having a given tree as a prototype.

    Creates a TypeApply node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  37. abstract def TypeBoundsTree(tree: Universe.Tree, lo: Universe.Tree, hi: Universe.Tree): Universe.TypeBoundsTree

    Creates a TypeBoundsTree node from the given components, having a given tree as a prototype.

    Creates a TypeBoundsTree node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  38. abstract def TypeDef(tree: Universe.Tree, mods: Universe.Modifiers, name: Universe.Name, tparams: List[Universe.TypeDef], rhs: Universe.Tree): Universe.TypeDef

    Creates a TypeDef node from the given components, having a given tree as a prototype.

    Creates a TypeDef node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  39. abstract def TypeTree(tree: Universe.Tree): Universe.TypeTree

    Creates a TypeTree node from the given components, having a given tree as a prototype.

    Creates a TypeTree node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  40. abstract def Typed(tree: Universe.Tree, expr: Universe.Tree, tpt: Universe.Tree): Universe.Typed

    Creates a Typed node from the given components, having a given tree as a prototype.

    Creates a Typed node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  41. abstract def UnApply(tree: Universe.Tree, fun: Universe.Tree, args: List[Universe.Tree]): Universe.UnApply

    Creates a UnApply node from the given components, having a given tree as a prototype.

    Creates a UnApply node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

  42. abstract def ValDef(tree: Universe.Tree, mods: Universe.Modifiers, name: Universe.Name, tpt: Universe.Tree, rhs: Universe.Tree): Universe.ValDef

    Creates a ValDef node from the given components, having a given tree as a prototype.

    Creates a ValDef node from the given components, having a given tree as a prototype. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Universe.TreeCopierOps toany2stringadd[Universe.TreeCopierOps] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Universe.TreeCopierOps, B)
    Implicit
    This member is added by an implicit conversion from Universe.TreeCopierOps toArrowAssoc[Universe.TreeCopierOps] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. def ensuring(cond: (Universe.TreeCopierOps) => Boolean, msg: => Any): Universe.TreeCopierOps
    Implicit
    This member is added by an implicit conversion from Universe.TreeCopierOps toEnsuring[Universe.TreeCopierOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (Universe.TreeCopierOps) => Boolean): Universe.TreeCopierOps
    Implicit
    This member is added by an implicit conversion from Universe.TreeCopierOps toEnsuring[Universe.TreeCopierOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: => Any): Universe.TreeCopierOps
    Implicit
    This member is added by an implicit conversion from Universe.TreeCopierOps toEnsuring[Universe.TreeCopierOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): Universe.TreeCopierOps
    Implicit
    This member is added by an implicit conversion from Universe.TreeCopierOps toEnsuring[Universe.TreeCopierOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Universe.TreeCopierOps toStringFormat[Universe.TreeCopierOps] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def [B](y: B): (Universe.TreeCopierOps, B)
    Implicit
    This member is added by an implicit conversion from Universe.TreeCopierOps toArrowAssoc[Universe.TreeCopierOps] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromUniverse.TreeCopierOps to any2stringadd[Universe.TreeCopierOps]

Inherited by implicit conversion StringFormat fromUniverse.TreeCopierOps to StringFormat[Universe.TreeCopierOps]

Inherited by implicit conversion Ensuring fromUniverse.TreeCopierOps to Ensuring[Universe.TreeCopierOps]

Inherited by implicit conversion ArrowAssoc fromUniverse.TreeCopierOps to ArrowAssoc[Universe.TreeCopierOps]

Ungrouped