Pathex v0.2.0 Pathex.Builder.Code View Source

Link to this section Summary

Link to this section Types

Link to this type

code_type()

View Source
code_type() :: :one_arg_pipe
Link to this type

t()

View Source
t() :: %Pathex.Builder.Code{
  code: Macro.t(),
  vars: [{atom(), list(), atom() | nil}] | []
}

Link to this section Functions

Link to this function

multiple_to_fn(codes)

View Source
multiple_to_fn([{atom(), t()}]) :: Macro.t()
Link to this function

new_one_arg_pipe(code)

View Source
new_one_arg_pipe(Macro.t()) :: t()
Link to this function

to_def(code, name)

View Source
to_def(t(), atom()) :: Macro.t()