Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 338 Bytes
defmodule Exavier.Mutators.Mutator do
@type operator() :: atom()
@type metadata() :: keyword()
@type args() :: term()
@type ast_node() :: {operator(), metadata(), args()}
@type lines_to_mutate() :: [integer()]
@callback operators() :: [operator()]
@callback mutate(ast_node(), lines_to_mutate()) :: ast_node() | :skip
end
You can’t perform that action at this time.