Macros
com.thoughtworks.dsl.macros.Reset$.Macros$
object Macros
Attributes
- Source:
- Reset.scala
- 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[_]
Attributes
- Source:
- Reset.scala
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]
Attributes
- Source:
- Reset.scala