Interpolators
Attributes
- Graph
-
- Supertypes
- Self type
-
Interpolators.type
Members list
Type members
Classlikes
enum with tokens representing format strings for PatternElement.Format
.
enum with tokens representing format strings for PatternElement.Format
.
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Holder for the pattern elements described by a string interpolated with r
.
Holder for the pattern elements described by a string interpolated with r
.
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
enum representing all possible patterns described by the r
interpolator.
enum representing all possible patterns described by the r
interpolator.
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
An intermediate representation that stores the format described by an interpolated string.
An intermediate representation that stores the format described by an interpolated string.
Attributes
- Supertypes
Extensions
Extensions
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
use in patterns like case r"$foo...(, )" => println(foo)
use in patterns like case r"$foo...(, )" => println(foo)