Carvex.Pos (Carvex v0.0.1)

Copy Markdown View Source

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

Lines are 1-based. Columns and offsets count Unicode codepoints (not bytes); end_column and end_offset are exclusive.

Summary

Types

t()

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