(&self)
| 869 | } |
| 870 | |
| 871 | pub fn end(&self) -> Kind { |
| 872 | match self.kind() { |
| 873 | Kind::LeftCurly => Kind::RightCurly, |
| 874 | Kind::LeftParen => Kind::RightParen, |
| 875 | Kind::LeftSquare => Kind::RightSquare, |
| 876 | k => k, |
| 877 | } |
| 878 | } |
| 879 | } |
| 880 | |
| 881 | impl<'a> Peek<'a> for PairWiseStart { |