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

Method token

src/main/java/org/sfj/JSONOne.java:641–643  ·  view source on GitHub ↗
(TokenType type)

Source from the content-addressed store, hash-verified

639 }
640
641 private Token token(TokenType type) {
642 return token(type, null);
643 }
644
645 private Token token(TokenType type, Object literal) {
646 String text = input.substring(start, current);

Callers 4

nextTokenMethod · 0.95
numberTokenMethod · 0.95
advanceMatchingMethod · 0.95
stringTokenMethod · 0.95

Calls 1

substringMethod · 0.80

Tested by

no test coverage detected