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

Method isLetter

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

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

(char c)

Source from the content-addressed store, hash-verified

508 * @return
509 */
510 private boolean isLetter(char c) {
511 return ('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z') ;
512 }
513
514 /**
515 * This is used in place of Character.isLetterOrDigit(), since the latter also

Callers 2

scanMethod · 0.95
isLetterOrDigitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected