diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-13 21:34:48 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-13 21:34:48 -0800 |
| commit | 76cb9c2a39d477a64824a985ade40507e3bbade1 (patch) | |
| tree | 41e997aa9c6f538d3a136af61dae9424db2005a9 /vanilla/node_modules/parse5/dist/common/unicode.d.ts | |
| parent | 819a39a21ac992b1393244a4c283bbb125208c69 (diff) | |
| download | neko-76cb9c2a39d477a64824a985ade40507e3bbade1.tar.gz neko-76cb9c2a39d477a64824a985ade40507e3bbade1.tar.bz2 neko-76cb9c2a39d477a64824a985ade40507e3bbade1.zip | |
feat(vanilla): add testing infrastructure and tests (NK-wjnczv)
Diffstat (limited to 'vanilla/node_modules/parse5/dist/common/unicode.d.ts')
| -rw-r--r-- | vanilla/node_modules/parse5/dist/common/unicode.d.ts | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/vanilla/node_modules/parse5/dist/common/unicode.d.ts b/vanilla/node_modules/parse5/dist/common/unicode.d.ts new file mode 100644 index 0000000..63eda8b --- /dev/null +++ b/vanilla/node_modules/parse5/dist/common/unicode.d.ts @@ -0,0 +1,42 @@ +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, + 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_Z = 90, + RIGHT_SQUARE_BRACKET = 93, + GRAVE_ACCENT = 96, + LATIN_SMALL_A = 97, + LATIN_SMALL_Z = 122 +} +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; |
