Scala Compiler2.12.21 < Back
 

# Packages

-  package root

  The Scala compiler and reflection APIs.

  The Scala compiler and reflection APIs.

  Definition Classes
    root
-  package scala
  Definition Classes
    root
-  package tools
  Definition Classes
    scala
-  package nsc
  Definition Classes
    tools
-  package ast
  Definition Classes
    nsc
-  trait Trees extends reflect.internal.Trees
  Definition Classes
    ast
- Alternative
- Alternative
- AlternativeApi
- AlternativeExtractor
- Annotated
- Annotated
- AnnotatedApi
- AnnotatedExtractor
- AppliedTypeTree
- AppliedTypeTree
- AppliedTypeTreeApi
- AppliedTypeTreeExtractor
- Apply
- Apply
- ApplyApi
- ApplyDynamic
- ApplyExtractor
- ApplyImplicitView
- ApplyToImplicitArgs
- ArrayValue
- Assign
- Assign
- AssignApi
- AssignExtractor
- AssignOrNamedArg
- AssignOrNamedArg
- AssignOrNamedArgApi
- AssignOrNamedArgExtractor
- Bind
- Bind
- BindApi
- BindExtractor
- Block
- Block
- BlockApi
- BlockExtractor
- CannotHaveAttrs
- CaseDef
- CaseDef
- CaseDefApi
- CaseDefExtractor
- ChangeOwnerTraverser
- ClassDef
- ClassDef
- ClassDefApi
- ClassDefExtractor
- CollectTreeTraverser
- CompoundTypeTree
- CompoundTypeTree
- CompoundTypeTreeApi
- CompoundTypeTreeExtractor
- DefDef
- DefDef
- DefDefApi
- DefDefExtractor
- DefTree
- DefTreeApi
- DocDef
- EmptyTree
- ExistentialTypeTree
- ExistentialTypeTree
- ExistentialTypeTreeApi
- ExistentialTypeTreeExtractor
- FilterTreeTraverser
- FindTreeTraverser
- ForeachPartialTreeTraverser
- ForeachTreeTraverser
- Function
- Function
- FunctionApi
- FunctionExtractor
- GenericApply
- GenericApplyApi
- Ident
- Ident
- IdentApi
- IdentExtractor
- If
- If
- IfApi
- IfExtractor
- ImplDef
- ImplDefApi
- Import
- Import
- ImportApi
- ImportExtractor
- ImportSelector
- ImportSelector
- ImportSelectorApi
- ImportSelectorExtractor
- InjectDerivedValue
- InternalTreeCopierOps
- LabelDef
- LabelDef
- LabelDefApi
- LabelDefExtractor
- LazyTreeCopier
- Literal
- Literal
- LiteralApi
- LiteralExtractor
- Match
- Match
- MatchApi
- MatchExtractor
- MemberDef
- MemberDefApi
- MethodValue
- Modifiers
- Modifiers
- ModifiersApi
- ModifiersExtractor
- ModuleDef
- ModuleDef
- ModuleDefApi
- ModuleDefExtractor
- NameTree
- NameTreeApi
- New
- New
- NewApi
- NewExtractor
- PackageDef
- PackageDef
- PackageDefApi
- PackageDefExtractor
- Parens
- RefTree
- RefTree
- RefTreeApi
- RefTreeExtractor
- ReferenceToBoxed
- ReferenceToBoxed
- Return
- Return
- ReturnApi
- ReturnExtractor
- Select
- Select
- SelectApi
- SelectExtractor
- SelectFromArray
- SelectFromTypeTree
- SelectFromTypeTree
- SelectFromTypeTreeApi
- SelectFromTypeTreeExtractor
- SingletonTypeTree
- SingletonTypeTree
- SingletonTypeTreeApi
- SingletonTypeTreeExtractor
- Star
- Star
- StarApi
- StarExtractor
- StrictTreeCopier
- Super
- Super
- SuperApi
- SuperExtractor
- SymTree
- SymTreeApi
- Template
- Template
- TemplateApi
- TemplateExtractor
- TermTree
- TermTreeApi
- This
- This
- ThisApi
- ThisExtractor
- ThisSubstituter
- Throw
- Throw
- ThrowApi
- ThrowExtractor
- Transformer
- Traverser
- Tree
- TreeApi
- TreeContextApiImpl
- TreeCopier
- TreeCopierOps
- TreeReplacer
- TreeStackTraverser
- TreeSubstituter
- TreeSymSubstTraverser
- TreeSymSubstituter
- TreeTypeSubstituter
- Try
- Try
- TryApi
- TryExtractor
- TypTree
- TypTreeApi
- TypeApply
- TypeApply
- TypeApplyApi
- TypeApplyExtractor
- TypeBoundsTree
- TypeBoundsTree
- TypeBoundsTreeApi
- TypeBoundsTreeExtractor
- TypeDef
- TypeDef
- TypeDefApi
- TypeDefExtractor
- TypeMapTreeSubstituter
- TypeTree
- TypeTree
- TypeTreeApi
- TypeTreeExtractor
- TypeTreeWithDeferredRefCheck
- Typed
- Typed
- TypedApi
- TypedExtractor
- UnApply
- UnApply
- UnApplyApi
- UnApplyExtractor
- UnderConstructionTransformer
- ValDef
- ValDef
- ValDefApi
- ValDefExtractor
- ValOrDefDef
- ValOrDefDef
- ValOrDefDefApi
- duplicateAndResetPos
- noSelfType
- noopTransformer
- pendingSuperCall
- treeInfo

