Markup.Carve.Pos (Markup.Carve v0.1.0)

Copy Markdown View Source

A node's source span, present when parsed with parse: [positions: true].

Lines and columns are 1-based. Offsets are UTF-8 byte offsets into the source; end_column and end_offset are exclusive.

Summary

Types

t()

@type t() :: %Markup.Carve.Pos{
  end_column: term(),
  end_line: term(),
  end_offset: term(),
  file: term(),
  start_column: term(),
  start_line: term(),
  start_offset: term()
}