ICU 56.1: parseerr.h Source File

ICU 56.1 56.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- File List
- Globals

parseerr.h
Go to the documentation of this file.
1 /*
2 **********************************************************************
3 * Copyright (C) 1999-2005, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 **********************************************************************
6 * Date Name Description
7 * 03/14/00 aliu Creation.
8 * 06/27/00 aliu Change from C++ class to C struct
9 **********************************************************************
10 */
11 #ifndef PARSEERR_H
12 #define PARSEERR_H
13
14 #include "unicode/utypes.h"
15
16
25 enum { U_PARSE_CONTEXT_LEN = 16 };
26
56 typedef struct UParseError {
57
65 int32_t line;
66
74 int32_t offset;
75
81 UChar preContext[U_PARSE_CONTEXT_LEN];
82
88 UChar postContext[U_PARSE_CONTEXT_LEN];
89
90 } UParseError;
91
92 #endif
UParseError::preContext
UChar preContext[U_PARSE_CONTEXT_LEN]
Textual context before the error.
Definition: parseerr.h:81
UParseError::offset
int32_t offset
The character offset to the error.
Definition: parseerr.h:74
UParseError::postContext
UChar postContext[U_PARSE_CONTEXT_LEN]
The error itself and/or textual context after the error.
Definition: parseerr.h:88
UParseError::line
int32_t line
The line on which the error occured.
Definition: parseerr.h:65
UChar
uint16_t UChar
Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...
Definition: umachine.h:312
UParseError
A UParseError struct is used to returned detailed information about parsing errors.
Definition: parseerr.h:56
utypes.h
Basic definitions for ICU, for both C and C++ APIs.
UParseError
struct UParseError UParseError
A UParseError struct is used to returned detailed information about parsing errors.