scalafix
A Rewrite is a program that produces a Patch from a scala.meta.Tree.
Bundle of useful things when implementing Rewrite.
Rewrite Xml Literal to Xml Interpolator.
e.g.
// before: { "Hello" } // after: xml" ${ "Hello" }"
This only rewrites xml literals in expression position: Xml patterns will not be supported by the xml interpolator, until we know how to rewrite case {ns @ _*}.
case {ns @ _*}
Rewrite Xml Literal to Xml Interpolator.
e.g.
This only rewrites xml literals in expression position: Xml patterns will not be supported by the xml interpolator, until we know how to rewrite
case {ns @ _*}
.