#ifndef INCLUDE_V8_PRIMITIVE_H_
#define INCLUDE_V8_PRIMITIVE_H_
#include "v8-data.h"
#include "v8-internal.h"
#include "v8-local-handle.h"
#include "v8-value.h"
#include "v8config.h"
namespace v8 {
class Context;
class Isolate;
class String;
namespace internal {
class ExternalString;
class ScopedExternalStringLock;
class StringForwardingTable;
}
class V8_EXPORT Primitive : public Value { … };
class V8_EXPORT Boolean : public Primitive { … };
class V8_EXPORT PrimitiveArray : public Data { … };
class V8_EXPORT Name : public Primitive { … };
enum class NewStringType { … };
class V8_EXPORT String : public Name { … };
template <>
inline V8_WARN_UNUSED_RESULT Local<String> String::NewFromUtf8Literal(
Isolate* isolate, const char (&literal)[1], NewStringType type) { … }
class V8_EXPORT ExternalResourceVisitor { … };
class V8_EXPORT Symbol : public Name { … };
class V8_EXPORT Numeric : public Primitive { … };
class V8_EXPORT Number : public Numeric { … };
class V8_EXPORT Integer : public Number { … };
class V8_EXPORT Int32 : public Integer { … };
class V8_EXPORT Uint32 : public Integer { … };
class V8_EXPORT BigInt : public Numeric { … };
Local<String> String::Empty(Isolate* isolate) { … }
String::ExternalStringResource* String::GetExternalStringResource() const { … }
String::ExternalStringResourceBase* String::GetExternalStringResourceBase(
v8::Isolate* isolate, String::Encoding* encoding_out) const { … }
String::ExternalStringResourceBase* String::GetExternalStringResourceBase(
String::Encoding* encoding_out) const { … }
V8_INLINE Local<Primitive> Undefined(Isolate* isolate) { … }
V8_INLINE Local<Primitive> Null(Isolate* isolate) { … }
V8_INLINE Local<Boolean> True(Isolate* isolate) { … }
V8_INLINE Local<Boolean> False(Isolate* isolate) { … }
Local<Boolean> Boolean::New(Isolate* isolate, bool value) { … }
}
#endif