|
|
@ -1,3 +1,5 @@ |
|
|
|
|
|
|
|
//! Builtins live here, such as Object, String, Math etc
|
|
|
|
|
|
|
|
|
|
|
|
/// Macro to create a new member function of a prototype
|
|
|
|
/// Macro to create a new member function of a prototype
|
|
|
|
/// If no length is provided, the length will be set to 0.
|
|
|
|
/// If no length is provided, the length will be set to 0.
|
|
|
|
macro_rules! make_builtin_fn { |
|
|
|
macro_rules! make_builtin_fn { |
|
|
@ -13,9 +15,7 @@ macro_rules! make_builtin_fn { |
|
|
|
|
|
|
|
|
|
|
|
/// The global `Array` object
|
|
|
|
/// The global `Array` object
|
|
|
|
pub mod array; |
|
|
|
pub mod array; |
|
|
|
/// the global `Symbol` Object
|
|
|
|
/// The global `Boolean` object
|
|
|
|
pub mod symbol; |
|
|
|
|
|
|
|
// The global `Boolean` object
|
|
|
|
|
|
|
|
pub mod boolean; |
|
|
|
pub mod boolean; |
|
|
|
pub mod console; |
|
|
|
pub mod console; |
|
|
|
/// The global `Error` object
|
|
|
|
/// The global `Error` object
|
|
|
@ -36,5 +36,7 @@ pub mod property; |
|
|
|
pub mod regexp; |
|
|
|
pub mod regexp; |
|
|
|
/// The global `String` object
|
|
|
|
/// The global `String` object
|
|
|
|
pub mod string; |
|
|
|
pub mod string; |
|
|
|
|
|
|
|
/// the global `Symbol` Object
|
|
|
|
|
|
|
|
pub mod symbol; |
|
|
|
/// Javascript values, utility methods and conversion between Javascript values and Rust values
|
|
|
|
/// Javascript values, utility methods and conversion between Javascript values and Rust values
|
|
|
|
pub mod value; |
|
|
|
pub mod value; |
|
|
|