trait TreeGen extends AnyRef
- Source
- Universe.scala
- Alphabetic
- By Inheritance
- TreeGen
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
mkAttributedIdent(sym: Universe.Symbol): Universe.RefTree
Builds a typed Ident with an underlying symbol.
-
abstract
def
mkAttributedQualifier(tpe: Universe.Type, termSym: Universe.Symbol): Universe.Tree
Builds a reference to value whose type is given stable prefix.
Builds a reference to value whose type is given stable prefix. If the type is unsuitable, e.g. it is a TypeRef for an abstract type variable, then an Ident will be made using termSym as the Ident's symbol. In that case, termSym must not be NoSymbol.
-
abstract
def
mkAttributedQualifier(tpe: Universe.Type): Universe.Tree
Builds a reference to value whose type is given stable prefix.
Builds a reference to value whose type is given stable prefix. The type must be suitable for this. For example, it must not be a TypeRef pointing to an abstract type variable.
-
abstract
def
mkAttributedRef(sym: Universe.Symbol): Universe.RefTree
Builds a typed reference to given symbol.
-
abstract
def
mkAttributedRef(pre: Universe.Type, sym: Universe.Symbol): Universe.RefTree
Builds a typed reference to given symbol with given stable prefix.
-
abstract
def
mkAttributedSelect(qual: Universe.Tree, sym: Universe.Symbol): Universe.RefTree
Builds a typed Select with an underlying symbol.
- abstract def mkAttributedStableRef(sym: Universe.Symbol): Universe.Tree
- abstract def mkAttributedStableRef(pre: Universe.Type, sym: Universe.Symbol): Universe.Tree
-
abstract
def
mkAttributedThis(sym: Universe.Symbol): Universe.This
Builds a typed This reference to given symbol.
- abstract def mkCast(tree: Universe.Tree, pt: Universe.Type): Universe.Tree
- abstract def mkMethodCall(target: Universe.Tree, targs: List[Universe.Type], args: List[Universe.Tree]): Universe.Tree
- abstract def mkMethodCall(receiver: Universe.Tree, method: Universe.Symbol, targs: List[Universe.Type], args: List[Universe.Tree]): Universe.Tree
- abstract def mkMethodCall(receiver: Universe.Symbol, methodName: Universe.Name, args: List[Universe.Tree]): Universe.Tree
- abstract def mkMethodCall(target: Universe.Tree, args: List[Universe.Tree]): Universe.Tree
- abstract def mkMethodCall(method: Universe.Symbol, args: List[Universe.Tree]): Universe.Tree
- abstract def mkMethodCall(method: Universe.Symbol, targs: List[Universe.Type], args: List[Universe.Tree]): Universe.Tree
-
abstract
def
mkMethodCall(receiver: Universe.Symbol, methodName: Universe.Name, targs: List[Universe.Type], args: List[Universe.Tree]): Universe.Tree
A creator for method calls, e.g.
A creator for method calls, e.g. fn[T1, T2, ...](v1, v2, ...) There are a number of variations.
- receiver
symbol of the method receiver
- methodName
name of the method to call
- targs
type arguments (if Nil, no TypeApply node will be generated)
- args
value arguments
- returns
the newly created trees.
- abstract def mkNullaryCall(method: Universe.Symbol, targs: List[Universe.Type]): Universe.Tree
-
abstract
def
mkRuntimeUniverseRef: Universe.Tree
A tree that refers to the runtime reflexive universe,
scala.reflect.runtime.universe
. -
abstract
def
mkUnattributedRef(fullName: Universe.Name): Universe.RefTree
Builds an untyped reference to symbol with given name.
Builds an untyped reference to symbol with given name. Requires the symbol to be static.
-
abstract
def
mkUnattributedRef(sym: Universe.Symbol): Universe.RefTree
Builds an untyped reference to given symbol.
Builds an untyped reference to given symbol. Requires the symbol to be static.
- abstract def mkZero(tp: Universe.Type): Universe.Tree
- abstract def stabilize(tree: Universe.Tree): Universe.Tree
Concrete 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): (TreeGen, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def ensuring(cond: (TreeGen) ⇒ Boolean, msg: ⇒ Any): TreeGen
- def ensuring(cond: (TreeGen) ⇒ Boolean): TreeGen
- def ensuring(cond: Boolean, msg: ⇒ Any): TreeGen
- def ensuring(cond: Boolean): TreeGen
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
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
-
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()
-
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
- @native() @throws( ... )
- def →[B](y: B): (TreeGen, B)