FlatMappedCpsTree

cps.macros.forest.CpsTreeScope.FlatMappedCpsTree
case class FlatMappedCpsTree(prev: CpsTree, opm: Term => Term, otpe: TypeRepr) extends AsyncCpsTree

Attributes

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

Members list

Value members

Concrete methods

def castOtpe(ntpe: TypeRepr): CpsTree

cast CpsTree to keep newOtpe.type inside monad.

cast CpsTree to keep newOtpe.type inside monad.

Attributes

override def changeOwner(newOwner: Symbol): FlatMappedCpsTree

Attributes

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

Attributes

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

Attributes

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

Attributes

Definition Classes
def owner: Symbol
def transformed: Term

Inherited methods

def append(next: CpsTree): CpsTree

Attributes

Inherited from:
CpsTree

Attributes

Inherited from:
AsyncCpsTree
def applyAwait(newOtpe: TypeRepr): CpsTree

Attributes

Inherited from:
AsyncCpsTree
def isAsync: Boolean

Attributes

Inherited from:
AsyncCpsTree
def isChanged: Boolean

Attributes

Inherited from:
AsyncCpsTree
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 select(orig: Term, symbol: Symbol, ntpe: TypeRepr): CpsTree

Attributes

Inherited from:
CpsTree
def syncOrigin: Option[Term]

Attributes

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

Attributes

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

Attributes

Inherited from:
CpsTree
def typeApply(orig: Term, targs: List[TypeTree], ntpe: TypeRepr): CpsTree

Attributes

Inherited from:
CpsTree