MCPcopy Create free account
hub / github.com/antlr/codebuff / previewChar

Method previewChar

output/java_guava/1.4.19/MediaType.java:1005–1008  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1003 }
1004
1005 char previewChar() {
1006 checkState(hasMore());
1007 return input.charAt(position);
1008 }
1009
1010 boolean hasMore() {
1011 return (position >= 0) && (position < input.length());

Callers 2

parseMethod · 0.95
consumeCharacterMethod · 0.95

Calls 2

hasMoreMethod · 0.95
checkStateMethod · 0.45

Tested by

no test coverage detected