c

scala.tools.nsc.ast.Trees

# StrictTreeCopier 

###

#### class StrictTreeCopier extends Global.StrictTreeCopier with Global.TreeCopier

Source
  Trees.scala

Linear Supertypes
Global.TreeCopier, Global.StrictTreeCopier, Global.InternalTreeCopierOps, Global.TreeCopierOps, AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. StrictTreeCopier
2. TreeCopier
3. StrictTreeCopier
4. InternalTreeCopierOps
5. TreeCopierOps
6. AnyRef
7. Any

Implicitly

1. by any2stringadd
2. by StringFormat
3. by Ensuring
4. by ArrowAssoc

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1.  new StrictTreeCopier()

### 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 Global.StrictTreeCopier to any2stringadd[Global.StrictTreeCopier] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd
4.  def ->[B](y: B): (Global.StrictTreeCopier, B)
   Implicit
     This member is added by an implicit conversion from Global.StrictTreeCopier to ArrowAssoc[Global.StrictTreeCopier] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @inline()
5.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
6.  def Alternative(tree: Global.Tree, trees: List[Global.Tree]): Global.Alternative
   Definition Classes
     StrictTreeCopier → TreeCopierOps
7.  def Annotated(tree: Global.Tree, annot: Global.Tree, arg: Global.Tree): Global.Annotated
   Definition Classes
     StrictTreeCopier → TreeCopierOps
8.  def AppliedTypeTree(tree: Global.Tree, tpt: Global.Tree, args: List[Global.Tree]): Global.AppliedTypeTree
   Definition Classes
     StrictTreeCopier → TreeCopierOps
9.  def Apply(tree: Global.Tree, fun: Global.Tree, args: List[Global.Tree]): Global.Apply
   Definition Classes
     StrictTreeCopier → TreeCopierOps
10.  def ApplyDynamic(tree: Global.Tree, qual: Global.Tree, args: List[Global.Tree]): Global.ApplyDynamic
    Definition Classes
      StrictTreeCopier → InternalTreeCopierOps
11.  def ArrayValue(tree: Global.Tree, elemtpt: Global.Tree, trees: List[Global.Tree]): Global.ArrayValue
    Definition Classes
      StrictTreeCopier → InternalTreeCopierOps
12.  def Assign(tree: Global.Tree, lhs: Global.Tree, rhs: Global.Tree): Global.Assign
    Definition Classes
      StrictTreeCopier → TreeCopierOps
13.  def AssignOrNamedArg(tree: Global.Tree, lhs: Global.Tree, rhs: Global.Tree): Global.AssignOrNamedArg
    Definition Classes
      StrictTreeCopier → TreeCopierOps
14.  def Bind(tree: Global.Tree, name: Global.Name, body: Global.Tree): Global.Bind
    Definition Classes
      StrictTreeCopier → TreeCopierOps
15.  def Block(tree: Global.Tree, stats: List[Global.Tree], expr: Global.Tree): Global.Block
    Definition Classes
      StrictTreeCopier → TreeCopierOps
16.  def CaseDef(tree: Global.Tree, pat: Global.Tree, guard: Global.Tree, body: Global.Tree): Global.CaseDef
    Definition Classes
      StrictTreeCopier → TreeCopierOps
17.  def ClassDef(tree: Global.Tree, mods: Global.Modifiers, name: Global.Name, tparams: List[Global.TypeDef], impl: Global.Template): Global.ClassDef
    Definition Classes
      StrictTreeCopier → TreeCopierOps
18.  def CompoundTypeTree(tree: Global.Tree, templ: Global.Template): Global.CompoundTypeTree
    Definition Classes
      StrictTreeCopier → TreeCopierOps
19.  def DefDef(tree: Global.Tree, mods: Global.Modifiers, name: Global.Name, tparams: List[Global.TypeDef], vparamss: List[List[Global.ValDef]], tpt: Global.Tree, rhs: Global.Tree): Global.DefDef
    Definition Classes
      StrictTreeCopier → TreeCopierOps
