Struct xml5ever::tokenizer::XmlTokenizer [] [src]

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

The Xml tokenizer.

Fields

Destination for tokens we emit.

Methods

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

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

Feed an input string into the tokenizer.

Run the state machine for as long as we can.

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

Indicate that we have reached the end of the input.