Expand description
The default emitter is what powers the simple SAX-like API that you see in the README.
Structs§
- Default
Emitter - This is the emitter you implicitly use with crate::Tokenizer::new. Refer to the crate docs for how usage looks like.
- Doctype
- A doctype. Some examples:
- EndTag
- A HTML end/close tag, such as
</p>
or</a>
. - Start
Tag - A HTML end/close tag, such as
<p>
or<a>
.
Enums§
- Token
- The token type used by default. You can define your own token type by implementing the
crate::Emitter
trait and usingcrate::Tokenizer::new_with_emitter
.