Lines Matching defs:step
288 /// This type is the input of the closure provided to [`ParseStream::step`].
290 /// [`ParseStream::step`]: ParseBuffer::step
303 /// input.step(|cursor| {
364 /// The `ParseStream::step` invocation will return this same error without
871 /// consider using [`ParseStream::step`] instead.
874 /// [`ParseStream::step`]: ParseBuffer::step
1025 /// input.step(|cursor| {
1052 pub fn step<F, R>(&self, function: F) -> Result<R>
1064 // `step` on their ParseBuffer<'short> with a closure that returns
1184 input.step(|cursor| Ok((cursor.token_stream(), Cursor::empty())))
1191 input.step(|cursor| match cursor.token_tree() {
1201 input.step(|cursor| {
1215 input.step(|cursor| match cursor.punct() {
1225 input.step(|cursor| match cursor.literal() {