OLD | NEW |
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 #ifndef __SOURCE_NUMPARSE_VALIDATORS_H__ | 7 #ifndef __SOURCE_NUMPARSE_VALIDATORS_H__ |
8 #define __SOURCE_NUMPARSE_VALIDATORS_H__ | 8 #define __SOURCE_NUMPARSE_VALIDATORS_H__ |
9 | 9 |
10 #include "numparse_types.h" | 10 #include "numparse_types.h" |
11 #include "numparse_unisets.h" | 11 #include "static_unicode_sets.h" |
12 | 12 |
13 U_NAMESPACE_BEGIN namespace numparse { | 13 U_NAMESPACE_BEGIN namespace numparse { |
14 namespace impl { | 14 namespace impl { |
15 | 15 |
16 | 16 |
17 class ValidationMatcher : public NumberParseMatcher { | 17 class ValidationMatcher : public NumberParseMatcher { |
18 public: | 18 public: |
19 bool match(StringSegment&, ParsedNumber&, UErrorCode&) const U_OVERRIDE { | 19 bool match(StringSegment&, ParsedNumber&, UErrorCode&) const U_OVERRIDE { |
20 // No-op | 20 // No-op |
21 return false; | 21 return false; |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 ::icu::number::Scale fMultiplier; | 96 ::icu::number::Scale fMultiplier; |
97 }; | 97 }; |
98 | 98 |
99 | 99 |
100 } // namespace impl | 100 } // namespace impl |
101 } // namespace numparse | 101 } // namespace numparse |
102 U_NAMESPACE_END | 102 U_NAMESPACE_END |
103 | 103 |
104 #endif //__SOURCE_NUMPARSE_VALIDATORS_H__ | 104 #endif //__SOURCE_NUMPARSE_VALIDATORS_H__ |
105 #endif /* #if !UCONFIG_NO_FORMATTING */ | 105 #endif /* #if !UCONFIG_NO_FORMATTING */ |
OLD | NEW |