Lines Matching refs:IResult
5 use crate::internal::{Err, IResult, Needed};
28 pub fn tag<'a, T: 'a, Input: 'a, Error: ParseError<Input>>(tag: T) -> impl Fn(Input) -> IResult<Inp… in tag()
37 let res: IResult<_, _, Error> = match i.compare(t) { in tag()
69 pub fn tag_no_case<T, Input, Error: ParseError<Input>>(tag: T) -> impl Fn(Input) -> IResult<Input, … in tag_no_case()
78 let res: IResult<_, _, Error> = match (i).compare_no_case(t) { in tag_no_case()
112 pub fn is_not<T, Input, Error: ParseError<Input>>(arr: T) -> impl Fn(Input) -> IResult<Input, Input… in is_not()
147 pub fn is_a<T, Input, Error: ParseError<Input>>(arr: T) -> impl Fn(Input) -> IResult<Input, Input, … in is_a()
181 pub fn take_while<F, Input, Error: ParseError<Input>>(cond: F) -> impl Fn(Input) -> IResult<Input, … in take_while()
214 pub fn take_while1<F, Input, Error: ParseError<Input>>(cond: F) -> impl Fn(Input) -> IResult<Input,… in take_while1()
251 …or: ParseError<Input>>(m: usize, n: usize, cond: F) -> impl Fn(Input) -> IResult<Input, Input, Err… in take_while_m_n()
263 let res: IResult<_, _, Error> = if let Some(index) = input.slice_index(idx) { in take_while_m_n()
270 let res: IResult<_, _, Error> = if let Some(index) = input.slice_index(n) { in take_while_m_n()
322 pub fn take_till<F, Input, Error: ParseError<Input>>(cond: F) -> impl Fn(Input) -> IResult<Input, I… in take_till()
353 pub fn take_till1<F, Input, Error: ParseError<Input>>(cond: F) -> impl Fn(Input) -> IResult<Input, … in take_till1()
384 pub fn take<C, Input, Error: ParseError<Input>>(count: C) -> impl Fn(Input) -> IResult<Input, Input… in take()
417 pub fn take_until<T, Input, Error: ParseError<Input>>(tag: T) -> impl Fn(Input) -> IResult<Input, I… in take_until()
426 let res: IResult<_, _, Error> = match i.find_substring(t) { in take_until()
456 …1, O2>(normal: F, control_char: char, escapable: G) -> impl Fn(Input) -> IResult<Input, Input, Err… in escaped()
460 F: Fn(Input) -> IResult<Input, O1, Error>, in escaped()
461 G: Fn(Input) -> IResult<Input, O2, Error>, in escaped()
512 … F, G, O1, O2>(i: Input, normal: F, control_char: char, escapable: G) -> IResult<Input, Input, Err… in escapedc()
516 F: Fn(Input) -> IResult<Input, O1, Error>, in escapedc()
517 G: Fn(Input) -> IResult<Input, O2, Error>, in escapedc()
557 ) -> impl Fn(Input) -> IResult<Input, Output, Error> in escaped_transform()
567 F: Fn(Input) -> IResult<Input, O1, Error>, in escaped_transform()
568 G: Fn(Input) -> IResult<Input, O2, Error>, in escaped_transform()
629 ) -> IResult<Input, Output, Error> in escaped_transformc()
639 F: Fn(Input) -> IResult<Input, O1, Error>, in escaped_transformc()
640 G: Fn(Input) -> IResult<Input, O2, Error>, in escaped_transformc()