Trait swc_css_parser::parser::input::ParserInput
source · pub trait ParserInput: Clone + Iterator<Item = TokenAndSpan> {
type State: Debug;
// Required methods
fn start_pos(&mut self) -> BytePos;
fn state(&mut self) -> Self::State;
fn reset(&mut self, state: &Self::State);
fn take_errors(&mut self) -> Vec<Error>;
fn skip_ws(&mut self) -> Option<BytePos>;
}