// Copyright 2017 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_STRINGS_STRING_HASHER_H_ #define V8_STRINGS_STRING_HASHER_H_ #include "src/common/globals.h" namespace v8 { namespace base { template <typename T> class Vector; } // namespace base namespace internal { // Helper class for incrementally calculating string hashes in a form suitable // for storing into Name::raw_hash_field. class V8_EXPORT_PRIVATE StringHasher final { … }; // Useful for std containers that require something ()'able. struct SeededStringHasher { … }; // Useful for std containers that require something ()'able. struct StringEquals { … }; } // namespace internal } // namespace v8 #endif // V8_STRINGS_STRING_HASHER_H_