Skip to main content

Module parser

Module parser 

Source
Expand description

Contains low-level parsers of different XML pieces.

These parsers are the incremental state machines that the pull Reader drives while scanning for the end of a markup construct. Each parser consumes bytes chunk-by-chunk (so that it can be fed across buffer boundaries) and reports the position at which the construct it recognizes ends.

Mirrors the parser module of quick-xml 0.41.

Structs§

PiParser
A parser that search a ?> sequence in the slice.

Enums§

CommentParser
A parser that search a --> sequence in the slice.
ElementParser
A parser that search a > symbol in the slice outside of quoted regions.

Traits§

Parser
Used to decouple reading of data from data source and parsing XML structure from it. This is a state preserved between getting chunks of bytes from the reader.