MiniPhase to transform s and raw string interpolators from using StringContext to string concatenation. Since string concatenation uses the Java String builder, we get a performance improvement in terms of these two interpolators.
Matches a list of constant literals
Matches an s or raw string interpolator
Match trees that resemble s and raw string interpolations. In the case of the s interpolator, escapes the string constants. Exposes the string constants as well as the variable references.
A name given to the
Phase that can be used to debug the compiler. For
instance, it is possible to print trees after a given phase using:
$ ./bin/dotc -Xprint:<phaseNameHere> sourceFile.scala