View Source CliexMap.Mapper (CliexMap v0.2.5)
Maps each line according to pattern to a new, \n
terminated string
Summary
Types
@type ast() :: any()
@type binaries() :: [binary()]
@type either(success_t, error_t) :: {:ok, success_t} | {:error, error_t}
@type line_nb_t() :: non_neg_integer()
@type maybe(t) :: nil | t
Functions
@spec map(Enumerable.t(), [CliexMap.FunctionList.t()], CliexMap.Context.t()) :: binaries()
@spec transform_line( numbered_line_t(), [CliexMap.FunctionList.t()], CliexMap.Context.t() ) :: binary()