2019-11-01 13:50:12 -04:00
|
|
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
|
|
|
|
2019-10-23 01:58:11 -04:00
|
|
|
#![warn(clippy::all)]
|
2019-11-15 19:21:34 -05:00
|
|
|
#![allow(clippy::missing_safety_doc)]
|
|
|
|
#![allow(clippy::new_without_default)]
|
2019-10-23 01:58:11 -04:00
|
|
|
#![allow(dead_code)]
|
|
|
|
|
2019-12-04 02:03:17 -05:00
|
|
|
#[macro_use]
|
|
|
|
extern crate bitflags;
|
2019-11-15 19:21:34 -05:00
|
|
|
#[macro_use]
|
|
|
|
extern crate lazy_static;
|
2019-11-15 12:57:34 -05:00
|
|
|
extern crate libc;
|
|
|
|
|
2019-12-04 08:12:27 -05:00
|
|
|
mod context;
|
2019-12-04 00:57:06 -05:00
|
|
|
mod handle_scope;
|
|
|
|
mod isolate;
|
|
|
|
mod local;
|
|
|
|
mod locker;
|
2019-12-04 02:03:17 -05:00
|
|
|
mod number;
|
2019-12-04 08:12:27 -05:00
|
|
|
mod script;
|
2019-12-04 10:10:15 -05:00
|
|
|
mod string;
|
2019-12-04 00:57:06 -05:00
|
|
|
mod support;
|
|
|
|
|
2019-11-18 18:02:54 -05:00
|
|
|
pub mod array_buffer;
|
2019-12-04 10:31:54 -05:00
|
|
|
pub mod inspector;
|
2019-10-22 17:52:43 -04:00
|
|
|
pub mod platform;
|
2019-11-30 11:47:26 -05:00
|
|
|
// This module is intentionally named "V8" rather than "v8" to match the
|
|
|
|
// C++ namespace "v8::V8".
|
|
|
|
#[allow(non_snake_case)]
|
|
|
|
pub mod V8;
|
2019-10-17 19:46:54 -04:00
|
|
|
|
2019-12-04 08:12:27 -05:00
|
|
|
pub use context::Context;
|
2019-11-30 10:31:51 -05:00
|
|
|
pub use handle_scope::HandleScope;
|
2019-11-15 19:21:34 -05:00
|
|
|
pub use isolate::Isolate;
|
2019-11-30 10:31:51 -05:00
|
|
|
pub use local::Local;
|
2019-11-15 19:21:34 -05:00
|
|
|
pub use locker::Locker;
|
2019-12-04 02:03:17 -05:00
|
|
|
pub use number::{Integer, Number};
|
2019-12-04 08:12:27 -05:00
|
|
|
pub use script::{Script, ScriptOrigin};
|
2019-12-04 10:10:15 -05:00
|
|
|
pub use string::NewStringType;
|
2019-12-04 02:03:17 -05:00
|
|
|
pub use string::String;
|
2019-12-04 08:12:27 -05:00
|
|
|
|
|
|
|
#[repr(C)]
|
|
|
|
pub struct Value(support::Opaque);
|