Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

parseerr.h File Reference

#include "unicode/utypes.h"

Go to the source code of this file.

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 = 16 }
 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 Type Documentation

anonymous enum
 

The capacity of the context strings in UParseError.

Enumeration values:
U_PARSE_CONTEXT_LEN  

Definition at line 20 of file parseerr.h.


Generated at Fri Dec 15 12:12:40 2000 for ICU 1.7 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000