case class UnitTree(unit: Global.CompilationUnit) extends Global.Tree with Product with Serializable
Pseudo tree class, so that all JTree nodes are treated uniformly
- Source
- TreeBrowsers.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- UnitTree
- Serializable
- Serializable
- Tree
- Attachable
- TreeContextApiImpl
- TreeApi
- Product
- Equals
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new UnitTree(unit: Global.CompilationUnit)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (UnitTree, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
attachments: Attachments { type Pos = TreeBrowsers.this.global.Position }
- Definition Classes
- Attachable
-
def
canHaveAttrs: Boolean
- Definition Classes
- Tree → TreeApi
-
def
changeOwner(pairs: (Global.Symbol, Global.Symbol)*): Global.Tree
- Definition Classes
- TreeContextApiImpl
-
def
children: List[Global.Tree]
- Definition Classes
- TreeContextApiImpl → TreeApi
-
def
clearType(): UnitTree.this.type
- Definition Classes
- Tree
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
collect[T](pf: PartialFunction[Global.Tree, T]): List[T]
- Definition Classes
- TreeContextApiImpl → TreeApi
-
def
correspondsStructure(that: Global.Tree)(f: (Global.Tree, Global.Tree) ⇒ Boolean): Boolean
- Definition Classes
- TreeContextApiImpl
-
def
defineType(tp: Global.Type): UnitTree.this.type
- Definition Classes
- Tree
-
def
duplicate: UnitTree.this.type
- Definition Classes
- Tree → TreeApi
- def ensuring(cond: (UnitTree) ⇒ Boolean, msg: ⇒ Any): UnitTree
- def ensuring(cond: (UnitTree) ⇒ Boolean): UnitTree
- def ensuring(cond: Boolean, msg: ⇒ Any): UnitTree
- def ensuring(cond: Boolean): UnitTree
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: Any): Boolean
- Definition Classes
- Tree → Equals → AnyRef → Any
-
def
equalsStructure(that: Global.Tree): Boolean
- Definition Classes
- TreeContextApiImpl → TreeApi
-
def
exists(p: (Global.Tree) ⇒ Boolean): Boolean
- Definition Classes
- TreeContextApiImpl → TreeApi
-
def
filter(f: (Global.Tree) ⇒ Boolean): List[Global.Tree]
- Definition Classes
- TreeContextApiImpl → TreeApi
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
find(p: (Global.Tree) ⇒ Boolean): Option[Global.Tree]
- Definition Classes
- TreeContextApiImpl → TreeApi
-
def
forAll(p: (Global.Tree) ⇒ Boolean): Boolean
- Definition Classes
- TreeContextApiImpl → TreeApi
-
def
foreach(f: (Global.Tree) ⇒ Unit): Unit
- Definition Classes
- TreeContextApiImpl → TreeApi
-
def
foreachPartial(pf: PartialFunction[Global.Tree, Global.Tree]): Unit
- Definition Classes
- TreeContextApiImpl
- def formatted(fmtstr: String): String
-
def
freeTerms: List[Global.FreeTermSymbol]
- Definition Classes
- TreeContextApiImpl
-
def
freeTypes: List[Global.FreeTypeSymbol]
- Definition Classes
- TreeContextApiImpl
-
def
getAndRemoveAttachment[T](implicit arg0: ClassTag[T]): Option[T]
- Definition Classes
- Attachable
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hasAttachment[T](implicit arg0: ClassTag[T]): Boolean
- Definition Classes
- Attachable
-
def
hasExistingSymbol: Boolean
- Definition Classes
- TreeContextApiImpl
-
def
hasSymbolField: Boolean
- Definition Classes
- Tree
-
def
hasSymbolWhich(f: (Global.Symbol) ⇒ Boolean): Boolean
- Definition Classes
- TreeContextApiImpl
-
def
hashCode(): Int
- Definition Classes
- Tree → AnyRef → Any
-
val
id: Int
- Definition Classes
- Tree
-
def
isDef: Boolean
- Definition Classes
- Tree → TreeApi
-
def
isEmpty: Boolean
- Definition Classes
- Tree → TreeApi
-
def
isErroneous: Boolean
- Definition Classes
- TreeContextApiImpl
-
def
isErrorTyped: Boolean
- Definition Classes
- TreeContextApiImpl
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isTerm: Boolean
- Definition Classes
- Tree → TreeApi
-
def
isType: Boolean
- Definition Classes
- Tree → TreeApi
-
def
isTyped: Boolean
- Definition Classes
- TreeContextApiImpl
-
def
modifyType(f: (Global.Type) ⇒ Global.Type): Global.Tree
- Definition Classes
- TreeContextApiImpl
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
nonEmpty: Boolean
- Definition Classes
- Tree → TreeApi
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
orElse(alt: ⇒ Global.Tree): Global.Tree
- Definition Classes
- TreeContextApiImpl → TreeApi
-
final
def
pos: Global.Position
- Definition Classes
- Tree → Attachable → TreeApi
-
def
pos_=(pos: Global.Position): Unit
- Definition Classes
- Attachable
-
val
rawatt: Attachments { type Pos = TreeBrowsers.this.global.Position }
- Attributes
- protected
- Definition Classes
- Attachable
-
def
removeAttachment[T](implicit arg0: ClassTag[T]): UnitTree.this.type
- Definition Classes
- Attachable
-
def
setAttachments(attachments: Attachments { type Pos = TreeBrowsers.this.global.Position }): UnitTree.this.type
- Definition Classes
- Attachable
-
def
setPos(newpos: Global.Position): UnitTree.this.type
- Definition Classes
- Attachable
-
def
setSymbol(sym: Global.Symbol): UnitTree.this.type
- Definition Classes
- Tree
-
def
setType(tp: Global.Type): UnitTree.this.type
- Definition Classes
- Tree
-
def
shallowDuplicate: Global.Tree
- Definition Classes
- TreeContextApiImpl
-
def
shortClass: String
- Definition Classes
- TreeContextApiImpl
-
def
substituteSymbols(from: List[Global.Symbol], to: List[Global.Symbol]): Global.Tree
- Definition Classes
- TreeContextApiImpl
-
def
substituteThis(clazz: Global.Symbol, to: ⇒ Global.Tree): Global.Tree
- Definition Classes
- TreeContextApiImpl
-
def
substituteTypes(from: List[Global.Symbol], to: List[Global.Type]): Global.Tree
- Definition Classes
- TreeContextApiImpl
-
def
summaryString: String
- Definition Classes
- TreeContextApiImpl
-
def
symbol: Global.Symbol
- Definition Classes
- Tree → TreeApi
-
def
symbol_=(sym: Global.Symbol): Unit
- Definition Classes
- Tree
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- UnitTree → TreeApi → AnyRef → Any
-
final
def
tpe: Global.Type
- Definition Classes
- Tree → TreeApi
- val unit: Global.CompilationUnit
-
def
updateAttachment[T](attachment: T)(implicit arg0: ClassTag[T]): UnitTree.this.type
- Definition Classes
- Attachable
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
withFilter(f: (Global.Tree) ⇒ Boolean): List[Global.Tree]
- Definition Classes
- TreeContextApiImpl → TreeApi
- def →[B](y: B): (UnitTree, B)
Deprecated Value Members
-
def
hasSymbol: Boolean
- Definition Classes
- Tree
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) use hasSymbolField
-
def
tpe_=(t: Global.Type): Unit
- Definition Classes
- Tree
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) use setType
The Scala compiler and reflection APIs.