1 | "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _charcodes = require('./charcodes');
|
2 |
|
3 |
|
4 | const WHITESPACE_CHARS = [
|
5 | 0x0009,
|
6 | 0x000b,
|
7 | 0x000c,
|
8 | _charcodes.charCodes.space,
|
9 | _charcodes.charCodes.nonBreakingSpace,
|
10 | _charcodes.charCodes.oghamSpaceMark,
|
11 | 0x2000,
|
12 | 0x2001,
|
13 | 0x2002,
|
14 | 0x2003,
|
15 | 0x2004,
|
16 | 0x2005,
|
17 | 0x2006,
|
18 | 0x2007,
|
19 | 0x2008,
|
20 | 0x2009,
|
21 | 0x200a,
|
22 | 0x202f,
|
23 | 0x205f,
|
24 | 0x3000,
|
25 | 0xfeff,
|
26 | ]; exports.WHITESPACE_CHARS = WHITESPACE_CHARS;
|
27 |
|
28 | const IS_WHITESPACE = new Uint8Array(65536); exports.IS_WHITESPACE = IS_WHITESPACE;
|
29 | for (const char of exports.WHITESPACE_CHARS) {
|
30 | exports.IS_WHITESPACE[char] = 1;
|
31 | }
|