Main Page   Class Hierarchy   Compound List   File List   Header Files   Sources   Compound Members   File Members  

parseerr.h File Reference


Compounds

struct  _UParseError

Typedefs

typedef struct _UParseError  UParseError
A UParseError struct is used to returned detailed information about parsing errors. More...


Enumerations

enum  { U_PARSE_CONTEXT_LEN }
The capacity of the context strings in UParseError. More...


Typedef Documentation

typedef struct _UParseError UParseError

A UParseError struct is used to returned detailed information about parsing errors.

It is used by ICU parsing engines that parse long rules, patterns, or programs, where the text being parsed is long enough that more information than a UErrorCode is needed to localize the error.

The code field is an integer error code specific to each parsing engine, but globally unique. See the engine header file for possible values. The line, offset, and context fields are optional; parsing engines may choose not to use to use them.

Examples of engines which use UParseError (or may use it in the future) are RuleBasedTransliterator and RuleBasedBreakIterator.


Enumeration Value Documentation

U_PARSE_CONTEXT_LEN


Generated at Wed Aug 16 16:05:27 2000 for ICU1.6 by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999