xml_stream v0.1.0 Printer behaviour View Source

Link to this section Summary

Link to this section Types

Link to this type acc() View Source
acc() :: {element(), number()}
Link to this type attrs() View Source
attrs() :: %{required(String.t()) => String.t()}
Link to this type element_types() View Source
element_types() :: :open | :const | :close

Link to this section Callbacks

Link to this callback print(element, arg1) View Source
print(element(), acc() | nil) :: {[String.t()], acc() | nil}