agsamantha/node_modules/parse5/dist/cjs/common/unicode.d.ts

49 lines
1.3 KiB
TypeScript
Raw Normal View History

2024-10-02 15:15:21 -05:00
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