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

Method isUnicodeEscapeSequence

src/main/java/org/dynjs/parser/js/Lexer.java:515–521  ·  view source on GitHub ↗
(int start)

Source from the content-addressed store, hash-verified

513 }
514
515 private boolean isUnicodeEscapeSequence(int start) {
516 if (start != '\\') {
517 return false;
518 }
519
520 return (la(2) == 'u' && (isHexDigit(la(3)) && isHexDigit(la(4)) && isHexDigit(la(5)) && isHexDigit(la(6))));
521 }
522
523 private boolean isHexEscapeSequence(int start) {
524 if (start != '\\') {

Callers 3

nextTokenMethod · 0.95
isIdentifierStartMethod · 0.95

Calls 2

laMethod · 0.95
isHexDigitMethod · 0.95

Tested by

no test coverage detected