MCPcopy Create free account
hub / github.com/Whiley/WhileyCompiler / isDigit

Method isDigit

src/main/java/wyc/io/WhileyFileLexer.java:499–501  ·  view source on GitHub ↗

This is used in place of Character.isDigit(), since the latter also supports unicode digits. @param c @return

(char c)

Source from the content-addressed store, hash-verified

497 * @return
498 */
499 private boolean isDigit(char c) {
500 return '0' <= c && c <= '9';
501 }
502
503 /**
504 * This is used in place of Character.isLetter(), since the latter also supports

Callers 6

scanMethod · 0.95
scanIntegerLiteralMethod · 0.95
scanBinaryLiteralMethod · 0.95
isLetterOrDigitMethod · 0.95
parseValueMethod · 0.80
parseConfigMethod · 0.80

Calls

no outgoing calls

Tested by 1

parseConfigMethod · 0.64