scala.reflect.runtime.JavaUniverse

TreeCopier

type TreeCopier = InternalTreeCopierOps

The type of standard (lazy) tree copiers.

Definition Classes
JavaUniverse → Trees → Trees
Source
JavaUniverse.scala
Linear Supertypes
JavaUniverse.TreeCopierOps, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TreeCopier
  2. TreeCopierOps
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def Alternative(tree: api.Universe.Tree, trees: List[api.Universe.Tree]): api.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.

    Definition Classes
    TreeCopierOps
  2. abstract def Annotated(tree: api.Universe.Tree, annot: api.Universe.Tree, arg: api.Universe.Tree): api.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.

    Definition Classes
    TreeCopierOps
  3. abstract def AppliedTypeTree(tree: api.Universe.Tree, tpt: api.Universe.Tree, args: List[api.Universe.Tree]): api.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.

    Definition Classes
    TreeCopierOps
  4. abstract def Apply(tree: api.Universe.Tree, fun: api.Universe.Tree, args: List[api.Universe.Tree]): api.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.

    Definition Classes
    TreeCopierOps
  5. abstract def ApplyDynamic(tree: internal.SymbolTable.Tree, qual: internal.SymbolTable.Tree, args: List[internal.SymbolTable.Tree]): internal.SymbolTable.ApplyDynamic

    Definition Classes
    InternalTreeCopierOps
  6. abstract def ArrayValue(tree: internal.SymbolTable.Tree, elemtpt: internal.SymbolTable.Tree, trees: List[internal.SymbolTable.Tree]): internal.SymbolTable.ArrayValue

    Definition Classes
    InternalTreeCopierOps
  7. abstract def Assign(tree: api.Universe.Tree, lhs: api.Universe.Tree, rhs: api.Universe.Tree): api.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.

    Definition Classes
    TreeCopierOps
  8. abstract def AssignOrNamedArg(tree: api.Universe.Tree, lhs: api.Universe.Tree, rhs: api.Universe.Tree): api.Universe.AssignOrNamedArg

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

    Creates a AssignOrNamedArg 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.

    Definition Classes
    TreeCopierOps
  9. abstract def Bind(tree: api.Universe.Tree, name: api.Universe.Name, body: api.Universe.Tree): api.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.

    Definition Classes
    TreeCopierOps
  10. abstract def Block(tree: api.Universe.Tree, stats: List[api.Universe.Tree], expr: api.Universe.Tree): api.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.

    Definition Classes
    TreeCopierOps
  11. abstract def CaseDef(tree: api.Universe.Tree, pat: api.Universe.Tree, guard: api.Universe.Tree, body: api.Universe.Tree): api.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.

    Definition Classes
    TreeCopierOps
  12. abstract def ClassDef(tree: api.Universe.Tree, mods: api.Universe.Modifiers, name: api.Universe.Name, tparams: List[api.Universe.TypeDef], impl: api.Universe.Template): api.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.

    Definition Classes
    TreeCopierOps
  13. abstract def CompoundTypeTree(tree: api.Universe.Tree, templ: api.Universe.Template): api.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.

    Definition Classes
    TreeCopierOps
  14. abstract def DefDef(tree: api.Universe.Tree, mods: api.Universe.Modifiers, name: api.Universe.Name, tparams: List[api.Universe.TypeDef], vparamss: List[List[api.Universe.ValDef]], tpt: api.Universe.Tree, rhs: api.Universe.Tree): api.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.

    Definition Classes
    TreeCopierOps
  15. abstract def ExistentialTypeTree(tree: api.Universe.Tree, tpt: api.Universe.Tree, whereClauses: List[api.Universe.Tree]): api.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.

    Definition Classes
    TreeCopierOps
  16. abstract def Function(tree: api.Universe.Tree, vparams: List[api.Universe.ValDef], body: api.Universe.Tree): api.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.

    Definition Classes
    TreeCopierOps
  17. abstract def Ident(tree: api.Universe.Tree, name: api.Universe.Name): api.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.

    Definition Classes
    TreeCopierOps
  18. abstract def If(tree: api.Universe.Tree, cond: api.Universe.Tree, thenp: api.Universe.Tree, elsep: api.Universe.Tree): api.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.

    Definition Classes
    TreeCopierOps
  19. abstract def Import(tree: api.Universe.Tree, expr: api.Universe.Tree, selectors: List[api.Universe.ImportSelector]): api.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.

    Definition Classes
    TreeCopierOps
  20. abstract def LabelDef(tree: api.Universe.Tree, name: api.Universe.Name, params: List[api.Universe.Ident], rhs: api.Universe.Tree): api.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.

    Definition Classes
    TreeCopierOps
  21. abstract def Literal(tree: api.Universe.Tree, value: api.Universe.Constant): api.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.

    Definition Classes
    TreeCopierOps
  22. abstract def Match(tree: api.Universe.Tree, selector: api.Universe.Tree, cases: List[api.Universe.CaseDef]): api.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.

    Definition Classes
    TreeCopierOps
  23. abstract def ModuleDef(tree: api.Universe.Tree, mods: api.Universe.Modifiers, name: api.Universe.Name, impl: api.Universe.Template): api.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.

    Definition Classes
    TreeCopierOps
  24. abstract def New(tree: api.Universe.Tree, tpt: api.Universe.Tree): api.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.

    Definition Classes
    TreeCopierOps
  25. abstract def PackageDef(tree: api.Universe.Tree, pid: api.Universe.RefTree, stats: List[api.Universe.Tree]): api.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.

    Definition Classes
    TreeCopierOps
  26. abstract def ReferenceToBoxed(tree: api.Universe.Tree, idt: api.Universe.Ident): api.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.

    Definition Classes
    TreeCopierOps
  27. abstract def Return(tree: api.Universe.Tree, expr: api.Universe.Tree): api.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.

    Definition Classes
    TreeCopierOps
  28. abstract def Select(tree: api.Universe.Tree, qualifier: api.Universe.Tree, selector: api.Universe.Name): api.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.

    Definition Classes
    TreeCopierOps
  29. abstract def SelectFromTypeTree(tree: api.Universe.Tree, qualifier: api.Universe.Tree, selector: api.Universe.Name): api.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.

    Definition Classes
    TreeCopierOps
  30. abstract def SingletonTypeTree(tree: api.Universe.Tree, ref: api.Universe.Tree): api.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.

    Definition Classes
    TreeCopierOps
  31. abstract def Star(tree: api.Universe.Tree, elem: api.Universe.Tree): api.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.

    Definition Classes
    TreeCopierOps
  32. abstract def Super(tree: api.Universe.Tree, qual: api.Universe.Tree, mix: api.Universe.TypeName): api.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.

    Definition Classes
    TreeCopierOps
  33. abstract def Template(tree: api.Universe.Tree, parents: List[api.Universe.Tree], self: api.Universe.ValDef, body: List[api.Universe.Tree]): api.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.

    Definition Classes
    TreeCopierOps
  34. abstract def This(tree: api.Universe.Tree, qual: api.Universe.Name): api.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.

    Definition Classes
    TreeCopierOps
  35. abstract def Throw(tree: api.Universe.Tree, expr: api.Universe.Tree): api.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.

    Definition Classes
    TreeCopierOps
  36. abstract def Try(tree: api.Universe.Tree, block: api.Universe.Tree, catches: List[api.Universe.CaseDef], finalizer: api.Universe.Tree): api.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.

    Definition Classes
    TreeCopierOps
  37. abstract def TypeApply(tree: api.Universe.Tree, fun: api.Universe.Tree, args: List[api.Universe.Tree]): api.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.

    Definition Classes
    TreeCopierOps
  38. abstract def TypeBoundsTree(tree: api.Universe.Tree, lo: api.Universe.Tree, hi: api.Universe.Tree): api.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.

    Definition Classes
    TreeCopierOps
  39. abstract def TypeDef(tree: api.Universe.Tree, mods: api.Universe.Modifiers, name: api.Universe.Name, tparams: List[api.Universe.TypeDef], rhs: api.Universe.Tree): api.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.

    Definition Classes
    TreeCopierOps
  40. abstract def TypeTree(tree: api.Universe.Tree): api.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.

    Definition Classes
    TreeCopierOps
  41. abstract def Typed(tree: api.Universe.Tree, expr: api.Universe.Tree, tpt: api.Universe.Tree): api.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.

    Definition Classes
    TreeCopierOps
  42. abstract def UnApply(tree: api.Universe.Tree, fun: api.Universe.Tree, args: List[api.Universe.Tree]): api.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.

    Definition Classes
    TreeCopierOps
  43. abstract def ValDef(tree: api.Universe.Tree, mods: api.Universe.Modifiers, name: api.Universe.Name, tpt: api.Universe.Tree, rhs: api.Universe.Tree): api.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.

    Definition Classes
    TreeCopierOps

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Test two objects for inequality.

    Test two objects for inequality.

    returns

    true if !(this == that), false otherwise.

    Definition Classes
    Any
  3. final def ##(): Int

    Equivalent to x.hashCode except for boxed numeric types and null.

    Equivalent to x.hashCode except for boxed numeric types and null. For numerics, it returns a hash value which is consistent with value equality: if two value type instances compare as true, then ## will produce the same hash value for each of them. For null returns a hashcode where null.hashCode throws a NullPointerException.

    returns

    a hash value consistent with ==

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Test two objects for equality.

    Test two objects for equality. The expression x == that is equivalent to if (x eq null) that eq null else x.equals(that).

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Cast the receiver object to be of type T0.

    Cast the receiver object to be of type T0.

    Note that the success of a cast at runtime is modulo Scala's erasure semantics. Therefore the expression 1.asInstanceOf[String] will throw a ClassCastException at runtime, while the expression List(1).asInstanceOf[List[String]] will not. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested type.

    returns

    the receiver object.

    Definition Classes
    Any
    Exceptions thrown
    ClassCastException

    if the receiver object is not an instance of the erasure of type T0.

  7. def clone(): AnyRef

    Create a copy of the receiver object.

    Create a copy of the receiver object.

    The default implementation of the clone method is platform dependent.

    returns

    a copy of the receiver object.

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
    Note

    not specified by SLS as a member of AnyRef

  8. final def eq(arg0: AnyRef): Boolean

    Tests whether the argument (arg0) is a reference to the receiver object (this).

    Tests whether the argument (arg0) is a reference to the receiver object (this).

    The eq method implements an equivalence relation on non-null instances of AnyRef, and has three additional properties:

    • It is consistent: for any non-null instances x and y of type AnyRef, multiple invocations of x.eq(y) consistently returns true or consistently returns false.
    • For any non-null instance x of type AnyRef, x.eq(null) and null.eq(x) returns false.
    • null.eq(null) returns true.

    When overriding the equals or hashCode methods, it is important to ensure that their behavior is consistent with reference equality. Therefore, if two objects are references to each other (o1 eq o2), they should be equal to each other (o1 == o2) and they should hash to the same value (o1.hashCode == o2.hashCode).

    returns

    true if the argument is a reference to the receiver object; false otherwise.

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    The equality method for reference types.

    The equality method for reference types. Default implementation delegates to eq.

    See also equals in scala.Any.

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Called by the garbage collector on the receiver object when there are no more references to the object.

    Called by the garbage collector on the receiver object when there are no more references to the object.

    The details of when and if the finalize method is invoked, as well as the interaction between finalize and non-local returns and exceptions, are all platform dependent.

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
    Note

    not specified by SLS as a member of AnyRef

  11. final def getClass(): Class[_]

    A representation that corresponds to the dynamic class of the receiver object.

    A representation that corresponds to the dynamic class of the receiver object.

    The nature of the representation is platform dependent.

    returns

    a representation that corresponds to the dynamic class of the receiver object.

    Definition Classes
    AnyRef → Any
    Note

    not specified by SLS as a member of AnyRef

  12. def hashCode(): Int

    The hashCode method for reference types.

    The hashCode method for reference types. See hashCode in scala.Any.

    returns

    the hash code value for this object.

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Test whether the dynamic type of the receiver object is T0.

    Test whether the dynamic type of the receiver object is T0.

    Note that the result of the test is modulo Scala's erasure semantics. Therefore the expression 1.isInstanceOf[String] will return false, while the expression List(1).isInstanceOf[List[String]] will return true. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the specified type.

    returns

    true if the receiver object is an instance of erasure of type T0; false otherwise.

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Equivalent to !(this eq that).

    Equivalent to !(this eq that).

    returns

    true if the argument is not a reference to the receiver object; false otherwise.

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Wakes up a single thread that is waiting on the receiver object's monitor.

    Wakes up a single thread that is waiting on the receiver object's monitor.

    Definition Classes
    AnyRef
    Note

    not specified by SLS as a member of AnyRef

  16. final def notifyAll(): Unit

    Wakes up all threads that are waiting on the receiver object's monitor.

    Wakes up all threads that are waiting on the receiver object's monitor.

    Definition Classes
    AnyRef
    Note

    not specified by SLS as a member of AnyRef

  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  18. def toString(): String

    Creates a String representation of this object.

    Creates a String representation of this object. The default representation is platform dependent. On the java platform it is the concatenation of the class name, "@", and the object's hashcode in hexadecimal.

    returns

    a String representation of the object.

    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from JavaUniverse.TreeCopierOps

Inherited from AnyRef

Inherited from Any

Ungrouped