(&mut self, token: Token<'a>)
| 83 | /// Puts a token back so the next `scan()` returns it. |
| 84 | #[cfg(feature = "serde")] |
| 85 | pub fn put_back(&mut self, token: Token<'a>) { |
| 86 | debug_assert!(self.pending_token.is_none(), "put_back called with pending token"); |
| 87 | self.pending_token = Some(token); |
| 88 | } |
| 89 | |
| 90 | /// Increments depth and checks the nesting limit. |
| 91 | pub fn enter_container(&mut self) -> Result<(), ParseError> { |
no outgoing calls
no test coverage detected