20.  def DocDef(tree: Global.Tree, comment: Global.DocComment, definition: Global.Tree): Global.DocDef
    Definition Classes
      StrictTreeCopier → TreeCopier
21.  def ExistentialTypeTree(tree: Global.Tree, tpt: Global.Tree, whereClauses: List[Global.MemberDef]): Global.ExistentialTypeTree
    Definition Classes
      StrictTreeCopier → TreeCopierOps
22.  def Function(tree: Global.Tree, vparams: List[Global.ValDef], body: Global.Tree): Global.Function
    Definition Classes
      StrictTreeCopier → TreeCopierOps
23.  def Ident(tree: Global.Tree, name: Global.Name): Global.Ident
    Definition Classes
      StrictTreeCopier → TreeCopierOps
24.  def If(tree: Global.Tree, cond: Global.Tree, thenp: Global.Tree, elsep: Global.Tree): Global.If
    Definition Classes
      StrictTreeCopier → TreeCopierOps
25.  def Import(tree: Global.Tree, expr: Global.Tree, selectors: List[Global.ImportSelector]): Global.Import
    Definition Classes
      StrictTreeCopier → TreeCopierOps
26.  def InjectDerivedValue(tree: Global.Tree, arg: Global.Tree): Global.InjectDerivedValue
    Definition Classes
      StrictTreeCopier → TreeCopier
27.  def LabelDef(tree: Global.Tree, name: Global.Name, params: List[Global.Ident], rhs: Global.Tree): Global.LabelDef
    Definition Classes
      StrictTreeCopier → TreeCopierOps
28.  def Literal(tree: Global.Tree, value: Global.Constant): Global.Literal
    Definition Classes
      StrictTreeCopier → TreeCopierOps
29.  def Match(tree: Global.Tree, selector: Global.Tree, cases: List[Global.CaseDef]): Global.Match
    Definition Classes
      StrictTreeCopier → TreeCopierOps
30.  def ModuleDef(tree: Global.Tree, mods: Global.Modifiers, name: Global.Name, impl: Global.Template): Global.ModuleDef
    Definition Classes
      StrictTreeCopier → TreeCopierOps
31.  def New(tree: Global.Tree, tpt: Global.Tree): Global.New
    Definition Classes
      StrictTreeCopier → TreeCopierOps
32.  def PackageDef(tree: Global.Tree, pid: Global.RefTree, stats: List[Global.Tree]): Global.PackageDef
    Definition Classes
      StrictTreeCopier → TreeCopierOps
33.  def RefTree(tree: Global.Tree, qualifier: Global.Tree, selector: Global.Name): Global.RefTree
    Definition Classes
      StrictTreeCopier → TreeCopierOps
34.  def ReferenceToBoxed(tree: Global.Tree, idt: Global.Ident): Global.ReferenceToBoxed
    Definition Classes
      StrictTreeCopier → TreeCopierOps
35.  def Return(tree: Global.Tree, expr: Global.Tree): Global.Return
    Definition Classes
      StrictTreeCopier → TreeCopierOps
36.  def Select(tree: Global.Tree, qualifier: Global.Tree, selector: Global.Name): Global.Select
    Definition Classes
      StrictTreeCopier → TreeCopierOps
37.  def SelectFromArray(tree: Global.Tree, qualifier: Global.Tree, selector: Global.Name, erasure: Global.Type): Global.SelectFromArray
    Definition Classes
      StrictTreeCopier → TreeCopier
38.  def SelectFromTypeTree(tree: Global.Tree, qualifier: Global.Tree, selector: Global.Name): Global.SelectFromTypeTree
    Definition Classes
      StrictTreeCopier → TreeCopierOps
39.  def SingletonTypeTree(tree: Global.Tree, ref: Global.Tree): Global.SingletonTypeTree
    Definition Classes
      StrictTreeCopier → TreeCopierOps
40.  def Star(tree: Global.Tree, elem: Global.Tree): Global.Star
    Definition Classes
      StrictTreeCopier → TreeCopierOps
41.  def Super(tree: Global.Tree, qual: Global.Tree, mix: Global.TypeName): Global.Super
    Definition Classes
      StrictTreeCopier → TreeCopierOps
42.  def Template(tree: Global.Tree, parents: List[Global.Tree], self: Global.ValDef, body: List[Global.Tree]): Global.Template
    Definition Classes
      StrictTreeCopier → TreeCopierOps
43.  def This(tree: Global.Tree, qual: Global.Name): Global.This
    Definition Classes
      StrictTreeCopier → TreeCopierOps
44.  def Throw(tree: Global.Tree, expr: Global.Tree): Global.Throw
    Definition Classes
      StrictTreeCopier → TreeCopierOps
