11cb0ef41Sopenharmony_ci// Copyright 2012 the V8 project authors. All rights reserved. 21cb0ef41Sopenharmony_ci// Use of this source code is governed by a BSD-style license that can be 31cb0ef41Sopenharmony_ci// found in the LICENSE file. 41cb0ef41Sopenharmony_ci 51cb0ef41Sopenharmony_ci/** \mainpage V8 API Reference Guide 61cb0ef41Sopenharmony_ci * 71cb0ef41Sopenharmony_ci * V8 is Google's open source JavaScript engine. 81cb0ef41Sopenharmony_ci * 91cb0ef41Sopenharmony_ci * This set of documents provides reference material generated from the 101cb0ef41Sopenharmony_ci * V8 header files in the include/ subdirectory. 111cb0ef41Sopenharmony_ci * 121cb0ef41Sopenharmony_ci * For other documentation see https://v8.dev/. 131cb0ef41Sopenharmony_ci */ 141cb0ef41Sopenharmony_ci 151cb0ef41Sopenharmony_ci#ifndef INCLUDE_V8_H_ 161cb0ef41Sopenharmony_ci#define INCLUDE_V8_H_ 171cb0ef41Sopenharmony_ci 181cb0ef41Sopenharmony_ci#include <stddef.h> 191cb0ef41Sopenharmony_ci#include <stdint.h> 201cb0ef41Sopenharmony_ci 211cb0ef41Sopenharmony_ci#include <memory> 221cb0ef41Sopenharmony_ci 231cb0ef41Sopenharmony_ci#include "cppgc/common.h" 241cb0ef41Sopenharmony_ci#include "v8-array-buffer.h" // NOLINT(build/include_directory) 251cb0ef41Sopenharmony_ci#include "v8-container.h" // NOLINT(build/include_directory) 261cb0ef41Sopenharmony_ci#include "v8-context.h" // NOLINT(build/include_directory) 271cb0ef41Sopenharmony_ci#include "v8-data.h" // NOLINT(build/include_directory) 281cb0ef41Sopenharmony_ci#include "v8-date.h" // NOLINT(build/include_directory) 291cb0ef41Sopenharmony_ci#include "v8-debug.h" // NOLINT(build/include_directory) 301cb0ef41Sopenharmony_ci#include "v8-exception.h" // NOLINT(build/include_directory) 311cb0ef41Sopenharmony_ci#include "v8-extension.h" // NOLINT(build/include_directory) 321cb0ef41Sopenharmony_ci#include "v8-external.h" // NOLINT(build/include_directory) 331cb0ef41Sopenharmony_ci#include "v8-function.h" // NOLINT(build/include_directory) 341cb0ef41Sopenharmony_ci#include "v8-initialization.h" // NOLINT(build/include_directory) 351cb0ef41Sopenharmony_ci#include "v8-internal.h" // NOLINT(build/include_directory) 361cb0ef41Sopenharmony_ci#include "v8-isolate.h" // NOLINT(build/include_directory) 371cb0ef41Sopenharmony_ci#include "v8-json.h" // NOLINT(build/include_directory) 381cb0ef41Sopenharmony_ci#include "v8-local-handle.h" // NOLINT(build/include_directory) 391cb0ef41Sopenharmony_ci#include "v8-locker.h" // NOLINT(build/include_directory) 401cb0ef41Sopenharmony_ci#include "v8-maybe.h" // NOLINT(build/include_directory) 411cb0ef41Sopenharmony_ci#include "v8-memory-span.h" // NOLINT(build/include_directory) 421cb0ef41Sopenharmony_ci#include "v8-message.h" // NOLINT(build/include_directory) 431cb0ef41Sopenharmony_ci#include "v8-microtask-queue.h" // NOLINT(build/include_directory) 441cb0ef41Sopenharmony_ci#include "v8-microtask.h" // NOLINT(build/include_directory) 451cb0ef41Sopenharmony_ci#include "v8-object.h" // NOLINT(build/include_directory) 461cb0ef41Sopenharmony_ci#include "v8-persistent-handle.h" // NOLINT(build/include_directory) 471cb0ef41Sopenharmony_ci#include "v8-primitive-object.h" // NOLINT(build/include_directory) 481cb0ef41Sopenharmony_ci#include "v8-primitive.h" // NOLINT(build/include_directory) 491cb0ef41Sopenharmony_ci#include "v8-promise.h" // NOLINT(build/include_directory) 501cb0ef41Sopenharmony_ci#include "v8-proxy.h" // NOLINT(build/include_directory) 511cb0ef41Sopenharmony_ci#include "v8-regexp.h" // NOLINT(build/include_directory) 521cb0ef41Sopenharmony_ci#include "v8-script.h" // NOLINT(build/include_directory) 531cb0ef41Sopenharmony_ci#include "v8-snapshot.h" // NOLINT(build/include_directory) 541cb0ef41Sopenharmony_ci#include "v8-statistics.h" // NOLINT(build/include_directory) 551cb0ef41Sopenharmony_ci#include "v8-template.h" // NOLINT(build/include_directory) 561cb0ef41Sopenharmony_ci#include "v8-traced-handle.h" // NOLINT(build/include_directory) 571cb0ef41Sopenharmony_ci#include "v8-typed-array.h" // NOLINT(build/include_directory) 581cb0ef41Sopenharmony_ci#include "v8-unwinder.h" // NOLINT(build/include_directory) 591cb0ef41Sopenharmony_ci#include "v8-value-serializer.h" // NOLINT(build/include_directory) 601cb0ef41Sopenharmony_ci#include "v8-value.h" // NOLINT(build/include_directory) 611cb0ef41Sopenharmony_ci#include "v8-version.h" // NOLINT(build/include_directory) 621cb0ef41Sopenharmony_ci#include "v8-wasm.h" // NOLINT(build/include_directory) 631cb0ef41Sopenharmony_ci#include "v8config.h" // NOLINT(build/include_directory) 641cb0ef41Sopenharmony_ci 651cb0ef41Sopenharmony_ci// We reserve the V8_* prefix for macros defined in V8 public API and 661cb0ef41Sopenharmony_ci// assume there are no name conflicts with the embedder's code. 671cb0ef41Sopenharmony_ci 681cb0ef41Sopenharmony_ci/** 691cb0ef41Sopenharmony_ci * The v8 JavaScript engine. 701cb0ef41Sopenharmony_ci */ 711cb0ef41Sopenharmony_cinamespace v8 { 721cb0ef41Sopenharmony_ci 731cb0ef41Sopenharmony_ciclass Platform; 741cb0ef41Sopenharmony_ci 751cb0ef41Sopenharmony_ci/** 761cb0ef41Sopenharmony_ci * \example shell.cc 771cb0ef41Sopenharmony_ci * A simple shell that takes a list of expressions on the 781cb0ef41Sopenharmony_ci * command-line and executes them. 791cb0ef41Sopenharmony_ci */ 801cb0ef41Sopenharmony_ci 811cb0ef41Sopenharmony_ci/** 821cb0ef41Sopenharmony_ci * \example process.cc 831cb0ef41Sopenharmony_ci */ 841cb0ef41Sopenharmony_ci 851cb0ef41Sopenharmony_ci 861cb0ef41Sopenharmony_ci} // namespace v8 871cb0ef41Sopenharmony_ci 881cb0ef41Sopenharmony_ci#endif // INCLUDE_V8_H_ 89