// Copyright 2020 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // Automatically generated by regexp/gen-regexp-special-case.cc // The following functions are used to build UnicodeSets // for special cases where the case-folding algorithm used by // UnicodeSet::closeOver(USET_CASE_INSENSITIVE) does not match // the algorithm defined in ECMAScript 2020 21.2.2.8.2 (Runtime // Semantics: Canonicalize) step 3. #ifdef V8_INTL_SUPPORT #include "src/base/lazy-instance.h" #include "src/regexp/special-case.h" #include "unicode/uniset.h" namespace v8 { namespace internal { icu::UnicodeSet BuildIgnoreSet() { … } struct IgnoreSetData { … }; //static const icu::UnicodeSet& RegExpCaseFolding::IgnoreSet() { … } icu::UnicodeSet BuildSpecialAddSet() { … } struct SpecialAddSetData { … }; //static const icu::UnicodeSet& RegExpCaseFolding::SpecialAddSet() { … } } // namespace internal } // namespace v8 #endif // V8_INTL_SUPPORT