Class 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

Instance Constructors

new TreeCopierOps()

Abstract Value Members

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

abstract def TypeTree(tree: Universe.Tree): 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.

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

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

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

Concrete Value Members

final def !=(arg0: Any): Boolean

Definition Classes
AnyRef → Any

final def ##(): Int

Definition Classes
AnyRef → Any

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

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()

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()

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

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

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

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

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])

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()

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/api/Trees$TreeCopierOps.html