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

parseerr.h File Reference

#include "unicode/utypes.h"

Go to the source code of this file.

Compounds

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


Typedefs

typedef 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.

Stable:
ICU 2.0


Enumeration Type Documentation

anonymous enum
 

The capacity of the context strings in UParseError.

Stable:
ICU 2.0
Enumeration values:
U_PARSE_CONTEXT_LEN 

Definition at line 21 of file parseerr.h.


Generated on Mon Nov 24 14:35:47 2003 for ICU 2.8 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001