(&self)
| 905 | } |
| 906 | |
| 907 | pub fn start(&self) -> Kind { |
| 908 | match self.kind() { |
| 909 | Kind::RightCurly => Kind::LeftCurly, |
| 910 | Kind::RightParen => Kind::LeftParen, |
| 911 | Kind::RightSquare => Kind::LeftSquare, |
| 912 | k => k, |
| 913 | } |
| 914 | } |
| 915 | } |
| 916 | |
| 917 | impl<'a> Peek<'a> for PairWiseEnd { |