ShiftedMethodGenerator
cps.plugin.ShiftedMethodGenerator
object ShiftedMethodGenerator
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Members list
Value members
Concrete methods
def buildParamssMap(tp: Type, oldParamss: List[ParamClause], newParamss: List[List[Tree]])(using Context): Map[Symbol, Tree]
transform a function which is returned from the high-order annotated function
transform a function which is returned from the high-order annotated function
Attributes
def shiftParamTypes(paramTypes: List[Type], nesting: Int, ftp: Type)(using Context): (List[Type], Int)
def shiftedFunctionReturnType(tp: Type, nesting: Int, ftp: Type, shiftedParamWasFound: Boolean)(using Context): Type
def transformFunсBody(tree: Tree, functionParams: List[ValDef], newParamss: List[List[Tree]])(using Context): Tree
transform rhs of the annotated function
transform rhs of the annotated function
Value parameters
- functionParams
-
- function params of the functions (we want to insert await-s for them)
- newParamss
-
- new parameters of the function
- tree
-
- rhs of the function
Attributes
In this article