|
|
@ -3,7 +3,7 @@ |
|
|
|
//! Native classes are implemented through the [`Class`][class-trait] trait.
|
|
|
|
//! Native classes are implemented through the [`Class`][class-trait] trait.
|
|
|
|
//! ```
|
|
|
|
//! ```
|
|
|
|
//!# use boa::{
|
|
|
|
//!# use boa::{
|
|
|
|
//!# builtins::property::Attribute,
|
|
|
|
//!# property::Attribute,
|
|
|
|
//!# class::{Class, ClassBuilder},
|
|
|
|
//!# class::{Class, ClassBuilder},
|
|
|
|
//!# exec::Interpreter,
|
|
|
|
//!# exec::Interpreter,
|
|
|
|
//!# forward_val,
|
|
|
|
//!# forward_val,
|
|
|
@ -66,8 +66,8 @@ use crate::{ |
|
|
|
builtins::{ |
|
|
|
builtins::{ |
|
|
|
function::{BuiltInFunction, Function, FunctionFlags, NativeFunction}, |
|
|
|
function::{BuiltInFunction, Function, FunctionFlags, NativeFunction}, |
|
|
|
object::{GcObject, NativeObject, Object, ObjectData, PROTOTYPE}, |
|
|
|
object::{GcObject, NativeObject, Object, ObjectData, PROTOTYPE}, |
|
|
|
property::{Attribute, Property, PropertyKey}, |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
property::{Attribute, Property, PropertyKey}, |
|
|
|
Interpreter, Result, Value, |
|
|
|
Interpreter, Result, Value, |
|
|
|
}; |
|
|
|
}; |
|
|
|
use std::fmt::Debug; |
|
|
|
use std::fmt::Debug; |
|
|
|