Package

scalafix

rewrite

Permalink

package rewrite

Visibility
  1. Public
  2. All

Type Members

  1. case class ExplicitReturnTypes(mirror: SemanticCtx) extends SemanticRewrite with Product with Serializable

    Permalink
  2. case class NoAutoTupling(mirror: SemanticCtx) extends SemanticRewrite with Product with Serializable

    Permalink
  3. case class RemoveUnusedImports(mirror: SemanticCtx) extends SemanticRewrite with Product with Serializable

    Permalink
  4. abstract class Rewrite extends AnyRef

    Permalink

    A Rewrite is a program that produces a Patch from a scala.meta.Tree.

  5. case class RewriteCtx(tree: Tree, config: config.ScalafixConfig) extends PatchOps with Product with Serializable

    Permalink

    Bundle of useful things when implementing Rewrite.

  6. abstract class SemanticRewrite extends Rewrite

    Permalink

Value Members

  1. object ConfigRewrite

    Permalink
  2. object DottyKeywords extends Rewrite with Product with Serializable

    Permalink
  3. object DottyVarArgPattern extends Rewrite with Product with Serializable

    Permalink
  4. object ExplicitUnit extends Rewrite with Product with Serializable

    Permalink
  5. object NoValInForComprehension extends Rewrite with Product with Serializable

    Permalink
  6. object ProcedureSyntax extends Rewrite with Product with Serializable

    Permalink
  7. object RemoveXmlLiterals extends Rewrite with Product with Serializable

    Permalink

    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 @ _*}.

  8. object Rewrite

    Permalink
  9. object ScalafixRewrites

    Permalink
  10. object VolatileLazyVal extends Rewrite with Product with Serializable

    Permalink

Ungrouped