object CODE
- Source
- TreeDSL.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CODE
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- class CaseStart extends AnyRef
- class IfStart extends AnyRef
- case class SelectStart(tree: Global.Select) extends Product with Serializable
- class TreeMethods extends AnyRef
- class TryStart extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def AND(guards: Global.Tree*): Global.Tree
- def BLOCK(xs: Global.Tree*): Global.Block
- def CASE(pat: Global.Tree): CaseStart
- def DEFAULT: CaseStart
- def FALSE: Global.Literal
- def IF(tree: Global.Tree): IfStart
- def NEW(tpt: Global.Tree, args: Global.Tree*): Global.Tree
- def NOT(tree: Global.Tree): Global.Select
- def NULL: Global.Literal
- def REF(pre: Global.Type, sym: Global.Symbol): Global.RefTree
-
def
REF(sym: Global.Symbol): Global.RefTree
Typed trees from symbols.
- def SOME(xs: Global.Tree*): Global.Tree
- def TRUE: Global.Literal
- def TRY(tree: Global.Tree): TryStart
- def UNIT: Global.Literal
- def ZERO: Global.Literal
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def fn(lhs: Global.Tree, op: Global.Symbol, args: Global.Tree*): Global.Apply
- def fn(lhs: Global.Tree, op: Global.Name, args: Global.Tree*): Global.Apply
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
implicit
def
mkTreeFromSelectStart(ss: SelectStart): Global.Select
(foo DOT bar) might be simply a Select, but more likely it is to be immediately followed by an Apply.
(foo DOT bar) might be simply a Select, but more likely it is to be immediately followed by an Apply. We don't want to add an actual apply method to arbitrary trees, so SelectStart is created with an apply - and if apply is not the next thing called, the implicit from SelectStart -> Tree will provide the tree.
-
implicit
def
mkTreeMethods(target: Global.Tree): TreeMethods
Implicits - some of these should probably disappear *
- implicit def mkTreeMethodsFromSelectStart(ss: SelectStart): TreeMethods
- implicit def mkTreeMethodsFromSymbol(target: Global.Symbol): TreeMethods
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def nullSafe[T](f: (Global.Tree) ⇒ Global.Tree, ifNull: Global.Tree): (Global.Tree) ⇒ Global.Tree
- def returning[T](x: T)(f: (T) ⇒ Unit): T
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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()
- object LIT extends (Any) ⇒ Global.Literal
The Scala compiler and reflection APIs.