case class ProgramTree(units: List[UnitTree]) extends Global.Tree with Product with Serializable
Pseudo tree class, so that all JTree nodes are treated uniformly
- Source
- TreeBrowsers.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ProgramTree
- 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
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from ProgramTree to any2stringadd[ProgramTree] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (ProgramTree, B)
- Implicit
- This member is added by an implicit conversion from ProgramTree to ArrowAssoc[ProgramTree] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
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(from: Global.Symbol, to: Global.Symbol): Global.Tree
- Definition Classes
- TreeContextApiImpl
-
def
changeOwner(pairs: (Global.Symbol, Global.Symbol)*): Global.Tree
- Definition Classes
- TreeContextApiImpl
-
def
children: List[Global.Tree]
- Definition Classes
- TreeContextApiImpl → TreeApi
-
def
clearType(): ProgramTree.this.type
- Definition Classes
- Tree
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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): ProgramTree.this.type
- Definition Classes
- Tree
-
def
duplicate: ProgramTree.this.type
- Definition Classes
- Tree → TreeApi
-
def
ensuring(cond: (ProgramTree) ⇒ Boolean, msg: ⇒ Any): ProgramTree
- Implicit
- This member is added by an implicit conversion from ProgramTree to Ensuring[ProgramTree] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (ProgramTree) ⇒ Boolean): ProgramTree
- Implicit
- This member is added by an implicit conversion from ProgramTree to Ensuring[ProgramTree] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): ProgramTree
- Implicit
- This member is added by an implicit conversion from ProgramTree to Ensuring[ProgramTree] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): ProgramTree
- Implicit
- This member is added by an implicit conversion from ProgramTree to Ensuring[ProgramTree] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
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[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
-
final
def
foreachChild(f: (Global.Tree) ⇒ Boolean): Unit
- Definition Classes
- TreeContextApiImpl
-
def
foreachPartial(pf: PartialFunction[Global.Tree, Global.Tree]): Unit
- Definition Classes
- TreeContextApiImpl
-
def
freeSyms: List[Global.FreeSymbol]
- Definition Classes
- TreeContextApiImpl
-
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()
-
final
def
onlyChild: Global.Tree
- Definition Classes
- TreeContextApiImpl
-
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]): ProgramTree.this.type
- Definition Classes
- Attachable
-
def
setAttachments(attachments: Attachments { type Pos = TreeBrowsers.this.global.Position }): ProgramTree.this.type
- Definition Classes
- Attachable
-
def
setPos(newpos: Global.Position): ProgramTree.this.type
- Definition Classes
- Attachable
-
def
setSymbol(sym: Global.Symbol): ProgramTree.this.type
- Definition Classes
- Tree
-
def
setType(tp: Global.Type): ProgramTree.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
- ProgramTree → TreeApi → AnyRef → Any
-
final
def
tpe: Global.Type
- Definition Classes
- Tree → TreeApi
- val units: List[UnitTree]
-
def
updateAttachment[T](attachment: T)(implicit arg0: ClassTag[T]): ProgramTree.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
- @throws( ... ) @native()
-
def
withFilter(f: (Global.Tree) ⇒ Boolean): List[Global.Tree]
- Definition Classes
- TreeContextApiImpl → TreeApi
-
def
→[B](y: B): (ProgramTree, B)
- Implicit
- This member is added by an implicit conversion from ProgramTree to ArrowAssoc[ProgramTree] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Deprecated Value Members
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ProgramTree to StringFormat[ProgramTree] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
-
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.