MCPcopy Create free account
hub / github.com/dprint/jsonc-parser / current_char

Method current_char

src/string.rs:66–68  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

64
65 impl<'a> CharProvider<'a> for StringCharProvider<'a> {
66 fn current_char(&mut self) -> Option<char> {
67 self.current_char
68 }
69
70 fn byte_index(&self) -> usize {
71 self.byte_index

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected