aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-09-28 10:22:52 +0200
committerMartin Fischer <martin@push-f.com>2023-09-28 10:36:08 +0200
commit9e4ad2e8d9b2f1c422bbe0d32aae2afa425769fa (patch)
treed2cd1d2ba7cc68a741be112db2dc5d1dff0d22b5 /src
parent3c89744824ea6b8b32d82c2c37ac1de6d980709c (diff)
break!: remove State::{ScriptDataEscaped, ScriptDataDoubleEscaped}
These variants actually don't need to be exposed (to the tree builder).
Diffstat (limited to 'src')
-rw-r--r--src/tokenizer.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/tokenizer.rs b/src/tokenizer.rs
index 83b18e1..8a6e2fd 100644
--- a/src/tokenizer.rs
+++ b/src/tokenizer.rs
@@ -105,14 +105,6 @@ pub enum State {
///
/// [script data state]: https://html.spec.whatwg.org/multipage/parsing.html#script-data-state
ScriptData,
- /// The [script data escaped state].
- ///
- /// [script data escaped state]: https://html.spec.whatwg.org/multipage/parsing.html#script-data-escaped-state
- ScriptDataEscaped,
- /// The [script data double escaped state].
- ///
- /// [script data double escaped state]: https://html.spec.whatwg.org/multipage/parsing.html#script-data-double-escaped-state
- ScriptDataDoubleEscaped,
}
impl From<State> for machine::State {
@@ -123,8 +115,6 @@ impl From<State> for machine::State {
State::Rcdata => machine::State::Rcdata,
State::Rawtext => machine::State::Rawtext,
State::ScriptData => machine::State::ScriptData,
- State::ScriptDataEscaped => machine::State::ScriptDataEscaped,
- State::ScriptDataDoubleEscaped => machine::State::ScriptDataDoubleEscaped,
}
}
}