Lines Matching refs:Input
30 pub fn tag<'a, T: 'a, Input: 'a, Error: ParseError<Input>>(tag: T) -> impl Fn(Input) -> IResult<Inp… in tag() argument
32 Input: InputTake + Compare<T>, in tag()
35 move |i: Input| { in tag()
71 pub fn tag_no_case<T, Input, Error: ParseError<Input>>(tag: T) -> impl Fn(Input) -> IResult<Input, … in tag_no_case() argument
73 Input: InputTake + Compare<T>, in tag_no_case()
76 move |i: Input| { in tag_no_case()
113 pub fn is_not<T, Input, Error: ParseError<Input>>(arr: T) -> impl Fn(Input) -> IResult<Input, Input… in is_not() argument
115 Input: InputTakeAtPosition, in is_not()
116 T: InputLength + FindToken<<Input as InputTakeAtPosition>::Item>, in is_not()
118 move |i: 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() argument
149 Input: InputTakeAtPosition, in is_a()
150 T: InputLength + FindToken<<Input as InputTakeAtPosition>::Item>, in is_a()
152 move |i: Input| { in is_a()
179 pub fn take_while<F, Input, Error: ParseError<Input>>(cond: F) -> impl Fn(Input) -> IResult<Input, … in take_while() argument
181 Input: InputTakeAtPosition, in take_while()
182 F: Fn(<Input as InputTakeAtPosition>::Item) -> bool, in take_while()
184 move |i: Input| i.split_at_position_complete(|c| !cond(c)) in take_while()
209 pub fn take_while1<F, Input, Error: ParseError<Input>>(cond: F) -> impl Fn(Input) -> IResult<Input,… in take_while1() argument
211 Input: InputTakeAtPosition, in take_while1()
212 F: Fn(<Input as InputTakeAtPosition>::Item) -> bool, in take_while1()
214 move |i: Input| { in take_while1()
245 pub fn take_while_m_n<F, Input, Error: ParseError<Input>>(m: usize, n: usize, cond: F) -> impl Fn(I… in take_while_m_n() argument
247 Input: InputTake + InputIter + InputLength + Slice<RangeFrom<usize>>, in take_while_m_n()
248 F: Fn(<Input as InputIter>::Item) -> bool, in take_while_m_n()
250 move |i: Input| { in take_while_m_n()
317 pub fn take_till<F, Input, Error: ParseError<Input>>(cond: F) -> impl Fn(Input) -> IResult<Input, I… in take_till() argument
319 Input: InputTakeAtPosition, in take_till()
320 F: Fn(<Input as InputTakeAtPosition>::Item) -> bool, in take_till()
322 move |i: Input| i.split_at_position_complete(|c| cond(c)) in take_till()
348 pub fn take_till1<F, Input, Error: ParseError<Input>>(cond: F) -> impl Fn(Input) -> IResult<Input, … in take_till1() argument
350 Input: InputTakeAtPosition, in take_till1()
351 F: Fn(<Input as InputTakeAtPosition>::Item) -> bool, in take_till1()
353 move |i: Input| { in take_till1()
378 pub fn take<C, Input, Error: ParseError<Input>>(count: C) -> impl Fn(Input) -> IResult<Input, Input… in take() argument
380 Input: InputIter + InputTake, in take()
384 move |i: Input| match i.slice_index(c) { in take()
409 pub fn take_until<T, Input, Error: ParseError<Input>>(tag: T) -> impl Fn(Input) -> IResult<Input, I… in take_until() argument
411 Input: InputTake + FindSubstring<T>, in take_until()
414 move |i: Input| { in take_until()
446 pub fn escaped<Input, Error, F, G, O1, O2>(normal: F, control_char: char, escapable: G) -> impl Fn(… in escaped() argument
448 …Input: Clone + crate::traits::Offset + InputLength + InputTake + InputTakeAtPosition + Slice<Range… in escaped()
449 <Input as InputIter>::Item: crate::traits::AsChar, in escaped()
450 F: Fn(Input) -> IResult<Input, O1, Error>, in escaped() argument
451 G: Fn(Input) -> IResult<Input, O2, Error>, in escaped() argument
452 Error: ParseError<Input>, in escaped() argument
456 move |input: Input| { in escaped()
505 pub fn escapedc<Input, Error, F, G, O1, O2>(i: Input, normal: F, control_char: char, escapable: G) … in escapedc() argument
507 …Input: Clone + crate::traits::Offset + InputLength + InputTake + InputTakeAtPosition + Slice<Range… in escapedc()
508 <Input as InputIter>::Item: crate::traits::AsChar, in escapedc()
509 F: Fn(Input) -> IResult<Input, O1, Error>, in escapedc() argument
510 G: Fn(Input) -> IResult<Input, O2, Error>, in escapedc() argument
511 Error: ParseError<Input>, in escapedc() argument
546 pub fn escaped_transform<Input, Error, F, G, O1, O2, ExtendItem, Output>( in escaped_transform() argument
550 ) -> impl Fn(Input) -> IResult<Input, Output, Error> in escaped_transform() argument
552 …Input: Clone + crate::traits::Offset + InputLength + InputTake + InputTakeAtPosition + Slice<Range… in escaped_transform()
553 Input: crate::traits::ExtendInto<Item = ExtendItem, Extender = Output>, in escaped_transform()
556 Output: core::iter::Extend<<Input as crate::traits::ExtendInto>::Item>, in escaped_transform()
559 <Input as InputIter>::Item: crate::traits::AsChar, in escaped_transform()
560 F: Fn(Input) -> IResult<Input, O1, Error>, in escaped_transform() argument
561 G: Fn(Input) -> IResult<Input, O2, Error>, in escaped_transform() argument
562 Error: ParseError<Input>, in escaped_transform() argument
566 move |input: Input| { in escaped_transform()
620 pub fn escaped_transformc<Input, Error, F, G, O1, O2, ExtendItem, Output>( in escaped_transformc() argument
621 i: Input, in escaped_transformc() argument
625 ) -> IResult<Input, Output, Error> in escaped_transformc() argument
627 …Input: Clone + crate::traits::Offset + InputLength + InputTake + InputTakeAtPosition + Slice<Range… in escaped_transformc()
628 Input: crate::traits::ExtendInto<Item = ExtendItem, Extender = Output>, in escaped_transformc()
631 Output: core::iter::Extend<<Input as crate::traits::ExtendInto>::Item>, in escaped_transformc()
634 <Input as InputIter>::Item: crate::traits::AsChar, in escaped_transformc()
635 F: Fn(Input) -> IResult<Input, O1, Error>, in escaped_transformc() argument
636 G: Fn(Input) -> IResult<Input, O2, Error>, in escaped_transformc() argument
637 Error: ParseError<Input>, in escaped_transformc() argument