/// Shifts the current lexer position after fetching some
/// token and returns the span of the input change.
Shifts the current lexer position after fetching some
token and returns the span of the input change.
Shifts the current lexer position after fetching some token and returns the span of the input change .
fn shift_location(&mut self, text: &'inp str) -> Span<Location> {
        let start = self.current;
        for ch in text.chars() {
            self.current.shift(ch);
        }
        span(start, self.current)
    }
fn shift_location ( & mut self , text : & ' inp str ) -> Span < Location > { let start = self . current ; for ch in text . chars ( ) { self . current . shift ( ch ) ; } span ( start , self . current ) }
Shifts the current lexer position after fetching some
token and returns the span of the input change.
Shifts the current lexer position after fetching some token and returns the span of the input change .
&mut self
text
&'inp str