View Source EarmarkParser.Options (EarmarkParser v1.4.26)
Link to this section Summary
Functions
Use normalize before passing it into any API function
Link to this section Types
@type inline_code_continuation() :: {nil | String.t(), number()}
@type maybe(t) :: t | nil
@type message() :: {message_type(), number(), String.t()}
@type message_type() :: :warning | :error
@type numbered_line() :: %{line: String.t(), lnb: number()}
@type token() :: {atom(), String.t()}
@type tokens() :: [token()]
Link to this section Functions
Use normalize before passing it into any API function
iex(1)> options = normalize(annotations: "%%")
...(1)> options.annotations
~r{\A(.*)(%%.*)}