RSStringContext

stringmatching.regex.Interpolators.RSStringContext

An intermediate representation that stores the format described by an interpolated string.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

transparent inline def unapply[Base](scrutinee: Base): Any
Extension method from Interpolators

enables compile time splitting of string globs with the syntax r"$foo...(, )". can be arbitrarily nested, e.g. r"${r"$foos...(, )"}...(; )".

enables compile time splitting of string globs with the syntax r"$foo...(, )". can be arbitrarily nested, e.g. r"${r"$foos...(, )"}...(; )".

case r"Foo $id: $bars...(, )" => (id, bars)

is equivalent to

case s"Foo $id: $bars0" => (id, bars0.split(", ").toIndexedSeq)

Attributes