W3cubDocs

/Scala 2.13 Reflection

Trait 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

Abstract Value Members

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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

Definition Classes
InternalTreeCopierOps

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

Definition Classes
InternalTreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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

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

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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

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.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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

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.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. Having a tree as a prototype means that the tree's attachments, type and symbol will be copied into the result.

Definition Classes
TreeCopierOps

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. 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

final def !=(arg0: Any): Boolean

Definition Classes
AnyRef → Any

final def ##(): Int

Definition Classes
AnyRef → Any

final def ==(arg0: Any): Boolean

Definition Classes
AnyRef → Any

final def asInstanceOf[T0]: T0

Definition Classes
Any

def clone(): AnyRef

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

final def eq(arg0: AnyRef): Boolean

Definition Classes
AnyRef

def equals(arg0: AnyRef): Boolean

Definition Classes
AnyRef → Any

def finalize(): Unit

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

final def getClass(): Class[_ <: AnyRef]

Definition Classes
AnyRef → Any
Annotations
@native()

def hashCode(): Int

Definition Classes
AnyRef → Any
Annotations
@native()

final def isInstanceOf[T0]: Boolean

Definition Classes
Any

final def ne(arg0: AnyRef): Boolean

Definition Classes
AnyRef

final def notify(): Unit

Definition Classes
AnyRef
Annotations
@native()

final def notifyAll(): Unit

Definition Classes
AnyRef
Annotations
@native()

final def synchronized[T0](arg0: => T0): T0

Definition Classes
AnyRef

def toString(): String

Definition Classes
AnyRef → Any

final def wait(): Unit

Definition Classes
AnyRef
Annotations
@throws(classOf[java.lang.InterruptedException])

final def wait(arg0: Long, arg1: Int): Unit

Definition Classes
AnyRef
Annotations
@throws(classOf[java.lang.InterruptedException])

final def wait(arg0: Long): Unit

Definition Classes
AnyRef
Annotations
@throws(classOf[java.lang.InterruptedException]) @native()

© 2002-2019 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://www.scala-lang.org/api/2.13.0/scala-reflect/scala/reflect/runtime/JavaUniverse$TreeCopier.html