• Home
  • Raw
  • Download

Lines Matching refs:IResult

6 use crate::internal::IResult;
28 pub fn pair<I, O1, O2, E: ParseError<I>, F, G>(first: F, second: G) -> impl Fn(I) -> IResult<I, (O1… in pair()
30 F: Fn(I) -> IResult<I, O1, E>, in pair()
31 G: Fn(I) -> IResult<I, O2, E>, in pair()
41 pub fn pairc<I, O1, O2, E: ParseError<I>, F, G>(input: I, first: F, second: G) -> IResult<I, (O1, O… in pairc()
43 F: Fn(I) -> IResult<I, O1, E>, in pairc()
44 G: Fn(I) -> IResult<I, O2, E>, in pairc()
68 pub fn preceded<I, O1, O2, E: ParseError<I>, F, G>(first: F, second: G) -> impl Fn(I) -> IResult<I,… in preceded()
70 F: Fn(I) -> IResult<I, O1, E>, in preceded()
71 G: Fn(I) -> IResult<I, O2, E>, in preceded()
81 pub fn precededc<I, O1, O2, E: ParseError<I>, F, G>(input: I, first: F, second: G) -> IResult<I, O2… in precededc()
83 F: Fn(I) -> IResult<I, O1, E>, in precededc()
84 G: Fn(I) -> IResult<I, O2, E>, in precededc()
108 pub fn terminated<I, O1, O2, E: ParseError<I>, F, G>(first: F, second: G) -> impl Fn(I) -> IResult<… in terminated()
110 F: Fn(I) -> IResult<I, O1, E>, in terminated()
111 G: Fn(I) -> IResult<I, O2, E>, in terminated()
121 pub fn terminatedc<I, O1, O2, E: ParseError<I>, F, G>(input: I, first: F, second: G) -> IResult<I, … in terminatedc()
123 F: Fn(I) -> IResult<I, O1, E>, in terminatedc()
124 G: Fn(I) -> IResult<I, O2, E>, in terminatedc()
150 …3, E: ParseError<I>, F, G, H>(first: F, sep: G, second: H) -> impl Fn(I) -> IResult<I, (O1, O3), E> in separated_pair()
152 F: Fn(I) -> IResult<I, O1, E>, in separated_pair()
153 G: Fn(I) -> IResult<I, O2, E>, in separated_pair()
154 H: Fn(I) -> IResult<I, O3, E>, in separated_pair()
165 …2, O3, E: ParseError<I>, F, G, H>(input: I, first: F, sep: G, second: H) -> IResult<I, (O1, O3), E> in separated_pairc()
167 F: Fn(I) -> IResult<I, O1, E>, in separated_pairc()
168 G: Fn(I) -> IResult<I, O2, E>, in separated_pairc()
169 H: Fn(I) -> IResult<I, O3, E>, in separated_pairc()
195 … O2, O3, E: ParseError<I>, F, G, H>(first: F, sep: G, second: H) -> impl Fn(I) -> IResult<I, O2, E> in delimited()
197 F: Fn(I) -> IResult<I, O1, E>, in delimited()
198 G: Fn(I) -> IResult<I, O2, E>, in delimited()
199 H: Fn(I) -> IResult<I, O3, E>, in delimited()
210 … O1, O2, O3, E: ParseError<I>, F, G, H>(input: I, first: F, sep: G, second: H) -> IResult<I, O2, E> in delimitedc()
212 F: Fn(I) -> IResult<I, O1, E>, in delimitedc()
213 G: Fn(I) -> IResult<I, O2, E>, in delimitedc()
214 H: Fn(I) -> IResult<I, O3, E>, in delimitedc()
224 fn parse(&self, input: I) -> IResult<I,O,E>; in parse()
227 impl<Input, Output, Error: ParseError<Input>, F: Fn(Input) -> IResult<Input, Output, Error> > Tuple…
228 fn parse(&self, input: Input) -> IResult<Input,(Output,),Error> { in parse()
251 $($name: Fn(Input) -> IResult<Input, $ty, Error>),+
254 fn parse(&self, input: Input) -> IResult<Input, ( $($ty),+ ), Error> {
294 pub fn tuple<I: Clone, O, E: ParseError<I>, List: Tuple<I,O,E>>(l: List) -> impl Fn(I) -> IResult<… in tuple()