Packages

case class DocDef(comment: Global.DocComment, definition: Global.Tree) extends Global.Tree with Product with Serializable

Documented definition, eliminated by analyzer

Source
Trees.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DocDef
  2. Serializable
  3. Tree
  4. Attachable
  5. TreeContextApiImpl
  6. TreeApi
  7. Product
  8. Equals
  9. AnyRef
  10. 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 DocDef(comment: Global.DocComment, definition: Global.Tree)

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): DocDef.this.type
    Definition Classes
    TreeContextApiImpl
  4. def changeOwner(pairs: (Global.Symbol, Global.Symbol)*): DocDef.this.type
    Definition Classes
    TreeContextApiImpl
  5. def children: List[Global.Tree]
    Definition Classes
    TreeContextApiImpl → TreeApi
  6. def clearType(): DocDef.this.type
    Definition Classes
    Tree
  7. def collect[T](pf: PartialFunction[Global.Tree, T]): List[T]
    Definition Classes
    TreeContextApiImpl → TreeApi
  8. val comment: Global.DocComment
  9. def correspondsStructure(that: Global.Tree)(f: (Global.Tree, Global.Tree) => Boolean): Boolean
    Definition Classes
    TreeContextApiImpl
  10. def defineType(tp: Global.Type): DocDef.this.type
    Definition Classes
    Tree
  11. val definition: Global.Tree
  12. def duplicate: DocDef.this.type
    Definition Classes
    Tree → TreeApi
  13. def equals(that: Any): Boolean
    Definition Classes
    Tree → Equals → AnyRef → Any
  14. def equalsStructure(that: Global.Tree): Boolean
    Definition Classes
    TreeContextApiImpl → TreeApi
  15. def exists(p: (Global.Tree) => Boolean): Boolean
    Definition Classes
    TreeContextApiImpl → TreeApi
  16. def filter(f: (Global.Tree) => Boolean): List[Global.Tree]
    Definition Classes
    TreeContextApiImpl → TreeApi
  17. def find(p: (Global.Tree) => Boolean): Option[Global.Tree]
    Definition Classes
    TreeContextApiImpl → TreeApi
  18. def forAll(p: (Global.Tree) => Boolean): Boolean
    Definition Classes
    TreeContextApiImpl → TreeApi
  19. def foreach(f: (Global.Tree) => Unit): Unit
    Definition Classes
    TreeContextApiImpl → TreeApi
  20. final def foreachChild(f: (Global.Tree) => Boolean): Unit
    Definition Classes
    TreeContextApiImpl
  21. def foreachPartial(pf: PartialFunction[Global.Tree, Global.Tree]): Unit
    Definition Classes
    TreeContextApiImpl
  22. def freeSyms: List[Global.FreeSymbol]
    Definition Classes
    TreeContextApiImpl
  23. def freeTerms: List[Global.FreeTermSymbol]
    Definition Classes
    TreeContextApiImpl
  24. def freeTypes: List[Global.FreeTypeSymbol]
    Definition Classes
    TreeContextApiImpl
  25. def getAndRemoveAttachment[T](implicit arg0: ClassTag[T]): Option[T]
    Definition Classes
    Attachable
  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
    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
    DocDef → 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
    DocDef → Tree → TreeApi
  37. def isType: Boolean
    Definition Classes
    DocDef → Tree → TreeApi
  38. def isTyped: Boolean
    Definition Classes
    TreeContextApiImpl
  39. def modifyType(f: (Global.Type) => Global.Type): DocDef.this.type
    Definition Classes
    TreeContextApiImpl
  40. def nonEmpty: Boolean
    Definition Classes
    Tree → TreeApi
  41. final def onlyChild: Global.Tree
    Definition Classes
    TreeContextApiImpl
  42. def orElse(alt: => Global.Tree): Global.Tree
    Definition Classes
    TreeContextApiImpl → TreeApi
  43. final def pos: Global.Position
    Definition Classes
    Tree → Attachable → TreeApi
  44. def pos_=(pos: Global.Position): Unit
    Definition Classes
    Attachable
  45. def productElementNames: Iterator[String]
    Definition Classes
    Product
  46. def removeAttachment[T](implicit arg0: ClassTag[T]): DocDef.this.type
    Definition Classes
    Attachable
  47. def setAttachments(attachments: Attachments { type Pos = Trees.this.Position }): DocDef.this.type
    Definition Classes
    Attachable
  48. def setPos(newpos: Global.Position): DocDef.this.type
    Definition Classes
    Attachable
  49. def setSymbol(sym: Global.Symbol): DocDef.this.type
    Definition Classes
    Tree
  50. def setType(tp: Global.Type): DocDef.this.type
    Definition Classes
    Tree
  51. def shallowDuplicate: Global.Tree
    Definition Classes
    TreeContextApiImpl
  52. def shortClass: String
    Definition Classes
    TreeContextApiImpl
  53. def substituteSymbols(from: List[Global.Symbol], to: List[Global.Symbol]): Global.Tree
    Definition Classes
    TreeContextApiImpl
  54. def substituteThis(clazz: Global.Symbol, to: => Global.Tree): Global.Tree
    Definition Classes
    TreeContextApiImpl
  55. def substituteTypes(from: List[Global.Symbol], to: List[Global.Type]): Global.Tree
    Definition Classes
    TreeContextApiImpl
  56. def summaryString: String
    Definition Classes
    TreeContextApiImpl
  57. def symbol: Global.Symbol
    Definition Classes
    DocDef → Tree → TreeApi
  58. def symbol_=(sym: Global.Symbol): Unit
    Definition Classes
    DocDef → Tree
  59. def toString(): String
    Definition Classes
    TreeApi → AnyRef → Any
  60. final def tpe: Global.Type
    Definition Classes
    Tree → TreeApi
  61. def transform(transformer: Global.ApiTransformer): Global.Tree
    Definition Classes
    DocDef → TreeContextApiImpl
  62. def traverse(traverser: Global.Traverser): Unit
    Definition Classes
    DocDef → TreeContextApiImpl
  63. def updateAttachment[T](attachment: T)(implicit arg0: ClassTag[T]): DocDef.this.type
    Definition Classes
    Attachable
  64. 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