MCPcopy Create free account
hub / github.com/dynjs/dynjs / hexDigit

Method hexDigit

src/main/java/org/dynjs/parser/js/Lexer.java:956–963  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

954 }
955
956 protected char hexDigit() {
957 int c = la();
958 if ((c >= '0' && c <= '9') || (c >= 'a' && c <= 'f') || (c >= 'A' && c <= 'F')) {
959 return (char) consume();
960 }
961
962 throw new LexerException("expected hex digit, but found '" + c + "'");
963 }
964
965 protected void lineTerminatorSequence() {
966 int c = la();

Callers 2

unicodeEscapeSequenceMethod · 0.95
hexEscapeSequenceMethod · 0.95

Calls 2

laMethod · 0.95
consumeMethod · 0.95

Tested by

no test coverage detected