pub struct HtmlTokenizer { /* private fields */ }Expand description
HTML tokenizer that converts input bytes into tokens
Implementations§
Source§impl HtmlTokenizer
impl HtmlTokenizer
Sourcepub fn tokenize_all(&mut self) -> Vec<Token>
pub fn tokenize_all(&mut self) -> Vec<Token>
Tokenize the entire input into a Vec of tokens
Sourcepub fn next_token(&mut self) -> Token
pub fn next_token(&mut self) -> Token
Get the next token from the input