Skip to content

Commit

Permalink
✨ update Unicode version (fixes #9)
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea committed Apr 4, 2020
1 parent bcdf5f7 commit af1778f
Showing 1 changed file with 48 additions and 18 deletions.
66 changes: 48 additions & 18 deletions src/unicode/ids.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Generated from DerivedCoreProperties-12.1.0.txt */
/* Generated from DerivedCoreProperties-13.0.0.txt */

let largeIdStartPatternSymbols: Set<number> | null = null
let largeIdStartPatternRanges: [number, number][] | null = null
Expand Down Expand Up @@ -188,8 +188,11 @@ function isLargeIdStart(cp: number): boolean {
0x109be,
0x109bf,
0x10a00,
0x10eb0,
0x10eb1,
0x10f27,
0x11144,
0x11147,
0x11176,
0x111da,
0x111dc,
Expand All @@ -200,13 +203,16 @@ function isLargeIdStart(cp: number): boolean {
0x11333,
0x1133d,
0x11350,
0x1145f,
0x114c4,
0x114c5,
0x114c7,
0x11644,
0x116b8,
0x118ff,
0x11909,
0x11915,
0x11916,
0x1193f,
0x11941,
0x119e1,
0x119e3,
0x11a00,
Expand All @@ -220,6 +226,7 @@ function isLargeIdStart(cp: number): boolean {
0x11d67,
0x11d68,
0x11d98,
0x11fb0,
0x16f50,
0x16fe0,
0x16fe1,
Expand Down Expand Up @@ -283,7 +290,7 @@ function isLargeIdStart(cp: number): boolean {
[0x840, 0x858],
[0x860, 0x86a],
[0x8a0, 0x8b4],
[0x8b6, 0x8bd],
[0x8b6, 0x8c7],
[0x904, 0x939],
[0x958, 0x961],
[0x971, 0x980],
Expand Down Expand Up @@ -322,7 +329,7 @@ function isLargeIdStart(cp: number): boolean {
[0xc92, 0xca8],
[0xcaa, 0xcb3],
[0xcb5, 0xcb9],
[0xd05, 0xd0c],
[0xd04, 0xd0c],
[0xd0e, 0xd10],
[0xd12, 0xd3a],
[0xd54, 0xd56],
Expand Down Expand Up @@ -448,10 +455,10 @@ function isLargeIdStart(cp: number): boolean {
[0x30fc, 0x30ff],
[0x3105, 0x312f],
[0x3131, 0x318e],
[0x31a0, 0x31ba],
[0x31a0, 0x31bf],
[0x31f0, 0x31ff],
[0x3400, 0x4db5],
[0x4e00, 0x9fef],
[0x3400, 0x4dbf],
[0x4e00, 0x9ffc],
[0xa000, 0xa48c],
[0xa4d0, 0xa4fd],
[0xa500, 0xa60c],
Expand All @@ -462,8 +469,8 @@ function isLargeIdStart(cp: number): boolean {
[0xa717, 0xa71f],
[0xa722, 0xa788],
[0xa78b, 0xa7bf],
[0xa7c2, 0xa7c6],
[0xa7f7, 0xa801],
[0xa7c2, 0xa7ca],
[0xa7f5, 0xa801],
[0xa803, 0xa805],
[0xa807, 0xa80a],
[0xa80c, 0xa822],
Expand Down Expand Up @@ -492,7 +499,7 @@ function isLargeIdStart(cp: number): boolean {
[0xab20, 0xab26],
[0xab28, 0xab2e],
[0xab30, 0xab5a],
[0xab5c, 0xab67],
[0xab5c, 0xab69],
[0xab70, 0xabe2],
[0xac00, 0xd7a3],
[0xd7b0, 0xd7c6],
Expand Down Expand Up @@ -566,8 +573,10 @@ function isLargeIdStart(cp: number): boolean {
[0x10c80, 0x10cb2],
[0x10cc0, 0x10cf2],
[0x10d00, 0x10d23],
[0x10e80, 0x10ea9],
[0x10f00, 0x10f1c],
[0x10f30, 0x10f45],
[0x10fb0, 0x10fc4],
[0x10fe0, 0x10ff6],
[0x11003, 0x11037],
[0x11083, 0x110af],
Expand All @@ -590,6 +599,7 @@ function isLargeIdStart(cp: number): boolean {
[0x1135d, 0x11361],
[0x11400, 0x11434],
[0x11447, 0x1144a],
[0x1145f, 0x11461],
[0x11480, 0x114af],
[0x11580, 0x115ae],
[0x115d8, 0x115db],
Expand All @@ -598,6 +608,9 @@ function isLargeIdStart(cp: number): boolean {
[0x11700, 0x1171a],
[0x11800, 0x1182b],
[0x118a0, 0x118df],
[0x118ff, 0x11906],
[0x1190c, 0x11913],
[0x11918, 0x1192f],
[0x119a0, 0x119a7],
[0x119aa, 0x119d0],
[0x11a0b, 0x11a32],
Expand Down Expand Up @@ -627,7 +640,8 @@ function isLargeIdStart(cp: number): boolean {
[0x16f00, 0x16f4a],
[0x16f93, 0x16f9f],
[0x17000, 0x187f7],
[0x18800, 0x18af2],
[0x18800, 0x18cd5],
[0x18d00, 0x18d08],
[0x1b000, 0x1b11e],
[0x1b150, 0x1b152],
[0x1b164, 0x1b167],
Expand Down Expand Up @@ -680,12 +694,13 @@ function isLargeIdStart(cp: number): boolean {
[0x1eea1, 0x1eea3],
[0x1eea5, 0x1eea9],
[0x1eeab, 0x1eebb],
[0x20000, 0x2a6d6],
[0x20000, 0x2a6dd],
[0x2a700, 0x2b734],
[0x2b740, 0x2b81d],
[0x2b820, 0x2cea1],
[0x2ceb0, 0x2ebe0],
[0x2f800, 0x2fa1d],
[0x30000, 0x3134a],
]
}
return (
Expand Down Expand Up @@ -730,8 +745,6 @@ function isLargeIdContinue(cp: number): boolean {
0xb3c,
0xb47,
0xb48,
0xb56,
0xb57,
0xb62,
0xb63,
0xb82,
Expand All @@ -750,8 +763,6 @@ function isLargeIdContinue(cp: number): boolean {
0xd57,
0xd62,
0xd63,
0xd82,
0xd83,
0xdca,
0xdd6,
0xdf2,
Expand All @@ -774,6 +785,8 @@ function isLargeIdContinue(cp: number): boolean {
0x1773,
0x17dd,
0x18a9,
0x1abf,
0x1ac0,
0x1ced,
0x1cf4,
0x203f,
Expand All @@ -791,6 +804,7 @@ function isLargeIdContinue(cp: number): boolean {
0xa802,
0xa806,
0xa80b,
0xa82c,
0xa880,
0xa881,
0xa9e5,
Expand Down Expand Up @@ -818,6 +832,8 @@ function isLargeIdContinue(cp: number): boolean {
0x10a3f,
0x10ae5,
0x10ae6,
0x10eab,
0x10eac,
0x11145,
0x11146,
0x11173,
Expand All @@ -832,6 +848,11 @@ function isLargeIdContinue(cp: number): boolean {
0x1145e,
0x115dc,
0x115dd,
0x11937,
0x11938,
0x11940,
0x11942,
0x11943,
0x119e4,
0x11a47,
0x11d3a,
Expand All @@ -841,6 +862,9 @@ function isLargeIdContinue(cp: number): boolean {
0x11d90,
0x11d91,
0x16f4f,
0x16fe4,
0x16ff0,
0x16ff1,
0x1bc9d,
0x1bc9e,
0x1da75,
Expand Down Expand Up @@ -890,6 +914,7 @@ function isLargeIdContinue(cp: number): boolean {
[0xb01, 0xb03],
[0xb3e, 0xb44],
[0xb4b, 0xb4d],
[0xb55, 0xb57],
[0xb66, 0xb6f],
[0xbbe, 0xbc2],
[0xbc6, 0xbc8],
Expand All @@ -910,6 +935,7 @@ function isLargeIdContinue(cp: number): boolean {
[0xd46, 0xd48],
[0xd4a, 0xd4d],
[0xd66, 0xd6f],
[0xd81, 0xd83],
[0xdcf, 0xdd4],
[0xdd8, 0xddf],
[0xde6, 0xdef],
Expand Down Expand Up @@ -1015,7 +1041,7 @@ function isLargeIdContinue(cp: number): boolean {
[0x11180, 0x11182],
[0x111b3, 0x111c0],
[0x111c9, 0x111cc],
[0x111d0, 0x111d9],
[0x111ce, 0x111d9],
[0x1122c, 0x11237],
[0x112df, 0x112ea],
[0x112f0, 0x112f9],
Expand All @@ -1038,6 +1064,9 @@ function isLargeIdContinue(cp: number): boolean {
[0x11730, 0x11739],
[0x1182c, 0x1183a],
[0x118e0, 0x118e9],
[0x11930, 0x11935],
[0x1193b, 0x1193e],
[0x11950, 0x11959],
[0x119d1, 0x119d7],
[0x119da, 0x119e0],
[0x11a01, 0x11a0a],
Expand Down Expand Up @@ -1084,6 +1113,7 @@ function isLargeIdContinue(cp: number): boolean {
[0x1e8d0, 0x1e8d6],
[0x1e944, 0x1e94a],
[0x1e950, 0x1e959],
[0x1fbf0, 0x1fbf9],
[0xe0100, 0xe01ef],
]
}
Expand Down

0 comments on commit af1778f

Please sign in to comment.