Next: , Previous: , Up: Unicode character classification and properties <unictype.h>   [Contents][Index]


8.13 ISO C and Java syntax

The following properties are taken from language standards. The supported language standards are ISO C 99 and Java.

Function: bool uc_is_c_whitespace (ucs4_t uc)

Tests whether a Unicode character is considered whitespace in ISO C 99.

Function: bool uc_is_java_whitespace (ucs4_t uc)

Tests whether a Unicode character is considered whitespace in Java.

The following enumerated values are the possible return values of the functions uc_c_ident_category and uc_java_ident_category.

Constant: int UC_IDENTIFIER_START

This return value means that the given character is valid as first or subsequent character in an identifier.

Constant: int UC_IDENTIFIER_VALID

This return value means that the given character is valid as subsequent character only.

Constant: int UC_IDENTIFIER_INVALID

This return value means that the given character is not valid in an identifier.

Constant: int UC_IDENTIFIER_IGNORABLE

This return value (only for Java) means that the given character is ignorable.

The following function determine whether a given character can be a constituent of an identifier in the given programming language.

Function: int uc_c_ident_category (ucs4_t uc)

Returns the categorization of a Unicode character with respect to the ISO C 99 identifier syntax.

Function: int uc_java_ident_category (ucs4_t uc)

Returns the categorization of a Unicode character with respect to the Java identifier syntax.


Next: Classifications like in ISO C, Previous: Blocks, Up: Unicode character classification and properties <unictype.h>   [Contents][Index]