Kuddle.Node (Kuddle v0.2.1) View Source
The equivalent of a KDL Node, every node has a name, some optional annotations, attributes and children.
Annotations are plain strings.
Attributes contain both properties and values in the order that they appeared.
Children is a list of sub Nodes.
Link to this section Summary
Link to this section Types
Specs
attribute() :: {key :: Kuddle.Value.t(), value :: Kuddle.Value.t()} | Kuddle.Value.t()
An attribute is either a property {key, value}
, or just a plain value.