Lines Matching defs:Cursor
10 pub(crate) struct Cursor<'a> { struct
16 impl<'a> Cursor<'a> { argument
77 fn skip_whitespace(input: Cursor) -> Cursor { in skip_whitespace()
157 fn word_break(input: Cursor) -> Result<Cursor, Reject> { in word_break()
347 fn literal_nocapture(input: Cursor) -> Result<Cursor, Reject> { in literal_nocapture()
367 fn literal_suffix(input: Cursor) -> Cursor { in literal_suffix()
374 fn string(input: Cursor) -> Result<Cursor, Reject> { in string()
384 fn cooked_string(mut input: Cursor) -> Result<Cursor, Reject> { in cooked_string()
418 fn raw_string(input: Cursor) -> Result<Cursor, Reject> { in raw_string()
437 fn byte_string(input: Cursor) -> Result<Cursor, Reject> { in byte_string()
447 fn cooked_byte_string(mut input: Cursor) -> Result<Cursor, Reject> { in cooked_byte_string()
495 fn raw_byte_string(input: Cursor) -> Result<Cursor, Reject> { in raw_byte_string()
518 fn c_string(input: Cursor) -> Result<Cursor, Reject> { in c_string()
528 fn raw_c_string(input: Cursor) -> Result<Cursor, Reject> { in raw_c_string()
548 fn cooked_c_string(mut input: Cursor) -> Result<Cursor, Reject> { in cooked_c_string()
585 fn byte(input: Cursor) -> Result<Cursor, Reject> { in byte()
607 fn character(input: Cursor) -> Result<Cursor, Reject> { in character()
696 fn trailing_backslash(input: &mut Cursor, mut last: u8) -> Result<(), Reject> { in trailing_backslash()
715 fn float(input: Cursor) -> Result<Cursor, Reject> { in float()
725 fn float_digits(input: Cursor) -> Result<Cursor, Reject> { in float_digits()
810 fn int(input: Cursor) -> Result<Cursor, Reject> { in int()
820 fn digits(mut input: Cursor) -> Result<Cursor, Reject> { in digits()
984 fn take_until_newline_or_eof(input: Cursor) -> (Cursor, &str) { in take_until_newline_or_eof()