Solid.Argument (solid v0.15.2) View Source

An Argument can be a field that will be inside the context or a value (String, Integer, etc)

Link to this section Summary

Link to this section Functions

Link to this function

get(arg, context, opts \\ [])

View Source

Specs

get(
  [{:field, [String.t() | integer()]}] | [{:value, term()}],
  Solid.Context.t(),
  Keyword.t()
) ::
  {:ok, term(), Solid.Context.t()}
Link to this function

parse_named_arguments(ast, context, opts \\ [])

View Source

Specs

parse_named_arguments(list(), Solid.Context.t(), Keyword.t()) ::
  {:ok, list(), Solid.Context.t()}