< prev index next >
make/data/characterdata/CharacterData01.java.template
Print this page
rev 56092 : imported patch 8229831
*** 112,128 ****
int props = getProperties(ch);
return ((props & $$nonzeroJavaPart) != 0);
}
boolean isUnicodeIdentifierStart(int ch) {
! int props = getProperties(ch);
! return ((props & $$maskIdentifierInfo) == $$valueUnicodeStart);
}
boolean isUnicodeIdentifierPart(int ch) {
! int props = getProperties(ch);
! return ((props & $$maskUnicodePart) != 0);
}
boolean isIdentifierIgnorable(int ch) {
int props = getProperties(ch);
return ((props & $$maskIdentifierInfo) == $$valueIgnorable);
--- 112,129 ----
int props = getProperties(ch);
return ((props & $$nonzeroJavaPart) != 0);
}
boolean isUnicodeIdentifierStart(int ch) {
! return (getPropertiesEx(ch) & $$maskIDStart) != 0 ||
! ch == 0x2E2F;
}
boolean isUnicodeIdentifierPart(int ch) {
! return (getPropertiesEx(ch) & $$maskIDContinue) != 0 ||
! isIdentifierIgnorable(ch) ||
! ch == 0x2E2F;
}
boolean isIdentifierIgnorable(int ch) {
int props = getProperties(ch);
return ((props & $$maskIdentifierInfo) == $$valueIgnorable);
< prev index next >