(p: &mut Parser<'a, Iter>)
| 16 | |
| 17 | impl<'a, D, M> Parse<'a> for UnknownRuleBlock<'a, D, M> { |
| 18 | fn parse<Iter>(p: &mut Parser<'a, Iter>) -> Result<Self> |
| 19 | where |
| 20 | Iter: Iterator<Item = Cursor> + Clone, |
| 21 | { |
| 22 | ComponentValues::parse(p).map(|values| Self { values, _phantom: std::marker::PhantomData }) |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | impl<'a, D, M> Peek<'a> for UnknownRuleBlock<'a, D, M> { |