Packages
xml_parsec
0.1.0
XmlParsec is a library based on [parser combinators](https://en.wikipedia.org/wiki/Parser_combinator), written in pure Elixir.
Current section
Files
Jump to
Current section
Files
lib/xml/tag.ex
defmodule XML.Tag do
import Lens
@moduledoc """
Module containing struct representing an example tag.
"""
@type t :: %__MODULE__{
name: String.t(),
attributes: %{},
values: [%__MODULE__{} | String.t()] | nil
}
deflenses [:name, :attributes, :values]
end