MCPcopy Create free account
hub / github.com/cschanck/single-file-java / error

Method error

src/main/java/org/sfj/JSONOne.java:820–825  ·  view source on GitHub ↗
(Token token, String message)

Source from the content-addressed store, hash-verified

818 }
819
820 private ParseException error(Token token, String message) {
821 if (token.type == TokenType.EOF) {
822 return scanner.report(token.line, " at end", message);
823 }
824 return scanner.report(token.line, " at '" + token.lexeme + "'", message);
825 }
826
827 public JObject singleObject() throws ParseException {
828 Token p = scanner.nextToken();

Callers 3

singleObjectMethod · 0.95
listOfMapEntriesMethod · 0.95
listOfArrayEntriesMethod · 0.95

Calls 1

reportMethod · 0.80

Tested by

no test coverage detected