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

pub struct XmlTokenizer<Sink> { /* fields omitted */ }

The Xml tokenizer.

Methods

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

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

Returns destination of token events.

Immutably borrows destination of token events.

Mutably borrows destinantion of token events.

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.