unicode.d.ts
1.33 KB
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
export declare const REPLACEMENT_CHARACTER = "\uFFFD";
export declare enum CODE_POINTS {
EOF = -1,
NULL = 0,
TABULATION = 9,
CARRIAGE_RETURN = 13,
LINE_FEED = 10,
FORM_FEED = 12,
SPACE = 32,
EXCLAMATION_MARK = 33,
QUOTATION_MARK = 34,
NUMBER_SIGN = 35,
AMPERSAND = 38,
APOSTROPHE = 39,
HYPHEN_MINUS = 45,
SOLIDUS = 47,
DIGIT_0 = 48,
DIGIT_9 = 57,
SEMICOLON = 59,
LESS_THAN_SIGN = 60,
EQUALS_SIGN = 61,
GREATER_THAN_SIGN = 62,
QUESTION_MARK = 63,
LATIN_CAPITAL_A = 65,
LATIN_CAPITAL_F = 70,
LATIN_CAPITAL_X = 88,
LATIN_CAPITAL_Z = 90,
RIGHT_SQUARE_BRACKET = 93,
GRAVE_ACCENT = 96,
LATIN_SMALL_A = 97,
LATIN_SMALL_F = 102,
LATIN_SMALL_X = 120,
LATIN_SMALL_Z = 122,
REPLACEMENT_CHARACTER = 65533
}
export declare const SEQUENCES: {
DASH_DASH: string;
CDATA_START: string;
DOCTYPE: string;
SCRIPT: string;
PUBLIC: string;
SYSTEM: string;
};
export declare function isSurrogate(cp: number): boolean;
export declare function isSurrogatePair(cp: number): boolean;
export declare function getSurrogatePairCodePoint(cp1: number, cp2: number): number;
export declare function isControlCodePoint(cp: number): boolean;
export declare function isUndefinedCodePoint(cp: number): boolean;
//# sourceMappingURL=unicode.d.ts.map