Sourceror.get_line_span

You're seeing just the function get_line_span, go back to Sourceror module for more information.

Specs

get_line_span(Macro.t()) :: integer()

Returns how many lines a quoted expression used in the original source code.

iex> "foo do :ok end" |> Sourceror.parse_string!() |> Sourceror.get_line_span()
1

iex> """
...> foo do
...>   :ok
...> end
...> """ |> Sourceror.parse_string!() |> Sourceror.get_line_span()
3