2012-04-13 09:38:00 +00:00
|
|
|
// Copyright 2012 the V8 project authors. All rights reserved.
|
2014-04-29 06:42:26 +00:00
|
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
|
|
// found in the LICENSE file.
|
2008-07-03 15:10:15 +00:00
|
|
|
|
2008-09-01 18:22:49 +00:00
|
|
|
/** \mainpage V8 API Reference Guide
|
2008-09-05 13:39:14 +00:00
|
|
|
*
|
|
|
|
* V8 is Google's open source JavaScript engine.
|
2008-09-01 18:22:49 +00:00
|
|
|
*
|
|
|
|
* This set of documents provides reference material generated from the
|
2021-08-23 13:01:06 +00:00
|
|
|
* V8 header files in the include/ subdirectory.
|
2008-09-01 18:22:49 +00:00
|
|
|
*
|
2020-01-20 14:13:35 +00:00
|
|
|
* For other documentation see https://v8.dev/.
|
2008-07-03 15:10:15 +00:00
|
|
|
*/
|
2008-09-01 18:22:49 +00:00
|
|
|
|
2015-12-07 23:34:30 +00:00
|
|
|
#ifndef INCLUDE_V8_H_
|
|
|
|
#define INCLUDE_V8_H_
|
2008-07-03 15:10:15 +00:00
|
|
|
|
2014-10-21 08:25:14 +00:00
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
2020-05-12 11:09:49 +00:00
|
|
|
|
2016-08-10 06:35:29 +00:00
|
|
|
#include <memory>
|
2014-10-21 08:25:14 +00:00
|
|
|
|
2020-05-12 11:09:49 +00:00
|
|
|
#include "cppgc/common.h"
|
2021-08-23 13:01:06 +00:00
|
|
|
#include "v8-array-buffer.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-container.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-context.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-data.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-date.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-debug.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-exception.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-extension.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-external.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-function.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-initialization.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-internal.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-isolate.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-json.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-local-handle.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-locker.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-maybe.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-memory-span.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-message.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-microtask-queue.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-microtask.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-object.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-persistent-handle.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-primitive-object.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-primitive.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-promise.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-proxy.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-regexp.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-script.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-snapshot.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-statistics.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-template.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-traced-handle.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-typed-array.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-unwinder.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-value-serializer.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-value.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-version.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8-wasm.h" // NOLINT(build/include_directory)
|
|
|
|
#include "v8config.h" // NOLINT(build/include_directory)
|
2008-07-03 15:10:15 +00:00
|
|
|
|
2013-08-06 14:37:35 +00:00
|
|
|
// We reserve the V8_* prefix for macros defined in V8 public API and
|
|
|
|
// assume there are no name conflicts with the embedder's code.
|
|
|
|
|
2008-07-03 15:10:15 +00:00
|
|
|
/**
|
2008-09-01 17:31:57 +00:00
|
|
|
* The v8 JavaScript engine.
|
2008-07-03 15:10:15 +00:00
|
|
|
*/
|
|
|
|
namespace v8 {
|
|
|
|
|
2013-11-21 14:07:06 +00:00
|
|
|
class Platform;
|
2014-10-28 08:43:15 +00:00
|
|
|
|
2008-07-03 15:10:15 +00:00
|
|
|
/**
|
2008-09-01 18:22:49 +00:00
|
|
|
* \example shell.cc
|
|
|
|
* A simple shell that takes a list of expressions on the
|
2008-07-03 15:10:15 +00:00
|
|
|
* command-line and executes them.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* \example process.cc
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace v8
|
|
|
|
|
2015-12-07 23:34:30 +00:00
|
|
|
#endif // INCLUDE_V8_H_
|