//! Contains low-level parsers of different XML pieces.
use crateSyntaxError;
pub use ElementParser;
pub use PiParser;
/// 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.
///
/// This trait is implemented for every parser that processes piece of XML grammar.