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