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

Method create_error

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

Source from the content-addressed store, hash-verified

162 }
163
164 pub fn create_error(&self, kind: ParseErrorKind) -> ParseError {
165 self.scanner.create_error_for_current_token(kind)
166 }
167
168 pub fn create_error_for_current_range(&mut self, kind: ParseErrorKind) -> ParseError {
169 let range = self.end_range();

Callers 5

handle_commentMethod · 0.80
parse_to_astFunction · 0.80
parse_valueFunction · 0.80
parse_objectFunction · 0.80
parse_object_propertyFunction · 0.80

Calls 1

Tested by

no test coverage detected