Macros
com.thoughtworks.dsl.macros.Reset$.Macros$
object Macros
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- Macros.type
Members list
Concise view
Value members
Concrete methods
def
quoted.Type.valueOfConstant[DontSuspend](dontSuspend)(qctx)match{
caseNone=>
qctx.reflect.report.error("DontSuspendisnotdefined",body)
quote[Nothing](???).apply(usingqctx)
caseSome(dontSuspend)=>
newMacros[qctx.type](shouldResetNestedFunctions=translateNestedFunction,dontSuspend=`dontSuspend₂`)(qctx).reify[V](body)(tv)
}
}
}" t="n"class="documentableName ">reify[ShouldResetNestedFunctions <: Boolean & Singleton, DontSuspend <: Boolean & Singleton, V](body: Expr[V])(using qctx: Quotes, translateNestedFunctions: Type[ShouldResetNestedFunctions], dontSuspend: Type[DontSuspend], tv: Type[V]): Expr[_]
def
quoted.Type.valueOfConstant[DontSuspend](dontSuspend)(qctx)match{
caseNone=>
qctx.reflect.report.error("DontSuspendisnotdefined",body)
quote[Nothing](???).apply(usingqctx)
caseSome(dontSuspend)=>
valresult:Expr[To]=newMacros[qctx.type](shouldResetNestedFunctions=translateNestedFunction,dontSuspend=`dontSuspend₂`)(qctx).reset[From,To](body)(fromType,toType)
(result:Expr[To])
}
}
}" t="n"class="documentableName ">reset[ShouldResetNestedFunctions <: Boolean & Singleton, DontSuspend <: Boolean & Singleton, From, To](body: Expr[From])(using qctx: Quotes, translateNestedFunctions: Type[ShouldResetNestedFunctions], dontSuspend: Type[DontSuspend], fromType: Type[From], toType: Type[To]): Expr[To]