scala.tools.nsc.ast.TreeBrowsers

UnitTree

case class UnitTree(unit: CompilationUnit) extends Tree with Product with Serializable

Pseudo tree class, so that all JTree nodes are treated uniformly

Source
TreeBrowsers.scala
Linear Supertypes
Serializable, Serializable, Tree, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. UnitTree
  2. Serializable
  3. Serializable
  4. Tree
  5. Product
  6. Equals
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringfmt
  2. by any2stringadd
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UnitTree(unit: CompilationUnit)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from UnitTree to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (UnitTree, B)

    Implicit information
    This member is added by an implicit conversion from UnitTree to ArrowAssoc[UnitTree] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def attach(att: Any): Unit

    Definition Classes
    Tree
  10. def attachment[T](implicit arg0: ClassTag[T]): T

    Definition Classes
    Tree
  11. def attachmentOpt[T](implicit arg0: ClassTag[T]): Option[T]

    Definition Classes
    Tree
  12. def children: List[Tree]

    Definition Classes
    Tree
  13. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. def collect[T](pf: PartialFunction[Tree, T]): List[T]

    Definition Classes
    Tree
  15. def defineType(tp: Type): UnitTree.this.type

    Definition Classes
    Tree
  16. def detach(clazz: Class[_]): Unit

    Definition Classes
    Tree
  17. def detach(att: Any): Unit

    Definition Classes
    Tree
  18. def duplicate: UnitTree.this.type

    Definition Classes
    Tree
  19. def ensuring(cond: (UnitTree) ⇒ Boolean, msg: ⇒ Any): UnitTree

    Implicit information
    This member is added by an implicit conversion from UnitTree to Ensuring[UnitTree] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: (UnitTree) ⇒ Boolean): UnitTree

    Implicit information
    This member is added by an implicit conversion from UnitTree to Ensuring[UnitTree] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: Boolean, msg: ⇒ Any): UnitTree

    Implicit information
    This member is added by an implicit conversion from UnitTree to Ensuring[UnitTree] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. def ensuring(cond: Boolean): UnitTree

    Implicit information
    This member is added by an implicit conversion from UnitTree to Ensuring[UnitTree] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. def equals(that: Any): Boolean

    Definition Classes
    Tree → Equals → AnyRef → Any
  25. def equalsStructure(that: Tree): Boolean

    Definition Classes
    Tree
  26. def equalsStructure0(that: Tree)(f: (Tree, Tree) ⇒ Boolean): Boolean

    Definition Classes
    Tree
  27. def exists(p: (Tree) ⇒ Boolean): Boolean

    Definition Classes
    Tree
  28. def filter(f: (Tree) ⇒ Boolean): List[Tree]

    Definition Classes
    Tree
  29. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  30. def find(p: (Tree) ⇒ Boolean): Option[Tree]

    Definition Classes
    Tree
  31. def forAll(p: (Tree) ⇒ Boolean): Boolean

    Definition Classes
    Tree
  32. def foreach(f: (Tree) ⇒ Unit): Unit

    Definition Classes
    Tree
  33. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from UnitTree to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  34. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  35. def hasSymbol: Boolean

    Definition Classes
    Tree
  36. def hasSymbolWhich(f: (Symbol) ⇒ Boolean): Boolean

    Definition Classes
    Tree
  37. def hashCode(): Int

    Definition Classes
    Tree → AnyRef → Any
  38. val id: Int

    Definition Classes
    Tree
  39. def isDef: Boolean

    Definition Classes
    Tree
  40. def isEmpty: Boolean

    Definition Classes
    Tree
  41. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  42. def isTerm: Boolean

    Definition Classes
    Tree
  43. def isType: Boolean

    Definition Classes
    Tree
  44. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  45. final def notify(): Unit

    Definition Classes
    AnyRef
  46. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  47. def orElse(alt: ⇒ Tree): Tree

    Definition Classes
    Tree
  48. def pos: Position

    Definition Classes
    Tree
  49. def pos_=(pos: Position): Unit

    Definition Classes
    Tree
  50. def printingPrefix: String

    Definition Classes
    Tree
  51. val self: Any

    Implicit information
    This member is added by an implicit conversion from UnitTree to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
  52. val self: Any

    Implicit information
    This member is added by an implicit conversion from UnitTree to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  53. def setPos(newpos: Position): UnitTree.this.type

    Definition Classes
    Tree
  54. def setSymbol(sym: Symbol): UnitTree.this.type

    Definition Classes
    Tree
  55. def setType(tp: Type): UnitTree.this.type

    Definition Classes
    Tree
  56. def symbol: Symbol

    Definition Classes
    Tree
  57. def symbol_=(sym: Symbol): Unit

    Definition Classes
    Tree
  58. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  59. def toString(): String

    Definition Classes
    UnitTree → Tree → AnyRef → Any
  60. def tpe: Type

    Definition Classes
    Tree
  61. def tpe_=(t: Type): Unit

    Definition Classes
    Tree
  62. val unit: CompilationUnit

  63. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  64. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  65. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  66. def withAttachment(att: Any): UnitTree.this.type

    Definition Classes
    Tree
  67. def withFilter(f: (Tree) ⇒ Boolean): List[Tree]

    Definition Classes
    Tree
  68. def withoutAttachment(att: Any): UnitTree.this.type

    Definition Classes
    Tree
  69. def [B](y: B): (UnitTree, B)

    Implicit information
    This member is added by an implicit conversion from UnitTree to ArrowAssoc[UnitTree] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def x: UnitTree

    Implicit information
    This member is added by an implicit conversion from UnitTree to ArrowAssoc[UnitTree] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: UnitTree

    Implicit information
    This member is added by an implicit conversion from UnitTree to Ensuring[UnitTree] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from Serializable

Inherited from Serializable

Inherited from Tree

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringfmt from UnitTree to StringFormat

Inherited by implicit conversion any2stringadd from UnitTree to StringAdd

Inherited by implicit conversion any2ArrowAssoc from UnitTree to ArrowAssoc[UnitTree]

Inherited by implicit conversion any2Ensuring from UnitTree to Ensuring[UnitTree]