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

Method create_error_for_current_range

src/parse_to_ast.rs:168–171  ·  view source on GitHub ↗
(&mut self, kind: ParseErrorKind)

Source from the content-addressed store, hash-verified

166 }
167
168 pub fn create_error_for_current_range(&mut self, kind: ParseErrorKind) -> ParseError {
169 let range = self.end_range();
170 self.create_error_for_range(range, kind)
171 }
172
173 pub fn create_error_for_range(&self, range: Range, kind: ParseErrorKind) -> ParseError {
174 self.scanner.create_error_for_range(range, kind)

Callers 3

parse_valueFunction · 0.80
parse_objectFunction · 0.80
parse_arrayFunction · 0.80

Calls 2

end_rangeMethod · 0.80

Tested by

no test coverage detected