CallChainSubstCpsTree
cps.macros.forest.CpsTreeScope.CallChainSubstCpsTree
case class CallChainSubstCpsTree(owner: Symbol, origin: Term, shifted: Term, otpe: TypeRepr) extends CpsTree
when we have swhifted function, which should return F[A] but we want to have in F[A] methods with special meaning, which should be performed on F[_] before jumping into monad (exampe: Iterable.withFilter) we will catch in ApplyTree such methods and substitute to appropriative calls of shifted.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass CpsTreeclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Attributes
- Definition Classes
Attributes
- Definition Classes
cast CpsTree to keep newOtpe.type inside monad.
Attributes
- Definition Classes
override def inCake[F1[_], T1, C1 <: CpsMonadContext[F1]](otherCake: TreeTransformScope[F1, T1, C1]): CallChainSubstCpsTree
Attributes
- Definition Classes
Attributes
- Definition Classes
Attributes
- Definition Classes
Attributes
- Definition Classes
Attributes
- Definition Classes
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
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
Attributes
- Inherited from:
- CpsTree
In this article