StatifierBlocks.SourceView.Span (StatifierBlocks v0.29.0)

Copy Markdown View Source

One run of generated bytes with one owner, as StatifierBlocks.Provenance.owner_at/2 answers for it.

offset is the byte offset the run starts at, which is the offset that was resolved. block_id is nil for a run no span in the map contains.

Summary

Types

t()

@type t() :: %StatifierBlocks.SourceView.Span{
  block_id: StatifierBlocks.Block.id() | nil,
  config_key: String.t() | nil,
  offset: non_neg_integer(),
  role: String.t() | nil,
  text: binary()
}