trait S2StringContext
These implicit methods declare which kind of object can be interpolated in a s2 string;
- a function using the previous text and returning Fragments
- specification references
- examples using the Env, arguments, the statistics repository, the command line arguments
- other specifications
- strings
- fragments
- Companion:
- object
trait SpecificationCreation
trait SpecificationLike
class Specification
trait SpecificationLike
trait SpecificationLike
class Specification
class Specification
trait SpecificationCreation
trait SpecificationLike
class Specification
Type members
Inherited classlikes
Value members
Inherited methods
def s2(content: String, Yrangepos: Boolean, texts: Seq[String], textsStartPositions: Seq[String], textsEndPositions: Seq[String], variables: Seq[InterpolatedFragment], rangeExpressions: Seq[String]): Fragments
based on the interpolated variables and the expressions captured with the macro, create the appropriate fragments
based on the interpolated variables and the expressions captured with the macro, create the appropriate fragments
if the Yrangepos scalac option is not set then we use an approximated method to find the expressions texts
- Inherited from:
- S2StringContextCreation
Implicits
Implicits
implicit def descriptionToFragmentsIsInterpolatedFragment(fragments: String => Fragments): InterpolatedFragment
implicit def stringFunctionIsInterpolatedFragment[R : AsResult](f: String => R): InterpolatedFragment