Packages

c

scala.tools.nsc.ast.Trees

InjectDerivedValue

case class InjectDerivedValue(arg: Global.Tree) extends Global.SymTree with Global.TermTree with Product with Serializable

Derived value class injection (equivalent to: new C(arg) after erasure); only used during erasure. The class C is stored as a tree attachment.

Source
Trees.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InjectDerivedValue
  2. Serializable
  3. Serializable
  4. TermTree
  5. TermTreeApi
  6. SymTree
  7. SymTreeApi
  8. Tree
  9. Attachable
  10. TreeContextApiImpl
  11. TreeApi
  12. Product
  13. Equals
  14. AnyRef
  15. 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 InjectDerivedValue(arg: Global.Tree)

Value Members

  1. val arg: Global.Tree
  2. def attachments: Attachments { type Pos = Trees.this.Position }
    Definition Classes
    Attachable
  3. def canHaveAttrs: Boolean
    Definition Classes
    Tree → TreeApi
  4. def changeOwner(from: Global.Symbol, to: Global.Symbol): Global.Tree
    Definition Classes
    TreeContextApiImpl
  5. def changeOwner(pairs: (Global.Symbol, Global.Symbol)*): Global.Tree
    Definition Classes
    TreeContextApiImpl
  6. def children: List[Global.Tree]
    Definition Classes
    TreeContextApiImpl → TreeApi
  7. def clearType(): InjectDerivedValue.this.type
    Definition Classes
    Tree
  8. def collect[T](pf: PartialFunction[Global.Tree, T]): List[T]
    Definition Classes
    TreeContextApiImpl → TreeApi
  9. def correspondsStructure(that: Global.Tree)(f: (Global.Tree, Global.Tree) ⇒ Boolean): Boolean
    Definition Classes
    TreeContextApiImpl
  10. def defineType(tp: Global.Type): InjectDerivedValue.this.type
    Definition Classes
    Tree
  11. def duplicate: InjectDerivedValue.this.type
    Definition Classes
    Tree → TreeApi
  12. def equals(that: Any): Boolean
    Definition Classes
    Tree → Equals → AnyRef → Any
  13. def equalsStructure(that: Global.Tree): Boolean
    Definition Classes
    TreeContextApiImpl → TreeApi
  14. def exists(p: (Global.Tree) ⇒ Boolean): Boolean
    Definition Classes
    TreeContextApiImpl → TreeApi
  15. def filter(f: (Global.Tree) ⇒ Boolean): List[Global.Tree]
    Definition Classes
    TreeContextApiImpl → TreeApi
  16. def find(p: (Global.Tree) ⇒ Boolean): Option[Global.Tree]
    Definition Classes
    TreeContextApiImpl → TreeApi
  17. def forAll(p: (Global.Tree) ⇒ Boolean): Boolean
    Definition Classes
    TreeContextApiImpl → TreeApi
  18. def foreach(f: (Global.Tree) ⇒ Unit): Unit
    Definition Classes
    TreeContextApiImpl → TreeApi
  19. def foreachPartial(pf: PartialFunction[Global.Tree, Global.Tree]): Unit
    Definition Classes
    TreeContextApiImpl
  20. def freeSyms: List[Global.FreeSymbol]
    Definition Classes
    TreeContextApiImpl
  21. def freeTerms: List[Global.FreeTermSymbol]
    Definition Classes
    TreeContextApiImpl
  22. def freeTypes: List[Global.FreeTypeSymbol]
    Definition Classes
    TreeContextApiImpl
  23. def getAndRemoveAttachment[T](implicit arg0: ClassTag[T]): Option[T]
    Definition Classes
    Attachable
  24. def hasAttachment[T](implicit arg0: ClassTag[T]): Boolean
    Definition Classes
    Attachable
  25. def hasExistingSymbol: Boolean
    Definition Classes
    TreeContextApiImpl
  26. def hasSymbolField: Boolean
    Definition Classes
    SymTree → Tree
  27. def hasSymbolWhich(f: (Global.Symbol) ⇒ Boolean): Boolean
    Definition Classes
    TreeContextApiImpl
  28. def hashCode(): Int
    Definition Classes
    Tree → AnyRef → Any
  29. val id: Int
    Definition Classes
    Tree
  30. def isDef: Boolean
    Definition Classes
    Tree → TreeApi
  31. def isEmpty: Boolean
    Definition Classes
    Tree → TreeApi
  32. def isErroneous: Boolean
    Definition Classes
    TreeContextApiImpl
  33. def isErrorTyped: Boolean
    Definition Classes
    TreeContextApiImpl
  34. def isTerm: Boolean
    Definition Classes
    Tree → TreeApi
  35. def isType: Boolean
    Definition Classes
    Tree → TreeApi
  36. def isTyped: Boolean
    Definition Classes
    TreeContextApiImpl
  37. def modifyType(f: (Global.Type) ⇒ Global.Type): Global.Tree
    Definition Classes
    TreeContextApiImpl
  38. def nonEmpty: Boolean
    Definition Classes
    Tree → TreeApi
  39. def orElse(alt: ⇒ Global.Tree): Global.Tree
    Definition Classes
    TreeContextApiImpl → TreeApi
  40. final def pos: Global.Position
    Definition Classes
    Tree → Attachable → TreeApi
  41. def pos_=(pos: Global.Position): Unit
    Definition Classes
    Attachable
  42. def removeAttachment[T](implicit arg0: ClassTag[T]): InjectDerivedValue.this.type
    Definition Classes
    Attachable
  43. def setAttachments(attachments: Attachments { type Pos = Trees.this.Position }): InjectDerivedValue.this.type
    Definition Classes
    Attachable
  44. def setPos(newpos: Global.Position): InjectDerivedValue.this.type
    Definition Classes
    Attachable
  45. def setSymbol(sym: Global.Symbol): InjectDerivedValue.this.type
    Definition Classes
    Tree
  46. def setType(tp: Global.Type): InjectDerivedValue.this.type
    Definition Classes
    Tree
  47. def shallowDuplicate: Global.Tree
    Definition Classes
    TreeContextApiImpl
  48. def shortClass: String
    Definition Classes
    TreeContextApiImpl
  49. def substituteSymbols(from: List[Global.Symbol], to: List[Global.Symbol]): Global.Tree
    Definition Classes
    TreeContextApiImpl
  50. def substituteThis(clazz: Global.Symbol, to: ⇒ Global.Tree): Global.Tree
    Definition Classes
    TreeContextApiImpl
  51. def substituteTypes(from: List[Global.Symbol], to: List[Global.Type]): Global.Tree
    Definition Classes
    TreeContextApiImpl
  52. def summaryString: String
    Definition Classes
    TreeContextApiImpl
  53. var symbol: Global.Symbol
    Definition Classes
    SymTree → SymTreeApi → Tree → TreeApi
  54. def toString(): String
    Definition Classes
    TreeApi → AnyRef → Any
  55. final def tpe: Global.Type
    Definition Classes
    Tree → TreeApi
  56. def updateAttachment[T](attachment: T)(implicit arg0: ClassTag[T]): InjectDerivedValue.this.type
    Definition Classes
    Attachable
  57. def withFilter(f: (Global.Tree) ⇒ Boolean): List[Global.Tree]
    Definition Classes
    TreeContextApiImpl → TreeApi

Deprecated Value Members

  1. def hasSymbol: Boolean
    Definition Classes
    Tree
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) use hasSymbolField

  2. def tpe_=(t: Global.Type): Unit
    Definition Classes
    Tree
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) use setType