SelectTypeApplyCpsTree

cps.macros.forest.CpsTreeScope.SelectTypeApplyCpsTree
See theSelectTypeApplyCpsTree companion object
case class SelectTypeApplyCpsTree(origin: Option[Term], nested: CpsTree, targs: List[TypeTree], selects: List[SelectTypeApplyRecord], otpe: TypeRepr, changed: Boolean) extends CpsTree

represent select expression, which can be in monad or outside monad.

constructor is not devoted to used directly: use SelectTypeApplyCpsTree.create instead. selects is reversed (i.e. external added to head)

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class CpsTree
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def appendFinal(next: CpsTree): CpsTree

Attributes

Definition Classes
def apply(term: Term): Term
override def applyAwait(newOtpe: TypeRepr): CpsTree

Attributes

Definition Classes
override def castOtpe(newOtpe: TypeRepr): CpsTree

cast CpsTree to keep newOtpe.type inside monad.

cast CpsTree to keep newOtpe.type inside monad.

Attributes

Definition Classes
override def changeOwner(newOwner: Symbol): SelectTypeApplyCpsTree

Attributes

Definition Classes
override def inCake[F1[_], T1, C1 <: CpsMonadContext[F1]](otherCake: TreeTransformScope[F1, T1, C1]): SelectTypeApplyCpsTree

Attributes

Definition Classes
override def isAsync: Boolean

Attributes

Definition Classes
override def isChanged: Boolean

Attributes

Definition Classes
override def isLambda: Boolean

Attributes

Definition Classes
override def monadFlatMap(f: Term => Term, ntpe: TypeRepr): CpsTree

Attributes

Definition Classes
override def monadMap(f: Term => Term, ntpe: TypeRepr): CpsTree

Attributes

Definition Classes
override def owner: Symbol

Attributes

Definition Classes
override def select(orig: Term, symbol: Symbol, ntpe: TypeRepr): CpsTree

Attributes

Definition Classes
override def syncOrigin: Option[Term]

Attributes

Definition Classes
override def transformed: Term

Attributes

Definition Classes
override def typeApply(orig: Term, targs: List[TypeTree], ntpe: TypeRepr): CpsTree

Attributes

Definition Classes

Inherited methods

def append(next: CpsTree): CpsTree

Attributes

Inherited from:
CpsTree
def isSync: Boolean

Attributes

Inherited from:
CpsTree
def prepend(prev: CpsTree): CpsTree

Attributes

Inherited from:
CpsTree
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def rtpe: TypeRepr

type which we see outside. i.e. F[T] for near all 'normal' trees or X=>F[T] for async lambda.

type which we see outside. i.e. F[T] for near all 'normal' trees or X=>F[T] for async lambda.

Attributes

Inherited from:
CpsTree
def toResult[T : Type]: CpsExpr[F, T]

Attributes

Inherited from:
CpsTree
def toResultWithType[T](qt: Type[T]): CpsExpr[F, T]

Attributes

Inherited from:
CpsTree