PostgreSQL Source Code  git master
unicode_category_table.h File Reference
Include dependency graph for unicode_category_table.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pg_category_range
 
struct  pg_unicode_range
 
struct  pg_unicode_properties
 

Macros

#define PG_U_PROP_ALPHABETIC   (1 << 0)
 
#define PG_U_PROP_LOWERCASE   (1 << 1)
 
#define PG_U_PROP_UPPERCASE   (1 << 2)
 
#define PG_U_PROP_CASED   (1 << 3)
 
#define PG_U_PROP_CASE_IGNORABLE   (1 << 4)
 
#define PG_U_PROP_WHITE_SPACE   (1 << 5)
 
#define PG_U_PROP_JOIN_CONTROL   (1 << 6)
 
#define PG_U_PROP_HEX_DIGIT   (1 << 7)
 

Variables

static const pg_unicode_properties unicode_opt_ascii [128]
 
static const pg_category_range unicode_categories [3302]
 
static const pg_unicode_range unicode_alphabetic [1141]
 
static const pg_unicode_range unicode_lowercase [686]
 
static const pg_unicode_range unicode_uppercase [651]
 
static const pg_unicode_range unicode_case_ignorable [491]
 
static const pg_unicode_range unicode_white_space [11]
 
static const pg_unicode_range unicode_hex_digit [6]
 
static const pg_unicode_range unicode_join_control [1]
 

Macro Definition Documentation

◆ PG_U_PROP_ALPHABETIC

#define PG_U_PROP_ALPHABETIC   (1 << 0)

Definition at line 44 of file unicode_category_table.h.

◆ PG_U_PROP_CASE_IGNORABLE

#define PG_U_PROP_CASE_IGNORABLE   (1 << 4)

Definition at line 48 of file unicode_category_table.h.

◆ PG_U_PROP_CASED

#define PG_U_PROP_CASED   (1 << 3)

Definition at line 47 of file unicode_category_table.h.

◆ PG_U_PROP_HEX_DIGIT

#define PG_U_PROP_HEX_DIGIT   (1 << 7)

Definition at line 51 of file unicode_category_table.h.

◆ PG_U_PROP_JOIN_CONTROL

#define PG_U_PROP_JOIN_CONTROL   (1 << 6)

Definition at line 50 of file unicode_category_table.h.

◆ PG_U_PROP_LOWERCASE

#define PG_U_PROP_LOWERCASE   (1 << 1)

Definition at line 45 of file unicode_category_table.h.

◆ PG_U_PROP_UPPERCASE

#define PG_U_PROP_UPPERCASE   (1 << 2)

Definition at line 46 of file unicode_category_table.h.

◆ PG_U_PROP_WHITE_SPACE

#define PG_U_PROP_WHITE_SPACE   (1 << 5)

Definition at line 49 of file unicode_category_table.h.

Variable Documentation

◆ unicode_alphabetic

const pg_unicode_range unicode_alphabetic[1141]
static

Definition at line 4006 of file unicode_category_table.h.

Referenced by pg_u_prop_alphabetic().

◆ unicode_case_ignorable

const pg_unicode_range unicode_case_ignorable[491]
static

Definition at line 6499 of file unicode_category_table.h.

Referenced by pg_u_prop_case_ignorable().

◆ unicode_categories

const pg_category_range unicode_categories[3302]
static

Definition at line 699 of file unicode_category_table.h.

Referenced by unicode_category().

◆ unicode_hex_digit

const pg_unicode_range unicode_hex_digit[6]
static
Initial value:
=
{
{0x000030, 0x000039},
{0x000041, 0x000046},
{0x000061, 0x000066},
{0x00ff10, 0x00ff19},
{0x00ff21, 0x00ff26},
{0x00ff41, 0x00ff46},
}

Definition at line 7011 of file unicode_category_table.h.

Referenced by pg_u_prop_hex_digit().

◆ unicode_join_control

const pg_unicode_range unicode_join_control[1]
static
Initial value:
=
{
{0x00200c, 0x00200d},
}

Definition at line 7022 of file unicode_category_table.h.

Referenced by pg_u_prop_join_control().

◆ unicode_lowercase

const pg_unicode_range unicode_lowercase[686]
static

Definition at line 5152 of file unicode_category_table.h.

Referenced by pg_u_prop_lowercase().

◆ unicode_opt_ascii

◆ unicode_uppercase

const pg_unicode_range unicode_uppercase[651]
static

Definition at line 5843 of file unicode_category_table.h.

Referenced by pg_u_prop_uppercase().

◆ unicode_white_space

const pg_unicode_range unicode_white_space[11]
static
Initial value:
=
{
{0x000009, 0x00000d},
{0x000020, 0x000020},
{0x000085, 0x000085},
{0x0000a0, 0x0000a0},
{0x001680, 0x001680},
{0x002000, 0x00200a},
{0x002028, 0x002028},
{0x002029, 0x002029},
{0x00202f, 0x00202f},
{0x00205f, 0x00205f},
{0x003000, 0x003000},
}

Definition at line 6995 of file unicode_category_table.h.

Referenced by pg_u_prop_white_space().