LEFT | RIGHT |
(no file at all) | |
1 // © 2018 and later: Unicode, Inc. and others. | 1 // © 2018 and later: Unicode, Inc. and others. |
2 // License & terms of use: http://www.unicode.org/copyright.html | 2 // License & terms of use: http://www.unicode.org/copyright.html |
3 | 3 |
4 #include "unicode/utypes.h" | 4 #include "unicode/utypes.h" |
5 | 5 |
6 #if !UCONFIG_NO_FORMATTING | 6 #if !UCONFIG_NO_FORMATTING |
7 | 7 |
8 // Allow implicit conversion from char16_t* to UnicodeString for this file: | 8 // Allow implicit conversion from char16_t* to UnicodeString for this file: |
9 // Helpful in toString methods and elsewhere. | 9 // Helpful in toString methods and elsewhere. |
10 #define UNISTR_FROM_STRING_EXPLICIT | 10 #define UNISTR_FROM_STRING_EXPLICIT |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 | 183 |
184 NumberParseMatcher& AffixTokenMatcherWarehouse::percent() { | 184 NumberParseMatcher& AffixTokenMatcherWarehouse::percent() { |
185 return fPercent = {fSetupData->dfs}; | 185 return fPercent = {fSetupData->dfs}; |
186 } | 186 } |
187 | 187 |
188 NumberParseMatcher& AffixTokenMatcherWarehouse::permille() { | 188 NumberParseMatcher& AffixTokenMatcherWarehouse::permille() { |
189 return fPermille = {fSetupData->dfs}; | 189 return fPermille = {fSetupData->dfs}; |
190 } | 190 } |
191 | 191 |
192 NumberParseMatcher& AffixTokenMatcherWarehouse::currency(UErrorCode& status) { | 192 NumberParseMatcher& AffixTokenMatcherWarehouse::currency(UErrorCode& status) { |
193 return fCurrency = {fSetupData->currencySymbols, fSetupData->dfs, status}; | 193 return fCurrency = {fSetupData->currencySymbols, fSetupData->dfs, fSetupData
->parseFlags, status}; |
194 } | 194 } |
195 | 195 |
196 IgnorablesMatcher& AffixTokenMatcherWarehouse::ignorables() { | 196 IgnorablesMatcher& AffixTokenMatcherWarehouse::ignorables() { |
197 return fSetupData->ignorables; | 197 return fSetupData->ignorables; |
198 } | 198 } |
199 | 199 |
200 NumberParseMatcher& AffixTokenMatcherWarehouse::nextCodePointMatcher(UChar32 cp)
{ | 200 NumberParseMatcher& AffixTokenMatcherWarehouse::nextCodePointMatcher(UChar32 cp)
{ |
201 return fCodePoints.nextCodePointMatcher(cp); | 201 return fCodePoints.nextCodePointMatcher(cp); |
202 } | 202 } |
203 | 203 |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 | 486 |
487 | 487 |
488 | 488 |
489 | 489 |
490 | 490 |
491 | 491 |
492 | 492 |
493 | 493 |
494 | 494 |
495 | 495 |
LEFT | RIGHT |