// Copyright 2011 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. #ifndef V8_INTL_SUPPORT #error Internationalization is expected to be enabled. #endif // V8_INTL_SUPPORT #include "src/strings/char-predicates.h" #include "unicode/uchar.h" #include "unicode/urename.h" namespace v8 { namespace internal { // ES#sec-names-and-keywords Names and Keywords // UnicodeIDStart, '$', '_' and '\' bool IsIdentifierStartSlow(base::uc32 c) { … } // ES#sec-names-and-keywords Names and Keywords // UnicodeIDContinue, '$', '_', '\', ZWJ, and ZWNJ bool IsIdentifierPartSlow(base::uc32 c) { … } // ES#sec-white-space White Space // gC=Zs, U+0009, U+000B, U+000C, U+FEFF bool IsWhiteSpaceSlow(base::uc32 c) { … } } // namespace internal } // namespace v8