CpsDirectHelper

cps.plugin.forest.CpsDirectHelper

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
case class ByInclusionCallArgs(tf: Tree, tg: Tree, fctx: Tree, fginc: Tree)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object NewCall

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
NewCall.type

Value members

Concrete methods

def genConventionCall(fctx: Tree, fgincl: Tree, originType: Type, lambda: Tree, span: Span)(using Context): Tree

generate fgincl.apply(fctx)(lambda)

generate fgincl.apply(fctx)(lambda)

Attributes

def genCpsDirectDefaultConstructor(tf: TypeTree, fctx: Tree, posSpan: Span)(using Context): Tree

generate new CpsDirecttf (positioned at posTerm)

generate new CpsDirecttf (positioned at posTerm)

Value parameters

fctx
  • current monnad context
posTerm
  • position of new term
tf
  • type of wrapper monad

Attributes

Returns

CpsDirecttf

def substituteCpsDirectArgInApply(applyTerm: Apply, originCPsDirectArg: ByInclusionCallArgs, nCpsDirectArg: Tree)(using Context): Option[Apply]
def substituteCpsDirectArgInCall(applyOrTypeApply: Tree, originCPsDirectArg: ByInclusionCallArgs, nCpsDirectArg: Tree)(using Context): Option[Tree]