1999-08-16 21:50:52 +00:00
|
|
|
/*
|
2000-07-12 22:02:37 +00:00
|
|
|
************************************************************************
|
|
|
|
* Copyright (c) 1997-2000, International Business Machines
|
|
|
|
* Corporation and others. All Rights Reserved.
|
|
|
|
************************************************************************
|
|
|
|
* > THIS FILE WAS MACHINE GENERATED <
|
|
|
|
* > DO NOT EDIT BY HAND <
|
|
|
|
* > RUN TOOL TO REGENERATE <
|
|
|
|
* Tool: com.ibm.text.Normalizer
|
2000-09-19 17:07:42 +00:00
|
|
|
* Creation date: Tue Sep 19 10:02:59 PDT 2000
|
2000-07-12 22:02:37 +00:00
|
|
|
*/
|
1999-12-28 23:39:02 +00:00
|
|
|
#include "unicode/utypes.h"
|
1999-08-16 21:50:52 +00:00
|
|
|
#include "ucmp8.h"
|
|
|
|
#include "ucmp16.h"
|
|
|
|
|
|
|
|
struct ComposeData {
|
2000-07-13 22:12:48 +00:00
|
|
|
enum { BASE_COUNT = 748 };
|
2000-07-18 19:18:09 +00:00
|
|
|
enum { COMBINING_COUNT = 55 };
|
2000-07-12 22:02:37 +00:00
|
|
|
enum { MAX_COMPAT = 4341 };
|
2000-07-13 22:12:48 +00:00
|
|
|
enum { MAX_CANONICAL = 5199 };
|
2000-07-12 22:02:37 +00:00
|
|
|
enum { MAX_COMPOSED = 0xFB1D };
|
2000-07-26 16:24:12 +00:00
|
|
|
enum { MAX_INDEX = 8982 };
|
|
|
|
enum { INITIAL_JAMO_INDEX = 8983 };
|
|
|
|
enum { MEDIAL_JAMO_INDEX = 8984 };
|
1999-08-16 21:50:52 +00:00
|
|
|
enum { MAX_BASES = 1024 };
|
|
|
|
enum { MAX_COMBINE = 64 };
|
|
|
|
enum { TYPE_MASK = 0x7 };
|
|
|
|
enum { INDEX_SHIFT = 3 };
|
|
|
|
enum { IGNORE = 0 };
|
|
|
|
enum { BASE = 1 };
|
|
|
|
enum { NON_COMPOSING_COMBINING = 2 };
|
|
|
|
enum { COMBINING = 3 };
|
|
|
|
enum { INITIAL_JAMO = 4 };
|
|
|
|
enum { MEDIAL_JAMO = 5 };
|
|
|
|
enum { FINAL_JAMO = 6 };
|
|
|
|
enum { HANGUL = 7 };
|
|
|
|
|
2000-03-28 00:36:06 +00:00
|
|
|
static const uint16_t lookup_index[];
|
1999-08-16 21:50:52 +00:00
|
|
|
|
2000-03-28 00:36:06 +00:00
|
|
|
static const uint16_t lookup_values[];
|
1999-08-16 21:50:52 +00:00
|
|
|
|
2000-09-19 17:07:42 +00:00
|
|
|
static CompactShortArray _lookup;
|
|
|
|
|
1999-08-16 21:50:52 +00:00
|
|
|
static const CompactShortArray* lookup;
|
|
|
|
|
2000-03-28 00:36:06 +00:00
|
|
|
static const uint16_t actions_index[];
|
1999-08-16 21:50:52 +00:00
|
|
|
|
2000-03-28 00:36:06 +00:00
|
|
|
static const uint16_t actions_values[];
|
1999-08-16 21:50:52 +00:00
|
|
|
|
2000-09-19 17:07:42 +00:00
|
|
|
static CompactShortArray _actions;
|
|
|
|
|
1999-08-16 21:50:52 +00:00
|
|
|
static const CompactShortArray* actions;
|
|
|
|
|
2000-03-28 00:36:06 +00:00
|
|
|
static const uint16_t actionIndex[];
|
1999-08-16 21:50:52 +00:00
|
|
|
|
2000-03-28 00:36:06 +00:00
|
|
|
static const uint16_t replace[];
|
1999-08-16 21:50:52 +00:00
|
|
|
|
2000-07-26 16:24:12 +00:00
|
|
|
static const int32_t typeBit[];
|
1999-08-16 21:50:52 +00:00
|
|
|
};
|