Juggernaut.Ignore.Directive (Juggernaut v0.4.0)

Copy Markdown View Source

One parsed ignore directive (Juggernaut.Ignore): its prefix, scope, the lines it covers (first for a line directive, first..last for a region, all for a file), its filter (nil for none, else {family, label | nil} items) and reason.

Summary

Types

t()

@type t() :: %Juggernaut.Ignore.Directive{
  comment_line: pos_integer(),
  filter: nil | [{atom(), String.t() | nil}],
  first: pos_integer() | nil,
  last: pos_integer() | nil,
  prefix: String.t(),
  reason: String.t(),
  scope: :line | :region | :file
}