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

Method isIdentifierPart

src/main/java/org/dynjs/parser/js/Lexer.java:499–513  ·  view source on GitHub ↗
(int c)

Source from the content-addressed store, hash-verified

497 }
498
499 private boolean isIdentifierPart(int c) {
500 if (isIdentifierStart(c)) {
501 return true;
502 }
503
504 int type = Character.getType(c);
505 switch (type) {
506 case Character.DECIMAL_DIGIT_NUMBER:
507 case Character.COMBINING_SPACING_MARK:
508 case Character.NON_SPACING_MARK:
509 case Character.CONNECTOR_PUNCTUATION:
510 return true;
511 }
512 return false;
513 }
514
515 private boolean isUnicodeEscapeSequence(int start) {
516 if (start != '\\') {

Callers 2

regexpLiteralMethod · 0.95

Calls 2

isIdentifierStartMethod · 0.95
getTypeMethod · 0.45

Tested by

no test coverage detected