| 6 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] |
| 7 | #[cfg_attr(feature = "serde", derive(serde::Serialize), serde())] |
| 8 | pub struct SimpleBlock<'a> { |
| 9 | pub open: T![PairWiseStart], |
| 10 | pub values: ComponentValues<'a>, |
| 11 | pub close: Option<T![PairWiseEnd]>, |
| 12 | } |
| 13 | |
| 14 | impl<'a> Peek<'a> for SimpleBlock<'a> { |
| 15 | const PEEK_KINDSET: KindSet = KindSet::PAIRWISE_START; |