/// Construct a new parser with a source.
Construct a new parser with a source.
Construct a new parser with a source .
fn with_source(source: Source<'a>) -> Self {
        let span = source.span().or_else(crate::macros::current_stream_span);
        Self {
            peeker: Peeker {
                source,
                buf: VecDeque::new(),
                error: None,
                last: None,
            },
            span,
        }
    }
fn with_source ( source : Source < ' a > ) -> Self { let span = source . span ( ) . or_else ( crate :: macros :: current_stream_span ) ; Self { peeker : Peeker { source , buf : VecDeque :: new ( ) , error : None , last : None , } , span , } }
Construct a new parser with a source.
Construct a new parser with a source .
source
Source<'a>