View Source CliexMap.PipelineFunctions (CliexMap v0.2.0)
Implements all functions the compiler compiles to. It is like a runtime, but as we will always use them in the Mapper's pipeline the naming seems appropriate
Summary
Functions
Function that represents fields like %
, %2
or %-3
Fucnction that represents literal strings in the pattern, e.g. %%
or Hello World
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 field_function(integer()) :: CliexMap.Fn.t()
Function that represents fields like %
, %2
or %-3
@spec literal_function(binary()) :: CliexMap.Fn.t()
Fucnction that represents literal strings in the pattern, e.g. %%
or Hello World