Muta.Mutation (muta v0.1.0)

Copy Markdown View Source

Summary

Types

t()

@type t() :: %Muta.Mutation{
  at: non_neg_integer(),
  file: Path.t(),
  line: pos_integer(),
  mutated: String.t(),
  mutator: module(),
  original: String.t(),
  replacement: Macro.t()
}

Functions

apply_to(mutation, ast)

@spec apply_to(t(), Macro.t()) :: Macro.t()