View Source EarmarkParser.Options (EarmarkParser v1.4.24)

Link to this section Summary

Functions

Use normalize before passing it into any API function

Link to this section Types

Link to this type

inline_code_continuation()

View Source

Specs

inline_code_continuation() :: {nil | String.t(), number()}

Specs

maybe(t) :: t | nil

Specs

message() :: {message_type(), number(), String.t()}

Specs

message_type() :: :warning | :error

Specs

numbered_line() :: %{line: String.t(), lnb: number()}

Specs

token() :: {atom(), String.t()}

Specs

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(.*)(%%.*)}