Packages

c

scala.tools.nsc.ast.Trees

SelectFromArray

case class SelectFromArray(qualifier: Global.Tree, name: Global.Name, erasure: Global.Type) extends Global.SymTree with Global.RefTree with Global.TermTree with Product with Serializable

Array selection <qualifier> . <name> only used during erasure

Source
Trees.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SelectFromArray
  2. Serializable
  3. TermTree
  4. TermTreeApi
  5. RefTree
  6. RefTreeApi
  7. NameTree
  8. NameTreeApi
  9. SymTree
  10. SymTreeApi
  11. Tree
  12. Attachable
  13. TreeContextApiImpl
  14. TreeApi
  15. Product
  16. Equals
  17. AnyRef
  18. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SelectFromArray(qualifier: Global.Tree, name: Global.Name, erasure: Global.Type)

Value Members

  1. def attachments: Attachments { type Pos = Trees.this.Position }
    Definition Classes
    Attachable
  2. def canHaveAttrs: Boolean
    Definition Classes
    Tree → TreeApi
  3. def changeOwner(from: Global.Symbol, to: Global.Symbol): Global.Tree
    Definition Classes
    TreeContextApiImpl
  4. def changeOwner(pairs: (Global.Symbol, Global.Symbol)*): Global.Tree
    Definition Classes
    TreeContextApiImpl
  5. def children: List[Global.Tree]
    Definition Classes
    TreeContextApiImpl → TreeApi
  6. def clearType(): SelectFromArray.this.type
    Definition Classes
    Tree
  7. def collect[T](pf: PartialFunction[Global.Tree, T]): List[T]
    Definition Classes
    TreeContextApiImpl → TreeApi
  8. def correspondsStructure(that: Global.Tree)(f: (Global.Tree, Global.Tree) => Boolean): Boolean
    Definition Classes
    TreeContextApiImpl
  9. def defineType(tp: Global.Type): SelectFromArray.this.type
    Definition Classes
    Tree
  10. def duplicate: SelectFromArray.this.type
    Definition Classes
    Tree → TreeApi
  11. def equals(that: Any): Boolean
    Definition Classes
    Tree → Equals → AnyRef → Any
  12. def equalsStructure(that: Global.Tree): Boolean
    Definition Classes
    TreeContextApiImpl → TreeApi
  13. val erasure: Global.Type
  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. final def foreachChild(f: (Global.Tree) => Boolean): Unit
    Definition Classes
    TreeContextApiImpl
  20. def foreachPartial(pf: PartialFunction[Global.Tree, Global.Tree]): Unit
    Definition Classes
    TreeContextApiImpl
  21. def freeSyms: List[Global.FreeSymbol]
    Definition Classes
    TreeContextApiImpl
  22. def freeTerms: List[Global.FreeTermSymbol]
    Definition Classes
    TreeContextApiImpl
  23. def freeTypes: List[Global.FreeTypeSymbol]
    Definition Classes
    TreeContextApiImpl
  24. def getAndRemoveAttachment[T](implicit arg0: ClassTag[T]): Option[T]
    Definition Classes
    Attachable
  25. def getterName: Global.TermName
    Definition Classes
    NameTree
  26. def hasAttachment[T](implicit arg0: ClassTag[T]): Boolean
    Definition Classes
    Attachable
  27. def hasExistingSymbol: Boolean
    Definition Classes
    TreeContextApiImpl
  28. def hasSymbolField: Boolean
    Definition Classes
    SymTree → Tree
  29. def hasSymbolWhich(f: (Global.Symbol) => Boolean): Boolean
    Definition Classes
    TreeContextApiImpl
  30. def hashCode(): Int
    Definition Classes
    Tree → AnyRef → Any
  31. val id: Int
    Definition Classes
    Tree
  32. def isDef: Boolean
    Definition Classes
    Tree → TreeApi
  33. def isEmpty: Boolean
    Definition Classes
    Tree → TreeApi
  34. def isErroneous: Boolean
    Definition Classes
    TreeContextApiImpl
  35. def isErrorTyped: Boolean
    Definition Classes
    TreeContextApiImpl
  36. def isTerm: Boolean
    Definition Classes
    Tree → TreeApi
  37. def isType: Boolean
    Definition Classes
    Tree → TreeApi
  38. def isTyped: Boolean
    Definition Classes
    TreeContextApiImpl
  39. def localName: Global.TermName
    Definition Classes
    NameTree
  40. def modifyType(f: (Global.Type) => Global.Type): Global.Tree
    Definition Classes
    TreeContextApiImpl
  41. val name: Global.Name
    Definition Classes
    SelectFromArray → RefTree → RefTreeApi → NameTree → NameTreeApi
  42. def nonEmpty: Boolean
    Definition Classes
    Tree → TreeApi
  43. final def onlyChild: Global.Tree
    Definition Classes
    TreeContextApiImpl
  44. def orElse(alt: => Global.Tree): Global.Tree
    Definition Classes
    TreeContextApiImpl → TreeApi
  45. final def pos: Global.Position
    Definition Classes
    Tree → Attachable → TreeApi
  46. def pos_=(pos: Global.Position): Unit
    Definition Classes
    Attachable
  47. def productElementNames: Iterator[String]
    Definition Classes
    Product
  48. val qualifier: Global.Tree
    Definition Classes
    SelectFromArray → RefTree → RefTreeApi
  49. def removeAttachment[T](implicit arg0: ClassTag[T]): SelectFromArray.this.type
    Definition Classes
    Attachable
  50. def setAttachments(attachments: Attachments { type Pos = Trees.this.Position }): SelectFromArray.this.type
    Definition Classes
    Attachable
  51. def setPos(newpos: Global.Position): SelectFromArray.this.type
    Definition Classes
    Attachable
  52. def setSymbol(sym: Global.Symbol): SelectFromArray.this.type
    Definition Classes
    Tree
  53. def setType(tp: Global.Type): SelectFromArray.this.type
    Definition Classes
    Tree
  54. def setterName: Global.TermName
    Definition Classes
    NameTree
  55. def shallowDuplicate: Global.Tree
    Definition Classes
    TreeContextApiImpl
  56. def shortClass: String
    Definition Classes
    TreeContextApiImpl
  57. def substituteSymbols(from: List[Global.Symbol], to: List[Global.Symbol]): Global.Tree
    Definition Classes
    TreeContextApiImpl
  58. def substituteThis(clazz: Global.Symbol, to: => Global.Tree): Global.Tree
    Definition Classes
    TreeContextApiImpl
  59. def substituteTypes(from: List[Global.Symbol], to: List[Global.Type]): Global.Tree
    Definition Classes
    TreeContextApiImpl
  60. def summaryString: String
    Definition Classes
    TreeContextApiImpl
  61. var symbol: Global.Symbol
    Definition Classes
    SymTree → SymTreeApi → Tree → TreeApi
  62. def toString(): String
    Definition Classes
    TreeApi → AnyRef → Any
  63. final def tpe: Global.Type
    Definition Classes
    Tree → TreeApi
  64. def transform(transformer: Global.ApiTransformer): Global.Tree
    Definition Classes
    SelectFromArray → TreeContextApiImpl
  65. def traverse(traverser: Global.Traverser): Unit
    Definition Classes
    SelectFromArray → TreeContextApiImpl
  66. def updateAttachment[T](attachment: T)(implicit arg0: ClassTag[T]): SelectFromArray.this.type
    Definition Classes
    Attachable
  67. 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