@x-oasis/is-ascii 0.1.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,19 @@
1
+ # @x-oasis/is-ascii
2
+
3
+ ## Installation
4
+
5
+ ```bash
6
+ $ npm i @x-oasis/is-ascii
7
+ ```
8
+
9
+ ## How to use
10
+
11
+ ```typescript
12
+ import noop from '@x-oasis/is-ascii'
13
+ ```
14
+
15
+ ## How to run test
16
+
17
+ ```bash
18
+ $ pnpm test
19
+ ```
@@ -0,0 +1,294 @@
1
+ export declare const enum CharCode {
2
+ Null = 0,
3
+ Backspace = 8,
4
+ Tab = 9,
5
+ LineFeed = 10,
6
+ CarriageReturn = 13,
7
+ Space = 32,
8
+ ExclamationMark = 33,
9
+ DoubleQuote = 34,
10
+ Hash = 35,
11
+ DollarSign = 36,
12
+ PercentSign = 37,
13
+ Ampersand = 38,
14
+ SingleQuote = 39,
15
+ OpenParen = 40,
16
+ CloseParen = 41,
17
+ Asterisk = 42,
18
+ Plus = 43,
19
+ Comma = 44,
20
+ Dash = 45,
21
+ Period = 46,
22
+ Slash = 47,
23
+ Digit0 = 48,
24
+ Digit1 = 49,
25
+ Digit2 = 50,
26
+ Digit3 = 51,
27
+ Digit4 = 52,
28
+ Digit5 = 53,
29
+ Digit6 = 54,
30
+ Digit7 = 55,
31
+ Digit8 = 56,
32
+ Digit9 = 57,
33
+ Colon = 58,
34
+ Semicolon = 59,
35
+ LessThan = 60,
36
+ Equals = 61,
37
+ GreaterThan = 62,
38
+ QuestionMark = 63,
39
+ AtSign = 64,
40
+ A = 65,
41
+ B = 66,
42
+ C = 67,
43
+ D = 68,
44
+ E = 69,
45
+ F = 70,
46
+ G = 71,
47
+ H = 72,
48
+ I = 73,
49
+ J = 74,
50
+ K = 75,
51
+ L = 76,
52
+ M = 77,
53
+ N = 78,
54
+ O = 79,
55
+ P = 80,
56
+ Q = 81,
57
+ R = 82,
58
+ S = 83,
59
+ T = 84,
60
+ U = 85,
61
+ V = 86,
62
+ W = 87,
63
+ X = 88,
64
+ Y = 89,
65
+ Z = 90,
66
+ OpenSquareBracket = 91,
67
+ Backslash = 92,
68
+ CloseSquareBracket = 93,
69
+ Caret = 94,
70
+ Underline = 95,
71
+ BackTick = 96,
72
+ a = 97,
73
+ b = 98,
74
+ c = 99,
75
+ d = 100,
76
+ e = 101,
77
+ f = 102,
78
+ g = 103,
79
+ h = 104,
80
+ i = 105,
81
+ j = 106,
82
+ k = 107,
83
+ l = 108,
84
+ m = 109,
85
+ n = 110,
86
+ o = 111,
87
+ p = 112,
88
+ q = 113,
89
+ r = 114,
90
+ s = 115,
91
+ t = 116,
92
+ u = 117,
93
+ v = 118,
94
+ w = 119,
95
+ x = 120,
96
+ y = 121,
97
+ z = 122,
98
+ OpenCurlyBrace = 123,
99
+ Pipe = 124,
100
+ CloseCurlyBrace = 125,
101
+ Tilde = 126,
102
+ NoBreakSpace = 160,
103
+ U_Combining_Grave_Accent = 768,
104
+ U_Combining_Acute_Accent = 769,
105
+ U_Combining_Circumflex_Accent = 770,
106
+ U_Combining_Tilde = 771,
107
+ U_Combining_Macron = 772,
108
+ U_Combining_Overline = 773,
109
+ U_Combining_Breve = 774,
110
+ U_Combining_Dot_Above = 775,
111
+ U_Combining_Diaeresis = 776,
112
+ U_Combining_Hook_Above = 777,
113
+ U_Combining_Ring_Above = 778,
114
+ U_Combining_Double_Acute_Accent = 779,
115
+ U_Combining_Caron = 780,
116
+ U_Combining_Vertical_Line_Above = 781,
117
+ U_Combining_Double_Vertical_Line_Above = 782,
118
+ U_Combining_Double_Grave_Accent = 783,
119
+ U_Combining_Candrabindu = 784,
120
+ U_Combining_Inverted_Breve = 785,
121
+ U_Combining_Turned_Comma_Above = 786,
122
+ U_Combining_Comma_Above = 787,
123
+ U_Combining_Reversed_Comma_Above = 788,
124
+ U_Combining_Comma_Above_Right = 789,
125
+ U_Combining_Grave_Accent_Below = 790,
126
+ U_Combining_Acute_Accent_Below = 791,
127
+ U_Combining_Left_Tack_Below = 792,
128
+ U_Combining_Right_Tack_Below = 793,
129
+ U_Combining_Left_Angle_Above = 794,
130
+ U_Combining_Horn = 795,
131
+ U_Combining_Left_Half_Ring_Below = 796,
132
+ U_Combining_Up_Tack_Below = 797,
133
+ U_Combining_Down_Tack_Below = 798,
134
+ U_Combining_Plus_Sign_Below = 799,
135
+ U_Combining_Minus_Sign_Below = 800,
136
+ U_Combining_Palatalized_Hook_Below = 801,
137
+ U_Combining_Retroflex_Hook_Below = 802,
138
+ U_Combining_Dot_Below = 803,
139
+ U_Combining_Diaeresis_Below = 804,
140
+ U_Combining_Ring_Below = 805,
141
+ U_Combining_Comma_Below = 806,
142
+ U_Combining_Cedilla = 807,
143
+ U_Combining_Ogonek = 808,
144
+ U_Combining_Vertical_Line_Below = 809,
145
+ U_Combining_Bridge_Below = 810,
146
+ U_Combining_Inverted_Double_Arch_Below = 811,
147
+ U_Combining_Caron_Below = 812,
148
+ U_Combining_Circumflex_Accent_Below = 813,
149
+ U_Combining_Breve_Below = 814,
150
+ U_Combining_Inverted_Breve_Below = 815,
151
+ U_Combining_Tilde_Below = 816,
152
+ U_Combining_Macron_Below = 817,
153
+ U_Combining_Low_Line = 818,
154
+ U_Combining_Double_Low_Line = 819,
155
+ U_Combining_Tilde_Overlay = 820,
156
+ U_Combining_Short_Stroke_Overlay = 821,
157
+ U_Combining_Long_Stroke_Overlay = 822,
158
+ U_Combining_Short_Solidus_Overlay = 823,
159
+ U_Combining_Long_Solidus_Overlay = 824,
160
+ U_Combining_Right_Half_Ring_Below = 825,
161
+ U_Combining_Inverted_Bridge_Below = 826,
162
+ U_Combining_Square_Below = 827,
163
+ U_Combining_Seagull_Below = 828,
164
+ U_Combining_X_Above = 829,
165
+ U_Combining_Vertical_Tilde = 830,
166
+ U_Combining_Double_Overline = 831,
167
+ U_Combining_Grave_Tone_Mark = 832,
168
+ U_Combining_Acute_Tone_Mark = 833,
169
+ U_Combining_Greek_Perispomeni = 834,
170
+ U_Combining_Greek_Koronis = 835,
171
+ U_Combining_Greek_Dialytika_Tonos = 836,
172
+ U_Combining_Greek_Ypogegrammeni = 837,
173
+ U_Combining_Bridge_Above = 838,
174
+ U_Combining_Equals_Sign_Below = 839,
175
+ U_Combining_Double_Vertical_Line_Below = 840,
176
+ U_Combining_Left_Angle_Below = 841,
177
+ U_Combining_Not_Tilde_Above = 842,
178
+ U_Combining_Homothetic_Above = 843,
179
+ U_Combining_Almost_Equal_To_Above = 844,
180
+ U_Combining_Left_Right_Arrow_Below = 845,
181
+ U_Combining_Upwards_Arrow_Below = 846,
182
+ U_Combining_Grapheme_Joiner = 847,
183
+ U_Combining_Right_Arrowhead_Above = 848,
184
+ U_Combining_Left_Half_Ring_Above = 849,
185
+ U_Combining_Fermata = 850,
186
+ U_Combining_X_Below = 851,
187
+ U_Combining_Left_Arrowhead_Below = 852,
188
+ U_Combining_Right_Arrowhead_Below = 853,
189
+ U_Combining_Right_Arrowhead_And_Up_Arrowhead_Below = 854,
190
+ U_Combining_Right_Half_Ring_Above = 855,
191
+ U_Combining_Dot_Above_Right = 856,
192
+ U_Combining_Asterisk_Below = 857,
193
+ U_Combining_Double_Ring_Below = 858,
194
+ U_Combining_Zigzag_Above = 859,
195
+ U_Combining_Double_Breve_Below = 860,
196
+ U_Combining_Double_Breve = 861,
197
+ U_Combining_Double_Macron = 862,
198
+ U_Combining_Double_Macron_Below = 863,
199
+ U_Combining_Double_Tilde = 864,
200
+ U_Combining_Double_Inverted_Breve = 865,
201
+ U_Combining_Double_Rightwards_Arrow_Below = 866,
202
+ U_Combining_Latin_Small_Letter_A = 867,
203
+ U_Combining_Latin_Small_Letter_E = 868,
204
+ U_Combining_Latin_Small_Letter_I = 869,
205
+ U_Combining_Latin_Small_Letter_O = 870,
206
+ U_Combining_Latin_Small_Letter_U = 871,
207
+ U_Combining_Latin_Small_Letter_C = 872,
208
+ U_Combining_Latin_Small_Letter_D = 873,
209
+ U_Combining_Latin_Small_Letter_H = 874,
210
+ U_Combining_Latin_Small_Letter_M = 875,
211
+ U_Combining_Latin_Small_Letter_R = 876,
212
+ U_Combining_Latin_Small_Letter_T = 877,
213
+ U_Combining_Latin_Small_Letter_V = 878,
214
+ U_Combining_Latin_Small_Letter_X = 879,
215
+ LINE_SEPARATOR = 8232,
216
+ PARAGRAPH_SEPARATOR = 8233,
217
+ NEXT_LINE = 133,
218
+ U_CIRCUMFLEX = 94,
219
+ U_GRAVE_ACCENT = 96,
220
+ U_DIAERESIS = 168,
221
+ U_MACRON = 175,
222
+ U_ACUTE_ACCENT = 180,
223
+ U_CEDILLA = 184,
224
+ U_MODIFIER_LETTER_LEFT_ARROWHEAD = 706,
225
+ U_MODIFIER_LETTER_RIGHT_ARROWHEAD = 707,
226
+ U_MODIFIER_LETTER_UP_ARROWHEAD = 708,
227
+ U_MODIFIER_LETTER_DOWN_ARROWHEAD = 709,
228
+ U_MODIFIER_LETTER_CENTRED_RIGHT_HALF_RING = 722,
229
+ U_MODIFIER_LETTER_CENTRED_LEFT_HALF_RING = 723,
230
+ U_MODIFIER_LETTER_UP_TACK = 724,
231
+ U_MODIFIER_LETTER_DOWN_TACK = 725,
232
+ U_MODIFIER_LETTER_PLUS_SIGN = 726,
233
+ U_MODIFIER_LETTER_MINUS_SIGN = 727,
234
+ U_BREVE = 728,
235
+ U_DOT_ABOVE = 729,
236
+ U_RING_ABOVE = 730,
237
+ U_OGONEK = 731,
238
+ U_SMALL_TILDE = 732,
239
+ U_DOUBLE_ACUTE_ACCENT = 733,
240
+ U_MODIFIER_LETTER_RHOTIC_HOOK = 734,
241
+ U_MODIFIER_LETTER_CROSS_ACCENT = 735,
242
+ U_MODIFIER_LETTER_EXTRA_HIGH_TONE_BAR = 741,
243
+ U_MODIFIER_LETTER_HIGH_TONE_BAR = 742,
244
+ U_MODIFIER_LETTER_MID_TONE_BAR = 743,
245
+ U_MODIFIER_LETTER_LOW_TONE_BAR = 744,
246
+ U_MODIFIER_LETTER_EXTRA_LOW_TONE_BAR = 745,
247
+ U_MODIFIER_LETTER_YIN_DEPARTING_TONE_MARK = 746,
248
+ U_MODIFIER_LETTER_YANG_DEPARTING_TONE_MARK = 747,
249
+ U_MODIFIER_LETTER_UNASPIRATED = 749,
250
+ U_MODIFIER_LETTER_LOW_DOWN_ARROWHEAD = 751,
251
+ U_MODIFIER_LETTER_LOW_UP_ARROWHEAD = 752,
252
+ U_MODIFIER_LETTER_LOW_LEFT_ARROWHEAD = 753,
253
+ U_MODIFIER_LETTER_LOW_RIGHT_ARROWHEAD = 754,
254
+ U_MODIFIER_LETTER_LOW_RING = 755,
255
+ U_MODIFIER_LETTER_MIDDLE_GRAVE_ACCENT = 756,
256
+ U_MODIFIER_LETTER_MIDDLE_DOUBLE_GRAVE_ACCENT = 757,
257
+ U_MODIFIER_LETTER_MIDDLE_DOUBLE_ACUTE_ACCENT = 758,
258
+ U_MODIFIER_LETTER_LOW_TILDE = 759,
259
+ U_MODIFIER_LETTER_RAISED_COLON = 760,
260
+ U_MODIFIER_LETTER_BEGIN_HIGH_TONE = 761,
261
+ U_MODIFIER_LETTER_END_HIGH_TONE = 762,
262
+ U_MODIFIER_LETTER_BEGIN_LOW_TONE = 763,
263
+ U_MODIFIER_LETTER_END_LOW_TONE = 764,
264
+ U_MODIFIER_LETTER_SHELF = 765,
265
+ U_MODIFIER_LETTER_OPEN_SHELF = 766,
266
+ U_MODIFIER_LETTER_LOW_LEFT_ARROW = 767,
267
+ U_GREEK_LOWER_NUMERAL_SIGN = 885,
268
+ U_GREEK_TONOS = 900,
269
+ U_GREEK_DIALYTIKA_TONOS = 901,
270
+ U_GREEK_KORONIS = 8125,
271
+ U_GREEK_PSILI = 8127,
272
+ U_GREEK_PERISPOMENI = 8128,
273
+ U_GREEK_DIALYTIKA_AND_PERISPOMENI = 8129,
274
+ U_GREEK_PSILI_AND_VARIA = 8141,
275
+ U_GREEK_PSILI_AND_OXIA = 8142,
276
+ U_GREEK_PSILI_AND_PERISPOMENI = 8143,
277
+ U_GREEK_DASIA_AND_VARIA = 8157,
278
+ U_GREEK_DASIA_AND_OXIA = 8158,
279
+ U_GREEK_DASIA_AND_PERISPOMENI = 8159,
280
+ U_GREEK_DIALYTIKA_AND_VARIA = 8173,
281
+ U_GREEK_DIALYTIKA_AND_OXIA = 8174,
282
+ U_GREEK_VARIA = 8175,
283
+ U_GREEK_OXIA = 8189,
284
+ U_GREEK_DASIA = 8190,
285
+ U_IDEOGRAPHIC_FULL_STOP = 12290,
286
+ U_LEFT_CORNER_BRACKET = 12300,
287
+ U_RIGHT_CORNER_BRACKET = 12301,
288
+ U_LEFT_BLACK_LENTICULAR_BRACKET = 12304,
289
+ U_RIGHT_BLACK_LENTICULAR_BRACKET = 12305,
290
+ U_OVERLINE = 8254,
291
+ UTF8_BOM = 65279,
292
+ U_FULLWIDTH_SEMICOLON = 65307,
293
+ U_FULLWIDTH_COMMA = 65292
294
+ }
@@ -0,0 +1,3 @@
1
+ export declare function isAsciiDigit(code: number): boolean;
2
+ export declare function isLowerAsciiLetter(code: number): boolean;
3
+ export declare function isUpperAsciiLetter(code: number): boolean;
package/dist/index.js ADDED
@@ -0,0 +1,8 @@
1
+
2
+ 'use strict'
3
+
4
+ if (process.env.NODE_ENV === 'production') {
5
+ module.exports = require('./is-ascii.cjs.production.min.js')
6
+ } else {
7
+ module.exports = require('./is-ascii.cjs.development.js')
8
+ }
@@ -0,0 +1,18 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ function isAsciiDigit(code) {
6
+ return code >= 48 && code <= 57;
7
+ }
8
+ function isLowerAsciiLetter(code) {
9
+ return code >= 97 && code <= 122;
10
+ }
11
+ function isUpperAsciiLetter(code) {
12
+ return code >= 65 && code <= 90;
13
+ }
14
+
15
+ exports.isAsciiDigit = isAsciiDigit;
16
+ exports.isLowerAsciiLetter = isLowerAsciiLetter;
17
+ exports.isUpperAsciiLetter = isUpperAsciiLetter;
18
+ //# sourceMappingURL=is-ascii.cjs.development.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-ascii.cjs.development.js","sources":["../src/index.ts"],"sourcesContent":["import { CharCode } from './CharCode';\n\nexport function isAsciiDigit(code: number): boolean {\n return code >= CharCode.Digit0 && code <= CharCode.Digit9;\n}\n\nexport function isLowerAsciiLetter(code: number): boolean {\n return code >= CharCode.a && code <= CharCode.z;\n}\n\nexport function isUpperAsciiLetter(code: number): boolean {\n return code >= CharCode.A && code <= CharCode.Z;\n}\n"],"names":["isAsciiDigit","code","isLowerAsciiLetter","isUpperAsciiLetter"],"mappings":";;;;SAEgBA,YAAYA,CAACC,IAAY;EACvC,OAAOA,IAAI,MAAmB,IAAIA,IAAI,MAAmB;AAC3D;SAEgBC,kBAAkBA,CAACD,IAAY;EAC7C,OAAOA,IAAI,MAAc,IAAIA,IAAI,OAAc;AACjD;SAEgBE,kBAAkBA,CAACF,IAAY;EAC7C,OAAOA,IAAI,MAAc,IAAIA,IAAI,MAAc;AACjD;;;;;;"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isAsciiDigit=function(e){return e>=48&&e<=57},exports.isLowerAsciiLetter=function(e){return e>=97&&e<=122},exports.isUpperAsciiLetter=function(e){return e>=65&&e<=90};
2
+ //# sourceMappingURL=is-ascii.cjs.production.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-ascii.cjs.production.min.js","sources":["../src/index.ts"],"sourcesContent":["import { CharCode } from './CharCode';\n\nexport function isAsciiDigit(code: number): boolean {\n return code >= CharCode.Digit0 && code <= CharCode.Digit9;\n}\n\nexport function isLowerAsciiLetter(code: number): boolean {\n return code >= CharCode.a && code <= CharCode.z;\n}\n\nexport function isUpperAsciiLetter(code: number): boolean {\n return code >= CharCode.A && code <= CharCode.Z;\n}\n"],"names":["code"],"mappings":"kGAE6BA,GAC3B,OAAOA,OAA2BA,2CAGDA,GACjC,OAAOA,OAAsBA,4CAGIA,GACjC,OAAOA,OAAsBA"}
@@ -0,0 +1,12 @@
1
+ function isAsciiDigit(code) {
2
+ return code >= 48 && code <= 57;
3
+ }
4
+ function isLowerAsciiLetter(code) {
5
+ return code >= 97 && code <= 122;
6
+ }
7
+ function isUpperAsciiLetter(code) {
8
+ return code >= 65 && code <= 90;
9
+ }
10
+
11
+ export { isAsciiDigit, isLowerAsciiLetter, isUpperAsciiLetter };
12
+ //# sourceMappingURL=is-ascii.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-ascii.esm.js","sources":["../src/index.ts"],"sourcesContent":["import { CharCode } from './CharCode';\n\nexport function isAsciiDigit(code: number): boolean {\n return code >= CharCode.Digit0 && code <= CharCode.Digit9;\n}\n\nexport function isLowerAsciiLetter(code: number): boolean {\n return code >= CharCode.a && code <= CharCode.z;\n}\n\nexport function isUpperAsciiLetter(code: number): boolean {\n return code >= CharCode.A && code <= CharCode.Z;\n}\n"],"names":["isAsciiDigit","code","isLowerAsciiLetter","isUpperAsciiLetter"],"mappings":"SAEgBA,YAAYA,CAACC,IAAY;EACvC,OAAOA,IAAI,MAAmB,IAAIA,IAAI,MAAmB;AAC3D;SAEgBC,kBAAkBA,CAACD,IAAY;EAC7C,OAAOA,IAAI,MAAc,IAAIA,IAAI,OAAc;AACjD;SAEgBE,kBAAkBA,CAACF,IAAY;EAC7C,OAAOA,IAAI,MAAc,IAAIA,IAAI,MAAc;AACjD;;;;"}
package/package.json ADDED
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "@x-oasis/is-ascii",
3
+ "version": "0.1.38",
4
+ "description": "is-ascii function",
5
+ "main": "dist/index.js",
6
+ "typings": "dist/index.d.ts",
7
+ "module": "dist/is-ascii.esm.js",
8
+ "files": [
9
+ "dist",
10
+ "index.ts",
11
+ "src"
12
+ ],
13
+ "publishConfig": {
14
+ "access": "public"
15
+ },
16
+ "author": "",
17
+ "license": "ISC",
18
+ "devDependencies": {
19
+ "tsdx": "^0.14.1"
20
+ },
21
+ "scripts": {
22
+ "build": "tsdx build --tsconfig tsconfig.build.json",
23
+ "clean": "rimraf ./dist",
24
+ "test": "vitest",
25
+ "compile": "tsc -p tsconfig.build.json"
26
+ }
27
+ }
@@ -0,0 +1,438 @@
1
+ export const enum CharCode {
2
+ Null = 0,
3
+ /**
4
+ * The `\b` character.
5
+ */
6
+ Backspace = 8,
7
+ /**
8
+ * The `\t` character.
9
+ */
10
+ Tab = 9,
11
+ /**
12
+ * The `\n` character.
13
+ */
14
+ LineFeed = 10,
15
+ /**
16
+ * The `\r` character.
17
+ */
18
+ CarriageReturn = 13,
19
+ Space = 32,
20
+ /**
21
+ * The `!` character.
22
+ */
23
+ ExclamationMark = 33,
24
+ /**
25
+ * The `"` character.
26
+ */
27
+ DoubleQuote = 34,
28
+ /**
29
+ * The `#` character.
30
+ */
31
+ Hash = 35,
32
+ /**
33
+ * The `$` character.
34
+ */
35
+ DollarSign = 36,
36
+ /**
37
+ * The `%` character.
38
+ */
39
+ PercentSign = 37,
40
+ /**
41
+ * The `&` character.
42
+ */
43
+ Ampersand = 38,
44
+ /**
45
+ * The `'` character.
46
+ */
47
+ SingleQuote = 39,
48
+ /**
49
+ * The `(` character.
50
+ */
51
+ OpenParen = 40,
52
+ /**
53
+ * The `)` character.
54
+ */
55
+ CloseParen = 41,
56
+ /**
57
+ * The `*` character.
58
+ */
59
+ Asterisk = 42,
60
+ /**
61
+ * The `+` character.
62
+ */
63
+ Plus = 43,
64
+ /**
65
+ * The `,` character.
66
+ */
67
+ Comma = 44,
68
+ /**
69
+ * The `-` character.
70
+ */
71
+ Dash = 45,
72
+ /**
73
+ * The `.` character.
74
+ */
75
+ Period = 46,
76
+ /**
77
+ * The `/` character.
78
+ */
79
+ Slash = 47,
80
+
81
+ Digit0 = 48,
82
+ Digit1 = 49,
83
+ Digit2 = 50,
84
+ Digit3 = 51,
85
+ Digit4 = 52,
86
+ Digit5 = 53,
87
+ Digit6 = 54,
88
+ Digit7 = 55,
89
+ Digit8 = 56,
90
+ Digit9 = 57,
91
+
92
+ /**
93
+ * The `:` character.
94
+ */
95
+ Colon = 58,
96
+ /**
97
+ * The `;` character.
98
+ */
99
+ Semicolon = 59,
100
+ /**
101
+ * The `<` character.
102
+ */
103
+ LessThan = 60,
104
+ /**
105
+ * The `=` character.
106
+ */
107
+ Equals = 61,
108
+ /**
109
+ * The `>` character.
110
+ */
111
+ GreaterThan = 62,
112
+ /**
113
+ * The `?` character.
114
+ */
115
+ QuestionMark = 63,
116
+ /**
117
+ * The `@` character.
118
+ */
119
+ AtSign = 64,
120
+
121
+ A = 65,
122
+ B = 66,
123
+ C = 67,
124
+ D = 68,
125
+ E = 69,
126
+ F = 70,
127
+ G = 71,
128
+ H = 72,
129
+ I = 73,
130
+ J = 74,
131
+ K = 75,
132
+ L = 76,
133
+ M = 77,
134
+ N = 78,
135
+ O = 79,
136
+ P = 80,
137
+ Q = 81,
138
+ R = 82,
139
+ S = 83,
140
+ T = 84,
141
+ U = 85,
142
+ V = 86,
143
+ W = 87,
144
+ X = 88,
145
+ Y = 89,
146
+ Z = 90,
147
+
148
+ /**
149
+ * The `[` character.
150
+ */
151
+ OpenSquareBracket = 91,
152
+ /**
153
+ * The `\` character.
154
+ */
155
+ Backslash = 92,
156
+ /**
157
+ * The `]` character.
158
+ */
159
+ CloseSquareBracket = 93,
160
+ /**
161
+ * The `^` character.
162
+ */
163
+ Caret = 94,
164
+ /**
165
+ * The `_` character.
166
+ */
167
+ Underline = 95,
168
+ /**
169
+ * The ``(`)`` character.
170
+ */
171
+ BackTick = 96,
172
+
173
+ a = 97,
174
+ b = 98,
175
+ c = 99,
176
+ d = 100,
177
+ e = 101,
178
+ f = 102,
179
+ g = 103,
180
+ h = 104,
181
+ i = 105,
182
+ j = 106,
183
+ k = 107,
184
+ l = 108,
185
+ m = 109,
186
+ n = 110,
187
+ o = 111,
188
+ p = 112,
189
+ q = 113,
190
+ r = 114,
191
+ s = 115,
192
+ t = 116,
193
+ u = 117,
194
+ v = 118,
195
+ w = 119,
196
+ x = 120,
197
+ y = 121,
198
+ z = 122,
199
+
200
+ /**
201
+ * The `{` character.
202
+ */
203
+ OpenCurlyBrace = 123,
204
+ /**
205
+ * The `|` character.
206
+ */
207
+ Pipe = 124,
208
+ /**
209
+ * The `}` character.
210
+ */
211
+ CloseCurlyBrace = 125,
212
+ /**
213
+ * The `~` character.
214
+ */
215
+ Tilde = 126,
216
+
217
+ /**
218
+ * The &nbsp; (no-break space) character.
219
+ * Unicode Character 'NO-BREAK SPACE' (U+00A0)
220
+ */
221
+ NoBreakSpace = 160,
222
+
223
+ U_Combining_Grave_Accent = 0x0300, // U+0300 Combining Grave Accent
224
+ U_Combining_Acute_Accent = 0x0301, // U+0301 Combining Acute Accent
225
+ U_Combining_Circumflex_Accent = 0x0302, // U+0302 Combining Circumflex Accent
226
+ U_Combining_Tilde = 0x0303, // U+0303 Combining Tilde
227
+ U_Combining_Macron = 0x0304, // U+0304 Combining Macron
228
+ U_Combining_Overline = 0x0305, // U+0305 Combining Overline
229
+ U_Combining_Breve = 0x0306, // U+0306 Combining Breve
230
+ U_Combining_Dot_Above = 0x0307, // U+0307 Combining Dot Above
231
+ U_Combining_Diaeresis = 0x0308, // U+0308 Combining Diaeresis
232
+ U_Combining_Hook_Above = 0x0309, // U+0309 Combining Hook Above
233
+ U_Combining_Ring_Above = 0x030a, // U+030A Combining Ring Above
234
+ U_Combining_Double_Acute_Accent = 0x030b, // U+030B Combining Double Acute Accent
235
+ U_Combining_Caron = 0x030c, // U+030C Combining Caron
236
+ U_Combining_Vertical_Line_Above = 0x030d, // U+030D Combining Vertical Line Above
237
+ U_Combining_Double_Vertical_Line_Above = 0x030e, // U+030E Combining Double Vertical Line Above
238
+ U_Combining_Double_Grave_Accent = 0x030f, // U+030F Combining Double Grave Accent
239
+ U_Combining_Candrabindu = 0x0310, // U+0310 Combining Candrabindu
240
+ U_Combining_Inverted_Breve = 0x0311, // U+0311 Combining Inverted Breve
241
+ U_Combining_Turned_Comma_Above = 0x0312, // U+0312 Combining Turned Comma Above
242
+ U_Combining_Comma_Above = 0x0313, // U+0313 Combining Comma Above
243
+ U_Combining_Reversed_Comma_Above = 0x0314, // U+0314 Combining Reversed Comma Above
244
+ U_Combining_Comma_Above_Right = 0x0315, // U+0315 Combining Comma Above Right
245
+ U_Combining_Grave_Accent_Below = 0x0316, // U+0316 Combining Grave Accent Below
246
+ U_Combining_Acute_Accent_Below = 0x0317, // U+0317 Combining Acute Accent Below
247
+ U_Combining_Left_Tack_Below = 0x0318, // U+0318 Combining Left Tack Below
248
+ U_Combining_Right_Tack_Below = 0x0319, // U+0319 Combining Right Tack Below
249
+ U_Combining_Left_Angle_Above = 0x031a, // U+031A Combining Left Angle Above
250
+ U_Combining_Horn = 0x031b, // U+031B Combining Horn
251
+ U_Combining_Left_Half_Ring_Below = 0x031c, // U+031C Combining Left Half Ring Below
252
+ U_Combining_Up_Tack_Below = 0x031d, // U+031D Combining Up Tack Below
253
+ U_Combining_Down_Tack_Below = 0x031e, // U+031E Combining Down Tack Below
254
+ U_Combining_Plus_Sign_Below = 0x031f, // U+031F Combining Plus Sign Below
255
+ U_Combining_Minus_Sign_Below = 0x0320, // U+0320 Combining Minus Sign Below
256
+ U_Combining_Palatalized_Hook_Below = 0x0321, // U+0321 Combining Palatalized Hook Below
257
+ U_Combining_Retroflex_Hook_Below = 0x0322, // U+0322 Combining Retroflex Hook Below
258
+ U_Combining_Dot_Below = 0x0323, // U+0323 Combining Dot Below
259
+ U_Combining_Diaeresis_Below = 0x0324, // U+0324 Combining Diaeresis Below
260
+ U_Combining_Ring_Below = 0x0325, // U+0325 Combining Ring Below
261
+ U_Combining_Comma_Below = 0x0326, // U+0326 Combining Comma Below
262
+ U_Combining_Cedilla = 0x0327, // U+0327 Combining Cedilla
263
+ U_Combining_Ogonek = 0x0328, // U+0328 Combining Ogonek
264
+ U_Combining_Vertical_Line_Below = 0x0329, // U+0329 Combining Vertical Line Below
265
+ U_Combining_Bridge_Below = 0x032a, // U+032A Combining Bridge Below
266
+ U_Combining_Inverted_Double_Arch_Below = 0x032b, // U+032B Combining Inverted Double Arch Below
267
+ U_Combining_Caron_Below = 0x032c, // U+032C Combining Caron Below
268
+ U_Combining_Circumflex_Accent_Below = 0x032d, // U+032D Combining Circumflex Accent Below
269
+ U_Combining_Breve_Below = 0x032e, // U+032E Combining Breve Below
270
+ U_Combining_Inverted_Breve_Below = 0x032f, // U+032F Combining Inverted Breve Below
271
+ U_Combining_Tilde_Below = 0x0330, // U+0330 Combining Tilde Below
272
+ U_Combining_Macron_Below = 0x0331, // U+0331 Combining Macron Below
273
+ U_Combining_Low_Line = 0x0332, // U+0332 Combining Low Line
274
+ U_Combining_Double_Low_Line = 0x0333, // U+0333 Combining Double Low Line
275
+ U_Combining_Tilde_Overlay = 0x0334, // U+0334 Combining Tilde Overlay
276
+ U_Combining_Short_Stroke_Overlay = 0x0335, // U+0335 Combining Short Stroke Overlay
277
+ U_Combining_Long_Stroke_Overlay = 0x0336, // U+0336 Combining Long Stroke Overlay
278
+ U_Combining_Short_Solidus_Overlay = 0x0337, // U+0337 Combining Short Solidus Overlay
279
+ U_Combining_Long_Solidus_Overlay = 0x0338, // U+0338 Combining Long Solidus Overlay
280
+ U_Combining_Right_Half_Ring_Below = 0x0339, // U+0339 Combining Right Half Ring Below
281
+ U_Combining_Inverted_Bridge_Below = 0x033a, // U+033A Combining Inverted Bridge Below
282
+ U_Combining_Square_Below = 0x033b, // U+033B Combining Square Below
283
+ U_Combining_Seagull_Below = 0x033c, // U+033C Combining Seagull Below
284
+ U_Combining_X_Above = 0x033d, // U+033D Combining X Above
285
+ U_Combining_Vertical_Tilde = 0x033e, // U+033E Combining Vertical Tilde
286
+ U_Combining_Double_Overline = 0x033f, // U+033F Combining Double Overline
287
+ U_Combining_Grave_Tone_Mark = 0x0340, // U+0340 Combining Grave Tone Mark
288
+ U_Combining_Acute_Tone_Mark = 0x0341, // U+0341 Combining Acute Tone Mark
289
+ U_Combining_Greek_Perispomeni = 0x0342, // U+0342 Combining Greek Perispomeni
290
+ U_Combining_Greek_Koronis = 0x0343, // U+0343 Combining Greek Koronis
291
+ U_Combining_Greek_Dialytika_Tonos = 0x0344, // U+0344 Combining Greek Dialytika Tonos
292
+ U_Combining_Greek_Ypogegrammeni = 0x0345, // U+0345 Combining Greek Ypogegrammeni
293
+ U_Combining_Bridge_Above = 0x0346, // U+0346 Combining Bridge Above
294
+ U_Combining_Equals_Sign_Below = 0x0347, // U+0347 Combining Equals Sign Below
295
+ U_Combining_Double_Vertical_Line_Below = 0x0348, // U+0348 Combining Double Vertical Line Below
296
+ U_Combining_Left_Angle_Below = 0x0349, // U+0349 Combining Left Angle Below
297
+ U_Combining_Not_Tilde_Above = 0x034a, // U+034A Combining Not Tilde Above
298
+ U_Combining_Homothetic_Above = 0x034b, // U+034B Combining Homothetic Above
299
+ U_Combining_Almost_Equal_To_Above = 0x034c, // U+034C Combining Almost Equal To Above
300
+ U_Combining_Left_Right_Arrow_Below = 0x034d, // U+034D Combining Left Right Arrow Below
301
+ U_Combining_Upwards_Arrow_Below = 0x034e, // U+034E Combining Upwards Arrow Below
302
+ U_Combining_Grapheme_Joiner = 0x034f, // U+034F Combining Grapheme Joiner
303
+ U_Combining_Right_Arrowhead_Above = 0x0350, // U+0350 Combining Right Arrowhead Above
304
+ U_Combining_Left_Half_Ring_Above = 0x0351, // U+0351 Combining Left Half Ring Above
305
+ U_Combining_Fermata = 0x0352, // U+0352 Combining Fermata
306
+ U_Combining_X_Below = 0x0353, // U+0353 Combining X Below
307
+ U_Combining_Left_Arrowhead_Below = 0x0354, // U+0354 Combining Left Arrowhead Below
308
+ U_Combining_Right_Arrowhead_Below = 0x0355, // U+0355 Combining Right Arrowhead Below
309
+ U_Combining_Right_Arrowhead_And_Up_Arrowhead_Below = 0x0356, // U+0356 Combining Right Arrowhead And Up Arrowhead Below
310
+ U_Combining_Right_Half_Ring_Above = 0x0357, // U+0357 Combining Right Half Ring Above
311
+ U_Combining_Dot_Above_Right = 0x0358, // U+0358 Combining Dot Above Right
312
+ U_Combining_Asterisk_Below = 0x0359, // U+0359 Combining Asterisk Below
313
+ U_Combining_Double_Ring_Below = 0x035a, // U+035A Combining Double Ring Below
314
+ U_Combining_Zigzag_Above = 0x035b, // U+035B Combining Zigzag Above
315
+ U_Combining_Double_Breve_Below = 0x035c, // U+035C Combining Double Breve Below
316
+ U_Combining_Double_Breve = 0x035d, // U+035D Combining Double Breve
317
+ U_Combining_Double_Macron = 0x035e, // U+035E Combining Double Macron
318
+ U_Combining_Double_Macron_Below = 0x035f, // U+035F Combining Double Macron Below
319
+ U_Combining_Double_Tilde = 0x0360, // U+0360 Combining Double Tilde
320
+ U_Combining_Double_Inverted_Breve = 0x0361, // U+0361 Combining Double Inverted Breve
321
+ U_Combining_Double_Rightwards_Arrow_Below = 0x0362, // U+0362 Combining Double Rightwards Arrow Below
322
+ U_Combining_Latin_Small_Letter_A = 0x0363, // U+0363 Combining Latin Small Letter A
323
+ U_Combining_Latin_Small_Letter_E = 0x0364, // U+0364 Combining Latin Small Letter E
324
+ U_Combining_Latin_Small_Letter_I = 0x0365, // U+0365 Combining Latin Small Letter I
325
+ U_Combining_Latin_Small_Letter_O = 0x0366, // U+0366 Combining Latin Small Letter O
326
+ U_Combining_Latin_Small_Letter_U = 0x0367, // U+0367 Combining Latin Small Letter U
327
+ U_Combining_Latin_Small_Letter_C = 0x0368, // U+0368 Combining Latin Small Letter C
328
+ U_Combining_Latin_Small_Letter_D = 0x0369, // U+0369 Combining Latin Small Letter D
329
+ U_Combining_Latin_Small_Letter_H = 0x036a, // U+036A Combining Latin Small Letter H
330
+ U_Combining_Latin_Small_Letter_M = 0x036b, // U+036B Combining Latin Small Letter M
331
+ U_Combining_Latin_Small_Letter_R = 0x036c, // U+036C Combining Latin Small Letter R
332
+ U_Combining_Latin_Small_Letter_T = 0x036d, // U+036D Combining Latin Small Letter T
333
+ U_Combining_Latin_Small_Letter_V = 0x036e, // U+036E Combining Latin Small Letter V
334
+ U_Combining_Latin_Small_Letter_X = 0x036f, // U+036F Combining Latin Small Letter X
335
+
336
+ /**
337
+ * Unicode Character 'LINE SEPARATOR' (U+2028)
338
+ * http://www.fileformat.info/info/unicode/char/2028/index.htm
339
+ */
340
+ LINE_SEPARATOR = 0x2028,
341
+ /**
342
+ * Unicode Character 'PARAGRAPH SEPARATOR' (U+2029)
343
+ * http://www.fileformat.info/info/unicode/char/2029/index.htm
344
+ */
345
+ PARAGRAPH_SEPARATOR = 0x2029,
346
+ /**
347
+ * Unicode Character 'NEXT LINE' (U+0085)
348
+ * http://www.fileformat.info/info/unicode/char/0085/index.htm
349
+ */
350
+ NEXT_LINE = 0x0085,
351
+
352
+ // http://www.fileformat.info/info/unicode/category/Sk/list.htm
353
+ U_CIRCUMFLEX = 0x005e, // U+005E CIRCUMFLEX
354
+ U_GRAVE_ACCENT = 0x0060, // U+0060 GRAVE ACCENT
355
+ U_DIAERESIS = 0x00a8, // U+00A8 DIAERESIS
356
+ U_MACRON = 0x00af, // U+00AF MACRON
357
+ U_ACUTE_ACCENT = 0x00b4, // U+00B4 ACUTE ACCENT
358
+ U_CEDILLA = 0x00b8, // U+00B8 CEDILLA
359
+ U_MODIFIER_LETTER_LEFT_ARROWHEAD = 0x02c2, // U+02C2 MODIFIER LETTER LEFT ARROWHEAD
360
+ U_MODIFIER_LETTER_RIGHT_ARROWHEAD = 0x02c3, // U+02C3 MODIFIER LETTER RIGHT ARROWHEAD
361
+ U_MODIFIER_LETTER_UP_ARROWHEAD = 0x02c4, // U+02C4 MODIFIER LETTER UP ARROWHEAD
362
+ U_MODIFIER_LETTER_DOWN_ARROWHEAD = 0x02c5, // U+02C5 MODIFIER LETTER DOWN ARROWHEAD
363
+ U_MODIFIER_LETTER_CENTRED_RIGHT_HALF_RING = 0x02d2, // U+02D2 MODIFIER LETTER CENTRED RIGHT HALF RING
364
+ U_MODIFIER_LETTER_CENTRED_LEFT_HALF_RING = 0x02d3, // U+02D3 MODIFIER LETTER CENTRED LEFT HALF RING
365
+ U_MODIFIER_LETTER_UP_TACK = 0x02d4, // U+02D4 MODIFIER LETTER UP TACK
366
+ U_MODIFIER_LETTER_DOWN_TACK = 0x02d5, // U+02D5 MODIFIER LETTER DOWN TACK
367
+ U_MODIFIER_LETTER_PLUS_SIGN = 0x02d6, // U+02D6 MODIFIER LETTER PLUS SIGN
368
+ U_MODIFIER_LETTER_MINUS_SIGN = 0x02d7, // U+02D7 MODIFIER LETTER MINUS SIGN
369
+ U_BREVE = 0x02d8, // U+02D8 BREVE
370
+ U_DOT_ABOVE = 0x02d9, // U+02D9 DOT ABOVE
371
+ U_RING_ABOVE = 0x02da, // U+02DA RING ABOVE
372
+ U_OGONEK = 0x02db, // U+02DB OGONEK
373
+ U_SMALL_TILDE = 0x02dc, // U+02DC SMALL TILDE
374
+ U_DOUBLE_ACUTE_ACCENT = 0x02dd, // U+02DD DOUBLE ACUTE ACCENT
375
+ U_MODIFIER_LETTER_RHOTIC_HOOK = 0x02de, // U+02DE MODIFIER LETTER RHOTIC HOOK
376
+ U_MODIFIER_LETTER_CROSS_ACCENT = 0x02df, // U+02DF MODIFIER LETTER CROSS ACCENT
377
+ U_MODIFIER_LETTER_EXTRA_HIGH_TONE_BAR = 0x02e5, // U+02E5 MODIFIER LETTER EXTRA-HIGH TONE BAR
378
+ U_MODIFIER_LETTER_HIGH_TONE_BAR = 0x02e6, // U+02E6 MODIFIER LETTER HIGH TONE BAR
379
+ U_MODIFIER_LETTER_MID_TONE_BAR = 0x02e7, // U+02E7 MODIFIER LETTER MID TONE BAR
380
+ U_MODIFIER_LETTER_LOW_TONE_BAR = 0x02e8, // U+02E8 MODIFIER LETTER LOW TONE BAR
381
+ U_MODIFIER_LETTER_EXTRA_LOW_TONE_BAR = 0x02e9, // U+02E9 MODIFIER LETTER EXTRA-LOW TONE BAR
382
+ U_MODIFIER_LETTER_YIN_DEPARTING_TONE_MARK = 0x02ea, // U+02EA MODIFIER LETTER YIN DEPARTING TONE MARK
383
+ U_MODIFIER_LETTER_YANG_DEPARTING_TONE_MARK = 0x02eb, // U+02EB MODIFIER LETTER YANG DEPARTING TONE MARK
384
+ U_MODIFIER_LETTER_UNASPIRATED = 0x02ed, // U+02ED MODIFIER LETTER UNASPIRATED
385
+ U_MODIFIER_LETTER_LOW_DOWN_ARROWHEAD = 0x02ef, // U+02EF MODIFIER LETTER LOW DOWN ARROWHEAD
386
+ U_MODIFIER_LETTER_LOW_UP_ARROWHEAD = 0x02f0, // U+02F0 MODIFIER LETTER LOW UP ARROWHEAD
387
+ U_MODIFIER_LETTER_LOW_LEFT_ARROWHEAD = 0x02f1, // U+02F1 MODIFIER LETTER LOW LEFT ARROWHEAD
388
+ U_MODIFIER_LETTER_LOW_RIGHT_ARROWHEAD = 0x02f2, // U+02F2 MODIFIER LETTER LOW RIGHT ARROWHEAD
389
+ U_MODIFIER_LETTER_LOW_RING = 0x02f3, // U+02F3 MODIFIER LETTER LOW RING
390
+ U_MODIFIER_LETTER_MIDDLE_GRAVE_ACCENT = 0x02f4, // U+02F4 MODIFIER LETTER MIDDLE GRAVE ACCENT
391
+ U_MODIFIER_LETTER_MIDDLE_DOUBLE_GRAVE_ACCENT = 0x02f5, // U+02F5 MODIFIER LETTER MIDDLE DOUBLE GRAVE ACCENT
392
+ U_MODIFIER_LETTER_MIDDLE_DOUBLE_ACUTE_ACCENT = 0x02f6, // U+02F6 MODIFIER LETTER MIDDLE DOUBLE ACUTE ACCENT
393
+ U_MODIFIER_LETTER_LOW_TILDE = 0x02f7, // U+02F7 MODIFIER LETTER LOW TILDE
394
+ U_MODIFIER_LETTER_RAISED_COLON = 0x02f8, // U+02F8 MODIFIER LETTER RAISED COLON
395
+ U_MODIFIER_LETTER_BEGIN_HIGH_TONE = 0x02f9, // U+02F9 MODIFIER LETTER BEGIN HIGH TONE
396
+ U_MODIFIER_LETTER_END_HIGH_TONE = 0x02fa, // U+02FA MODIFIER LETTER END HIGH TONE
397
+ U_MODIFIER_LETTER_BEGIN_LOW_TONE = 0x02fb, // U+02FB MODIFIER LETTER BEGIN LOW TONE
398
+ U_MODIFIER_LETTER_END_LOW_TONE = 0x02fc, // U+02FC MODIFIER LETTER END LOW TONE
399
+ U_MODIFIER_LETTER_SHELF = 0x02fd, // U+02FD MODIFIER LETTER SHELF
400
+ U_MODIFIER_LETTER_OPEN_SHELF = 0x02fe, // U+02FE MODIFIER LETTER OPEN SHELF
401
+ U_MODIFIER_LETTER_LOW_LEFT_ARROW = 0x02ff, // U+02FF MODIFIER LETTER LOW LEFT ARROW
402
+ U_GREEK_LOWER_NUMERAL_SIGN = 0x0375, // U+0375 GREEK LOWER NUMERAL SIGN
403
+ U_GREEK_TONOS = 0x0384, // U+0384 GREEK TONOS
404
+ U_GREEK_DIALYTIKA_TONOS = 0x0385, // U+0385 GREEK DIALYTIKA TONOS
405
+ U_GREEK_KORONIS = 0x1fbd, // U+1FBD GREEK KORONIS
406
+ U_GREEK_PSILI = 0x1fbf, // U+1FBF GREEK PSILI
407
+ U_GREEK_PERISPOMENI = 0x1fc0, // U+1FC0 GREEK PERISPOMENI
408
+ U_GREEK_DIALYTIKA_AND_PERISPOMENI = 0x1fc1, // U+1FC1 GREEK DIALYTIKA AND PERISPOMENI
409
+ U_GREEK_PSILI_AND_VARIA = 0x1fcd, // U+1FCD GREEK PSILI AND VARIA
410
+ U_GREEK_PSILI_AND_OXIA = 0x1fce, // U+1FCE GREEK PSILI AND OXIA
411
+ U_GREEK_PSILI_AND_PERISPOMENI = 0x1fcf, // U+1FCF GREEK PSILI AND PERISPOMENI
412
+ U_GREEK_DASIA_AND_VARIA = 0x1fdd, // U+1FDD GREEK DASIA AND VARIA
413
+ U_GREEK_DASIA_AND_OXIA = 0x1fde, // U+1FDE GREEK DASIA AND OXIA
414
+ U_GREEK_DASIA_AND_PERISPOMENI = 0x1fdf, // U+1FDF GREEK DASIA AND PERISPOMENI
415
+ U_GREEK_DIALYTIKA_AND_VARIA = 0x1fed, // U+1FED GREEK DIALYTIKA AND VARIA
416
+ U_GREEK_DIALYTIKA_AND_OXIA = 0x1fee, // U+1FEE GREEK DIALYTIKA AND OXIA
417
+ U_GREEK_VARIA = 0x1fef, // U+1FEF GREEK VARIA
418
+ U_GREEK_OXIA = 0x1ffd, // U+1FFD GREEK OXIA
419
+ U_GREEK_DASIA = 0x1ffe, // U+1FFE GREEK DASIA
420
+
421
+ U_IDEOGRAPHIC_FULL_STOP = 0x3002, // U+3002 IDEOGRAPHIC FULL STOP
422
+ U_LEFT_CORNER_BRACKET = 0x300c, // U+300C LEFT CORNER BRACKET
423
+ U_RIGHT_CORNER_BRACKET = 0x300d, // U+300D RIGHT CORNER BRACKET
424
+ U_LEFT_BLACK_LENTICULAR_BRACKET = 0x3010, // U+3010 LEFT BLACK LENTICULAR BRACKET
425
+ U_RIGHT_BLACK_LENTICULAR_BRACKET = 0x3011, // U+3011 RIGHT BLACK LENTICULAR BRACKET
426
+
427
+ U_OVERLINE = 0x203e, // Unicode Character 'OVERLINE'
428
+
429
+ /**
430
+ * UTF-8 BOM
431
+ * Unicode Character 'ZERO WIDTH NO-BREAK SPACE' (U+FEFF)
432
+ * http://www.fileformat.info/info/unicode/char/feff/index.htm
433
+ */
434
+ UTF8_BOM = 65279,
435
+
436
+ U_FULLWIDTH_SEMICOLON = 0xff1b, // U+FF1B FULLWIDTH SEMICOLON
437
+ U_FULLWIDTH_COMMA = 0xff0c, // U+FF0C FULLWIDTH COMMA
438
+ }
package/src/index.ts ADDED
@@ -0,0 +1,13 @@
1
+ import { CharCode } from './CharCode';
2
+
3
+ export function isAsciiDigit(code: number): boolean {
4
+ return code >= CharCode.Digit0 && code <= CharCode.Digit9;
5
+ }
6
+
7
+ export function isLowerAsciiLetter(code: number): boolean {
8
+ return code >= CharCode.a && code <= CharCode.z;
9
+ }
10
+
11
+ export function isUpperAsciiLetter(code: number): boolean {
12
+ return code >= CharCode.A && code <= CharCode.Z;
13
+ }