summaryrefslogtreecommitdiff
path: root/lib/unictype/bidi_byname.gperf
blob: 608b88a45d93fd31f657feae92a70112373b7d1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
/* Bidi classes of Unicode characters.
   Copyright (C) 2011-2022 Free Software Foundation, Inc.

   This file is free software.
   It is dual-licensed under "the GNU LGPLv3+ or the GNU GPLv2+".
   You can redistribute it and/or modify it under either
     - the terms of the GNU Lesser General Public License as published
       by the Free Software Foundation; either version 3, or (at your
       option) any later version, or
     - the terms of the GNU General Public License as published by the
       Free Software Foundation; either version 2, or (at your option)
       any later version, or
     - the same dual license "the GNU LGPLv3+ or the GNU GPLv2+".

   This file is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   Lesser General Public License and the GNU General Public License
   for more details.

   You should have received a copy of the GNU Lesser General Public
   License and of the GNU General Public License along with this
   program.  If not, see <https://www.gnu.org/licenses/>.  */

struct named_bidi_class { int name; int bidi_class; };
%struct-type
%ignore-case
%language=ANSI-C
%define hash-function-name bidi_class_hash
%define lookup-function-name uc_bidi_class_lookup
%readonly-tables
%global-table
%define word-array-name bidi_class_names
%pic
%define string-pool-name bidi_class_stringpool
%%
AL, UC_BIDI_AL
AN, UC_BIDI_AN
B, UC_BIDI_B
BN, UC_BIDI_BN
CS, UC_BIDI_CS
EN, UC_BIDI_EN
ES, UC_BIDI_ES
ET, UC_BIDI_ET
FSI, UC_BIDI_FSI
L, UC_BIDI_L
LRE, UC_BIDI_LRE
LRI, UC_BIDI_LRI
LRO, UC_BIDI_LRO
NSM, UC_BIDI_NSM
ON, UC_BIDI_ON
PDF, UC_BIDI_PDF
PDI, UC_BIDI_PDI
R, UC_BIDI_R
RLE, UC_BIDI_RLE
RLI, UC_BIDI_RLI
RLO, UC_BIDI_RLO
S, UC_BIDI_S
WS, UC_BIDI_WS
Arabic Letter, UC_BIDI_AL
ArabicLetter, UC_BIDI_AL
Arabic Number, UC_BIDI_AN
ArabicNumber, UC_BIDI_AN
Paragraph Separator, UC_BIDI_B
ParagraphSeparator, UC_BIDI_B
Boundary Neutral, UC_BIDI_BN
BoundaryNeutral, UC_BIDI_BN
Common Separator, UC_BIDI_CS
CommonSeparator, UC_BIDI_CS
European Number, UC_BIDI_EN
EuropeanNumber, UC_BIDI_EN
European Separator, UC_BIDI_ES
EuropeanSeparator, UC_BIDI_ES
European Terminator, UC_BIDI_ET
EuropeanTerminator, UC_BIDI_ET
First Strong Isolate, UC_BIDI_FSI
FirstStrongIsolate, UC_BIDI_FSI
Left To Right, UC_BIDI_L
LeftToRight, UC_BIDI_L
Left To Right Embedding, UC_BIDI_LRE
LeftToRightEmbedding, UC_BIDI_LRE
Left To Right Isolate, UC_BIDI_LRI
LeftToRightIsolate, UC_BIDI_LRI
Left To Right Override, UC_BIDI_LRO
LeftToRightOverride, UC_BIDI_LRO
Nonspacing Mark, UC_BIDI_NSM
NonspacingMark, UC_BIDI_NSM
Other Neutral, UC_BIDI_ON
OtherNeutral, UC_BIDI_ON
Pop Directional Format, UC_BIDI_PDF
PopDirectionalFormat, UC_BIDI_PDF
Pop Directional Isolate, UC_BIDI_PDI
PopDirectionalIsolate, UC_BIDI_PDI
Right To Left, UC_BIDI_R
RightToLeft, UC_BIDI_R
Right To Left Embedding, UC_BIDI_RLE
RightToLeftEmbedding, UC_BIDI_RLE
Right To Left Isolate, UC_BIDI_RLI
RightToLeftIsolate, UC_BIDI_RLI
Right To Left Override, UC_BIDI_RLO
RightToLeftOverride, UC_BIDI_RLO
Segment Separator, UC_BIDI_S
SegmentSeparator, UC_BIDI_S
White Space, UC_BIDI_WS
WhiteSpace, UC_BIDI_WS