Trait swc_xml_parser::parser::input::ParserInput

source ·
pub trait ParserInput: Iterator<Item = TokenAndSpan> {
    // Required methods
    fn start_pos(&mut self) -> BytePos;
    fn last_pos(&mut self) -> BytePos;
    fn take_errors(&mut self) -> Vec<Error>;
}

Required Methods§

source

fn start_pos(&mut self) -> BytePos

source

fn last_pos(&mut self) -> BytePos

source

fn take_errors(&mut self) -> Vec<Error>

Implementors§

source§

impl<I> ParserInput for Lexer<I>
where I: Input,