p

scalafix

rewrite

package rewrite

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. case class ExplicitReturnTypes (mirror: SemanticCtx) extends SemanticRewrite with Product with Serializable
  2. case class NoAutoTupling (mirror: SemanticCtx) extends SemanticRewrite with Product with Serializable
  3. case class RemoveUnusedImports (mirror: SemanticCtx) extends SemanticRewrite with Product with Serializable
  4. abstract class Rewrite extends AnyRef

    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

    Bundle of useful things when implementing Rewrite.

  6. abstract class SemanticRewrite extends Rewrite

Value Members

  1. object ConfigRewrite
  2. object DottyKeywords extends Rewrite with Product with Serializable
  3. object DottyVarArgPattern extends Rewrite with Product with Serializable
  4. object ExplicitUnit extends Rewrite with Product with Serializable
  5. object NoValInForComprehension extends Rewrite with Product with Serializable
  6. object ProcedureSyntax extends Rewrite with Product with Serializable
  7. 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 @ _*}.

  8. object Rewrite
  9. object ScalafixRewrites
  10. object VolatileLazyVal extends Rewrite with Product with Serializable

Ungrouped