45.  def Try(tree: Global.Tree, block: Global.Tree, catches: List[Global.CaseDef], finalizer: Global.Tree): Global.Try
    Definition Classes
      StrictTreeCopier → TreeCopierOps
46.  def TypeApply(tree: Global.Tree, fun: Global.Tree, args: List[Global.Tree]): Global.TypeApply
    Definition Classes
      StrictTreeCopier → TreeCopierOps
47.  def TypeBoundsTree(tree: Global.Tree, lo: Global.Tree, hi: Global.Tree): Global.TypeBoundsTree
    Definition Classes
      StrictTreeCopier → TreeCopierOps
48.  def TypeDef(tree: Global.Tree, mods: Global.Modifiers, name: Global.Name, tparams: List[Global.TypeDef], rhs: Global.Tree): Global.TypeDef
    Definition Classes
      StrictTreeCopier → TreeCopierOps
49.  def TypeTree(tree: Global.Tree): Global.TypeTree
    Definition Classes
      StrictTreeCopier → TreeCopierOps
50.  def TypeTreeWithDeferredRefCheck(tree: Global.Tree): Global.TypeTreeWithDeferredRefCheck
    Definition Classes
      StrictTreeCopier → TreeCopier
51.  def Typed(tree: Global.Tree, expr: Global.Tree, tpt: Global.Tree): Global.Typed
    Definition Classes
      StrictTreeCopier → TreeCopierOps
52.  def UnApply(tree: Global.Tree, fun: Global.Tree, args: List[Global.Tree]): Global.UnApply
    Definition Classes
      StrictTreeCopier → TreeCopierOps
53.  def ValDef(tree: Global.Tree, mods: Global.Modifiers, name: Global.Name, tpt: Global.Tree, rhs: Global.Tree): Global.ValDef
    Definition Classes
      StrictTreeCopier → TreeCopierOps
54.  final def asInstanceOf[T0]: T0
    Definition Classes
      Any
55.  def clone(): AnyRef
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( ... ) @native()
56.  def ensuring(cond: (Global.StrictTreeCopier) ⇒ Boolean, msg: ⇒ Any): Global.StrictTreeCopier
    Implicit
      This member is added by an implicit conversion from Global.StrictTreeCopier to Ensuring[Global.StrictTreeCopier] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
57.  def ensuring(cond: (Global.StrictTreeCopier) ⇒ Boolean): Global.StrictTreeCopier
    Implicit
      This member is added by an implicit conversion from Global.StrictTreeCopier to Ensuring[Global.StrictTreeCopier] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
58.  def ensuring(cond: Boolean, msg: ⇒ Any): Global.StrictTreeCopier
    Implicit
      This member is added by an implicit conversion from Global.StrictTreeCopier to Ensuring[Global.StrictTreeCopier] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
59.  def ensuring(cond: Boolean): Global.StrictTreeCopier
    Implicit
      This member is added by an implicit conversion from Global.StrictTreeCopier to Ensuring[Global.StrictTreeCopier] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
60.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
61.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
62.  def finalize(): Unit
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
63.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
64.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
65.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
66.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
67.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
68.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
69.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
70.  def toString(): String
    Definition Classes
      AnyRef → Any
71.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
72.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
73.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... ) @native()
74.  def →[B](y: B): (Global.StrictTreeCopier, B)
    Implicit
      This member is added by an implicit conversion from Global.StrictTreeCopier to ArrowAssoc[Global.StrictTreeCopier] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
      ArrowAssoc

### Deprecated Value Members

1.  def formatted(fmtstr: String): String
   Implicit
     This member is added by an implicit conversion from Global.StrictTreeCopier to StringFormat[Global.StrictTreeCopier] performed by method StringFormat in scala.Predef.
   Definition Classes
     StringFormat
   Annotations
     @deprecated @inline()
   Deprecated

     (Since version 2.12.16) Use `formatString.format(value)` instead of `value.formatted(formatString)`, or use the `f""` string interpolator. In Java 15 and later, `formatted` resolves to the new method in String which has reversed parameters.

### Inherited from Global.TreeCopier

### Inherited from Global.StrictTreeCopier

### Inherited from Global.InternalTreeCopierOps

### Inherited from Global.TreeCopierOps

### Inherited from AnyRef

### Inherited from Any

### Inherited by implicit conversion any2stringadd from Global.StrictTreeCopier to any2stringadd[Global.StrictTreeCopier]

### Inherited by implicit conversion StringFormat from Global.StrictTreeCopier to StringFormat[Global.StrictTreeCopier]

### Inherited by implicit conversion Ensuring from Global.StrictTreeCopier to Ensuring[Global.StrictTreeCopier]

### Inherited by implicit conversion ArrowAssoc from Global.StrictTreeCopier to ArrowAssoc[Global.StrictTreeCopier]

### Ungrouped