object S2StringContext
- Companion
- class
class Object
trait Matchable
class Any
Value members
Concrete methods
def executionInterpolated(execution: Expr[Execution], ff: Expr[FragmentFactory])(using qctx: Quotes): Expr[Interpolated]
def s2(texts: Seq[String], interpolated: Seq[Interpolated], ff: FragmentFactory, postProcess: Fragments => Fragments): Fragments
Create fragments based on captured texts + "interpolated fragments"
Create fragments based on captured texts + "interpolated fragments"
Depending on the interpolated element being added the preceding text can be left as it is or used as a description (e.g. to create an Example)
def s2Implementation(sc: Expr[StringContext])(variables: Expr[Seq[Interpolated]], ff: Expr[FragmentFactory], postProcess: Expr[Fragments => Fragments])(using qctx: Quotes): Expr[Fragments]
Macro implementation for s2 strings. It extracts the s2 texts + interpolated fragments
Macro implementation for s2 strings. It extracts the s2 texts + interpolated fragments