1 // © 2016 and later: Unicode, Inc. and others. 2 // License & terms of use: http://www.unicode.org/copyright.html 4 ********************************************************************** 5 * Copyright (C) 1999-2005, International Business Machines 6 * Corporation and others. All Rights Reserved. 7 ********************************************************************** 8 * Date Name Description 9 * 03/14/00 aliu Creation. 10 * 06/27/00 aliu Change from C++ class to C struct 11 ********************************************************************** 27 enum { U_PARSE_CONTEXT_LEN = 16 };
struct UParseError UParseError
A UParseError struct is used to returned detailed information about parsing errors.
A UParseError struct is used to returned detailed information about parsing errors.
UChar postContext[U_PARSE_CONTEXT_LEN]
The error itself and/or textual context after the error.
UChar preContext[U_PARSE_CONTEXT_LEN]
Textual context before the error.
int32_t line
The line on which the error occurred.
int32_t offset
The character offset to the error.
char16_t UChar
The base type for UTF-16 code units and pointers.
Basic definitions for ICU, for both C and C++ APIs.