package rewrite
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
- case class ExplicitReturnTypes (mirror: SemanticCtx) extends SemanticRewrite with Product with Serializable
- case class NoAutoTupling (mirror: SemanticCtx) extends SemanticRewrite with Product with Serializable
- case class RemoveUnusedImports (mirror: SemanticCtx) extends SemanticRewrite with Product with Serializable
-
abstract
class
Rewrite
extends AnyRef
A Rewrite is a program that produces a Patch from a scala.meta.Tree.
-
case class
RewriteCtx
(tree: Tree, config: config.ScalafixConfig) extends PatchOps with Product with Serializable
Bundle of useful things when implementing Rewrite.
- abstract class SemanticRewrite extends Rewrite
Value Members
- object ConfigRewrite
- object DottyKeywords extends Rewrite with Product with Serializable
- object DottyVarArgPattern extends Rewrite with Product with Serializable
- object ExplicitUnit extends Rewrite with Product with Serializable
- object NoValInForComprehension extends Rewrite with Product with Serializable
- object ProcedureSyntax extends Rewrite with Product with Serializable
-
object
RemoveXmlLiterals
extends Rewrite with Product with Serializable
Rewrite Xml Literal to Xml Interpolator.
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 @ _*}
. - object Rewrite
- object ScalafixRewrites
- object VolatileLazyVal extends Rewrite with Product with Serializable