CfParser.checkCodepoint

private void checkCodepoint(dchar cp, string hex) static @safe pure

Validates a codepoint from a \u/\U escape.

Parameters

cpThe decoded codepoint
hexThe original hex digits, for the error message

Throws

CfParseException if the codepoint is a surrogate or beyond U+10FFFF.