Lines Matching refs:advance
17 pub fn advance(&self, bytes: usize) -> Cursor<'a> { in advance() method
67 Ok(self.advance(tag.len())) in parse()
91 s = s.advance(4); in skip_whitespace()
108 s = s.advance(1); in skip_whitespace()
115 s = s.advance(ch.len_utf8()); in skip_whitespace()
142 return Ok((input.advance(i + 2), &input.rest[..i + 2])); in block_comment()
204 input = input.advance(1); in token_stream()
226 input = input.advance(1); in token_stream()
275 let rest = input.advance(ERROR.len()); in leaf_token()
298 let rest = input.advance((raw as usize) << 1); in ident_any()
338 Ok((input.advance(end), &input.rest[..end])) in ident_not_raw()
390 let input = input.advance(i + 1); in cooked_string()
406 input = input.advance(newline + 1); in cooked_string()
424 let rest = input.advance(i + 1 + delimiter.len()); in raw_string()
452 let input = input.advance(offset + 1); in cooked_byte_string()
465 input = input.advance(newline + 1); in cooked_byte_string()
486 return Ok((input.advance(i + 1), &input.rest[..i])); in delimiter_of_raw_string()
501 let rest = input.advance(i + 1 + delimiter.len()); in raw_byte_string()
534 let rest = input.advance(i + 1 + delimiter.len()); in raw_c_string()
554 let input = input.advance(i + 1); in cooked_c_string()
572 input = input.advance(newline + 1); in cooked_c_string()
603 let input = input.advance(offset).parse("'")?; in byte()
623 let input = input.advance(idx).parse("'")?; in character()
707 *input = input.advance(offset); in trailing_backslash()
771 Ok(input.advance(len - 1)) in float_digits()
807 Ok(input.advance(len)) in float_digits()
822 input = input.advance(2); in digits()
825 input = input.advance(2); in digits()
828 input = input.advance(2); in digits()
871 Ok(input.advance(len)) in digits()
907 Ok((input.advance(first.len_utf8()), first)) in punct_char()
963 let input = input.advance(3); in doc_comment_contents()
970 let input = input.advance(3); in doc_comment_contents()
989 return (input.advance(i), &input.rest[..i]); in take_until_newline_or_eof()
991 return (input.advance(i + 1), &input.rest[..i]); in take_until_newline_or_eof()
995 (input.advance(input.len()), input.rest) in take_until_newline_or_eof()