Current section

Files

Jump to
xberg lib xberg code_data_attribute.ex
Raw

lib/xberg/code_data_attribute.ex

# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:4e21c71a5751b345136e5ca51dea30bbd3862f7fdc63aa50e6b36be84c454e0e
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
defmodule Xberg.CodeDataAttribute do
@moduledoc """
An XML-style attribute attached to an [`Element`](CodeDataNodeKind::Element) node.
Populated only for `CodeDataNodeKind::Element`; always empty for `KeyValue` and
`Sequence` nodes.
"""
@typedoc "An XML-style attribute attached to an [`Element`](CodeDataNodeKind::Element) node."
@type t :: %__MODULE__{
name: String.t() | nil,
value: String.t() | nil,
byte_start: non_neg_integer(),
byte_end: non_neg_integer()
}
defstruct name: nil,
value: nil,
byte_start: 0,
byte_end: 0
end