Logo Search packages:      
Sourcecode: icu version File versions

U_STABLE UBool U_EXPORT2 u_isIDStart ( UChar32  c  ) 

Determines if the specified character is permissible as the first character in an identifier according to Unicode (The Unicode Standard, Version 3.0, chapter 5.16 Identifiers). True for characters with general categories "L" (letters) and "Nl" (letter numbers).

Same as java.lang.Character.isUnicodeIdentifierStart(). Same as UCHAR_ID_START

Parameters:
c the code point to be tested
Returns:
TRUE if the code point may start an identifier
See also:
UCHAR_ID_START

u_isalpha

u_isIDPart ICU 2.0

Definition at line 524 of file uchar.c.

References U_GC_L_MASK, and U_GC_NL_MASK.

                       {
    /* same as u_isalpha() */
    uint32_t props;
    GET_PROPS(c, props);
    return (UBool)((CAT_MASK(props)&(U_GC_L_MASK|U_GC_NL_MASK))!=0);
}


Generated by  Doxygen 1.6.0   Back to index