chromium/v8/src/strings/string-stream.h

// Copyright 2014 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_STREAM_H_
#define V8_STRINGS_STRING_STREAM_H_

#include <memory>

#include "src/base/small-vector.h"
#include "src/base/strings.h"
#include "src/base/vector.h"
#include "src/handles/handles.h"
#include "src/objects/objects.h"
#include "src/objects/tagged.h"
#include "src/utils/allocation.h"

namespace v8 {
namespace internal {

// Forward declarations.
class ByteArray;

class StringAllocator {};

// Normal allocator uses new[] and delete[].
class HeapStringAllocator final : public StringAllocator {};

class FixedStringAllocator final : public StringAllocator {};

template <std::size_t kInlineSize>
class SmallStringOptimizedAllocator final : public StringAllocator {};

class StringStream final {};

}  // namespace internal
}  // namespace v8

#endif  // V8_STRINGS_STRING_STREAM_H_