aboutsummaryrefslogblamecommitdiffstats
path: root/src/event.rs
blob: 244d3aa09e7c450bfa09dbd837f6dc3f317c18cb (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                                                                                                                                                               










                                    
// 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,
}