Home
last modified time | relevance | path

Searched refs:parse_lazy (Results 1 – 11 of 11) sorted by relevance

/external/rust/android-crates-io/crates/combine/src/parser/
Dtoken.rs25 fn parse_lazy(&mut self, input: &mut Input) -> ParseResult<Input::Token, Input::Error> { in parse_lazy() function
82 fn parse_lazy(&mut self, input: &mut Input) -> ParseResult<Self::Output, Input::Error> { in parse_lazy() function
129 fn parse_lazy(&mut self, input: &mut Input) -> ParseResult<Self::Output, Input::Error> { in parse_lazy() function
188 fn parse_lazy(&mut self, input: &mut Input) -> ParseResult<Input::Token, Input::Error> { in parse_lazy() function
240 fn parse_lazy(&mut self, input: &mut Input) -> ParseResult<T, Input::Error> { in parse_lazy() function
344 fn parse_lazy(&mut self, input: &mut Input) -> ParseResult<T, Input::Error> { in parse_lazy() function
439 fn parse_lazy(&mut self, input: &mut Input) -> ParseResult<Input::Position, Input::Error> { in parse_lazy() function
487 fn parse_lazy(&mut self, input: &mut Input) -> ParseResult<Input::Token, Input::Error> { in parse_lazy() function
488 satisfy(|c| self.tokens.clone().into_iter().any(|t| t == c)).parse_lazy(input) in parse_lazy()
540 fn parse_lazy(&mut self, input: &mut Input) -> ParseResult<Input::Token, Input::Error> { in parse_lazy() function
[all …]
Dfunction.rs17 fn parse_lazy(&mut self, input: &mut Input) -> ParseResult<O, Input::Error> { in parse_lazy() function
78 fn parse_lazy(&mut self, input: &mut Input) -> ParseResult<O, Input::Error> { in parse_lazy() function
91 fn parse_lazy(&mut self, input: &mut Input) -> ParseResult<O, Input::Error> { in parse_lazy() function
127 fn parse_lazy(&mut self, input: &mut Input) -> ParseResult<O, Input::Error> { in parse_lazy() function
Dregex.rs232 fn parse_lazy( in parse_lazy() function
289 fn parse_lazy( in parse_lazy() function
295 Some(value) => take(end).parse_lazy(input).map(|_| value), in parse_lazy()
351 fn parse_lazy( in parse_lazy() function
356 take(end).parse_lazy(input).map(|_| value) in parse_lazy()
409 fn parse_lazy( in parse_lazy() function
415 Some(value) => take(end).parse_lazy(input).map(|_| value), in parse_lazy()
478 fn parse_lazy( in parse_lazy() function
483 take(end).parse_lazy(input).map(|_| value) in parse_lazy()
Dcombinator.rs101 self.parse_lazy(input) in parse_stream()
179 fn parse_lazy(&mut self, input: &mut Input) -> ParseResult<O, <Input as StreamOnce>::Error> { in parse_lazy() function
181 let result = self.0.parse_lazy(input); in parse_lazy()
566 fn parse_lazy( in parse_lazy() function
571 Either::Left(ref mut x) => x.parse_lazy(input), in parse_lazy()
572 Either::Right(ref mut x) => x.parse_lazy(input), in parse_lazy()
643 fn parse_lazy( in parse_lazy() function
647 self.0.parse_lazy(input) in parse_lazy()
661 self.0.parse_lazy(input) in parse_mode_impl()
686 fn parse_lazy( in parse_lazy() function
[all …]
Drange.rs44 fn parse_lazy( in parse_lazy() function
142 take(distance).parse_lazy(input).map(|range| { in parse_partial_range()
191 take(distance).parse_lazy(input).map(|range| { in parse_mode()
268 fn parse_lazy( in parse_lazy() function
Drepeat.rs1082 fn parse_lazy(&mut self, input: &mut Input) -> ParseResult<P::Output, Input::Error> {
1084 let (mut l, mut committed) = ctry!(self.0.parse_lazy(input));
1087 let op = match self.1.parse_lazy(input).into() {
1099 match self.parse_lazy(input).into() {
1394 fn parse_lazy(&mut self, input: &mut Input) -> ParseResult<Self::Output, Input::Error> {
1397 match self.parser.parse_lazy(input) {
Derror.rs26 fn parse_lazy(&mut self, input: &mut Input) -> ParseResult<T, <Input as StreamOnce>::Error> { in parse_lazy() function
Dmod.rs180 fn parse_lazy( in parse_lazy() method
261 self.parse_lazy(input) in parse_partial()
Dsequence.rs520 fn parse_lazy( in parse_lazy() function
524 self.0.parse_lazy(input).map(|(_, b)| b) in parse_lazy()
/external/rust/android-crates-io/crates/combine/src/
Dlib.rs546 ($input: ty, parse_lazy $($field: tt)+) => {
547 fn parse_lazy(
551 self.$($field)+.parse_lazy(input)
589 …forward_parser!($input, parse_lazy parse_first parse_partial add_error add_committed_expected_erro…
/external/rust/android-crates-io/crates/combine/benches/
Djson.rs108 let (c, committed) = any().parse_lazy(input).into_result()?; in json_char()