Index: icu4c/source/common/rbbisetb.h |
=================================================================== |
--- icu4c/source/common/rbbisetb.h (revision 40919) |
+++ icu4c/source/common/rbbisetb.h (working copy) |
@@ -82,7 +82,8 @@ |
RBBISetBuilder(RBBIRuleBuilder *rb); |
~RBBISetBuilder(); |
- void build(); |
+ void buildRanges(); |
+ void buildTrie(); |
void addValToSets(UVector *sets, uint32_t val); |
void addValToSet (RBBINode *usetNode, uint32_t val); |
int32_t getNumCharCategories() const; // CharCategories are the same as input symbol set to the |
@@ -93,6 +94,13 @@ |
UChar32 getFirstChar(int32_t val) const; |
UBool sawBOF() const; // Indicate whether any references to the {bof} pseudo |
// character were encountered. |
+ /** merge two character categories that have been identified as having equivalent behavior. |
+ * The ranges belonging to the right category (table column) will be added to the left. |
+ */ |
+ void mergeCategories(int32_t left, int32_t right); |
+ |
+ static constexpr int32_t DICT_BIT = 0x4000; |
+ |
#ifdef RBBI_DEBUG |
void printSets(); |
void printRanges(); |