Packages

o

scalafix.internal.patch

PatchInternals

object PatchInternals

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PatchInternals
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class ResultWithContext(fixed: String, patches: List[v0.Patch], diagnostics: List[RuleDiagnostic], ruleCtx: v0.RuleCtx, semanticdbIndex: Option[v0.SemanticdbIndex]) extends Product with Serializable

Value Members

  1. def apply(patchesByName: Map[rule.RuleName, scalafix.Patch], ctx: v0.RuleCtx, index: Option[v0.SemanticdbIndex], suppress: Boolean = false): ResultWithContext
  2. def isOnlyLintMessages(patch: patch.Patch): Boolean
  3. def merge(a: TokenPatch, b: TokenPatch): TokenPatch
  4. def semantic(patchesByName: Map[rule.RuleName, scalafix.Patch], doc: SemanticDocument, suppress: Boolean): ResultWithContext
  5. def syntactic(patchesByName: Map[rule.RuleName, scalafix.Patch], doc: SyntacticDocument, suppress: Boolean): ResultWithContext
  6. def tokenPatchApply(ctx: v0.RuleCtx, index: Option[v0.SemanticdbIndex], v0Patches: Iterable[v0.Patch]): String
  7. def treePatchApply(patch: patch.Patch)(implicit ctx: v0.RuleCtx, index: v0.SemanticdbIndex): Iterable[TokenPatch]
  8. def unifiedDiff(original: scala.meta.Input, revised: scala.meta.Input, context: Int): String
  9. def unifiedDiff(original: scala.meta.Input, revised: scala.meta.Input): String