chromium/third_party/icu/source/i18n/numparse_symbols.cpp

// © 2018 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html

#include "unicode/utypes.h"

#if !UCONFIG_NO_FORMATTING

// Allow implicit conversion from char16_t* to UnicodeString for this file:
// Helpful in toString methods and elsewhere.
#define UNISTR_FROM_STRING_EXPLICIT

#include "numparse_types.h"
#include "numparse_symbols.h"
#include "numparse_utils.h"
#include "string_segment.h"

usingnamespaceicu;
usingnamespaceicu::numparse;
usingnamespaceicu::numparse::impl;


SymbolMatcher::SymbolMatcher(const UnicodeString& symbolString, unisets::Key key) {}

const UnicodeSet* SymbolMatcher::getSet() const {}

bool SymbolMatcher::match(StringSegment& segment, ParsedNumber& result, UErrorCode&) const {}

bool SymbolMatcher::smokeTest(const StringSegment& segment) const {}

UnicodeString SymbolMatcher::toString() const {}


IgnorablesMatcher::IgnorablesMatcher(parse_flags_t parseFlags) :{}

bool IgnorablesMatcher::isFlexible() const {}

UnicodeString IgnorablesMatcher::toString() const {}

bool IgnorablesMatcher::isDisabled(const ParsedNumber&) const {}

void IgnorablesMatcher::accept(StringSegment&, ParsedNumber&) const {}


InfinityMatcher::InfinityMatcher(const DecimalFormatSymbols& dfs)
        :{}

bool InfinityMatcher::isDisabled(const ParsedNumber& result) const {}

void InfinityMatcher::accept(StringSegment& segment, ParsedNumber& result) const {}


MinusSignMatcher::MinusSignMatcher(const DecimalFormatSymbols& dfs, bool allowTrailing)
        :{}

bool MinusSignMatcher::isDisabled(const ParsedNumber& result) const {}

void MinusSignMatcher::accept(StringSegment& segment, ParsedNumber& result) const {}


NanMatcher::NanMatcher(const DecimalFormatSymbols& dfs)
        :{}

bool NanMatcher::isDisabled(const ParsedNumber& result) const {}

void NanMatcher::accept(StringSegment& segment, ParsedNumber& result) const {}


PaddingMatcher::PaddingMatcher(const UnicodeString& padString)
        :{}

bool PaddingMatcher::isFlexible() const {}

bool PaddingMatcher::isDisabled(const ParsedNumber&) const {}

void PaddingMatcher::accept(StringSegment&, ParsedNumber&) const {}


PercentMatcher::PercentMatcher(const DecimalFormatSymbols& dfs)
        :{}

bool PercentMatcher::isDisabled(const ParsedNumber& result) const {}

void PercentMatcher::accept(StringSegment& segment, ParsedNumber& result) const {}


PermilleMatcher::PermilleMatcher(const DecimalFormatSymbols& dfs)
        :{}

bool PermilleMatcher::isDisabled(const ParsedNumber& result) const {}

void PermilleMatcher::accept(StringSegment& segment, ParsedNumber& result) const {}


PlusSignMatcher::PlusSignMatcher(const DecimalFormatSymbols& dfs, bool allowTrailing)
        :{}

bool PlusSignMatcher::isDisabled(const ParsedNumber& result) const {}

void PlusSignMatcher::accept(StringSegment& segment, ParsedNumber& result) const {}


#endif /* #if !UCONFIG_NO_FORMATTING */