blob: 244d3aa09e7c450bfa09dbd837f6dc3f317c18cb (
plain) (
tree)
|
|
// tags, declaration, comments, text. individual bits and what they contain, e.g. tag contains attributes and namespace declarations, lang, ONLY within the tag
pub enum Event<'s> {
StartTag(Vec<Event<'s>>),
EmptyTag(Vec<Event>),
Attribute(())
CData(&'s str),
Comment(&'s str),
Declaration(Vec<Attribute<'s>>),
Attribute((&'str))
EndTag,
}
|