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

Method create_error_for_current_char

src/scanner.rs:155–157  ·  view source on GitHub ↗
(&self, kind: ParseErrorKind)

Source from the content-addressed store, hash-verified

153 }
154
155 pub(super) fn create_error_for_current_char(&self, kind: ParseErrorKind) -> ParseError {
156 self.create_error_for_start(self.byte_index, kind)
157 }
158
159 pub(super) fn create_error_for_start(&self, start: usize, kind: ParseErrorKind) -> ParseError {
160 let range = Range {

Callers 1

parse_numberMethod · 0.80

Calls 1

Tested by

no test coverage detected