html5gum 0.8.3

A WHATWG-compliant HTML5 tokenizer and tag soup parser.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/// Tokenizer that the tokenizer can be switched to from within the emitter.
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum State {
    /// The data state.
    Data,
    /// The plain text state.
    PlainText,
    /// The RC data state.
    RcData,
    /// The raw text state.
    RawText,
    /// The script data state.
    ScriptData,
    /// The cdata section state.
    CdataSection,
}