mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 17:24:01 +00:00
ICU-990 add toRules to RBT
X-SVN-Rev: 4966
This commit is contained in:
parent
c1e256ca48
commit
aaab115b90
1 changed files with 7 additions and 0 deletions
|
@ -13,6 +13,8 @@
|
|||
#include "rbt_rule.h"
|
||||
#include "unicode/rep.h"
|
||||
|
||||
char RuleBasedTransliterator::fgClassID = 0; // Value is irrelevant
|
||||
|
||||
void RuleBasedTransliterator::_construct(const UnicodeString& rules,
|
||||
UTransDirection direction,
|
||||
UErrorCode& status,
|
||||
|
@ -140,3 +142,8 @@ RuleBasedTransliterator::handleTransliterate(Replaceable& text, UTransPosition&
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
UnicodeString& RuleBasedTransliterator::toRules(UnicodeString& rulesSource,
|
||||
UBool escapeUnprintable) const {
|
||||
return data->ruleSet.toRules(rulesSource, *data, escapeUnprintable);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue