diff options
Diffstat (limited to 'Build/source/libs/icu/icu-src/source/common/rbbirb.h')
-rw-r--r-- | Build/source/libs/icu/icu-src/source/common/rbbirb.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Build/source/libs/icu/icu-src/source/common/rbbirb.h b/Build/source/libs/icu/icu-src/source/common/rbbirb.h index f00f58e5dff..f890cf686e3 100644 --- a/Build/source/libs/icu/icu-src/source/common/rbbirb.h +++ b/Build/source/libs/icu/icu-src/source/common/rbbirb.h @@ -126,10 +126,19 @@ public: ); virtual ~RBBIRuleBuilder(); + + /** + * Fold together redundant character classes (table columns) and + * redundant states (table rows). Done after initial table generation, + * before serializing the result. + */ + void optimizeTables(); + char *fDebugEnv; // controls debug trace output UErrorCode *fStatus; // Error reporting. Keeping status UParseError *fParseError; // here avoids passing it everywhere. const UnicodeString &fRules; // The rule string that we are compiling + UnicodeString fStrippedRules; // The rule string, with comments stripped. RBBIRuleScanner *fScanner; // The scanner. RBBINode *fForwardTree; // The parse trees, generated by the scanner, |