source: imaps-frontend/node_modules/graphemer/lib/boundaries.js@ d565449

main
Last change on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 1.9 KB
Line 
1"use strict";
2/**
3 * The Grapheme_Cluster_Break property value
4 * @see https://www.unicode.org/reports/tr29/#Default_Grapheme_Cluster_Table
5 */
6Object.defineProperty(exports, "__esModule", { value: true });
7exports.EXTENDED_PICTOGRAPHIC = exports.CLUSTER_BREAK = void 0;
8var CLUSTER_BREAK;
9(function (CLUSTER_BREAK) {
10 CLUSTER_BREAK[CLUSTER_BREAK["CR"] = 0] = "CR";
11 CLUSTER_BREAK[CLUSTER_BREAK["LF"] = 1] = "LF";
12 CLUSTER_BREAK[CLUSTER_BREAK["CONTROL"] = 2] = "CONTROL";
13 CLUSTER_BREAK[CLUSTER_BREAK["EXTEND"] = 3] = "EXTEND";
14 CLUSTER_BREAK[CLUSTER_BREAK["REGIONAL_INDICATOR"] = 4] = "REGIONAL_INDICATOR";
15 CLUSTER_BREAK[CLUSTER_BREAK["SPACINGMARK"] = 5] = "SPACINGMARK";
16 CLUSTER_BREAK[CLUSTER_BREAK["L"] = 6] = "L";
17 CLUSTER_BREAK[CLUSTER_BREAK["V"] = 7] = "V";
18 CLUSTER_BREAK[CLUSTER_BREAK["T"] = 8] = "T";
19 CLUSTER_BREAK[CLUSTER_BREAK["LV"] = 9] = "LV";
20 CLUSTER_BREAK[CLUSTER_BREAK["LVT"] = 10] = "LVT";
21 CLUSTER_BREAK[CLUSTER_BREAK["OTHER"] = 11] = "OTHER";
22 CLUSTER_BREAK[CLUSTER_BREAK["PREPEND"] = 12] = "PREPEND";
23 CLUSTER_BREAK[CLUSTER_BREAK["E_BASE"] = 13] = "E_BASE";
24 CLUSTER_BREAK[CLUSTER_BREAK["E_MODIFIER"] = 14] = "E_MODIFIER";
25 CLUSTER_BREAK[CLUSTER_BREAK["ZWJ"] = 15] = "ZWJ";
26 CLUSTER_BREAK[CLUSTER_BREAK["GLUE_AFTER_ZWJ"] = 16] = "GLUE_AFTER_ZWJ";
27 CLUSTER_BREAK[CLUSTER_BREAK["E_BASE_GAZ"] = 17] = "E_BASE_GAZ";
28})(CLUSTER_BREAK = exports.CLUSTER_BREAK || (exports.CLUSTER_BREAK = {}));
29/**
30 * The Emoji character property is an extension of UCD but shares the same namespace and structure
31 * @see http://www.unicode.org/reports/tr51/tr51-14.html#Emoji_Properties_and_Data_Files
32 *
33 * Here we model Extended_Pictograhpic only to implement UAX #29 GB11
34 * \p{Extended_Pictographic} Extend* ZWJ × \p{Extended_Pictographic}
35 *
36 * The Emoji character property should not be mixed with Grapheme_Cluster_Break since they are not exclusive
37 */
38exports.EXTENDED_PICTOGRAPHIC = 101;
Note: See TracBrowser for help on using the repository browser.