Ergo.Parsers.decimal
You're seeing just the function
decimal
, go back to Ergo.Parsers module for more information.
Link to this function
decimal()
Examples
iex> alias Ergo.Context
iex> import Ergo.Parsers
iex> context = Context.new("234.56")
iex> parser = decimal()
iex> assert %Context{status: :ok, ast: 234.56} = parser.(context)