// Exported as U_I18N_API_CLASS for tests class U_I18N_API_CLASS NumberParserImpl : public MutableMatcherCollection, public UMemory {
public:
virtual ~NumberParserImpl();
private:
parse_flags_t fParseFlags;
int32_t fNumMatchers = 0; // NOTE: The stack capacity for fMatchers and fLeads should be the same
MaybeStackArray<const NumberParseMatcher*, 10> fMatchers; bool fFrozen = false;
// WARNING: All of these matchers start in an undefined state (default-constructed). // You must use an assignment operator on them before using. struct {
IgnorablesMatcher ignorables;
InfinityMatcher infinity;
MinusSignMatcher minusSign;
NanMatcher nan;
PaddingMatcher padding;
PercentMatcher percent;
PermilleMatcher permille;
PlusSignMatcher plusSign;
ApproximatelySignMatcher approximatelySign;
DecimalMatcher decimal;
ScientificMatcher scientific;
CombinedCurrencyMatcher currency;
AffixMatcherWarehouse affixMatcherWarehouse;
AffixTokenMatcherWarehouse affixTokenMatcherWarehouse;
} fLocalMatchers; struct {
RequireAffixValidator affix;
RequireCurrencyValidator currency;
RequireDecimalSeparatorValidator decimalSeparator;
RequireNumberValidator number;
MultiplierParseHandler multiplier;
} fLocalValidators;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.