| 47 | } |
| 48 | |
| 49 | pub trait CharProvider<'a> { |
| 50 | fn current_char(&mut self) -> Option<char>; |
| 51 | fn byte_index(&self) -> usize; |
| 52 | fn move_next_char(&mut self) -> Option<char>; |
| 53 | fn text(&self) -> &'a str; |
| 54 | } |
| 55 | |
| 56 | #[cfg(feature = "cst")] |
| 57 | pub fn parse_string(text: &str) -> Result<Cow<'_, str>, ParseStringError> { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…