(int c)
| 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 != '\\') { |
no test coverage detected