Struct html5ever::tokenizer::Tokenizer [] [src]

pub struct Tokenizer<Sink> {
    pub sink: Sink,
    // some fields omitted
}

The HTML tokenizer.

Fields

Destination for tokens we emit.

Methods

impl<Sink: TokenSink> Tokenizer<Sink>
[src]

Create a new tokenizer which feeds tokens to a particular TokenSink.

Feed an input string into the tokenizer.

impl<Sink: TokenSink> Tokenizer<Sink>
[src]

Indicate that we have reached the end of the input.