Enum boa_ast::declaration::ExportEntry
source · pub enum ExportEntry {
Ordinary(LocalExportEntry),
StarReExport {
- module_request: Sym,
+ module_request: Sym,
},
ReExport(IndirectExportEntry),
}
Expand description
ExportEntry
record.
Variants§
Ordinary(LocalExportEntry)
An ordinary export entry
-StarReExport
Fields
module_request: Sym
The module from where this reexport will import.
+StarReExport
Fields
module_request: Sym
The module from where this reexport will import.
A star reexport entry.
ReExport(IndirectExportEntry)
A reexport entry with an export name.
Trait Implementations§
source§impl Clone for ExportEntry
impl Clone for ExportEntry
source§fn clone(&self) -> ExportEntry
fn clone(&self) -> ExportEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExportEntry
impl Debug for ExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
fn from(v: IndirectExportEntry) -> Self
source§impl From<LocalExportEntry> for ExportEntry
impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
fn from(v: LocalExportEntry) -> Self
impl Copy for ExportEntry
Auto Trait Implementations§
impl RefUnwindSafe for ExportEntry
impl Send for ExportEntry
impl Sync for ExportEntry
impl Unpin for ExportEntry
impl UnwindSafe for ExportEntry
Blanket Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportKind
impl<'arbitrary> Arbitrary<'arbitrary> for ImportKind
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportKind
impl Clone for ImportKind
source§fn clone(&self) -> ImportKind
fn clone(&self) -> ImportKind
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImportKind
impl Debug for ImportKind
source§impl<'de> Deserialize<'de> for ImportKind
impl<'de> Deserialize<'de> for ImportKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,
source§impl<'a> From<&'a ImportKind> for NodeRef<'a>
impl<'a> From<&'a ImportKind> for NodeRef<'a>
source§fn from(node: &'a ImportKind) -> NodeRef<'a>
fn from(node: &'a ImportKind) -> NodeRef<'a>
source§impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
source§impl PartialEq<ImportKind> for ImportKind
impl PartialEq<ImportKind> for ImportKind
source§fn eq(&self, other: &ImportKind) -> bool
fn eq(&self, other: &ImportKind) -> bool
self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,source§impl<'a> From<&'a ImportKind> for NodeRef<'a>
impl<'a> From<&'a ImportKind> for NodeRef<'a>
source§fn from(node: &'a ImportKind) -> NodeRef<'a>
fn from(node: &'a ImportKind) -> NodeRef<'a>
source§impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
source§impl PartialEq<ImportKind> for ImportKind
impl PartialEq<ImportKind> for ImportKind
source§fn eq(&self, other: &ImportKind) -> bool
fn eq(&self, other: &ImportKind) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportKind
impl Serialize for ImportKind
source§impl VisitWith for ImportKind
impl VisitWith for ImportKind
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/enum.ImportName.html b/doc/boa_ast/declaration/enum.ImportName.html
index 1cd41267f26..b923b687700 100644
--- a/doc/boa_ast/declaration/enum.ImportName.html
+++ b/doc/boa_ast/declaration/enum.ImportName.html
@@ -1,9 +1,9 @@
ImportName in boa_ast::declaration - Rust Enum boa_ast::declaration::ImportName
source · pub enum ImportName {
Namespace,
- Name(Sym),
+ Name(Sym),
}
Expand description
The name under which the imported binding is exported by a module.
Variants§
§Namespace
The namespace object of the imported module.
-§Name(Sym)
A binding of the imported module.
+§Name(Sym)
A binding of the imported module.
Trait Implementations§
source§impl Clone for ImportName
source§fn clone(&self) -> ImportName
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportName
source§impl Copy for ImportName
Auto Trait Implementations§
§impl RefUnwindSafe for ImportName
§impl Send for ImportName
§impl Sync for ImportName
§impl Unpin for ImportName
§impl UnwindSafe for ImportName
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/enum.LexicalDeclaration.html
index 5fca581c6b6..065daa94ef6 100644
--- a/doc/boa_ast/declaration/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/enum.ImportName.html b/doc/boa_ast/declaration/enum.ImportName.html
index 1cd41267f26..b923b687700 100644
--- a/doc/boa_ast/declaration/enum.ImportName.html
+++ b/doc/boa_ast/declaration/enum.ImportName.html
@@ -1,9 +1,9 @@
ImportName in boa_ast::declaration - Rust Enum boa_ast::declaration::ImportName
source · pub enum ImportName {
Namespace,
- Name(Sym),
+ Name(Sym),
}
Expand description
The name under which the imported binding is exported by a module.
Variants§
§Namespace
The namespace object of the imported module.
-§Name(Sym)
A binding of the imported module.
+§Name(Sym)
A binding of the imported module.
Trait Implementations§
source§impl Clone for ImportName
source§fn clone(&self) -> ImportName
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportName
source§impl Copy for ImportName
Auto Trait Implementations§
§impl RefUnwindSafe for ImportName
§impl Send for ImportName
§impl Sync for ImportName
§impl Unpin for ImportName
§impl UnwindSafe for ImportName
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/enum.LexicalDeclaration.html
index 5fca581c6b6..065daa94ef6 100644
--- a/doc/boa_ast/declaration/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Enum boa_ast::declaration::ImportName
source · pub enum ImportName {
Namespace,
- Name(Sym),
+ Name(Sym),
}
Expand description
The name under which the imported binding is exported by a module.
Variants§
Namespace
The namespace object of the imported module.
-Name(Sym)
A binding of the imported module.
+Name(Sym)
A binding of the imported module.
Trait Implementations§
source§impl Clone for ImportName
impl Clone for ImportName
source§fn clone(&self) -> ImportName
fn clone(&self) -> ImportName
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImportName
impl Debug for ImportName
impl Copy for ImportName
Auto Trait Implementations§
impl RefUnwindSafe for ImportName
impl Send for ImportName
impl Sync for ImportName
impl Unpin for ImportName
impl UnwindSafe for ImportName
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/enum.LexicalDeclaration.html
index 5fca581c6b6..065daa94ef6 100644
--- a/doc/boa_ast/declaration/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_ast/declaration/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/enum.LexicalDeclaration.html index 5fca581c6b6..065daa94ef6 100644 --- a/doc/boa_ast/declaration/enum.LexicalDeclaration.html +++ b/doc/boa_ast/declaration/enum.LexicalDeclaration.html @@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
fn clone(&self) -> LexicalDeclaration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LexicalDeclaration
impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,
source§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
source§impl From<LexicalDeclaration> for Declaration
impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
fn from(lex: LexicalDeclaration) -> Self
source§impl From<LexicalDeclaration> for ForLoopInitializer
impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
fn from(list: LexicalDeclaration) -> Self
source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
fn eq(&self, other: &LexicalDeclaration) -> bool
self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,source§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
source§impl From<LexicalDeclaration> for Declaration
impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
fn from(lex: LexicalDeclaration) -> Self
source§impl From<LexicalDeclaration> for ForLoopInitializer
impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
fn from(list: LexicalDeclaration) -> Self
source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
fn eq(&self, other: &LexicalDeclaration) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for LexicalDeclaration
impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,
source§impl ToInternedString for LexicalDeclaration
impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for LexicalDeclaration
impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,
source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/enum.ReExportImportName.html b/doc/boa_ast/declaration/enum.ReExportImportName.html
index d93d95b4874..500ffcc3cfe 100644
--- a/doc/boa_ast/declaration/enum.ReExportImportName.html
+++ b/doc/boa_ast/declaration/enum.ReExportImportName.html
@@ -1,11 +1,11 @@
ReExportImportName in boa_ast::declaration - Rust Enum boa_ast::declaration::ReExportImportName
source · pub enum ReExportImportName {
- Name(Sym),
+ Name(Sym),
Star,
}
Expand description
The name under which a reexported binding is exported by a module.
This differs slightly from the spec, since [[ImportName]]
can be either a name, all-but-default
or all
, but the last two exports can be identified with the export_name
field from
ExportEntry
, which joins both variants into a single Star
variant.
-Variants§
§Name(Sym)
A binding of the imported module.
+Variants§
Trait Implementations§
source§impl Clone for ReExportImportName
source§fn clone(&self) -> ReExportImportName
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ReExportImportName
source§impl Copy for ReExportImportName
Auto Trait Implementations§
§impl RefUnwindSafe for ReExportImportName
§impl Send for ReExportImportName
§impl Sync for ReExportImportName
§impl Unpin for ReExportImportName
§impl UnwindSafe for ReExportImportName
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/enum.ReExportKind.html b/doc/boa_ast/declaration/enum.ReExportKind.html
index 60e7cc44f5a..b360cd3776c 100644
--- a/doc/boa_ast/declaration/enum.ReExportKind.html
+++ b/doc/boa_ast/declaration/enum.ReExportKind.html
@@ -1,12 +1,12 @@
ReExportKind in boa_ast::declaration - Rust Enum boa_ast::declaration::ReExportKind
source · pub enum ReExportKind {
Namespaced {
- name: Option<Sym>,
+ name: Option<Sym>,
},
Named {
names: Box<[ExportSpecifier]>,
},
}
Expand description
The kind of re-export in an ExportDeclaration
.
-Variants§
§Namespaced
Fields
§name: Option<Sym>
Reexported name for the imported module.
+Variants§
§Namespaced
Namespaced Re-export (export * as name from "module-name"
).
§Named
Fields
§names: Box<[ExportSpecifier]>
List of the required re-exports of the re-exported module.
Re-export list (export { export1, export2 as alias2 } from "module-name"
).
diff --git a/doc/boa_ast/declaration/export/enum.ExportDeclaration.html b/doc/boa_ast/declaration/export/enum.ExportDeclaration.html
index 4f55cb2e48b..3f0b9c28ee1 100644
--- a/doc/boa_ast/declaration/export/enum.ExportDeclaration.html
+++ b/doc/boa_ast/declaration/export/enum.ExportDeclaration.html
@@ -30,7 +30,7 @@
§DefaultClassDeclaration(Class)
Default class declaration export.
§DefaultAssignmentExpression(Expression)
Default assignment expression export.
Trait Implementations§
source§impl Clone for ExportDeclaration
source§fn clone(&self) -> ExportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ExportDeclaration
source§impl<'de> Deserialize<'de> for ExportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ExportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ExportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ExportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ExportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ExportDeclaration> for ExportDeclaration
source§fn eq(&self, other: &ExportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ExportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ExportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ExportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ExportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ExportDeclaration> for ExportDeclaration
source§fn eq(&self, other: &ExportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ExportDeclaration
source§impl VisitWith for ExportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/export/enum.ExportEntry.html b/doc/boa_ast/declaration/export/enum.ExportEntry.html
index cc99a6db270..d17a6147c04 100644
--- a/doc/boa_ast/declaration/export/enum.ExportEntry.html
+++ b/doc/boa_ast/declaration/export/enum.ExportEntry.html
@@ -1,12 +1,12 @@
ExportEntry in boa_ast::declaration::export - Rust Enum boa_ast::declaration::export::ExportEntry
source · pub enum ExportEntry {
Ordinary(LocalExportEntry),
StarReExport {
- module_request: Sym,
+ module_request: Sym,
},
ReExport(IndirectExportEntry),
}
Expand description
ExportEntry
record.
Variants§
§Ordinary(LocalExportEntry)
An ordinary export entry
-§StarReExport
Fields
§module_request: Sym
The module from where this reexport will import.
+§StarReExport
Fields
§module_request: Sym
The module from where this reexport will import.
A star reexport entry.
§ReExport(IndirectExportEntry)
A reexport entry with an export name.
Trait Implementations§
source§impl Clone for ExportEntry
source§fn clone(&self) -> ExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for ExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ExportEntry
§impl Send for ExportEntry
§impl Sync for ExportEntry
§impl Unpin for ExportEntry
§impl UnwindSafe for ExportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/export/enum.ReExportImportName.html b/doc/boa_ast/declaration/export/enum.ReExportImportName.html
index 4f77dcb6b95..51b2c32ed25 100644
--- a/doc/boa_ast/declaration/export/enum.ReExportImportName.html
+++ b/doc/boa_ast/declaration/export/enum.ReExportImportName.html
@@ -1,11 +1,11 @@
ReExportImportName in boa_ast::declaration::export - Rust Enum boa_ast::declaration::export::ReExportImportName
source · pub enum ReExportImportName {
- Name(Sym),
+ Name(Sym),
Star,
}
Expand description
The name under which a reexported binding is exported by a module.
This differs slightly from the spec, since [[ImportName]]
can be either a name, all-but-default
or all
, but the last two exports can be identified with the export_name
field from
ExportEntry
, which joins both variants into a single Star
variant.
-Variants§
§Name(Sym)
A binding of the imported module.
+Variants§
Trait Implementations§
source§impl Clone for ReExportImportName
source§fn clone(&self) -> ReExportImportName
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ReExportImportName
source§impl Copy for ReExportImportName
Auto Trait Implementations§
§impl RefUnwindSafe for ReExportImportName
§impl Send for ReExportImportName
§impl Sync for ReExportImportName
§impl Unpin for ReExportImportName
§impl UnwindSafe for ReExportImportName
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/export/enum.ReExportKind.html b/doc/boa_ast/declaration/export/enum.ReExportKind.html
index 9636e70150b..9d77597254e 100644
--- a/doc/boa_ast/declaration/export/enum.ReExportKind.html
+++ b/doc/boa_ast/declaration/export/enum.ReExportKind.html
@@ -1,12 +1,12 @@
ReExportKind in boa_ast::declaration::export - Rust Enum boa_ast::declaration::export::ReExportKind
source · pub enum ReExportKind {
Namespaced {
- name: Option<Sym>,
+ name: Option<Sym>,
},
Named {
names: Box<[ExportSpecifier]>,
},
}
Expand description
The kind of re-export in an ExportDeclaration
.
-Variants§
§Namespaced
Fields
§name: Option<Sym>
Reexported name for the imported module.
+Variants§
§Namespaced
Namespaced Re-export (export * as name from "module-name"
).
§Named
Fields
§names: Box<[ExportSpecifier]>
List of the required re-exports of the re-exported module.
Re-export list (export { export1, export2 as alias2 } from "module-name"
).
diff --git a/doc/boa_ast/declaration/export/struct.ExportSpecifier.html b/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
index 222d6d1211c..43a2e80eabf 100644
--- a/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
+++ b/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
@@ -1,15 +1,15 @@
ExportSpecifier in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
-sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
+sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an Unstructured
this type
diff --git a/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
index c4b6ab7bbb3..6928ea738de 100644
--- a/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/export/struct.LocalExportEntry.html b/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
index 3e1d37cbdc2..770a7a71efb 100644
--- a/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/enum.ImportKind.html b/doc/boa_ast/declaration/import/enum.ImportKind.html
index 533e1194050..85db4149492 100644
--- a/doc/boa_ast/declaration/import/enum.ImportKind.html
+++ b/doc/boa_ast/declaration/import/enum.ImportKind.html
@@ -15,7 +15,7 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportKind
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportKind
source§fn clone(&self) -> ImportKind
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportKind
source§impl<'de> Deserialize<'de> for ImportKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportKind> for NodeRef<'a>
source§fn from(node: &'a ImportKind) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportKind> for ImportKind
source§fn eq(&self, other: &ImportKind) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportKind> for NodeRef<'a>
source§fn from(node: &'a ImportKind) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportKind> for ImportKind
source§fn eq(&self, other: &ImportKind) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportKind
source§impl VisitWith for ImportKind
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/import/enum.ImportName.html b/doc/boa_ast/declaration/import/enum.ImportName.html
index e9bbc9ad7ff..795beaaf14a 100644
--- a/doc/boa_ast/declaration/import/enum.ImportName.html
+++ b/doc/boa_ast/declaration/import/enum.ImportName.html
@@ -1,9 +1,9 @@
ImportName in boa_ast::declaration::import - Rust Enum boa_ast::declaration::import::ImportName
source · pub enum ImportName {
Namespace,
- Name(Sym),
+ Name(Sym),
}
Expand description
The name under which the imported binding is exported by a module.
Variants§
§Namespace
The namespace object of the imported module.
-§Name(Sym)
A binding of the imported module.
+§Name(Sym)
A binding of the imported module.
Trait Implementations§
source§impl Clone for ImportName
source§fn clone(&self) -> ImportName
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportName
source§impl Copy for ImportName
Auto Trait Implementations§
§impl RefUnwindSafe for ImportName
§impl Send for ImportName
§impl Sync for ImportName
§impl Unpin for ImportName
§impl UnwindSafe for ImportName
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
index dbc467e624e..e9bd0ce2a0c 100644
--- a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/import/struct.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 76fdc5f1f06..004e35bb43c 100644
--- a/doc/boa_ast/declaration/import/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/import/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
index f7877a29a20..3c43d59061f 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 4146c357722..1d54dfd9954 100644
--- a/doc/boa_ast/declaration/struct.ExportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ExportSpecifier.html
@@ -1,15 +1,15 @@
ExportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
-sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
+sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an Unstructured
this type
diff --git a/doc/boa_ast/declaration/struct.ImportDeclaration.html b/doc/boa_ast/declaration/struct.ImportDeclaration.html
index 594fd6fad5e..caf5d5810b0 100644
--- a/doc/boa_ast/declaration/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index afb8f8d6483..ccf2017dc8f 100644
--- a/doc/boa_ast/declaration/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/struct.ImportSpecifier.html b/doc/boa_ast/declaration/struct.ImportSpecifier.html
index d581f08d9c9..35490075bbb 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index 4184d498e56..4d3ebff2882 100644
--- a/doc/boa_ast/declaration/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.LocalExportEntry.html b/doc/boa_ast/declaration/struct.LocalExportEntry.html
index 589e9160875..87f363b7431 100644
--- a/doc/boa_ast/declaration/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.ModuleSpecifier.html b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
index dc014326156..a74cb428ea2 100644
--- a/doc/boa_ast/declaration/struct.ModuleSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
@@ -1,13 +1,13 @@
ModuleSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ModuleSpecifier
source · pub struct ModuleSpecifier {
- module: Sym,
+ module: Sym,
}
Expand description
Module specifier.
This is equivalent to the ModuleSpecifier
production.
-Fields§
§module: Sym
Implementations§
source§impl ModuleSpecifier
Fields§
§module: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ModuleSpecifier
source§fn clone(&self) -> ModuleSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ModuleSpecifier
source§impl<'de> Deserialize<'de> for ModuleSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleSpecifier
source§impl VisitWith for ModuleSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/enum.ReExportImportName.html b/doc/boa_ast/declaration/enum.ReExportImportName.html
index d93d95b4874..500ffcc3cfe 100644
--- a/doc/boa_ast/declaration/enum.ReExportImportName.html
+++ b/doc/boa_ast/declaration/enum.ReExportImportName.html
@@ -1,11 +1,11 @@
ReExportImportName in boa_ast::declaration - Rust Enum boa_ast::declaration::ReExportImportName
source · pub enum ReExportImportName {
- Name(Sym),
+ Name(Sym),
Star,
}
Expand description
The name under which a reexported binding is exported by a module.
This differs slightly from the spec, since [[ImportName]]
can be either a name, all-but-default
or all
, but the last two exports can be identified with the export_name
field from
ExportEntry
, which joins both variants into a single Star
variant.
-Variants§
§Name(Sym)
A binding of the imported module.
+Variants§
Trait Implementations§
source§impl Clone for ReExportImportName
source§fn clone(&self) -> ReExportImportName
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ReExportImportName
source§impl Copy for ReExportImportName
Auto Trait Implementations§
§impl RefUnwindSafe for ReExportImportName
§impl Send for ReExportImportName
§impl Sync for ReExportImportName
§impl Unpin for ReExportImportName
§impl UnwindSafe for ReExportImportName
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/enum.ReExportKind.html b/doc/boa_ast/declaration/enum.ReExportKind.html
index 60e7cc44f5a..b360cd3776c 100644
--- a/doc/boa_ast/declaration/enum.ReExportKind.html
+++ b/doc/boa_ast/declaration/enum.ReExportKind.html
@@ -1,12 +1,12 @@
ReExportKind in boa_ast::declaration - Rust Enum boa_ast::declaration::ReExportKind
source · pub enum ReExportKind {
Namespaced {
- name: Option<Sym>,
+ name: Option<Sym>,
},
Named {
names: Box<[ExportSpecifier]>,
},
}
Expand description
The kind of re-export in an ExportDeclaration
.
-Variants§
§Namespaced
Fields
§name: Option<Sym>
Reexported name for the imported module.
+Variants§
§Namespaced
Namespaced Re-export (export * as name from "module-name"
).
§Named
Fields
§names: Box<[ExportSpecifier]>
List of the required re-exports of the re-exported module.
Re-export list (export { export1, export2 as alias2 } from "module-name"
).
diff --git a/doc/boa_ast/declaration/export/enum.ExportDeclaration.html b/doc/boa_ast/declaration/export/enum.ExportDeclaration.html
index 4f55cb2e48b..3f0b9c28ee1 100644
--- a/doc/boa_ast/declaration/export/enum.ExportDeclaration.html
+++ b/doc/boa_ast/declaration/export/enum.ExportDeclaration.html
@@ -30,7 +30,7 @@
§DefaultClassDeclaration(Class)
Default class declaration export.
§DefaultAssignmentExpression(Expression)
Default assignment expression export.
Trait Implementations§
source§impl Clone for ExportDeclaration
source§fn clone(&self) -> ExportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ExportDeclaration
source§impl<'de> Deserialize<'de> for ExportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ExportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ExportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ExportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ExportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ExportDeclaration> for ExportDeclaration
source§fn eq(&self, other: &ExportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ExportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ExportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ExportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ExportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ExportDeclaration> for ExportDeclaration
source§fn eq(&self, other: &ExportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ExportDeclaration
source§impl VisitWith for ExportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/export/enum.ExportEntry.html b/doc/boa_ast/declaration/export/enum.ExportEntry.html
index cc99a6db270..d17a6147c04 100644
--- a/doc/boa_ast/declaration/export/enum.ExportEntry.html
+++ b/doc/boa_ast/declaration/export/enum.ExportEntry.html
@@ -1,12 +1,12 @@
ExportEntry in boa_ast::declaration::export - Rust Enum boa_ast::declaration::export::ExportEntry
source · pub enum ExportEntry {
Ordinary(LocalExportEntry),
StarReExport {
- module_request: Sym,
+ module_request: Sym,
},
ReExport(IndirectExportEntry),
}
Expand description
ExportEntry
record.
Variants§
§Ordinary(LocalExportEntry)
An ordinary export entry
-§StarReExport
Fields
§module_request: Sym
The module from where this reexport will import.
+§StarReExport
Fields
§module_request: Sym
The module from where this reexport will import.
A star reexport entry.
§ReExport(IndirectExportEntry)
A reexport entry with an export name.
Trait Implementations§
source§impl Clone for ExportEntry
source§fn clone(&self) -> ExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for ExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ExportEntry
§impl Send for ExportEntry
§impl Sync for ExportEntry
§impl Unpin for ExportEntry
§impl UnwindSafe for ExportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/export/enum.ReExportImportName.html b/doc/boa_ast/declaration/export/enum.ReExportImportName.html
index 4f77dcb6b95..51b2c32ed25 100644
--- a/doc/boa_ast/declaration/export/enum.ReExportImportName.html
+++ b/doc/boa_ast/declaration/export/enum.ReExportImportName.html
@@ -1,11 +1,11 @@
ReExportImportName in boa_ast::declaration::export - Rust Enum boa_ast::declaration::export::ReExportImportName
source · pub enum ReExportImportName {
- Name(Sym),
+ Name(Sym),
Star,
}
Expand description
The name under which a reexported binding is exported by a module.
This differs slightly from the spec, since [[ImportName]]
can be either a name, all-but-default
or all
, but the last two exports can be identified with the export_name
field from
ExportEntry
, which joins both variants into a single Star
variant.
-Variants§
§Name(Sym)
A binding of the imported module.
+Variants§
Trait Implementations§
source§impl Clone for ReExportImportName
source§fn clone(&self) -> ReExportImportName
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ReExportImportName
source§impl Copy for ReExportImportName
Auto Trait Implementations§
§impl RefUnwindSafe for ReExportImportName
§impl Send for ReExportImportName
§impl Sync for ReExportImportName
§impl Unpin for ReExportImportName
§impl UnwindSafe for ReExportImportName
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/export/enum.ReExportKind.html b/doc/boa_ast/declaration/export/enum.ReExportKind.html
index 9636e70150b..9d77597254e 100644
--- a/doc/boa_ast/declaration/export/enum.ReExportKind.html
+++ b/doc/boa_ast/declaration/export/enum.ReExportKind.html
@@ -1,12 +1,12 @@
ReExportKind in boa_ast::declaration::export - Rust Enum boa_ast::declaration::export::ReExportKind
source · pub enum ReExportKind {
Namespaced {
- name: Option<Sym>,
+ name: Option<Sym>,
},
Named {
names: Box<[ExportSpecifier]>,
},
}
Expand description
The kind of re-export in an ExportDeclaration
.
-Variants§
§Namespaced
Fields
§name: Option<Sym>
Reexported name for the imported module.
+Variants§
§Namespaced
Namespaced Re-export (export * as name from "module-name"
).
§Named
Fields
§names: Box<[ExportSpecifier]>
List of the required re-exports of the re-exported module.
Re-export list (export { export1, export2 as alias2 } from "module-name"
).
diff --git a/doc/boa_ast/declaration/export/struct.ExportSpecifier.html b/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
index 222d6d1211c..43a2e80eabf 100644
--- a/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
+++ b/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
@@ -1,15 +1,15 @@
ExportSpecifier in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
-sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
+sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an Unstructured
this type
diff --git a/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
index c4b6ab7bbb3..6928ea738de 100644
--- a/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/export/struct.LocalExportEntry.html b/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
index 3e1d37cbdc2..770a7a71efb 100644
--- a/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/enum.ImportKind.html b/doc/boa_ast/declaration/import/enum.ImportKind.html
index 533e1194050..85db4149492 100644
--- a/doc/boa_ast/declaration/import/enum.ImportKind.html
+++ b/doc/boa_ast/declaration/import/enum.ImportKind.html
@@ -15,7 +15,7 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportKind
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportKind
source§fn clone(&self) -> ImportKind
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportKind
source§impl<'de> Deserialize<'de> for ImportKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportKind> for NodeRef<'a>
source§fn from(node: &'a ImportKind) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportKind> for ImportKind
source§fn eq(&self, other: &ImportKind) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportKind> for NodeRef<'a>
source§fn from(node: &'a ImportKind) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportKind> for ImportKind
source§fn eq(&self, other: &ImportKind) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportKind
source§impl VisitWith for ImportKind
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/import/enum.ImportName.html b/doc/boa_ast/declaration/import/enum.ImportName.html
index e9bbc9ad7ff..795beaaf14a 100644
--- a/doc/boa_ast/declaration/import/enum.ImportName.html
+++ b/doc/boa_ast/declaration/import/enum.ImportName.html
@@ -1,9 +1,9 @@
ImportName in boa_ast::declaration::import - Rust Enum boa_ast::declaration::import::ImportName
source · pub enum ImportName {
Namespace,
- Name(Sym),
+ Name(Sym),
}
Expand description
The name under which the imported binding is exported by a module.
Variants§
§Namespace
The namespace object of the imported module.
-§Name(Sym)
A binding of the imported module.
+§Name(Sym)
A binding of the imported module.
Trait Implementations§
source§impl Clone for ImportName
source§fn clone(&self) -> ImportName
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportName
source§impl Copy for ImportName
Auto Trait Implementations§
§impl RefUnwindSafe for ImportName
§impl Send for ImportName
§impl Sync for ImportName
§impl Unpin for ImportName
§impl UnwindSafe for ImportName
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
index dbc467e624e..e9bd0ce2a0c 100644
--- a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/import/struct.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 76fdc5f1f06..004e35bb43c 100644
--- a/doc/boa_ast/declaration/import/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/import/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
index f7877a29a20..3c43d59061f 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 4146c357722..1d54dfd9954 100644
--- a/doc/boa_ast/declaration/struct.ExportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ExportSpecifier.html
@@ -1,15 +1,15 @@
ExportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
-sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
+sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an Unstructured
this type
diff --git a/doc/boa_ast/declaration/struct.ImportDeclaration.html b/doc/boa_ast/declaration/struct.ImportDeclaration.html
index 594fd6fad5e..caf5d5810b0 100644
--- a/doc/boa_ast/declaration/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index afb8f8d6483..ccf2017dc8f 100644
--- a/doc/boa_ast/declaration/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/struct.ImportSpecifier.html b/doc/boa_ast/declaration/struct.ImportSpecifier.html
index d581f08d9c9..35490075bbb 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index 4184d498e56..4d3ebff2882 100644
--- a/doc/boa_ast/declaration/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.LocalExportEntry.html b/doc/boa_ast/declaration/struct.LocalExportEntry.html
index 589e9160875..87f363b7431 100644
--- a/doc/boa_ast/declaration/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.ModuleSpecifier.html b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
index dc014326156..a74cb428ea2 100644
--- a/doc/boa_ast/declaration/struct.ModuleSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
@@ -1,13 +1,13 @@
ModuleSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ModuleSpecifier
source · pub struct ModuleSpecifier {
- module: Sym,
+ module: Sym,
}
Expand description
Module specifier.
This is equivalent to the ModuleSpecifier
production.
-Fields§
§module: Sym
Implementations§
source§impl ModuleSpecifier
Fields§
§module: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ModuleSpecifier
source§fn clone(&self) -> ModuleSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ModuleSpecifier
source§impl<'de> Deserialize<'de> for ModuleSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleSpecifier
source§impl VisitWith for ModuleSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
Enum boa_ast::declaration::ReExportImportName
source · pub enum ReExportImportName {
- Name(Sym),
+ Name(Sym),
Star,
}
Expand description
The name under which a reexported binding is exported by a module.
This differs slightly from the spec, since [[ImportName]]
can be either a name, all-but-default
or all
, but the last two exports can be identified with the export_name
field from
ExportEntry
, which joins both variants into a single Star
variant.
Variants§
Name(Sym)
A binding of the imported module.
+Variants§
Trait Implementations§
source§impl Clone for ReExportImportName
impl Clone for ReExportImportName
source§fn clone(&self) -> ReExportImportName
fn clone(&self) -> ReExportImportName
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReExportImportName
impl Debug for ReExportImportName
impl Copy for ReExportImportName
Auto Trait Implementations§
impl RefUnwindSafe for ReExportImportName
impl Send for ReExportImportName
impl Sync for ReExportImportName
impl Unpin for ReExportImportName
impl UnwindSafe for ReExportImportName
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/enum.ReExportKind.html b/doc/boa_ast/declaration/enum.ReExportKind.html
index 60e7cc44f5a..b360cd3776c 100644
--- a/doc/boa_ast/declaration/enum.ReExportKind.html
+++ b/doc/boa_ast/declaration/enum.ReExportKind.html
@@ -1,12 +1,12 @@
ReExportKind in boa_ast::declaration - Rust Enum boa_ast::declaration::ReExportKind
source · pub enum ReExportKind {
Namespaced {
- name: Option<Sym>,
+ name: Option<Sym>,
},
Named {
names: Box<[ExportSpecifier]>,
},
}
Expand description
The kind of re-export in an ExportDeclaration
.
-Variants§
§Namespaced
Fields
§name: Option<Sym>
Reexported name for the imported module.
+Variants§
§Namespaced
Namespaced Re-export (export * as name from "module-name"
).
§Named
Fields
§names: Box<[ExportSpecifier]>
List of the required re-exports of the re-exported module.
Re-export list (export { export1, export2 as alias2 } from "module-name"
).
diff --git a/doc/boa_ast/declaration/export/enum.ExportDeclaration.html b/doc/boa_ast/declaration/export/enum.ExportDeclaration.html
index 4f55cb2e48b..3f0b9c28ee1 100644
--- a/doc/boa_ast/declaration/export/enum.ExportDeclaration.html
+++ b/doc/boa_ast/declaration/export/enum.ExportDeclaration.html
@@ -30,7 +30,7 @@
§DefaultClassDeclaration(Class)
Default class declaration export.
§DefaultAssignmentExpression(Expression)
Default assignment expression export.
Trait Implementations§
source§impl Clone for ExportDeclaration
source§fn clone(&self) -> ExportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ExportDeclaration
source§impl<'de> Deserialize<'de> for ExportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ExportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ExportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ExportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ExportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ExportDeclaration> for ExportDeclaration
source§fn eq(&self, other: &ExportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ExportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ExportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ExportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ExportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ExportDeclaration> for ExportDeclaration
source§fn eq(&self, other: &ExportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ExportDeclaration
source§impl VisitWith for ExportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/export/enum.ExportEntry.html b/doc/boa_ast/declaration/export/enum.ExportEntry.html
index cc99a6db270..d17a6147c04 100644
--- a/doc/boa_ast/declaration/export/enum.ExportEntry.html
+++ b/doc/boa_ast/declaration/export/enum.ExportEntry.html
@@ -1,12 +1,12 @@
ExportEntry in boa_ast::declaration::export - Rust Enum boa_ast::declaration::export::ExportEntry
source · pub enum ExportEntry {
Ordinary(LocalExportEntry),
StarReExport {
- module_request: Sym,
+ module_request: Sym,
},
ReExport(IndirectExportEntry),
}
Expand description
ExportEntry
record.
Variants§
§Ordinary(LocalExportEntry)
An ordinary export entry
-§StarReExport
Fields
§module_request: Sym
The module from where this reexport will import.
+§StarReExport
Fields
§module_request: Sym
The module from where this reexport will import.
A star reexport entry.
§ReExport(IndirectExportEntry)
A reexport entry with an export name.
Trait Implementations§
source§impl Clone for ExportEntry
source§fn clone(&self) -> ExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for ExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ExportEntry
§impl Send for ExportEntry
§impl Sync for ExportEntry
§impl Unpin for ExportEntry
§impl UnwindSafe for ExportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/export/enum.ReExportImportName.html b/doc/boa_ast/declaration/export/enum.ReExportImportName.html
index 4f77dcb6b95..51b2c32ed25 100644
--- a/doc/boa_ast/declaration/export/enum.ReExportImportName.html
+++ b/doc/boa_ast/declaration/export/enum.ReExportImportName.html
@@ -1,11 +1,11 @@
ReExportImportName in boa_ast::declaration::export - Rust Enum boa_ast::declaration::export::ReExportImportName
source · pub enum ReExportImportName {
- Name(Sym),
+ Name(Sym),
Star,
}
Expand description
The name under which a reexported binding is exported by a module.
This differs slightly from the spec, since [[ImportName]]
can be either a name, all-but-default
or all
, but the last two exports can be identified with the export_name
field from
ExportEntry
, which joins both variants into a single Star
variant.
-Variants§
§Name(Sym)
A binding of the imported module.
+Variants§
Trait Implementations§
source§impl Clone for ReExportImportName
source§fn clone(&self) -> ReExportImportName
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ReExportImportName
source§impl Copy for ReExportImportName
Auto Trait Implementations§
§impl RefUnwindSafe for ReExportImportName
§impl Send for ReExportImportName
§impl Sync for ReExportImportName
§impl Unpin for ReExportImportName
§impl UnwindSafe for ReExportImportName
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/export/enum.ReExportKind.html b/doc/boa_ast/declaration/export/enum.ReExportKind.html
index 9636e70150b..9d77597254e 100644
--- a/doc/boa_ast/declaration/export/enum.ReExportKind.html
+++ b/doc/boa_ast/declaration/export/enum.ReExportKind.html
@@ -1,12 +1,12 @@
ReExportKind in boa_ast::declaration::export - Rust Enum boa_ast::declaration::export::ReExportKind
source · pub enum ReExportKind {
Namespaced {
- name: Option<Sym>,
+ name: Option<Sym>,
},
Named {
names: Box<[ExportSpecifier]>,
},
}
Expand description
The kind of re-export in an ExportDeclaration
.
-Variants§
§Namespaced
Fields
§name: Option<Sym>
Reexported name for the imported module.
+Variants§
§Namespaced
Namespaced Re-export (export * as name from "module-name"
).
§Named
Fields
§names: Box<[ExportSpecifier]>
List of the required re-exports of the re-exported module.
Re-export list (export { export1, export2 as alias2 } from "module-name"
).
diff --git a/doc/boa_ast/declaration/export/struct.ExportSpecifier.html b/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
index 222d6d1211c..43a2e80eabf 100644
--- a/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
+++ b/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
@@ -1,15 +1,15 @@
ExportSpecifier in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
-sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
+sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an Unstructured
this type
diff --git a/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
index c4b6ab7bbb3..6928ea738de 100644
--- a/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/export/struct.LocalExportEntry.html b/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
index 3e1d37cbdc2..770a7a71efb 100644
--- a/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/enum.ImportKind.html b/doc/boa_ast/declaration/import/enum.ImportKind.html
index 533e1194050..85db4149492 100644
--- a/doc/boa_ast/declaration/import/enum.ImportKind.html
+++ b/doc/boa_ast/declaration/import/enum.ImportKind.html
@@ -15,7 +15,7 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportKind
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportKind
source§fn clone(&self) -> ImportKind
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportKind
source§impl<'de> Deserialize<'de> for ImportKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportKind> for NodeRef<'a>
source§fn from(node: &'a ImportKind) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportKind> for ImportKind
source§fn eq(&self, other: &ImportKind) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportKind> for NodeRef<'a>
source§fn from(node: &'a ImportKind) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportKind> for ImportKind
source§fn eq(&self, other: &ImportKind) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportKind
source§impl VisitWith for ImportKind
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/import/enum.ImportName.html b/doc/boa_ast/declaration/import/enum.ImportName.html
index e9bbc9ad7ff..795beaaf14a 100644
--- a/doc/boa_ast/declaration/import/enum.ImportName.html
+++ b/doc/boa_ast/declaration/import/enum.ImportName.html
@@ -1,9 +1,9 @@
ImportName in boa_ast::declaration::import - Rust Enum boa_ast::declaration::import::ImportName
source · pub enum ImportName {
Namespace,
- Name(Sym),
+ Name(Sym),
}
Expand description
The name under which the imported binding is exported by a module.
Variants§
§Namespace
The namespace object of the imported module.
-§Name(Sym)
A binding of the imported module.
+§Name(Sym)
A binding of the imported module.
Trait Implementations§
source§impl Clone for ImportName
source§fn clone(&self) -> ImportName
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportName
source§impl Copy for ImportName
Auto Trait Implementations§
§impl RefUnwindSafe for ImportName
§impl Send for ImportName
§impl Sync for ImportName
§impl Unpin for ImportName
§impl UnwindSafe for ImportName
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
index dbc467e624e..e9bd0ce2a0c 100644
--- a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/import/struct.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 76fdc5f1f06..004e35bb43c 100644
--- a/doc/boa_ast/declaration/import/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/import/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
index f7877a29a20..3c43d59061f 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 4146c357722..1d54dfd9954 100644
--- a/doc/boa_ast/declaration/struct.ExportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ExportSpecifier.html
@@ -1,15 +1,15 @@
ExportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
-sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
+sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an Unstructured
this type
diff --git a/doc/boa_ast/declaration/struct.ImportDeclaration.html b/doc/boa_ast/declaration/struct.ImportDeclaration.html
index 594fd6fad5e..caf5d5810b0 100644
--- a/doc/boa_ast/declaration/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index afb8f8d6483..ccf2017dc8f 100644
--- a/doc/boa_ast/declaration/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/struct.ImportSpecifier.html b/doc/boa_ast/declaration/struct.ImportSpecifier.html
index d581f08d9c9..35490075bbb 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index 4184d498e56..4d3ebff2882 100644
--- a/doc/boa_ast/declaration/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.LocalExportEntry.html b/doc/boa_ast/declaration/struct.LocalExportEntry.html
index 589e9160875..87f363b7431 100644
--- a/doc/boa_ast/declaration/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.ModuleSpecifier.html b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
index dc014326156..a74cb428ea2 100644
--- a/doc/boa_ast/declaration/struct.ModuleSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
@@ -1,13 +1,13 @@
ModuleSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ModuleSpecifier
source · pub struct ModuleSpecifier {
- module: Sym,
+ module: Sym,
}
Expand description
Module specifier.
This is equivalent to the ModuleSpecifier
production.
-Fields§
§module: Sym
Implementations§
source§impl ModuleSpecifier
Fields§
§module: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ModuleSpecifier
source§fn clone(&self) -> ModuleSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ModuleSpecifier
source§impl<'de> Deserialize<'de> for ModuleSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleSpecifier
source§impl VisitWith for ModuleSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/enum.ReExportKind.html b/doc/boa_ast/declaration/enum.ReExportKind.html
index 60e7cc44f5a..b360cd3776c 100644
--- a/doc/boa_ast/declaration/enum.ReExportKind.html
+++ b/doc/boa_ast/declaration/enum.ReExportKind.html
@@ -1,12 +1,12 @@
ReExportKind in boa_ast::declaration - Rust Enum boa_ast::declaration::ReExportKind
source · pub enum ReExportKind {
Namespaced {
- name: Option<Sym>,
+ name: Option<Sym>,
},
Named {
names: Box<[ExportSpecifier]>,
},
}
Expand description
The kind of re-export in an ExportDeclaration
.
-Variants§
§Namespaced
Fields
§name: Option<Sym>
Reexported name for the imported module.
+Variants§
§Namespaced
Namespaced Re-export (export * as name from "module-name"
).
§Named
Fields
§names: Box<[ExportSpecifier]>
List of the required re-exports of the re-exported module.
Re-export list (export { export1, export2 as alias2 } from "module-name"
).
diff --git a/doc/boa_ast/declaration/export/enum.ExportDeclaration.html b/doc/boa_ast/declaration/export/enum.ExportDeclaration.html
index 4f55cb2e48b..3f0b9c28ee1 100644
--- a/doc/boa_ast/declaration/export/enum.ExportDeclaration.html
+++ b/doc/boa_ast/declaration/export/enum.ExportDeclaration.html
@@ -30,7 +30,7 @@
§DefaultClassDeclaration(Class)
Default class declaration export.
§DefaultAssignmentExpression(Expression)
Default assignment expression export.
Trait Implementations§
source§impl Clone for ExportDeclaration
source§fn clone(&self) -> ExportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ExportDeclaration
source§impl<'de> Deserialize<'de> for ExportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ExportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ExportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ExportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ExportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ExportDeclaration> for ExportDeclaration
source§fn eq(&self, other: &ExportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ExportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ExportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ExportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ExportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ExportDeclaration> for ExportDeclaration
source§fn eq(&self, other: &ExportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ExportDeclaration
source§impl VisitWith for ExportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/export/enum.ExportEntry.html b/doc/boa_ast/declaration/export/enum.ExportEntry.html
index cc99a6db270..d17a6147c04 100644
--- a/doc/boa_ast/declaration/export/enum.ExportEntry.html
+++ b/doc/boa_ast/declaration/export/enum.ExportEntry.html
@@ -1,12 +1,12 @@
ExportEntry in boa_ast::declaration::export - Rust Enum boa_ast::declaration::export::ExportEntry
source · pub enum ExportEntry {
Ordinary(LocalExportEntry),
StarReExport {
- module_request: Sym,
+ module_request: Sym,
},
ReExport(IndirectExportEntry),
}
Expand description
ExportEntry
record.
Variants§
§Ordinary(LocalExportEntry)
An ordinary export entry
-§StarReExport
Fields
§module_request: Sym
The module from where this reexport will import.
+§StarReExport
Fields
§module_request: Sym
The module from where this reexport will import.
A star reexport entry.
§ReExport(IndirectExportEntry)
A reexport entry with an export name.
Trait Implementations§
source§impl Clone for ExportEntry
source§fn clone(&self) -> ExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for ExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ExportEntry
§impl Send for ExportEntry
§impl Sync for ExportEntry
§impl Unpin for ExportEntry
§impl UnwindSafe for ExportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/export/enum.ReExportImportName.html b/doc/boa_ast/declaration/export/enum.ReExportImportName.html
index 4f77dcb6b95..51b2c32ed25 100644
--- a/doc/boa_ast/declaration/export/enum.ReExportImportName.html
+++ b/doc/boa_ast/declaration/export/enum.ReExportImportName.html
@@ -1,11 +1,11 @@
ReExportImportName in boa_ast::declaration::export - Rust Enum boa_ast::declaration::export::ReExportImportName
source · pub enum ReExportImportName {
- Name(Sym),
+ Name(Sym),
Star,
}
Expand description
The name under which a reexported binding is exported by a module.
This differs slightly from the spec, since [[ImportName]]
can be either a name, all-but-default
or all
, but the last two exports can be identified with the export_name
field from
ExportEntry
, which joins both variants into a single Star
variant.
-Variants§
§Name(Sym)
A binding of the imported module.
+Variants§
Trait Implementations§
source§impl Clone for ReExportImportName
source§fn clone(&self) -> ReExportImportName
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ReExportImportName
source§impl Copy for ReExportImportName
Auto Trait Implementations§
§impl RefUnwindSafe for ReExportImportName
§impl Send for ReExportImportName
§impl Sync for ReExportImportName
§impl Unpin for ReExportImportName
§impl UnwindSafe for ReExportImportName
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/export/enum.ReExportKind.html b/doc/boa_ast/declaration/export/enum.ReExportKind.html
index 9636e70150b..9d77597254e 100644
--- a/doc/boa_ast/declaration/export/enum.ReExportKind.html
+++ b/doc/boa_ast/declaration/export/enum.ReExportKind.html
@@ -1,12 +1,12 @@
ReExportKind in boa_ast::declaration::export - Rust Enum boa_ast::declaration::export::ReExportKind
source · pub enum ReExportKind {
Namespaced {
- name: Option<Sym>,
+ name: Option<Sym>,
},
Named {
names: Box<[ExportSpecifier]>,
},
}
Expand description
The kind of re-export in an ExportDeclaration
.
-Variants§
§Namespaced
Fields
§name: Option<Sym>
Reexported name for the imported module.
+Variants§
§Namespaced
Namespaced Re-export (export * as name from "module-name"
).
§Named
Fields
§names: Box<[ExportSpecifier]>
List of the required re-exports of the re-exported module.
Re-export list (export { export1, export2 as alias2 } from "module-name"
).
diff --git a/doc/boa_ast/declaration/export/struct.ExportSpecifier.html b/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
index 222d6d1211c..43a2e80eabf 100644
--- a/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
+++ b/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
@@ -1,15 +1,15 @@
ExportSpecifier in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
-sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
+sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an Unstructured
this type
diff --git a/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
index c4b6ab7bbb3..6928ea738de 100644
--- a/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/export/struct.LocalExportEntry.html b/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
index 3e1d37cbdc2..770a7a71efb 100644
--- a/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/enum.ImportKind.html b/doc/boa_ast/declaration/import/enum.ImportKind.html
index 533e1194050..85db4149492 100644
--- a/doc/boa_ast/declaration/import/enum.ImportKind.html
+++ b/doc/boa_ast/declaration/import/enum.ImportKind.html
@@ -15,7 +15,7 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportKind
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportKind
source§fn clone(&self) -> ImportKind
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportKind
source§impl<'de> Deserialize<'de> for ImportKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportKind> for NodeRef<'a>
source§fn from(node: &'a ImportKind) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportKind> for ImportKind
source§fn eq(&self, other: &ImportKind) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportKind> for NodeRef<'a>
source§fn from(node: &'a ImportKind) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportKind> for ImportKind
source§fn eq(&self, other: &ImportKind) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportKind
source§impl VisitWith for ImportKind
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/import/enum.ImportName.html b/doc/boa_ast/declaration/import/enum.ImportName.html
index e9bbc9ad7ff..795beaaf14a 100644
--- a/doc/boa_ast/declaration/import/enum.ImportName.html
+++ b/doc/boa_ast/declaration/import/enum.ImportName.html
@@ -1,9 +1,9 @@
ImportName in boa_ast::declaration::import - Rust Enum boa_ast::declaration::import::ImportName
source · pub enum ImportName {
Namespace,
- Name(Sym),
+ Name(Sym),
}
Expand description
The name under which the imported binding is exported by a module.
Variants§
§Namespace
The namespace object of the imported module.
-§Name(Sym)
A binding of the imported module.
+§Name(Sym)
A binding of the imported module.
Trait Implementations§
source§impl Clone for ImportName
source§fn clone(&self) -> ImportName
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportName
source§impl Copy for ImportName
Auto Trait Implementations§
§impl RefUnwindSafe for ImportName
§impl Send for ImportName
§impl Sync for ImportName
§impl Unpin for ImportName
§impl UnwindSafe for ImportName
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
index dbc467e624e..e9bd0ce2a0c 100644
--- a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/import/struct.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 76fdc5f1f06..004e35bb43c 100644
--- a/doc/boa_ast/declaration/import/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/import/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
index f7877a29a20..3c43d59061f 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 4146c357722..1d54dfd9954 100644
--- a/doc/boa_ast/declaration/struct.ExportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ExportSpecifier.html
@@ -1,15 +1,15 @@
ExportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
-sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
+sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an Unstructured
this type
diff --git a/doc/boa_ast/declaration/struct.ImportDeclaration.html b/doc/boa_ast/declaration/struct.ImportDeclaration.html
index 594fd6fad5e..caf5d5810b0 100644
--- a/doc/boa_ast/declaration/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index afb8f8d6483..ccf2017dc8f 100644
--- a/doc/boa_ast/declaration/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/struct.ImportSpecifier.html b/doc/boa_ast/declaration/struct.ImportSpecifier.html
index d581f08d9c9..35490075bbb 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index 4184d498e56..4d3ebff2882 100644
--- a/doc/boa_ast/declaration/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.LocalExportEntry.html b/doc/boa_ast/declaration/struct.LocalExportEntry.html
index 589e9160875..87f363b7431 100644
--- a/doc/boa_ast/declaration/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.ModuleSpecifier.html b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
index dc014326156..a74cb428ea2 100644
--- a/doc/boa_ast/declaration/struct.ModuleSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
@@ -1,13 +1,13 @@
ModuleSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ModuleSpecifier
source · pub struct ModuleSpecifier {
- module: Sym,
+ module: Sym,
}
Expand description
Module specifier.
This is equivalent to the ModuleSpecifier
production.
-Fields§
§module: Sym
Implementations§
source§impl ModuleSpecifier
Fields§
§module: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ModuleSpecifier
source§fn clone(&self) -> ModuleSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ModuleSpecifier
source§impl<'de> Deserialize<'de> for ModuleSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleSpecifier
source§impl VisitWith for ModuleSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
Enum boa_ast::declaration::ReExportKind
source · pub enum ReExportKind {
Namespaced {
- name: Option<Sym>,
+ name: Option<Sym>,
},
Named {
names: Box<[ExportSpecifier]>,
},
}
Expand description
The kind of re-export in an ExportDeclaration
.
Variants§
Namespaced
Fields
name: Option<Sym>
Reexported name for the imported module.
+Variants§
Namespaced
Namespaced Re-export (export * as name from "module-name"
).
Named
Fields
names: Box<[ExportSpecifier]>
List of the required re-exports of the re-exported module.
Re-export list (export { export1, export2 as alias2 } from "module-name"
).
DefaultClassDeclaration(Class)
Default class declaration export.
DefaultAssignmentExpression(Expression)
Default assignment expression export.
Trait Implementations§
source§impl Clone for ExportDeclaration
impl Clone for ExportDeclaration
source§fn clone(&self) -> ExportDeclaration
fn clone(&self) -> ExportDeclaration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExportDeclaration
impl Debug for ExportDeclaration
source§impl<'de> Deserialize<'de> for ExportDeclaration
impl<'de> Deserialize<'de> for ExportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,
source§impl<'a> From<&'a ExportDeclaration> for NodeRef<'a>
impl<'a> From<&'a ExportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ExportDeclaration) -> NodeRef<'a>
fn from(node: &'a ExportDeclaration) -> NodeRef<'a>
source§impl<'a> From<&'a mut ExportDeclaration> for NodeRefMut<'a>
impl<'a> From<&'a mut ExportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ExportDeclaration) -> NodeRefMut<'a>
fn from(node: &'a mut ExportDeclaration) -> NodeRefMut<'a>
source§impl PartialEq<ExportDeclaration> for ExportDeclaration
impl PartialEq<ExportDeclaration> for ExportDeclaration
source§fn eq(&self, other: &ExportDeclaration) -> bool
fn eq(&self, other: &ExportDeclaration) -> bool
self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,source§impl<'a> From<&'a ExportDeclaration> for NodeRef<'a>
impl<'a> From<&'a ExportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ExportDeclaration) -> NodeRef<'a>
fn from(node: &'a ExportDeclaration) -> NodeRef<'a>
source§impl<'a> From<&'a mut ExportDeclaration> for NodeRefMut<'a>
impl<'a> From<&'a mut ExportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ExportDeclaration) -> NodeRefMut<'a>
fn from(node: &'a mut ExportDeclaration) -> NodeRefMut<'a>
source§impl PartialEq<ExportDeclaration> for ExportDeclaration
impl PartialEq<ExportDeclaration> for ExportDeclaration
source§fn eq(&self, other: &ExportDeclaration) -> bool
fn eq(&self, other: &ExportDeclaration) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ExportDeclaration
impl Serialize for ExportDeclaration
source§impl VisitWith for ExportDeclaration
impl VisitWith for ExportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/export/enum.ExportEntry.html b/doc/boa_ast/declaration/export/enum.ExportEntry.html
index cc99a6db270..d17a6147c04 100644
--- a/doc/boa_ast/declaration/export/enum.ExportEntry.html
+++ b/doc/boa_ast/declaration/export/enum.ExportEntry.html
@@ -1,12 +1,12 @@
ExportEntry in boa_ast::declaration::export - Rust Enum boa_ast::declaration::export::ExportEntry
source · pub enum ExportEntry {
Ordinary(LocalExportEntry),
StarReExport {
- module_request: Sym,
+ module_request: Sym,
},
ReExport(IndirectExportEntry),
}
Expand description
ExportEntry
record.
Variants§
§Ordinary(LocalExportEntry)
An ordinary export entry
-§StarReExport
Fields
§module_request: Sym
The module from where this reexport will import.
+§StarReExport
Fields
§module_request: Sym
The module from where this reexport will import.
A star reexport entry.
§ReExport(IndirectExportEntry)
A reexport entry with an export name.
Trait Implementations§
source§impl Clone for ExportEntry
source§fn clone(&self) -> ExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for ExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ExportEntry
§impl Send for ExportEntry
§impl Sync for ExportEntry
§impl Unpin for ExportEntry
§impl UnwindSafe for ExportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/export/enum.ReExportImportName.html b/doc/boa_ast/declaration/export/enum.ReExportImportName.html
index 4f77dcb6b95..51b2c32ed25 100644
--- a/doc/boa_ast/declaration/export/enum.ReExportImportName.html
+++ b/doc/boa_ast/declaration/export/enum.ReExportImportName.html
@@ -1,11 +1,11 @@
ReExportImportName in boa_ast::declaration::export - Rust Enum boa_ast::declaration::export::ReExportImportName
source · pub enum ReExportImportName {
- Name(Sym),
+ Name(Sym),
Star,
}
Expand description
The name under which a reexported binding is exported by a module.
This differs slightly from the spec, since [[ImportName]]
can be either a name, all-but-default
or all
, but the last two exports can be identified with the export_name
field from
ExportEntry
, which joins both variants into a single Star
variant.
-Variants§
§Name(Sym)
A binding of the imported module.
+Variants§
Trait Implementations§
source§impl Clone for ReExportImportName
source§fn clone(&self) -> ReExportImportName
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ReExportImportName
source§impl Copy for ReExportImportName
Auto Trait Implementations§
§impl RefUnwindSafe for ReExportImportName
§impl Send for ReExportImportName
§impl Sync for ReExportImportName
§impl Unpin for ReExportImportName
§impl UnwindSafe for ReExportImportName
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/export/enum.ReExportKind.html b/doc/boa_ast/declaration/export/enum.ReExportKind.html
index 9636e70150b..9d77597254e 100644
--- a/doc/boa_ast/declaration/export/enum.ReExportKind.html
+++ b/doc/boa_ast/declaration/export/enum.ReExportKind.html
@@ -1,12 +1,12 @@
ReExportKind in boa_ast::declaration::export - Rust Enum boa_ast::declaration::export::ReExportKind
source · pub enum ReExportKind {
Namespaced {
- name: Option<Sym>,
+ name: Option<Sym>,
},
Named {
names: Box<[ExportSpecifier]>,
},
}
Expand description
The kind of re-export in an ExportDeclaration
.
-Variants§
§Namespaced
Fields
§name: Option<Sym>
Reexported name for the imported module.
+Variants§
§Namespaced
Namespaced Re-export (export * as name from "module-name"
).
§Named
Fields
§names: Box<[ExportSpecifier]>
List of the required re-exports of the re-exported module.
Re-export list (export { export1, export2 as alias2 } from "module-name"
).
diff --git a/doc/boa_ast/declaration/export/struct.ExportSpecifier.html b/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
index 222d6d1211c..43a2e80eabf 100644
--- a/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
+++ b/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
@@ -1,15 +1,15 @@
ExportSpecifier in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
-sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
+sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an Unstructured
this type
diff --git a/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
index c4b6ab7bbb3..6928ea738de 100644
--- a/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/export/struct.LocalExportEntry.html b/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
index 3e1d37cbdc2..770a7a71efb 100644
--- a/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/enum.ImportKind.html b/doc/boa_ast/declaration/import/enum.ImportKind.html
index 533e1194050..85db4149492 100644
--- a/doc/boa_ast/declaration/import/enum.ImportKind.html
+++ b/doc/boa_ast/declaration/import/enum.ImportKind.html
@@ -15,7 +15,7 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportKind
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportKind
source§fn clone(&self) -> ImportKind
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportKind
source§impl<'de> Deserialize<'de> for ImportKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportKind> for NodeRef<'a>
source§fn from(node: &'a ImportKind) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportKind> for ImportKind
source§fn eq(&self, other: &ImportKind) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportKind> for NodeRef<'a>
source§fn from(node: &'a ImportKind) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportKind> for ImportKind
source§fn eq(&self, other: &ImportKind) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportKind
source§impl VisitWith for ImportKind
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/import/enum.ImportName.html b/doc/boa_ast/declaration/import/enum.ImportName.html
index e9bbc9ad7ff..795beaaf14a 100644
--- a/doc/boa_ast/declaration/import/enum.ImportName.html
+++ b/doc/boa_ast/declaration/import/enum.ImportName.html
@@ -1,9 +1,9 @@
ImportName in boa_ast::declaration::import - Rust Enum boa_ast::declaration::import::ImportName
source · pub enum ImportName {
Namespace,
- Name(Sym),
+ Name(Sym),
}
Expand description
The name under which the imported binding is exported by a module.
Variants§
§Namespace
The namespace object of the imported module.
-§Name(Sym)
A binding of the imported module.
+§Name(Sym)
A binding of the imported module.
Trait Implementations§
source§impl Clone for ImportName
source§fn clone(&self) -> ImportName
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportName
source§impl Copy for ImportName
Auto Trait Implementations§
§impl RefUnwindSafe for ImportName
§impl Send for ImportName
§impl Sync for ImportName
§impl Unpin for ImportName
§impl UnwindSafe for ImportName
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
index dbc467e624e..e9bd0ce2a0c 100644
--- a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/import/struct.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 76fdc5f1f06..004e35bb43c 100644
--- a/doc/boa_ast/declaration/import/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/import/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
index f7877a29a20..3c43d59061f 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 4146c357722..1d54dfd9954 100644
--- a/doc/boa_ast/declaration/struct.ExportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ExportSpecifier.html
@@ -1,15 +1,15 @@
ExportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
-sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
+sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an Unstructured
this type
diff --git a/doc/boa_ast/declaration/struct.ImportDeclaration.html b/doc/boa_ast/declaration/struct.ImportDeclaration.html
index 594fd6fad5e..caf5d5810b0 100644
--- a/doc/boa_ast/declaration/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index afb8f8d6483..ccf2017dc8f 100644
--- a/doc/boa_ast/declaration/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/struct.ImportSpecifier.html b/doc/boa_ast/declaration/struct.ImportSpecifier.html
index d581f08d9c9..35490075bbb 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index 4184d498e56..4d3ebff2882 100644
--- a/doc/boa_ast/declaration/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.LocalExportEntry.html b/doc/boa_ast/declaration/struct.LocalExportEntry.html
index 589e9160875..87f363b7431 100644
--- a/doc/boa_ast/declaration/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.ModuleSpecifier.html b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
index dc014326156..a74cb428ea2 100644
--- a/doc/boa_ast/declaration/struct.ModuleSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
@@ -1,13 +1,13 @@
ModuleSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ModuleSpecifier
source · pub struct ModuleSpecifier {
- module: Sym,
+ module: Sym,
}
Expand description
Module specifier.
This is equivalent to the ModuleSpecifier
production.
-Fields§
§module: Sym
Implementations§
source§impl ModuleSpecifier
Fields§
§module: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ModuleSpecifier
source§fn clone(&self) -> ModuleSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ModuleSpecifier
source§impl<'de> Deserialize<'de> for ModuleSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleSpecifier
source§impl VisitWith for ModuleSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/export/enum.ExportEntry.html b/doc/boa_ast/declaration/export/enum.ExportEntry.html
index cc99a6db270..d17a6147c04 100644
--- a/doc/boa_ast/declaration/export/enum.ExportEntry.html
+++ b/doc/boa_ast/declaration/export/enum.ExportEntry.html
@@ -1,12 +1,12 @@
ExportEntry in boa_ast::declaration::export - Rust Enum boa_ast::declaration::export::ExportEntry
source · pub enum ExportEntry {
Ordinary(LocalExportEntry),
StarReExport {
- module_request: Sym,
+ module_request: Sym,
},
ReExport(IndirectExportEntry),
}
Expand description
ExportEntry
record.
Variants§
§Ordinary(LocalExportEntry)
An ordinary export entry
-§StarReExport
Fields
§module_request: Sym
The module from where this reexport will import.
+§StarReExport
Fields
§module_request: Sym
The module from where this reexport will import.
A star reexport entry.
§ReExport(IndirectExportEntry)
A reexport entry with an export name.
Trait Implementations§
source§impl Clone for ExportEntry
source§fn clone(&self) -> ExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for ExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ExportEntry
§impl Send for ExportEntry
§impl Sync for ExportEntry
§impl Unpin for ExportEntry
§impl UnwindSafe for ExportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/export/enum.ReExportImportName.html b/doc/boa_ast/declaration/export/enum.ReExportImportName.html
index 4f77dcb6b95..51b2c32ed25 100644
--- a/doc/boa_ast/declaration/export/enum.ReExportImportName.html
+++ b/doc/boa_ast/declaration/export/enum.ReExportImportName.html
@@ -1,11 +1,11 @@
ReExportImportName in boa_ast::declaration::export - Rust Enum boa_ast::declaration::export::ReExportImportName
source · pub enum ReExportImportName {
- Name(Sym),
+ Name(Sym),
Star,
}
Expand description
The name under which a reexported binding is exported by a module.
This differs slightly from the spec, since [[ImportName]]
can be either a name, all-but-default
or all
, but the last two exports can be identified with the export_name
field from
ExportEntry
, which joins both variants into a single Star
variant.
-Variants§
§Name(Sym)
A binding of the imported module.
+Variants§
Trait Implementations§
source§impl Clone for ReExportImportName
source§fn clone(&self) -> ReExportImportName
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ReExportImportName
source§impl Copy for ReExportImportName
Auto Trait Implementations§
§impl RefUnwindSafe for ReExportImportName
§impl Send for ReExportImportName
§impl Sync for ReExportImportName
§impl Unpin for ReExportImportName
§impl UnwindSafe for ReExportImportName
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/export/enum.ReExportKind.html b/doc/boa_ast/declaration/export/enum.ReExportKind.html
index 9636e70150b..9d77597254e 100644
--- a/doc/boa_ast/declaration/export/enum.ReExportKind.html
+++ b/doc/boa_ast/declaration/export/enum.ReExportKind.html
@@ -1,12 +1,12 @@
ReExportKind in boa_ast::declaration::export - Rust Enum boa_ast::declaration::export::ReExportKind
source · pub enum ReExportKind {
Namespaced {
- name: Option<Sym>,
+ name: Option<Sym>,
},
Named {
names: Box<[ExportSpecifier]>,
},
}
Expand description
The kind of re-export in an ExportDeclaration
.
-Variants§
§Namespaced
Fields
§name: Option<Sym>
Reexported name for the imported module.
+Variants§
§Namespaced
Namespaced Re-export (export * as name from "module-name"
).
§Named
Fields
§names: Box<[ExportSpecifier]>
List of the required re-exports of the re-exported module.
Re-export list (export { export1, export2 as alias2 } from "module-name"
).
diff --git a/doc/boa_ast/declaration/export/struct.ExportSpecifier.html b/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
index 222d6d1211c..43a2e80eabf 100644
--- a/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
+++ b/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
@@ -1,15 +1,15 @@
ExportSpecifier in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
-sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
+sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an Unstructured
this type
diff --git a/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
index c4b6ab7bbb3..6928ea738de 100644
--- a/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/export/struct.LocalExportEntry.html b/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
index 3e1d37cbdc2..770a7a71efb 100644
--- a/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/enum.ImportKind.html b/doc/boa_ast/declaration/import/enum.ImportKind.html
index 533e1194050..85db4149492 100644
--- a/doc/boa_ast/declaration/import/enum.ImportKind.html
+++ b/doc/boa_ast/declaration/import/enum.ImportKind.html
@@ -15,7 +15,7 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportKind
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportKind
source§fn clone(&self) -> ImportKind
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportKind
source§impl<'de> Deserialize<'de> for ImportKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportKind> for NodeRef<'a>
source§fn from(node: &'a ImportKind) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportKind> for ImportKind
source§fn eq(&self, other: &ImportKind) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportKind> for NodeRef<'a>
source§fn from(node: &'a ImportKind) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportKind> for ImportKind
source§fn eq(&self, other: &ImportKind) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportKind
source§impl VisitWith for ImportKind
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/import/enum.ImportName.html b/doc/boa_ast/declaration/import/enum.ImportName.html
index e9bbc9ad7ff..795beaaf14a 100644
--- a/doc/boa_ast/declaration/import/enum.ImportName.html
+++ b/doc/boa_ast/declaration/import/enum.ImportName.html
@@ -1,9 +1,9 @@
ImportName in boa_ast::declaration::import - Rust Enum boa_ast::declaration::import::ImportName
source · pub enum ImportName {
Namespace,
- Name(Sym),
+ Name(Sym),
}
Expand description
The name under which the imported binding is exported by a module.
Variants§
§Namespace
The namespace object of the imported module.
-§Name(Sym)
A binding of the imported module.
+§Name(Sym)
A binding of the imported module.
Trait Implementations§
source§impl Clone for ImportName
source§fn clone(&self) -> ImportName
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportName
source§impl Copy for ImportName
Auto Trait Implementations§
§impl RefUnwindSafe for ImportName
§impl Send for ImportName
§impl Sync for ImportName
§impl Unpin for ImportName
§impl UnwindSafe for ImportName
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
index dbc467e624e..e9bd0ce2a0c 100644
--- a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/import/struct.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 76fdc5f1f06..004e35bb43c 100644
--- a/doc/boa_ast/declaration/import/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/import/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
index f7877a29a20..3c43d59061f 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 4146c357722..1d54dfd9954 100644
--- a/doc/boa_ast/declaration/struct.ExportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ExportSpecifier.html
@@ -1,15 +1,15 @@
ExportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
-sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
+sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an Unstructured
this type
diff --git a/doc/boa_ast/declaration/struct.ImportDeclaration.html b/doc/boa_ast/declaration/struct.ImportDeclaration.html
index 594fd6fad5e..caf5d5810b0 100644
--- a/doc/boa_ast/declaration/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index afb8f8d6483..ccf2017dc8f 100644
--- a/doc/boa_ast/declaration/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/struct.ImportSpecifier.html b/doc/boa_ast/declaration/struct.ImportSpecifier.html
index d581f08d9c9..35490075bbb 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index 4184d498e56..4d3ebff2882 100644
--- a/doc/boa_ast/declaration/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.LocalExportEntry.html b/doc/boa_ast/declaration/struct.LocalExportEntry.html
index 589e9160875..87f363b7431 100644
--- a/doc/boa_ast/declaration/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.ModuleSpecifier.html b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
index dc014326156..a74cb428ea2 100644
--- a/doc/boa_ast/declaration/struct.ModuleSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
@@ -1,13 +1,13 @@
ModuleSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ModuleSpecifier
source · pub struct ModuleSpecifier {
- module: Sym,
+ module: Sym,
}
Expand description
Module specifier.
This is equivalent to the ModuleSpecifier
production.
-Fields§
§module: Sym
Implementations§
source§impl ModuleSpecifier
Fields§
§module: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ModuleSpecifier
source§fn clone(&self) -> ModuleSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ModuleSpecifier
source§impl<'de> Deserialize<'de> for ModuleSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleSpecifier
source§impl VisitWith for ModuleSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
Enum boa_ast::declaration::export::ExportEntry
source · pub enum ExportEntry {
Ordinary(LocalExportEntry),
StarReExport {
- module_request: Sym,
+ module_request: Sym,
},
ReExport(IndirectExportEntry),
}
Expand description
ExportEntry
record.
Variants§
Ordinary(LocalExportEntry)
An ordinary export entry
-StarReExport
Fields
module_request: Sym
The module from where this reexport will import.
+StarReExport
Fields
module_request: Sym
The module from where this reexport will import.
A star reexport entry.
ReExport(IndirectExportEntry)
A reexport entry with an export name.
Trait Implementations§
source§impl Clone for ExportEntry
impl Clone for ExportEntry
source§fn clone(&self) -> ExportEntry
fn clone(&self) -> ExportEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExportEntry
impl Debug for ExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
fn from(v: IndirectExportEntry) -> Self
source§impl From<LocalExportEntry> for ExportEntry
impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
fn from(v: LocalExportEntry) -> Self
impl Copy for ExportEntry
Auto Trait Implementations§
impl RefUnwindSafe for ExportEntry
impl Send for ExportEntry
impl Sync for ExportEntry
impl Unpin for ExportEntry
impl UnwindSafe for ExportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/export/enum.ReExportImportName.html b/doc/boa_ast/declaration/export/enum.ReExportImportName.html
index 4f77dcb6b95..51b2c32ed25 100644
--- a/doc/boa_ast/declaration/export/enum.ReExportImportName.html
+++ b/doc/boa_ast/declaration/export/enum.ReExportImportName.html
@@ -1,11 +1,11 @@
ReExportImportName in boa_ast::declaration::export - Rust Enum boa_ast::declaration::export::ReExportImportName
source · pub enum ReExportImportName {
- Name(Sym),
+ Name(Sym),
Star,
}
Expand description
The name under which a reexported binding is exported by a module.
This differs slightly from the spec, since [[ImportName]]
can be either a name, all-but-default
or all
, but the last two exports can be identified with the export_name
field from
ExportEntry
, which joins both variants into a single Star
variant.
-Variants§
§Name(Sym)
A binding of the imported module.
+Variants§
Trait Implementations§
source§impl Clone for ReExportImportName
source§fn clone(&self) -> ReExportImportName
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ReExportImportName
source§impl Copy for ReExportImportName
Auto Trait Implementations§
§impl RefUnwindSafe for ReExportImportName
§impl Send for ReExportImportName
§impl Sync for ReExportImportName
§impl Unpin for ReExportImportName
§impl UnwindSafe for ReExportImportName
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/export/enum.ReExportKind.html b/doc/boa_ast/declaration/export/enum.ReExportKind.html
index 9636e70150b..9d77597254e 100644
--- a/doc/boa_ast/declaration/export/enum.ReExportKind.html
+++ b/doc/boa_ast/declaration/export/enum.ReExportKind.html
@@ -1,12 +1,12 @@
ReExportKind in boa_ast::declaration::export - Rust Enum boa_ast::declaration::export::ReExportKind
source · pub enum ReExportKind {
Namespaced {
- name: Option<Sym>,
+ name: Option<Sym>,
},
Named {
names: Box<[ExportSpecifier]>,
},
}
Expand description
The kind of re-export in an ExportDeclaration
.
-Variants§
§Namespaced
Fields
§name: Option<Sym>
Reexported name for the imported module.
+Variants§
§Namespaced
Namespaced Re-export (export * as name from "module-name"
).
§Named
Fields
§names: Box<[ExportSpecifier]>
List of the required re-exports of the re-exported module.
Re-export list (export { export1, export2 as alias2 } from "module-name"
).
diff --git a/doc/boa_ast/declaration/export/struct.ExportSpecifier.html b/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
index 222d6d1211c..43a2e80eabf 100644
--- a/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
+++ b/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
@@ -1,15 +1,15 @@
ExportSpecifier in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
-sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
+sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an Unstructured
this type
diff --git a/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
index c4b6ab7bbb3..6928ea738de 100644
--- a/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/export/struct.LocalExportEntry.html b/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
index 3e1d37cbdc2..770a7a71efb 100644
--- a/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/enum.ImportKind.html b/doc/boa_ast/declaration/import/enum.ImportKind.html
index 533e1194050..85db4149492 100644
--- a/doc/boa_ast/declaration/import/enum.ImportKind.html
+++ b/doc/boa_ast/declaration/import/enum.ImportKind.html
@@ -15,7 +15,7 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportKind
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportKind
source§fn clone(&self) -> ImportKind
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportKind
source§impl<'de> Deserialize<'de> for ImportKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportKind> for NodeRef<'a>
source§fn from(node: &'a ImportKind) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportKind> for ImportKind
source§fn eq(&self, other: &ImportKind) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportKind> for NodeRef<'a>
source§fn from(node: &'a ImportKind) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportKind> for ImportKind
source§fn eq(&self, other: &ImportKind) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportKind
source§impl VisitWith for ImportKind
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/import/enum.ImportName.html b/doc/boa_ast/declaration/import/enum.ImportName.html
index e9bbc9ad7ff..795beaaf14a 100644
--- a/doc/boa_ast/declaration/import/enum.ImportName.html
+++ b/doc/boa_ast/declaration/import/enum.ImportName.html
@@ -1,9 +1,9 @@
ImportName in boa_ast::declaration::import - Rust Enum boa_ast::declaration::import::ImportName
source · pub enum ImportName {
Namespace,
- Name(Sym),
+ Name(Sym),
}
Expand description
The name under which the imported binding is exported by a module.
Variants§
§Namespace
The namespace object of the imported module.
-§Name(Sym)
A binding of the imported module.
+§Name(Sym)
A binding of the imported module.
Trait Implementations§
source§impl Clone for ImportName
source§fn clone(&self) -> ImportName
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportName
source§impl Copy for ImportName
Auto Trait Implementations§
§impl RefUnwindSafe for ImportName
§impl Send for ImportName
§impl Sync for ImportName
§impl Unpin for ImportName
§impl UnwindSafe for ImportName
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
index dbc467e624e..e9bd0ce2a0c 100644
--- a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/import/struct.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 76fdc5f1f06..004e35bb43c 100644
--- a/doc/boa_ast/declaration/import/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/import/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
index f7877a29a20..3c43d59061f 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 4146c357722..1d54dfd9954 100644
--- a/doc/boa_ast/declaration/struct.ExportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ExportSpecifier.html
@@ -1,15 +1,15 @@
ExportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
-sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
+sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an Unstructured
this type
diff --git a/doc/boa_ast/declaration/struct.ImportDeclaration.html b/doc/boa_ast/declaration/struct.ImportDeclaration.html
index 594fd6fad5e..caf5d5810b0 100644
--- a/doc/boa_ast/declaration/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index afb8f8d6483..ccf2017dc8f 100644
--- a/doc/boa_ast/declaration/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/struct.ImportSpecifier.html b/doc/boa_ast/declaration/struct.ImportSpecifier.html
index d581f08d9c9..35490075bbb 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index 4184d498e56..4d3ebff2882 100644
--- a/doc/boa_ast/declaration/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.LocalExportEntry.html b/doc/boa_ast/declaration/struct.LocalExportEntry.html
index 589e9160875..87f363b7431 100644
--- a/doc/boa_ast/declaration/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.ModuleSpecifier.html b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
index dc014326156..a74cb428ea2 100644
--- a/doc/boa_ast/declaration/struct.ModuleSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
@@ -1,13 +1,13 @@
ModuleSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ModuleSpecifier
source · pub struct ModuleSpecifier {
- module: Sym,
+ module: Sym,
}
Expand description
Module specifier.
This is equivalent to the ModuleSpecifier
production.
-Fields§
§module: Sym
Implementations§
source§impl ModuleSpecifier
Fields§
§module: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ModuleSpecifier
source§fn clone(&self) -> ModuleSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ModuleSpecifier
source§impl<'de> Deserialize<'de> for ModuleSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleSpecifier
source§impl VisitWith for ModuleSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/export/enum.ReExportImportName.html b/doc/boa_ast/declaration/export/enum.ReExportImportName.html
index 4f77dcb6b95..51b2c32ed25 100644
--- a/doc/boa_ast/declaration/export/enum.ReExportImportName.html
+++ b/doc/boa_ast/declaration/export/enum.ReExportImportName.html
@@ -1,11 +1,11 @@
ReExportImportName in boa_ast::declaration::export - Rust Enum boa_ast::declaration::export::ReExportImportName
source · pub enum ReExportImportName {
- Name(Sym),
+ Name(Sym),
Star,
}
Expand description
The name under which a reexported binding is exported by a module.
This differs slightly from the spec, since [[ImportName]]
can be either a name, all-but-default
or all
, but the last two exports can be identified with the export_name
field from
ExportEntry
, which joins both variants into a single Star
variant.
-Variants§
§Name(Sym)
A binding of the imported module.
+Variants§
Trait Implementations§
source§impl Clone for ReExportImportName
source§fn clone(&self) -> ReExportImportName
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ReExportImportName
source§impl Copy for ReExportImportName
Auto Trait Implementations§
§impl RefUnwindSafe for ReExportImportName
§impl Send for ReExportImportName
§impl Sync for ReExportImportName
§impl Unpin for ReExportImportName
§impl UnwindSafe for ReExportImportName
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/export/enum.ReExportKind.html b/doc/boa_ast/declaration/export/enum.ReExportKind.html
index 9636e70150b..9d77597254e 100644
--- a/doc/boa_ast/declaration/export/enum.ReExportKind.html
+++ b/doc/boa_ast/declaration/export/enum.ReExportKind.html
@@ -1,12 +1,12 @@
ReExportKind in boa_ast::declaration::export - Rust Enum boa_ast::declaration::export::ReExportKind
source · pub enum ReExportKind {
Namespaced {
- name: Option<Sym>,
+ name: Option<Sym>,
},
Named {
names: Box<[ExportSpecifier]>,
},
}
Expand description
The kind of re-export in an ExportDeclaration
.
-Variants§
§Namespaced
Fields
§name: Option<Sym>
Reexported name for the imported module.
+Variants§
§Namespaced
Namespaced Re-export (export * as name from "module-name"
).
§Named
Fields
§names: Box<[ExportSpecifier]>
List of the required re-exports of the re-exported module.
Re-export list (export { export1, export2 as alias2 } from "module-name"
).
diff --git a/doc/boa_ast/declaration/export/struct.ExportSpecifier.html b/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
index 222d6d1211c..43a2e80eabf 100644
--- a/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
+++ b/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
@@ -1,15 +1,15 @@
ExportSpecifier in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
-sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
+sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an Unstructured
this type
diff --git a/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
index c4b6ab7bbb3..6928ea738de 100644
--- a/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/export/struct.LocalExportEntry.html b/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
index 3e1d37cbdc2..770a7a71efb 100644
--- a/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/enum.ImportKind.html b/doc/boa_ast/declaration/import/enum.ImportKind.html
index 533e1194050..85db4149492 100644
--- a/doc/boa_ast/declaration/import/enum.ImportKind.html
+++ b/doc/boa_ast/declaration/import/enum.ImportKind.html
@@ -15,7 +15,7 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportKind
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportKind
source§fn clone(&self) -> ImportKind
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportKind
source§impl<'de> Deserialize<'de> for ImportKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportKind> for NodeRef<'a>
source§fn from(node: &'a ImportKind) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportKind> for ImportKind
source§fn eq(&self, other: &ImportKind) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportKind> for NodeRef<'a>
source§fn from(node: &'a ImportKind) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportKind> for ImportKind
source§fn eq(&self, other: &ImportKind) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportKind
source§impl VisitWith for ImportKind
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/import/enum.ImportName.html b/doc/boa_ast/declaration/import/enum.ImportName.html
index e9bbc9ad7ff..795beaaf14a 100644
--- a/doc/boa_ast/declaration/import/enum.ImportName.html
+++ b/doc/boa_ast/declaration/import/enum.ImportName.html
@@ -1,9 +1,9 @@
ImportName in boa_ast::declaration::import - Rust Enum boa_ast::declaration::import::ImportName
source · pub enum ImportName {
Namespace,
- Name(Sym),
+ Name(Sym),
}
Expand description
The name under which the imported binding is exported by a module.
Variants§
§Namespace
The namespace object of the imported module.
-§Name(Sym)
A binding of the imported module.
+§Name(Sym)
A binding of the imported module.
Trait Implementations§
source§impl Clone for ImportName
source§fn clone(&self) -> ImportName
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportName
source§impl Copy for ImportName
Auto Trait Implementations§
§impl RefUnwindSafe for ImportName
§impl Send for ImportName
§impl Sync for ImportName
§impl Unpin for ImportName
§impl UnwindSafe for ImportName
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
index dbc467e624e..e9bd0ce2a0c 100644
--- a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/import/struct.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 76fdc5f1f06..004e35bb43c 100644
--- a/doc/boa_ast/declaration/import/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/import/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
index f7877a29a20..3c43d59061f 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 4146c357722..1d54dfd9954 100644
--- a/doc/boa_ast/declaration/struct.ExportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ExportSpecifier.html
@@ -1,15 +1,15 @@
ExportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
-sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
+sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an Unstructured
this type
diff --git a/doc/boa_ast/declaration/struct.ImportDeclaration.html b/doc/boa_ast/declaration/struct.ImportDeclaration.html
index 594fd6fad5e..caf5d5810b0 100644
--- a/doc/boa_ast/declaration/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index afb8f8d6483..ccf2017dc8f 100644
--- a/doc/boa_ast/declaration/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/struct.ImportSpecifier.html b/doc/boa_ast/declaration/struct.ImportSpecifier.html
index d581f08d9c9..35490075bbb 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index 4184d498e56..4d3ebff2882 100644
--- a/doc/boa_ast/declaration/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.LocalExportEntry.html b/doc/boa_ast/declaration/struct.LocalExportEntry.html
index 589e9160875..87f363b7431 100644
--- a/doc/boa_ast/declaration/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.ModuleSpecifier.html b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
index dc014326156..a74cb428ea2 100644
--- a/doc/boa_ast/declaration/struct.ModuleSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
@@ -1,13 +1,13 @@
ModuleSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ModuleSpecifier
source · pub struct ModuleSpecifier {
- module: Sym,
+ module: Sym,
}
Expand description
Module specifier.
This is equivalent to the ModuleSpecifier
production.
-Fields§
§module: Sym
Implementations§
source§impl ModuleSpecifier
Fields§
§module: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ModuleSpecifier
source§fn clone(&self) -> ModuleSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ModuleSpecifier
source§impl<'de> Deserialize<'de> for ModuleSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleSpecifier
source§impl VisitWith for ModuleSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
Enum boa_ast::declaration::export::ReExportImportName
source · pub enum ReExportImportName {
- Name(Sym),
+ Name(Sym),
Star,
}
Expand description
The name under which a reexported binding is exported by a module.
This differs slightly from the spec, since [[ImportName]]
can be either a name, all-but-default
or all
, but the last two exports can be identified with the export_name
field from
ExportEntry
, which joins both variants into a single Star
variant.
Variants§
Name(Sym)
A binding of the imported module.
+Variants§
Trait Implementations§
source§impl Clone for ReExportImportName
impl Clone for ReExportImportName
source§fn clone(&self) -> ReExportImportName
fn clone(&self) -> ReExportImportName
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReExportImportName
impl Debug for ReExportImportName
impl Copy for ReExportImportName
Auto Trait Implementations§
impl RefUnwindSafe for ReExportImportName
impl Send for ReExportImportName
impl Sync for ReExportImportName
impl Unpin for ReExportImportName
impl UnwindSafe for ReExportImportName
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/export/enum.ReExportKind.html b/doc/boa_ast/declaration/export/enum.ReExportKind.html
index 9636e70150b..9d77597254e 100644
--- a/doc/boa_ast/declaration/export/enum.ReExportKind.html
+++ b/doc/boa_ast/declaration/export/enum.ReExportKind.html
@@ -1,12 +1,12 @@
ReExportKind in boa_ast::declaration::export - Rust Enum boa_ast::declaration::export::ReExportKind
source · pub enum ReExportKind {
Namespaced {
- name: Option<Sym>,
+ name: Option<Sym>,
},
Named {
names: Box<[ExportSpecifier]>,
},
}
Expand description
The kind of re-export in an ExportDeclaration
.
-Variants§
§Namespaced
Fields
§name: Option<Sym>
Reexported name for the imported module.
+Variants§
§Namespaced
Namespaced Re-export (export * as name from "module-name"
).
§Named
Fields
§names: Box<[ExportSpecifier]>
List of the required re-exports of the re-exported module.
Re-export list (export { export1, export2 as alias2 } from "module-name"
).
diff --git a/doc/boa_ast/declaration/export/struct.ExportSpecifier.html b/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
index 222d6d1211c..43a2e80eabf 100644
--- a/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
+++ b/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
@@ -1,15 +1,15 @@
ExportSpecifier in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
-sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
+sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an Unstructured
this type
diff --git a/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
index c4b6ab7bbb3..6928ea738de 100644
--- a/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/export/struct.LocalExportEntry.html b/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
index 3e1d37cbdc2..770a7a71efb 100644
--- a/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/enum.ImportKind.html b/doc/boa_ast/declaration/import/enum.ImportKind.html
index 533e1194050..85db4149492 100644
--- a/doc/boa_ast/declaration/import/enum.ImportKind.html
+++ b/doc/boa_ast/declaration/import/enum.ImportKind.html
@@ -15,7 +15,7 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportKind
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportKind
source§fn clone(&self) -> ImportKind
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportKind
source§impl<'de> Deserialize<'de> for ImportKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportKind> for NodeRef<'a>
source§fn from(node: &'a ImportKind) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportKind> for ImportKind
source§fn eq(&self, other: &ImportKind) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportKind> for NodeRef<'a>
source§fn from(node: &'a ImportKind) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportKind> for ImportKind
source§fn eq(&self, other: &ImportKind) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportKind
source§impl VisitWith for ImportKind
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/import/enum.ImportName.html b/doc/boa_ast/declaration/import/enum.ImportName.html
index e9bbc9ad7ff..795beaaf14a 100644
--- a/doc/boa_ast/declaration/import/enum.ImportName.html
+++ b/doc/boa_ast/declaration/import/enum.ImportName.html
@@ -1,9 +1,9 @@
ImportName in boa_ast::declaration::import - Rust Enum boa_ast::declaration::import::ImportName
source · pub enum ImportName {
Namespace,
- Name(Sym),
+ Name(Sym),
}
Expand description
The name under which the imported binding is exported by a module.
Variants§
§Namespace
The namespace object of the imported module.
-§Name(Sym)
A binding of the imported module.
+§Name(Sym)
A binding of the imported module.
Trait Implementations§
source§impl Clone for ImportName
source§fn clone(&self) -> ImportName
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportName
source§impl Copy for ImportName
Auto Trait Implementations§
§impl RefUnwindSafe for ImportName
§impl Send for ImportName
§impl Sync for ImportName
§impl Unpin for ImportName
§impl UnwindSafe for ImportName
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
index dbc467e624e..e9bd0ce2a0c 100644
--- a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/import/struct.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 76fdc5f1f06..004e35bb43c 100644
--- a/doc/boa_ast/declaration/import/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/import/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
index f7877a29a20..3c43d59061f 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 4146c357722..1d54dfd9954 100644
--- a/doc/boa_ast/declaration/struct.ExportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ExportSpecifier.html
@@ -1,15 +1,15 @@
ExportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
-sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
+sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an Unstructured
this type
diff --git a/doc/boa_ast/declaration/struct.ImportDeclaration.html b/doc/boa_ast/declaration/struct.ImportDeclaration.html
index 594fd6fad5e..caf5d5810b0 100644
--- a/doc/boa_ast/declaration/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index afb8f8d6483..ccf2017dc8f 100644
--- a/doc/boa_ast/declaration/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/struct.ImportSpecifier.html b/doc/boa_ast/declaration/struct.ImportSpecifier.html
index d581f08d9c9..35490075bbb 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index 4184d498e56..4d3ebff2882 100644
--- a/doc/boa_ast/declaration/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.LocalExportEntry.html b/doc/boa_ast/declaration/struct.LocalExportEntry.html
index 589e9160875..87f363b7431 100644
--- a/doc/boa_ast/declaration/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.ModuleSpecifier.html b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
index dc014326156..a74cb428ea2 100644
--- a/doc/boa_ast/declaration/struct.ModuleSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
@@ -1,13 +1,13 @@
ModuleSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ModuleSpecifier
source · pub struct ModuleSpecifier {
- module: Sym,
+ module: Sym,
}
Expand description
Module specifier.
This is equivalent to the ModuleSpecifier
production.
-Fields§
§module: Sym
Implementations§
source§impl ModuleSpecifier
Fields§
§module: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ModuleSpecifier
source§fn clone(&self) -> ModuleSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ModuleSpecifier
source§impl<'de> Deserialize<'de> for ModuleSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleSpecifier
source§impl VisitWith for ModuleSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/export/enum.ReExportKind.html b/doc/boa_ast/declaration/export/enum.ReExportKind.html
index 9636e70150b..9d77597254e 100644
--- a/doc/boa_ast/declaration/export/enum.ReExportKind.html
+++ b/doc/boa_ast/declaration/export/enum.ReExportKind.html
@@ -1,12 +1,12 @@
ReExportKind in boa_ast::declaration::export - Rust Enum boa_ast::declaration::export::ReExportKind
source · pub enum ReExportKind {
Namespaced {
- name: Option<Sym>,
+ name: Option<Sym>,
},
Named {
names: Box<[ExportSpecifier]>,
},
}
Expand description
The kind of re-export in an ExportDeclaration
.
-Variants§
§Namespaced
Fields
§name: Option<Sym>
Reexported name for the imported module.
+Variants§
§Namespaced
Namespaced Re-export (export * as name from "module-name"
).
§Named
Fields
§names: Box<[ExportSpecifier]>
List of the required re-exports of the re-exported module.
Re-export list (export { export1, export2 as alias2 } from "module-name"
).
diff --git a/doc/boa_ast/declaration/export/struct.ExportSpecifier.html b/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
index 222d6d1211c..43a2e80eabf 100644
--- a/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
+++ b/doc/boa_ast/declaration/export/struct.ExportSpecifier.html
@@ -1,15 +1,15 @@
ExportSpecifier in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
-sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
+sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an Unstructured
this type
diff --git a/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
index c4b6ab7bbb3..6928ea738de 100644
--- a/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/export/struct.LocalExportEntry.html b/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
index 3e1d37cbdc2..770a7a71efb 100644
--- a/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/enum.ImportKind.html b/doc/boa_ast/declaration/import/enum.ImportKind.html
index 533e1194050..85db4149492 100644
--- a/doc/boa_ast/declaration/import/enum.ImportKind.html
+++ b/doc/boa_ast/declaration/import/enum.ImportKind.html
@@ -15,7 +15,7 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportKind
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportKind
source§fn clone(&self) -> ImportKind
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportKind
source§impl<'de> Deserialize<'de> for ImportKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportKind> for NodeRef<'a>
source§fn from(node: &'a ImportKind) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportKind> for ImportKind
source§fn eq(&self, other: &ImportKind) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportKind> for NodeRef<'a>
source§fn from(node: &'a ImportKind) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportKind> for ImportKind
source§fn eq(&self, other: &ImportKind) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportKind
source§impl VisitWith for ImportKind
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/import/enum.ImportName.html b/doc/boa_ast/declaration/import/enum.ImportName.html
index e9bbc9ad7ff..795beaaf14a 100644
--- a/doc/boa_ast/declaration/import/enum.ImportName.html
+++ b/doc/boa_ast/declaration/import/enum.ImportName.html
@@ -1,9 +1,9 @@
ImportName in boa_ast::declaration::import - Rust Enum boa_ast::declaration::import::ImportName
source · pub enum ImportName {
Namespace,
- Name(Sym),
+ Name(Sym),
}
Expand description
The name under which the imported binding is exported by a module.
Variants§
§Namespace
The namespace object of the imported module.
-§Name(Sym)
A binding of the imported module.
+§Name(Sym)
A binding of the imported module.
Trait Implementations§
source§impl Clone for ImportName
source§fn clone(&self) -> ImportName
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportName
source§impl Copy for ImportName
Auto Trait Implementations§
§impl RefUnwindSafe for ImportName
§impl Send for ImportName
§impl Sync for ImportName
§impl Unpin for ImportName
§impl UnwindSafe for ImportName
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
index dbc467e624e..e9bd0ce2a0c 100644
--- a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/import/struct.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 76fdc5f1f06..004e35bb43c 100644
--- a/doc/boa_ast/declaration/import/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/import/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
index f7877a29a20..3c43d59061f 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 4146c357722..1d54dfd9954 100644
--- a/doc/boa_ast/declaration/struct.ExportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ExportSpecifier.html
@@ -1,15 +1,15 @@
ExportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
-sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
+sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an Unstructured
this type
diff --git a/doc/boa_ast/declaration/struct.ImportDeclaration.html b/doc/boa_ast/declaration/struct.ImportDeclaration.html
index 594fd6fad5e..caf5d5810b0 100644
--- a/doc/boa_ast/declaration/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index afb8f8d6483..ccf2017dc8f 100644
--- a/doc/boa_ast/declaration/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/struct.ImportSpecifier.html b/doc/boa_ast/declaration/struct.ImportSpecifier.html
index d581f08d9c9..35490075bbb 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index 4184d498e56..4d3ebff2882 100644
--- a/doc/boa_ast/declaration/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.LocalExportEntry.html b/doc/boa_ast/declaration/struct.LocalExportEntry.html
index 589e9160875..87f363b7431 100644
--- a/doc/boa_ast/declaration/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.ModuleSpecifier.html b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
index dc014326156..a74cb428ea2 100644
--- a/doc/boa_ast/declaration/struct.ModuleSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
@@ -1,13 +1,13 @@
ModuleSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ModuleSpecifier
source · pub struct ModuleSpecifier {
- module: Sym,
+ module: Sym,
}
Expand description
Module specifier.
This is equivalent to the ModuleSpecifier
production.
-Fields§
§module: Sym
Implementations§
source§impl ModuleSpecifier
Fields§
§module: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ModuleSpecifier
source§fn clone(&self) -> ModuleSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ModuleSpecifier
source§impl<'de> Deserialize<'de> for ModuleSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleSpecifier
source§impl VisitWith for ModuleSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
Enum boa_ast::declaration::export::ReExportKind
source · pub enum ReExportKind {
Namespaced {
- name: Option<Sym>,
+ name: Option<Sym>,
},
Named {
names: Box<[ExportSpecifier]>,
},
}
Expand description
The kind of re-export in an ExportDeclaration
.
Variants§
Namespaced
Fields
name: Option<Sym>
Reexported name for the imported module.
+Variants§
Namespaced
Namespaced Re-export (export * as name from "module-name"
).
Named
Fields
names: Box<[ExportSpecifier]>
List of the required re-exports of the re-exported module.
Re-export list (export { export1, export2 as alias2 } from "module-name"
).
Struct boa_ast::declaration::export::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
pub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
sourcepub const fn private_name(self) -> Sym
pub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
pub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
sourcepub const fn private_name(self) -> Sym
pub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
pub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Unstructured
this type
diff --git a/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
index c4b6ab7bbb3..6928ea738de 100644
--- a/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/export/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
Struct boa_ast::declaration::export::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
pub const fn new( + module_request: Sym, import_name: ReExportImportName, - export_name: Sym + export_name: Sym ) -> Self
Creates a new IndirectExportEntry
.
sourcepub const fn module_request(&self) -> Sym
pub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
pub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
pub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
pub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
pub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
fn clone(&self) -> IndirectExportEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IndirectExportEntry
impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
fn from(v: IndirectExportEntry) -> Self
impl Copy for IndirectExportEntry
Auto Trait Implementations§
impl RefUnwindSafe for IndirectExportEntry
impl Send for IndirectExportEntry
impl Sync for IndirectExportEntry
impl Unpin for IndirectExportEntry
impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/export/struct.LocalExportEntry.html b/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
index 3e1d37cbdc2..770a7a71efb 100644
--- a/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/enum.ImportKind.html b/doc/boa_ast/declaration/import/enum.ImportKind.html
index 533e1194050..85db4149492 100644
--- a/doc/boa_ast/declaration/import/enum.ImportKind.html
+++ b/doc/boa_ast/declaration/import/enum.ImportKind.html
@@ -15,7 +15,7 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportKind
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportKind
source§fn clone(&self) -> ImportKind
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportKind
source§impl<'de> Deserialize<'de> for ImportKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportKind> for NodeRef<'a>
source§fn from(node: &'a ImportKind) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportKind> for ImportKind
source§fn eq(&self, other: &ImportKind) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportKind> for NodeRef<'a>
source§fn from(node: &'a ImportKind) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportKind> for ImportKind
source§fn eq(&self, other: &ImportKind) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportKind
source§impl VisitWith for ImportKind
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/import/enum.ImportName.html b/doc/boa_ast/declaration/import/enum.ImportName.html
index e9bbc9ad7ff..795beaaf14a 100644
--- a/doc/boa_ast/declaration/import/enum.ImportName.html
+++ b/doc/boa_ast/declaration/import/enum.ImportName.html
@@ -1,9 +1,9 @@
ImportName in boa_ast::declaration::import - Rust Enum boa_ast::declaration::import::ImportName
source · pub enum ImportName {
Namespace,
- Name(Sym),
+ Name(Sym),
}
Expand description
The name under which the imported binding is exported by a module.
Variants§
§Namespace
The namespace object of the imported module.
-§Name(Sym)
A binding of the imported module.
+§Name(Sym)
A binding of the imported module.
Trait Implementations§
source§impl Clone for ImportName
source§fn clone(&self) -> ImportName
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportName
source§impl Copy for ImportName
Auto Trait Implementations§
§impl RefUnwindSafe for ImportName
§impl Send for ImportName
§impl Sync for ImportName
§impl Unpin for ImportName
§impl UnwindSafe for ImportName
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
index dbc467e624e..e9bd0ce2a0c 100644
--- a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/import/struct.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 76fdc5f1f06..004e35bb43c 100644
--- a/doc/boa_ast/declaration/import/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/import/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
index f7877a29a20..3c43d59061f 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 4146c357722..1d54dfd9954 100644
--- a/doc/boa_ast/declaration/struct.ExportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ExportSpecifier.html
@@ -1,15 +1,15 @@
ExportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
-sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
+sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an Unstructured
this type
diff --git a/doc/boa_ast/declaration/struct.ImportDeclaration.html b/doc/boa_ast/declaration/struct.ImportDeclaration.html
index 594fd6fad5e..caf5d5810b0 100644
--- a/doc/boa_ast/declaration/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index afb8f8d6483..ccf2017dc8f 100644
--- a/doc/boa_ast/declaration/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/struct.ImportSpecifier.html b/doc/boa_ast/declaration/struct.ImportSpecifier.html
index d581f08d9c9..35490075bbb 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index 4184d498e56..4d3ebff2882 100644
--- a/doc/boa_ast/declaration/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.LocalExportEntry.html b/doc/boa_ast/declaration/struct.LocalExportEntry.html
index 589e9160875..87f363b7431 100644
--- a/doc/boa_ast/declaration/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.ModuleSpecifier.html b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
index dc014326156..a74cb428ea2 100644
--- a/doc/boa_ast/declaration/struct.ModuleSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
@@ -1,13 +1,13 @@
ModuleSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ModuleSpecifier
source · pub struct ModuleSpecifier {
- module: Sym,
+ module: Sym,
}
Expand description
Module specifier.
This is equivalent to the ModuleSpecifier
production.
-Fields§
§module: Sym
Implementations§
source§impl ModuleSpecifier
Fields§
§module: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ModuleSpecifier
source§fn clone(&self) -> ModuleSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ModuleSpecifier
source§impl<'de> Deserialize<'de> for ModuleSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleSpecifier
source§impl VisitWith for ModuleSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/export/struct.LocalExportEntry.html b/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
index 3e1d37cbdc2..770a7a71efb 100644
--- a/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/export/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration::export - Rust Struct boa_ast::declaration::export::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/enum.ImportKind.html b/doc/boa_ast/declaration/import/enum.ImportKind.html
index 533e1194050..85db4149492 100644
--- a/doc/boa_ast/declaration/import/enum.ImportKind.html
+++ b/doc/boa_ast/declaration/import/enum.ImportKind.html
@@ -15,7 +15,7 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportKind
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportKind
source§fn clone(&self) -> ImportKind
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportKind
source§impl<'de> Deserialize<'de> for ImportKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportKind> for NodeRef<'a>
source§fn from(node: &'a ImportKind) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportKind> for ImportKind
source§fn eq(&self, other: &ImportKind) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportKind> for NodeRef<'a>
source§fn from(node: &'a ImportKind) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportKind> for ImportKind
source§fn eq(&self, other: &ImportKind) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportKind
source§impl VisitWith for ImportKind
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/import/enum.ImportName.html b/doc/boa_ast/declaration/import/enum.ImportName.html
index e9bbc9ad7ff..795beaaf14a 100644
--- a/doc/boa_ast/declaration/import/enum.ImportName.html
+++ b/doc/boa_ast/declaration/import/enum.ImportName.html
@@ -1,9 +1,9 @@
ImportName in boa_ast::declaration::import - Rust Enum boa_ast::declaration::import::ImportName
source · pub enum ImportName {
Namespace,
- Name(Sym),
+ Name(Sym),
}
Expand description
The name under which the imported binding is exported by a module.
Variants§
§Namespace
The namespace object of the imported module.
-§Name(Sym)
A binding of the imported module.
+§Name(Sym)
A binding of the imported module.
Trait Implementations§
source§impl Clone for ImportName
source§fn clone(&self) -> ImportName
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportName
source§impl Copy for ImportName
Auto Trait Implementations§
§impl RefUnwindSafe for ImportName
§impl Send for ImportName
§impl Sync for ImportName
§impl Unpin for ImportName
§impl UnwindSafe for ImportName
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
index dbc467e624e..e9bd0ce2a0c 100644
--- a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/import/struct.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 76fdc5f1f06..004e35bb43c 100644
--- a/doc/boa_ast/declaration/import/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/import/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
index f7877a29a20..3c43d59061f 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 4146c357722..1d54dfd9954 100644
--- a/doc/boa_ast/declaration/struct.ExportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ExportSpecifier.html
@@ -1,15 +1,15 @@
ExportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
-sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
+sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an Unstructured
this type
diff --git a/doc/boa_ast/declaration/struct.ImportDeclaration.html b/doc/boa_ast/declaration/struct.ImportDeclaration.html
index 594fd6fad5e..caf5d5810b0 100644
--- a/doc/boa_ast/declaration/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index afb8f8d6483..ccf2017dc8f 100644
--- a/doc/boa_ast/declaration/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/struct.ImportSpecifier.html b/doc/boa_ast/declaration/struct.ImportSpecifier.html
index d581f08d9c9..35490075bbb 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index 4184d498e56..4d3ebff2882 100644
--- a/doc/boa_ast/declaration/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.LocalExportEntry.html b/doc/boa_ast/declaration/struct.LocalExportEntry.html
index 589e9160875..87f363b7431 100644
--- a/doc/boa_ast/declaration/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.ModuleSpecifier.html b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
index dc014326156..a74cb428ea2 100644
--- a/doc/boa_ast/declaration/struct.ModuleSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
@@ -1,13 +1,13 @@
ModuleSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ModuleSpecifier
source · pub struct ModuleSpecifier {
- module: Sym,
+ module: Sym,
}
Expand description
Module specifier.
This is equivalent to the ModuleSpecifier
production.
-Fields§
§module: Sym
Implementations§
source§impl ModuleSpecifier
Fields§
§module: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ModuleSpecifier
source§fn clone(&self) -> ModuleSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ModuleSpecifier
source§impl<'de> Deserialize<'de> for ModuleSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleSpecifier
source§impl VisitWith for ModuleSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
Struct boa_ast::declaration::export::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
pub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
pub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
pub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
pub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
pub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
fn clone(&self) -> LocalExportEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LocalExportEntry
impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
fn from(v: LocalExportEntry) -> Self
impl Copy for LocalExportEntry
Auto Trait Implementations§
impl RefUnwindSafe for LocalExportEntry
impl Send for LocalExportEntry
impl Sync for LocalExportEntry
impl Unpin for LocalExportEntry
impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/enum.ImportKind.html b/doc/boa_ast/declaration/import/enum.ImportKind.html
index 533e1194050..85db4149492 100644
--- a/doc/boa_ast/declaration/import/enum.ImportKind.html
+++ b/doc/boa_ast/declaration/import/enum.ImportKind.html
@@ -15,7 +15,7 @@
impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_ast/declaration/import/enum.ImportKind.html b/doc/boa_ast/declaration/import/enum.ImportKind.html index 533e1194050..85db4149492 100644 --- a/doc/boa_ast/declaration/import/enum.ImportKind.html +++ b/doc/boa_ast/declaration/import/enum.ImportKind.html @@ -15,7 +15,7 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportKind
impl<'arbitrary> Arbitrary<'arbitrary> for ImportKind
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportKind
impl Clone for ImportKind
source§fn clone(&self) -> ImportKind
fn clone(&self) -> ImportKind
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImportKind
impl Debug for ImportKind
source§impl<'de> Deserialize<'de> for ImportKind
impl<'de> Deserialize<'de> for ImportKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,
source§impl<'a> From<&'a ImportKind> for NodeRef<'a>
impl<'a> From<&'a ImportKind> for NodeRef<'a>
source§fn from(node: &'a ImportKind) -> NodeRef<'a>
fn from(node: &'a ImportKind) -> NodeRef<'a>
source§impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
source§impl PartialEq<ImportKind> for ImportKind
impl PartialEq<ImportKind> for ImportKind
source§fn eq(&self, other: &ImportKind) -> bool
fn eq(&self, other: &ImportKind) -> bool
self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,source§impl<'a> From<&'a ImportKind> for NodeRef<'a>
impl<'a> From<&'a ImportKind> for NodeRef<'a>
source§fn from(node: &'a ImportKind) -> NodeRef<'a>
fn from(node: &'a ImportKind) -> NodeRef<'a>
source§impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>
source§impl PartialEq<ImportKind> for ImportKind
impl PartialEq<ImportKind> for ImportKind
source§fn eq(&self, other: &ImportKind) -> bool
fn eq(&self, other: &ImportKind) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportKind
impl Serialize for ImportKind
source§impl VisitWith for ImportKind
impl VisitWith for ImportKind
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/import/enum.ImportName.html b/doc/boa_ast/declaration/import/enum.ImportName.html
index e9bbc9ad7ff..795beaaf14a 100644
--- a/doc/boa_ast/declaration/import/enum.ImportName.html
+++ b/doc/boa_ast/declaration/import/enum.ImportName.html
@@ -1,9 +1,9 @@
ImportName in boa_ast::declaration::import - Rust Enum boa_ast::declaration::import::ImportName
source · pub enum ImportName {
Namespace,
- Name(Sym),
+ Name(Sym),
}
Expand description
The name under which the imported binding is exported by a module.
Variants§
§Namespace
The namespace object of the imported module.
-§Name(Sym)
A binding of the imported module.
+§Name(Sym)
A binding of the imported module.
Trait Implementations§
source§impl Clone for ImportName
source§fn clone(&self) -> ImportName
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportName
source§impl Copy for ImportName
Auto Trait Implementations§
§impl RefUnwindSafe for ImportName
§impl Send for ImportName
§impl Sync for ImportName
§impl Unpin for ImportName
§impl UnwindSafe for ImportName
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
index dbc467e624e..e9bd0ce2a0c 100644
--- a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/import/enum.ImportName.html b/doc/boa_ast/declaration/import/enum.ImportName.html
index e9bbc9ad7ff..795beaaf14a 100644
--- a/doc/boa_ast/declaration/import/enum.ImportName.html
+++ b/doc/boa_ast/declaration/import/enum.ImportName.html
@@ -1,9 +1,9 @@
ImportName in boa_ast::declaration::import - Rust Enum boa_ast::declaration::import::ImportName
source · pub enum ImportName {
Namespace,
- Name(Sym),
+ Name(Sym),
}
Expand description
The name under which the imported binding is exported by a module.
Variants§
§Namespace
The namespace object of the imported module.
-§Name(Sym)
A binding of the imported module.
+§Name(Sym)
A binding of the imported module.
Trait Implementations§
source§impl Clone for ImportName
source§fn clone(&self) -> ImportName
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportName
source§impl Copy for ImportName
Auto Trait Implementations§
§impl RefUnwindSafe for ImportName
§impl Send for ImportName
§impl Sync for ImportName
§impl Unpin for ImportName
§impl UnwindSafe for ImportName
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
index dbc467e624e..e9bd0ce2a0c 100644
--- a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Enum boa_ast::declaration::import::ImportName
source · pub enum ImportName {
Namespace,
- Name(Sym),
+ Name(Sym),
}
Expand description
The name under which the imported binding is exported by a module.
Variants§
Namespace
The namespace object of the imported module.
-Name(Sym)
A binding of the imported module.
+Name(Sym)
A binding of the imported module.
Trait Implementations§
source§impl Clone for ImportName
impl Clone for ImportName
source§fn clone(&self) -> ImportName
fn clone(&self) -> ImportName
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImportName
impl Debug for ImportName
impl Copy for ImportName
Auto Trait Implementations§
impl RefUnwindSafe for ImportName
impl Send for ImportName
impl Sync for ImportName
impl Unpin for ImportName
impl UnwindSafe for ImportName
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
index dbc467e624e..e9bd0ce2a0c 100644
--- a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html index dbc467e624e..e9bd0ce2a0c 100644 --- a/doc/boa_ast/declaration/import/struct.ImportDeclaration.html +++ b/doc/boa_ast/declaration/import/struct.ImportDeclaration.html @@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
pub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
pub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
fn clone(&self) -> ImportDeclaration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImportDeclaration
impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,
source§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
source§impl PartialEq<ImportDeclaration> for ImportDeclaration
impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
fn eq(&self, other: &ImportDeclaration) -> bool
self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,source§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
source§impl PartialEq<ImportDeclaration> for ImportDeclaration
impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
fn eq(&self, other: &ImportDeclaration) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/import/struct.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 76fdc5f1f06..004e35bb43c 100644
--- a/doc/boa_ast/declaration/import/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/import/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
index f7877a29a20..3c43d59061f 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 4146c357722..1d54dfd9954 100644
--- a/doc/boa_ast/declaration/struct.ExportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ExportSpecifier.html
@@ -1,15 +1,15 @@
ExportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
-sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
+sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an Unstructured
this type
diff --git a/doc/boa_ast/declaration/struct.ImportDeclaration.html b/doc/boa_ast/declaration/struct.ImportDeclaration.html
index 594fd6fad5e..caf5d5810b0 100644
--- a/doc/boa_ast/declaration/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index afb8f8d6483..ccf2017dc8f 100644
--- a/doc/boa_ast/declaration/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/struct.ImportSpecifier.html b/doc/boa_ast/declaration/struct.ImportSpecifier.html
index d581f08d9c9..35490075bbb 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index 4184d498e56..4d3ebff2882 100644
--- a/doc/boa_ast/declaration/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.LocalExportEntry.html b/doc/boa_ast/declaration/struct.LocalExportEntry.html
index 589e9160875..87f363b7431 100644
--- a/doc/boa_ast/declaration/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.ModuleSpecifier.html b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
index dc014326156..a74cb428ea2 100644
--- a/doc/boa_ast/declaration/struct.ModuleSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
@@ -1,13 +1,13 @@
ModuleSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ModuleSpecifier
source · pub struct ModuleSpecifier {
- module: Sym,
+ module: Sym,
}
Expand description
Module specifier.
This is equivalent to the ModuleSpecifier
production.
-Fields§
§module: Sym
Implementations§
source§impl ModuleSpecifier
Fields§
§module: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ModuleSpecifier
source§fn clone(&self) -> ModuleSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ModuleSpecifier
source§impl<'de> Deserialize<'de> for ModuleSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleSpecifier
source§impl VisitWith for ModuleSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/import/struct.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 76fdc5f1f06..004e35bb43c 100644
--- a/doc/boa_ast/declaration/import/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/import/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
index f7877a29a20..3c43d59061f 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 4146c357722..1d54dfd9954 100644
--- a/doc/boa_ast/declaration/struct.ExportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ExportSpecifier.html
@@ -1,15 +1,15 @@
ExportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
-sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
+sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an Unstructured
this type
diff --git a/doc/boa_ast/declaration/struct.ImportDeclaration.html b/doc/boa_ast/declaration/struct.ImportDeclaration.html
index 594fd6fad5e..caf5d5810b0 100644
--- a/doc/boa_ast/declaration/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index afb8f8d6483..ccf2017dc8f 100644
--- a/doc/boa_ast/declaration/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/struct.ImportSpecifier.html b/doc/boa_ast/declaration/struct.ImportSpecifier.html
index d581f08d9c9..35490075bbb 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index 4184d498e56..4d3ebff2882 100644
--- a/doc/boa_ast/declaration/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.LocalExportEntry.html b/doc/boa_ast/declaration/struct.LocalExportEntry.html
index 589e9160875..87f363b7431 100644
--- a/doc/boa_ast/declaration/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.ModuleSpecifier.html b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
index dc014326156..a74cb428ea2 100644
--- a/doc/boa_ast/declaration/struct.ModuleSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
@@ -1,13 +1,13 @@
ModuleSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ModuleSpecifier
source · pub struct ModuleSpecifier {
- module: Sym,
+ module: Sym,
}
Expand description
Module specifier.
This is equivalent to the ModuleSpecifier
production.
-Fields§
§module: Sym
Implementations§
source§impl ModuleSpecifier
Fields§
§module: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ModuleSpecifier
source§fn clone(&self) -> ModuleSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ModuleSpecifier
source§impl<'de> Deserialize<'de> for ModuleSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleSpecifier
source§impl VisitWith for ModuleSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
Struct boa_ast::declaration::import::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
pub const fn new( + module_request: Sym, import_name: ImportName, local_name: Identifier ) -> Self
Creates a new ImportEntry
.
sourcepub const fn module_request(&self) -> Sym
pub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
pub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
pub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
pub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
fn clone(&self) -> ImportEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImportEntry
impl Debug for ImportEntry
impl Copy for ImportEntry
Auto Trait Implementations§
impl RefUnwindSafe for ImportEntry
impl Send for ImportEntry
impl Sync for ImportEntry
impl Unpin for ImportEntry
impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
index f7877a29a20..3c43d59061f 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 4146c357722..1d54dfd9954 100644
--- a/doc/boa_ast/declaration/struct.ExportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ExportSpecifier.html
@@ -1,15 +1,15 @@
ExportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
-sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
+sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an Unstructured
this type
diff --git a/doc/boa_ast/declaration/struct.ImportDeclaration.html b/doc/boa_ast/declaration/struct.ImportDeclaration.html
index 594fd6fad5e..caf5d5810b0 100644
--- a/doc/boa_ast/declaration/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index afb8f8d6483..ccf2017dc8f 100644
--- a/doc/boa_ast/declaration/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/struct.ImportSpecifier.html b/doc/boa_ast/declaration/struct.ImportSpecifier.html
index d581f08d9c9..35490075bbb 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index 4184d498e56..4d3ebff2882 100644
--- a/doc/boa_ast/declaration/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.LocalExportEntry.html b/doc/boa_ast/declaration/struct.LocalExportEntry.html
index 589e9160875..87f363b7431 100644
--- a/doc/boa_ast/declaration/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.ModuleSpecifier.html b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
index dc014326156..a74cb428ea2 100644
--- a/doc/boa_ast/declaration/struct.ModuleSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
@@ -1,13 +1,13 @@
ModuleSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ModuleSpecifier
source · pub struct ModuleSpecifier {
- module: Sym,
+ module: Sym,
}
Expand description
Module specifier.
This is equivalent to the ModuleSpecifier
production.
-Fields§
§module: Sym
Implementations§
source§impl ModuleSpecifier
Fields§
§module: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ModuleSpecifier
source§fn clone(&self) -> ModuleSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ModuleSpecifier
source§impl<'de> Deserialize<'de> for ModuleSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleSpecifier
source§impl VisitWith for ModuleSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
index f7877a29a20..3c43d59061f 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration::import - Rust Struct boa_ast::declaration::import::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 4146c357722..1d54dfd9954 100644
--- a/doc/boa_ast/declaration/struct.ExportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ExportSpecifier.html
@@ -1,15 +1,15 @@
ExportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
-sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
+sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an Unstructured
this type
diff --git a/doc/boa_ast/declaration/struct.ImportDeclaration.html b/doc/boa_ast/declaration/struct.ImportDeclaration.html
index 594fd6fad5e..caf5d5810b0 100644
--- a/doc/boa_ast/declaration/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index afb8f8d6483..ccf2017dc8f 100644
--- a/doc/boa_ast/declaration/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/struct.ImportSpecifier.html b/doc/boa_ast/declaration/struct.ImportSpecifier.html
index d581f08d9c9..35490075bbb 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index 4184d498e56..4d3ebff2882 100644
--- a/doc/boa_ast/declaration/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.LocalExportEntry.html b/doc/boa_ast/declaration/struct.LocalExportEntry.html
index 589e9160875..87f363b7431 100644
--- a/doc/boa_ast/declaration/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.ModuleSpecifier.html b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
index dc014326156..a74cb428ea2 100644
--- a/doc/boa_ast/declaration/struct.ModuleSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
@@ -1,13 +1,13 @@
ModuleSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ModuleSpecifier
source · pub struct ModuleSpecifier {
- module: Sym,
+ module: Sym,
}
Expand description
Module specifier.
This is equivalent to the ModuleSpecifier
production.
-Fields§
§module: Sym
Implementations§
source§impl ModuleSpecifier
Fields§
§module: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ModuleSpecifier
source§fn clone(&self) -> ModuleSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ModuleSpecifier
source§impl<'de> Deserialize<'de> for ModuleSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleSpecifier
source§impl VisitWith for ModuleSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
Struct boa_ast::declaration::import::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
pub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
pub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
pub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
pub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
pub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
fn clone(&self) -> ImportSpecifier
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImportSpecifier
impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,
source§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
source§impl PartialEq<ImportSpecifier> for ImportSpecifier
impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
fn eq(&self, other: &ImportSpecifier) -> bool
self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,source§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
source§impl PartialEq<ImportSpecifier> for ImportSpecifier
impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
fn eq(&self, other: &ImportSpecifier) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 4146c357722..1d54dfd9954 100644
--- a/doc/boa_ast/declaration/struct.ExportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ExportSpecifier.html
@@ -1,15 +1,15 @@
ExportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
-sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
+sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an Unstructured
this type
diff --git a/doc/boa_ast/declaration/struct.ImportDeclaration.html b/doc/boa_ast/declaration/struct.ImportDeclaration.html
index 594fd6fad5e..caf5d5810b0 100644
--- a/doc/boa_ast/declaration/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index afb8f8d6483..ccf2017dc8f 100644
--- a/doc/boa_ast/declaration/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/struct.ImportSpecifier.html b/doc/boa_ast/declaration/struct.ImportSpecifier.html
index d581f08d9c9..35490075bbb 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index 4184d498e56..4d3ebff2882 100644
--- a/doc/boa_ast/declaration/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.LocalExportEntry.html b/doc/boa_ast/declaration/struct.LocalExportEntry.html
index 589e9160875..87f363b7431 100644
--- a/doc/boa_ast/declaration/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.ModuleSpecifier.html b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
index dc014326156..a74cb428ea2 100644
--- a/doc/boa_ast/declaration/struct.ModuleSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
@@ -1,13 +1,13 @@
ModuleSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ModuleSpecifier
source · pub struct ModuleSpecifier {
- module: Sym,
+ module: Sym,
}
Expand description
Module specifier.
This is equivalent to the ModuleSpecifier
production.
-Fields§
§module: Sym
Implementations§
source§impl ModuleSpecifier
Fields§
§module: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ModuleSpecifier
source§fn clone(&self) -> ModuleSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ModuleSpecifier
source§impl<'de> Deserialize<'de> for ModuleSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleSpecifier
source§impl VisitWith for ModuleSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 4146c357722..1d54dfd9954 100644
--- a/doc/boa_ast/declaration/struct.ExportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ExportSpecifier.html
@@ -1,15 +1,15 @@
ExportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
-sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
+sourcepub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an Unstructured
this type
diff --git a/doc/boa_ast/declaration/struct.ImportDeclaration.html b/doc/boa_ast/declaration/struct.ImportDeclaration.html
index 594fd6fad5e..caf5d5810b0 100644
--- a/doc/boa_ast/declaration/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index afb8f8d6483..ccf2017dc8f 100644
--- a/doc/boa_ast/declaration/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/struct.ImportSpecifier.html b/doc/boa_ast/declaration/struct.ImportSpecifier.html
index d581f08d9c9..35490075bbb 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index 4184d498e56..4d3ebff2882 100644
--- a/doc/boa_ast/declaration/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.LocalExportEntry.html b/doc/boa_ast/declaration/struct.LocalExportEntry.html
index 589e9160875..87f363b7431 100644
--- a/doc/boa_ast/declaration/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.ModuleSpecifier.html b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
index dc014326156..a74cb428ea2 100644
--- a/doc/boa_ast/declaration/struct.ModuleSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
@@ -1,13 +1,13 @@
ModuleSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ModuleSpecifier
source · pub struct ModuleSpecifier {
- module: Sym,
+ module: Sym,
}
Expand description
Module specifier.
This is equivalent to the ModuleSpecifier
production.
-Fields§
§module: Sym
Implementations§
source§impl ModuleSpecifier
Fields§
§module: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ModuleSpecifier
source§fn clone(&self) -> ModuleSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ModuleSpecifier
source§impl<'de> Deserialize<'de> for ModuleSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleSpecifier
source§impl VisitWith for ModuleSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
Struct boa_ast::declaration::ExportSpecifier
source · pub struct ExportSpecifier {
- alias: Sym,
- private_name: Sym,
+ alias: Sym,
+ private_name: Sym,
string_literal: bool,
}
Expand description
Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
pub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
sourcepub const fn private_name(self) -> Sym
pub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
+Fields§
§alias: Sym
§private_name: Sym
§string_literal: bool
Implementations§
source§impl ExportSpecifier
impl ExportSpecifier
sourcepub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
pub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self
Creates a new ExportSpecifier
.
sourcepub const fn private_name(self) -> Sym
pub const fn private_name(self) -> Sym
Gets the private name of the export inside the module.
sourcepub const fn string_literal(&self) -> bool
pub const fn string_literal(&self) -> bool
Returns true
if the private name of the specifier was a StringLiteral
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
impl<'arbitrary> Arbitrary<'arbitrary> for ExportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Self
from the entirety of the given
unstructured data. Read moresource§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Unstructured
this type
diff --git a/doc/boa_ast/declaration/struct.ImportDeclaration.html b/doc/boa_ast/declaration/struct.ImportDeclaration.html
index 594fd6fad5e..caf5d5810b0 100644
--- a/doc/boa_ast/declaration/struct.ImportDeclaration.html
+++ b/doc/boa_ast/declaration/struct.ImportDeclaration.html
@@ -19,7 +19,7 @@
sourcepub const fn specifier(&self) -> ModuleSpecifier
pub const fn specifier(&self) -> ModuleSpecifier
Gets the module specifier of the import declaration.
sourcepub const fn kind(&self) -> &ImportKind
pub const fn kind(&self) -> &ImportKind
Gets the import kind of the import declaration
Trait Implementations§
source§impl Clone for ImportDeclaration
impl Clone for ImportDeclaration
source§fn clone(&self) -> ImportDeclaration
fn clone(&self) -> ImportDeclaration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImportDeclaration
impl Debug for ImportDeclaration
source§impl<'de> Deserialize<'de> for ImportDeclaration
impl<'de> Deserialize<'de> for ImportDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,
source§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
source§impl PartialEq<ImportDeclaration> for ImportDeclaration
impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
fn eq(&self, other: &ImportDeclaration) -> bool
self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,source§impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>
source§fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
fn from(node: &'a ImportDeclaration) -> NodeRef<'a>
source§impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>
source§impl PartialEq<ImportDeclaration> for ImportDeclaration
impl PartialEq<ImportDeclaration> for ImportDeclaration
source§fn eq(&self, other: &ImportDeclaration) -> bool
fn eq(&self, other: &ImportDeclaration) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportDeclaration
impl Serialize for ImportDeclaration
source§impl VisitWith for ImportDeclaration
impl VisitWith for ImportDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index afb8f8d6483..ccf2017dc8f 100644
--- a/doc/boa_ast/declaration/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/struct.ImportSpecifier.html b/doc/boa_ast/declaration/struct.ImportSpecifier.html
index d581f08d9c9..35490075bbb 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index 4184d498e56..4d3ebff2882 100644
--- a/doc/boa_ast/declaration/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.LocalExportEntry.html b/doc/boa_ast/declaration/struct.LocalExportEntry.html
index 589e9160875..87f363b7431 100644
--- a/doc/boa_ast/declaration/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.ModuleSpecifier.html b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
index dc014326156..a74cb428ea2 100644
--- a/doc/boa_ast/declaration/struct.ModuleSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
@@ -1,13 +1,13 @@
ModuleSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ModuleSpecifier
source · pub struct ModuleSpecifier {
- module: Sym,
+ module: Sym,
}
Expand description
Module specifier.
This is equivalent to the ModuleSpecifier
production.
-Fields§
§module: Sym
Implementations§
source§impl ModuleSpecifier
Fields§
§module: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ModuleSpecifier
source§fn clone(&self) -> ModuleSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ModuleSpecifier
source§impl<'de> Deserialize<'de> for ModuleSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleSpecifier
source§impl VisitWith for ModuleSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index afb8f8d6483..ccf2017dc8f 100644
--- a/doc/boa_ast/declaration/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/struct.ImportEntry.html
@@ -1,14 +1,14 @@
ImportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
-Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
Creates a new ImportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportEntry
source§impl Copy for ImportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for ImportEntry
§impl Send for ImportEntry
§impl Sync for ImportEntry
§impl Unpin for ImportEntry
§impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/struct.ImportSpecifier.html b/doc/boa_ast/declaration/struct.ImportSpecifier.html
index d581f08d9c9..35490075bbb 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index 4184d498e56..4d3ebff2882 100644
--- a/doc/boa_ast/declaration/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.LocalExportEntry.html b/doc/boa_ast/declaration/struct.LocalExportEntry.html
index 589e9160875..87f363b7431 100644
--- a/doc/boa_ast/declaration/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.ModuleSpecifier.html b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
index dc014326156..a74cb428ea2 100644
--- a/doc/boa_ast/declaration/struct.ModuleSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
@@ -1,13 +1,13 @@
ModuleSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ModuleSpecifier
source · pub struct ModuleSpecifier {
- module: Sym,
+ module: Sym,
}
Expand description
Module specifier.
This is equivalent to the ModuleSpecifier
production.
-Fields§
§module: Sym
Implementations§
source§impl ModuleSpecifier
Fields§
§module: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ModuleSpecifier
source§fn clone(&self) -> ModuleSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ModuleSpecifier
source§impl<'de> Deserialize<'de> for ModuleSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleSpecifier
source§impl VisitWith for ModuleSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
Struct boa_ast::declaration::ImportEntry
source · pub struct ImportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier,
}
Expand description
ImportEntry
record.
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
Fields§
§module_request: Sym
§import_name: ImportName
§local_name: Identifier
Implementations§
source§impl ImportEntry
impl ImportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ImportName,
local_name: Identifier
) -> Self
pub const fn new( + module_request: Sym, import_name: ImportName, local_name: Identifier ) -> Self
Creates a new ImportEntry
.
sourcepub const fn module_request(&self) -> Sym
pub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
+sourcepub const fn module_request(&self) -> Sym
pub const fn module_request(&self) -> Sym
Gets the module from where the binding must be imported.
sourcepub const fn import_name(&self) -> ImportName
pub const fn import_name(&self) -> ImportName
Gets the import name of the imported binding.
sourcepub const fn local_name(&self) -> Identifier
pub const fn local_name(&self) -> Identifier
Gets the local name of the imported binding.
Trait Implementations§
source§impl Clone for ImportEntry
impl Clone for ImportEntry
source§fn clone(&self) -> ImportEntry
fn clone(&self) -> ImportEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImportEntry
impl Debug for ImportEntry
impl Copy for ImportEntry
Auto Trait Implementations§
impl RefUnwindSafe for ImportEntry
impl Send for ImportEntry
impl Sync for ImportEntry
impl Unpin for ImportEntry
impl UnwindSafe for ImportEntry
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/struct.ImportSpecifier.html b/doc/boa_ast/declaration/struct.ImportSpecifier.html
index d581f08d9c9..35490075bbb 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index 4184d498e56..4d3ebff2882 100644
--- a/doc/boa_ast/declaration/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.LocalExportEntry.html b/doc/boa_ast/declaration/struct.LocalExportEntry.html
index 589e9160875..87f363b7431 100644
--- a/doc/boa_ast/declaration/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.ModuleSpecifier.html b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
index dc014326156..a74cb428ea2 100644
--- a/doc/boa_ast/declaration/struct.ModuleSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
@@ -1,13 +1,13 @@
ModuleSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ModuleSpecifier
source · pub struct ModuleSpecifier {
- module: Sym,
+ module: Sym,
}
Expand description
Module specifier.
This is equivalent to the ModuleSpecifier
production.
-Fields§
§module: Sym
Implementations§
source§impl ModuleSpecifier
Fields§
§module: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ModuleSpecifier
source§fn clone(&self) -> ModuleSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ModuleSpecifier
source§impl<'de> Deserialize<'de> for ModuleSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleSpecifier
source§impl VisitWith for ModuleSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/struct.ImportSpecifier.html b/doc/boa_ast/declaration/struct.ImportSpecifier.html
index d581f08d9c9..35490075bbb 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,18 +1,18 @@
ImportSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
+Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index 4184d498e56..4d3ebff2882 100644
--- a/doc/boa_ast/declaration/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.LocalExportEntry.html b/doc/boa_ast/declaration/struct.LocalExportEntry.html
index 589e9160875..87f363b7431 100644
--- a/doc/boa_ast/declaration/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.ModuleSpecifier.html b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
index dc014326156..a74cb428ea2 100644
--- a/doc/boa_ast/declaration/struct.ModuleSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
@@ -1,13 +1,13 @@
ModuleSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ModuleSpecifier
source · pub struct ModuleSpecifier {
- module: Sym,
+ module: Sym,
}
Expand description
Module specifier.
This is equivalent to the ModuleSpecifier
production.
-Fields§
§module: Sym
Implementations§
source§impl ModuleSpecifier
Fields§
§module: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ModuleSpecifier
source§fn clone(&self) -> ModuleSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ModuleSpecifier
source§impl<'de> Deserialize<'de> for ModuleSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleSpecifier
source§impl VisitWith for ModuleSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
Struct boa_ast::declaration::ImportSpecifier
source · pub struct ImportSpecifier {
binding: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
pub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
Fields§
§binding: Identifier
§export_name: Sym
Implementations§
source§impl ImportSpecifier
impl ImportSpecifier
sourcepub const fn new(binding: Identifier, export_name: Sym) -> Self
pub const fn new(binding: Identifier, export_name: Sym) -> Self
Creates a new ImportSpecifier
.
sourcepub const fn binding(self) -> Identifier
pub const fn binding(self) -> Identifier
Gets the binding of the import specifier.
-sourcepub const fn export_name(self) -> Sym
pub const fn export_name(self) -> Sym
Gets the optional export name of the import.
+sourcepub const fn export_name(self) -> Sym
pub const fn export_name(self) -> Sym
Gets the optional export name of the import.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
impl<'arbitrary> Arbitrary<'arbitrary> for ImportSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ImportSpecifier
impl Clone for ImportSpecifier
source§fn clone(&self) -> ImportSpecifier
fn clone(&self) -> ImportSpecifier
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImportSpecifier
impl Debug for ImportSpecifier
source§impl<'de> Deserialize<'de> for ImportSpecifier
impl<'de> Deserialize<'de> for ImportSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,
source§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
source§impl PartialEq<ImportSpecifier> for ImportSpecifier
impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
fn eq(&self, other: &ImportSpecifier) -> bool
self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,source§impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>
source§fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
fn from(node: &'a ImportSpecifier) -> NodeRef<'a>
source§impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>
source§impl PartialEq<ImportSpecifier> for ImportSpecifier
impl PartialEq<ImportSpecifier> for ImportSpecifier
source§fn eq(&self, other: &ImportSpecifier) -> bool
fn eq(&self, other: &ImportSpecifier) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportSpecifier
impl Serialize for ImportSpecifier
source§impl VisitWith for ImportSpecifier
impl VisitWith for ImportSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index 4184d498e56..4d3ebff2882 100644
--- a/doc/boa_ast/declaration/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.LocalExportEntry.html b/doc/boa_ast/declaration/struct.LocalExportEntry.html
index 589e9160875..87f363b7431 100644
--- a/doc/boa_ast/declaration/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.ModuleSpecifier.html b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
index dc014326156..a74cb428ea2 100644
--- a/doc/boa_ast/declaration/struct.ModuleSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
@@ -1,13 +1,13 @@
ModuleSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ModuleSpecifier
source · pub struct ModuleSpecifier {
- module: Sym,
+ module: Sym,
}
Expand description
Module specifier.
This is equivalent to the ModuleSpecifier
production.
-Fields§
§module: Sym
Implementations§
source§impl ModuleSpecifier
Fields§
§module: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ModuleSpecifier
source§fn clone(&self) -> ModuleSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ModuleSpecifier
source§impl<'de> Deserialize<'de> for ModuleSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleSpecifier
source§impl VisitWith for ModuleSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index 4184d498e56..4d3ebff2882 100644
--- a/doc/boa_ast/declaration/struct.IndirectExportEntry.html
+++ b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
@@ -1,16 +1,16 @@
IndirectExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
Creates a new IndirectExportEntry
.
-sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for IndirectExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for IndirectExportEntry
§impl Send for IndirectExportEntry
§impl Sync for IndirectExportEntry
§impl Unpin for IndirectExportEntry
§impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.LocalExportEntry.html b/doc/boa_ast/declaration/struct.LocalExportEntry.html
index 589e9160875..87f363b7431 100644
--- a/doc/boa_ast/declaration/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.ModuleSpecifier.html b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
index dc014326156..a74cb428ea2 100644
--- a/doc/boa_ast/declaration/struct.ModuleSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
@@ -1,13 +1,13 @@
ModuleSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ModuleSpecifier
source · pub struct ModuleSpecifier {
- module: Sym,
+ module: Sym,
}
Expand description
Module specifier.
This is equivalent to the ModuleSpecifier
production.
-Fields§
§module: Sym
Implementations§
source§impl ModuleSpecifier
Fields§
§module: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ModuleSpecifier
source§fn clone(&self) -> ModuleSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ModuleSpecifier
source§impl<'de> Deserialize<'de> for ModuleSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleSpecifier
source§impl VisitWith for ModuleSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
Struct boa_ast::declaration::IndirectExportEntry
source · pub struct IndirectExportEntry {
- module_request: Sym,
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A reexported export entry.
-Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
Fields§
§module_request: Sym
§import_name: ReExportImportName
§export_name: Sym
Implementations§
source§impl IndirectExportEntry
impl IndirectExportEntry
sourcepub const fn new(
+ module_request: Sym,
import_name: ReExportImportName,
- export_name: Sym
+ export_name: Sym
) -> Self
pub const fn new( + module_request: Sym, import_name: ReExportImportName, - export_name: Sym + export_name: Sym ) -> Self
Creates a new IndirectExportEntry
.
sourcepub const fn module_request(&self) -> Sym
pub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
+sourcepub const fn module_request(&self) -> Sym
pub const fn module_request(&self) -> Sym
Gets the module from where this entry reexports.
sourcepub const fn import_name(&self) -> ReExportImportName
pub const fn import_name(&self) -> ReExportImportName
Gets the import name of the reexport.
-sourcepub const fn export_name(&self) -> Sym
pub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
+sourcepub const fn export_name(&self) -> Sym
pub const fn export_name(&self) -> Sym
Gets the public alias of the reexport.
Trait Implementations§
source§impl Clone for IndirectExportEntry
impl Clone for IndirectExportEntry
source§fn clone(&self) -> IndirectExportEntry
fn clone(&self) -> IndirectExportEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IndirectExportEntry
impl Debug for IndirectExportEntry
source§impl From<IndirectExportEntry> for ExportEntry
impl From<IndirectExportEntry> for ExportEntry
source§fn from(v: IndirectExportEntry) -> Self
fn from(v: IndirectExportEntry) -> Self
impl Copy for IndirectExportEntry
Auto Trait Implementations§
impl RefUnwindSafe for IndirectExportEntry
impl Send for IndirectExportEntry
impl Sync for IndirectExportEntry
impl Unpin for IndirectExportEntry
impl UnwindSafe for IndirectExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.LocalExportEntry.html b/doc/boa_ast/declaration/struct.LocalExportEntry.html
index 589e9160875..87f363b7431 100644
--- a/doc/boa_ast/declaration/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.ModuleSpecifier.html b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
index dc014326156..a74cb428ea2 100644
--- a/doc/boa_ast/declaration/struct.ModuleSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
@@ -1,13 +1,13 @@
ModuleSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ModuleSpecifier
source · pub struct ModuleSpecifier {
- module: Sym,
+ module: Sym,
}
Expand description
Module specifier.
This is equivalent to the ModuleSpecifier
production.
-Fields§
§module: Sym
Implementations§
source§impl ModuleSpecifier
Fields§
§module: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ModuleSpecifier
source§fn clone(&self) -> ModuleSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ModuleSpecifier
source§impl<'de> Deserialize<'de> for ModuleSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleSpecifier
source§impl VisitWith for ModuleSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.LocalExportEntry.html b/doc/boa_ast/declaration/struct.LocalExportEntry.html
index 589e9160875..87f363b7431 100644
--- a/doc/boa_ast/declaration/struct.LocalExportEntry.html
+++ b/doc/boa_ast/declaration/struct.LocalExportEntry.html
@@ -1,10 +1,10 @@
LocalExportEntry in boa_ast::declaration - Rust Struct boa_ast::declaration::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
+Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
Converts to this type from the input type.source§impl Copy for LocalExportEntry
Auto Trait Implementations§
§impl RefUnwindSafe for LocalExportEntry
§impl Send for LocalExportEntry
§impl Sync for LocalExportEntry
§impl Unpin for LocalExportEntry
§impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.ModuleSpecifier.html b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
index dc014326156..a74cb428ea2 100644
--- a/doc/boa_ast/declaration/struct.ModuleSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
@@ -1,13 +1,13 @@
ModuleSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ModuleSpecifier
source · pub struct ModuleSpecifier {
- module: Sym,
+ module: Sym,
}
Expand description
Module specifier.
This is equivalent to the ModuleSpecifier
production.
-Fields§
§module: Sym
Implementations§
source§impl ModuleSpecifier
Fields§
§module: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ModuleSpecifier
source§fn clone(&self) -> ModuleSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ModuleSpecifier
source§impl<'de> Deserialize<'de> for ModuleSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleSpecifier
source§impl VisitWith for ModuleSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
Struct boa_ast::declaration::LocalExportEntry
source · pub struct LocalExportEntry {
local_name: Identifier,
- export_name: Sym,
+ export_name: Sym,
}
Expand description
A local export entry
-Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
pub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
Fields§
§local_name: Identifier
§export_name: Sym
Implementations§
source§impl LocalExportEntry
impl LocalExportEntry
sourcepub const fn new(local_name: Identifier, export_name: Sym) -> Self
pub const fn new(local_name: Identifier, export_name: Sym) -> Self
Creates a new LocalExportEntry
.
sourcepub const fn local_name(&self) -> Identifier
pub const fn local_name(&self) -> Identifier
Gets the local name of this export entry.
-sourcepub const fn export_name(&self) -> Sym
pub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
+sourcepub const fn export_name(&self) -> Sym
pub const fn export_name(&self) -> Sym
Gets the export name of this export entry.
Trait Implementations§
source§impl Clone for LocalExportEntry
impl Clone for LocalExportEntry
source§fn clone(&self) -> LocalExportEntry
fn clone(&self) -> LocalExportEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LocalExportEntry
impl Debug for LocalExportEntry
source§impl From<LocalExportEntry> for ExportEntry
impl From<LocalExportEntry> for ExportEntry
source§fn from(v: LocalExportEntry) -> Self
fn from(v: LocalExportEntry) -> Self
impl Copy for LocalExportEntry
Auto Trait Implementations§
impl RefUnwindSafe for LocalExportEntry
impl Send for LocalExportEntry
impl Sync for LocalExportEntry
impl Unpin for LocalExportEntry
impl UnwindSafe for LocalExportEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.ModuleSpecifier.html b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
index dc014326156..a74cb428ea2 100644
--- a/doc/boa_ast/declaration/struct.ModuleSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
@@ -1,13 +1,13 @@
ModuleSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ModuleSpecifier
source · pub struct ModuleSpecifier {
- module: Sym,
+ module: Sym,
}
Expand description
Module specifier.
This is equivalent to the ModuleSpecifier
production.
-Fields§
§module: Sym
Implementations§
source§impl ModuleSpecifier
Fields§
§module: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ModuleSpecifier
source§fn clone(&self) -> ModuleSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ModuleSpecifier
source§impl<'de> Deserialize<'de> for ModuleSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleSpecifier
source§impl VisitWith for ModuleSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.ModuleSpecifier.html b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
index dc014326156..a74cb428ea2 100644
--- a/doc/boa_ast/declaration/struct.ModuleSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ModuleSpecifier.html
@@ -1,13 +1,13 @@
ModuleSpecifier in boa_ast::declaration - Rust Struct boa_ast::declaration::ModuleSpecifier
source · pub struct ModuleSpecifier {
- module: Sym,
+ module: Sym,
}
Expand description
Module specifier.
This is equivalent to the ModuleSpecifier
production.
-Fields§
§module: Sym
Implementations§
source§impl ModuleSpecifier
Fields§
§module: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ModuleSpecifier
source§fn clone(&self) -> ModuleSpecifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ModuleSpecifier
source§impl<'de> Deserialize<'de> for ModuleSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleSpecifier
source§impl VisitWith for ModuleSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
Struct boa_ast::declaration::ModuleSpecifier
source · pub struct ModuleSpecifier {
- module: Sym,
+ module: Sym,
}
Expand description
Module specifier.
This is equivalent to the ModuleSpecifier
production.
Fields§
§module: Sym
Implementations§
source§impl ModuleSpecifier
impl ModuleSpecifier
Fields§
§module: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
impl<'arbitrary> Arbitrary<'arbitrary> for ModuleSpecifier
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ModuleSpecifier
impl Clone for ModuleSpecifier
source§fn clone(&self) -> ModuleSpecifier
fn clone(&self) -> ModuleSpecifier
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ModuleSpecifier
impl Debug for ModuleSpecifier
source§impl<'de> Deserialize<'de> for ModuleSpecifier
impl<'de> Deserialize<'de> for ModuleSpecifier
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,
source§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
source§impl From<Sym> for ModuleSpecifier
impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
fn eq(&self, other: &ModuleSpecifier) -> bool
self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,source§impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>
source§fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
fn from(node: &'a ModuleSpecifier) -> NodeRef<'a>
source§impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>
source§fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
fn from(node: &'a mut ModuleSpecifier) -> NodeRefMut<'a>
source§impl From<Sym> for ModuleSpecifier
impl From<Sym> for ModuleSpecifier
source§impl PartialEq<ModuleSpecifier> for ModuleSpecifier
impl PartialEq<ModuleSpecifier> for ModuleSpecifier
source§fn eq(&self, other: &ModuleSpecifier) -> bool
fn eq(&self, other: &ModuleSpecifier) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModuleSpecifier
impl Serialize for ModuleSpecifier
source§impl VisitWith for ModuleSpecifier
impl VisitWith for ModuleSpecifier
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/declaration/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
index 4536d72385a..3622f666938 100644
--- a/doc/boa_ast/declaration/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration - Rust Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Copy for TryFromVariableListError
source§impl Eq for TryFromVariableListError
source§impl StructuralEq for TryFromVariableListError
source§impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
§impl RefUnwindSafe for TryFromVariableListError
§impl Send for TryFromVariableListError
§impl Sync for TryFromVariableListError
§impl Unpin for TryFromVariableListError
§impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
Converts to this type from the input type.source§impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
source§fn clone(&self) -> VariableList
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
source§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
Converts to this type from the input type.source§impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
Converts to this type from the input type.source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
Visit this node with the provided visitor.source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
Struct boa_ast::declaration::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
fn clone(&self) -> TryFromVariableListError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TryFromVariableListError
impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
fn eq(&self, other: &TryFromVariableListError) -> bool
self
and other
values to be equal, and is used
+Tuple Fields§
§0: ()
Trait Implementations§
source§impl Clone for TryFromVariableListError
impl Clone for TryFromVariableListError
source§fn clone(&self) -> TryFromVariableListError
fn clone(&self) -> TryFromVariableListError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TryFromVariableListError
impl Debug for TryFromVariableListError
source§impl Display for TryFromVariableListError
impl Display for TryFromVariableListError
source§impl PartialEq<TryFromVariableListError> for TryFromVariableListError
impl PartialEq<TryFromVariableListError> for TryFromVariableListError
source§fn eq(&self, other: &TryFromVariableListError) -> bool
fn eq(&self, other: &TryFromVariableListError) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for TryFromVariableListError
impl Eq for TryFromVariableListError
impl StructuralEq for TryFromVariableListError
impl StructuralPartialEq for TryFromVariableListError
Auto Trait Implementations§
impl RefUnwindSafe for TryFromVariableListError
impl Send for TryFromVariableListError
impl Sync for TryFromVariableListError
impl Unpin for TryFromVariableListError
impl UnwindSafe for TryFromVariableListError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index e4137fb1c4a..88365eac54d 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -18,10 +18,10 @@
impl<T> Borrow<T> for Twhere diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html index e4137fb1c4a..88365eac54d 100644 --- a/doc/boa_ast/declaration/struct.VarDeclaration.html +++ b/doc/boa_ast/declaration/struct.VarDeclaration.html @@ -18,10 +18,10 @@
Tuple Fields§
§0: VariableList
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
impl<'arbitrary> Arbitrary<'arbitrary> for VarDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for VarDeclaration
impl Clone for VarDeclaration
source§fn clone(&self) -> VarDeclaration
fn clone(&self) -> VarDeclaration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VarDeclaration
impl Debug for VarDeclaration
source§impl<'de> Deserialize<'de> for VarDeclaration
impl<'de> Deserialize<'de> for VarDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,
source§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
fn from(node: &'a VarDeclaration) -> NodeRef<'a>
source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
source§impl From<VarDeclaration> for ForLoopInitializer
impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
fn from(list: VarDeclaration) -> Self
source§impl From<VarDeclaration> for Statement
impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
fn from(var: VarDeclaration) -> Self
source§impl PartialEq<VarDeclaration> for VarDeclaration
impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
fn eq(&self, other: &VarDeclaration) -> bool
self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,source§impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
impl<'a> From<&'a VarDeclaration> for NodeRef<'a>
source§fn from(node: &'a VarDeclaration) -> NodeRef<'a>
fn from(node: &'a VarDeclaration) -> NodeRef<'a>
source§impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
fn from(node: &'a mut VarDeclaration) -> NodeRefMut<'a>
source§impl From<VarDeclaration> for ForLoopInitializer
impl From<VarDeclaration> for ForLoopInitializer
source§fn from(list: VarDeclaration) -> Self
fn from(list: VarDeclaration) -> Self
source§impl From<VarDeclaration> for Statement
impl From<VarDeclaration> for Statement
source§fn from(var: VarDeclaration) -> Self
fn from(var: VarDeclaration) -> Self
source§impl PartialEq<VarDeclaration> for VarDeclaration
impl PartialEq<VarDeclaration> for VarDeclaration
source§fn eq(&self, other: &VarDeclaration) -> bool
fn eq(&self, other: &VarDeclaration) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VarDeclaration
impl Serialize for VarDeclaration
source§impl ToInternedString for VarDeclaration
impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for VarDeclaration
impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,
source§impl ToInternedString for VarDeclaration
impl ToInternedString for VarDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for VarDeclaration
impl VisitWith for VarDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,
source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html
index 0cd7331d8c1..9e5570647c0 100644
--- a/doc/boa_ast/declaration/struct.Variable.html
+++ b/doc/boa_ast/declaration/struct.Variable.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/declaration/struct.Variable.html b/doc/boa_ast/declaration/struct.Variable.html index 0cd7331d8c1..9e5570647c0 100644 --- a/doc/boa_ast/declaration/struct.Variable.html +++ b/doc/boa_ast/declaration/struct.Variable.html @@ -21,7 +21,7 @@ __D: Deserializer<'de>,
source§impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
impl<'a> From<&'a mut Variable> for NodeRefMut<'a>
source§fn from(node: &'a mut Variable) -> NodeRefMut<'a>
fn from(node: &'a mut Variable) -> NodeRefMut<'a>
source§impl PartialEq<Variable> for Variable
impl PartialEq<Variable> for Variable
source§impl ToInternedString for Variable
impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for Variable
impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,
source§impl ToInternedString for Variable
impl ToInternedString for Variable
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for Variable
impl VisitWith for Variable
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,
source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html
index 88a4c6dd6a8..952252d8943 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -5,10 +5,10 @@
fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/declaration/struct.VariableList.html b/doc/boa_ast/declaration/struct.VariableList.html index 88a4c6dd6a8..952252d8943 100644 --- a/doc/boa_ast/declaration/struct.VariableList.html +++ b/doc/boa_ast/declaration/struct.VariableList.html @@ -5,10 +5,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
impl<'arbitrary> Arbitrary<'arbitrary> for VariableList
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Self
from the entirety of the given
unstructured data. Read moresource§impl AsRef<[Variable]> for VariableList
impl AsRef<[Variable]> for VariableList
source§impl Clone for VariableList
impl Clone for VariableList
source§fn clone(&self) -> VariableList
fn clone(&self) -> VariableList
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VariableList
impl Debug for VariableList
source§impl<'de> Deserialize<'de> for VariableList
impl<'de> Deserialize<'de> for VariableList
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,
source§impl<'a> From<&'a VariableList> for NodeRef<'a>
impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
fn from(node: &'a VariableList) -> NodeRef<'a>
source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
source§impl PartialEq<VariableList> for VariableList
impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
fn eq(&self, other: &VariableList) -> bool
self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,source§impl<'a> From<&'a VariableList> for NodeRef<'a>
impl<'a> From<&'a VariableList> for NodeRef<'a>
source§fn from(node: &'a VariableList) -> NodeRef<'a>
fn from(node: &'a VariableList) -> NodeRef<'a>
source§impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>
source§fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
fn from(node: &'a mut VariableList) -> NodeRefMut<'a>
source§impl PartialEq<VariableList> for VariableList
impl PartialEq<VariableList> for VariableList
source§fn eq(&self, other: &VariableList) -> bool
fn eq(&self, other: &VariableList) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VariableList
impl Serialize for VariableList
source§impl ToInternedString for VariableList
impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for VariableList
impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,
source§impl ToInternedString for VariableList
impl ToInternedString for VariableList
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for VariableList
impl VisitWith for VariableList
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,
source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html
index a9f3e3906a3..1f5f4150d0e 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -11,10 +11,10 @@
fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/declaration/variable/enum.Binding.html b/doc/boa_ast/declaration/variable/enum.Binding.html index a9f3e3906a3..1f5f4150d0e 100644 --- a/doc/boa_ast/declaration/variable/enum.Binding.html +++ b/doc/boa_ast/declaration/variable/enum.Binding.html @@ -11,10 +11,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Binding
impl<'arbitrary> Arbitrary<'arbitrary> for Binding
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Self
from the entirety of the given
unstructured data. Read moresource§impl<'de> Deserialize<'de> for Binding
impl<'de> Deserialize<'de> for Binding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,
source§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
fn from(node: &'a mut Binding) -> NodeRefMut<'a>
source§impl From<Identifier> for Binding
impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
fn from(id: Identifier) -> Self
source§impl PartialEq<Binding> for Binding
impl PartialEq<Binding> for Binding
source§fn eq(&self, other: &Binding) -> bool
fn eq(&self, other: &Binding) -> bool
self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,source§impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
impl<'a> From<&'a mut Binding> for NodeRefMut<'a>
source§fn from(node: &'a mut Binding) -> NodeRefMut<'a>
fn from(node: &'a mut Binding) -> NodeRefMut<'a>
source§impl From<Identifier> for Binding
impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
fn from(id: Identifier) -> Self
source§impl PartialEq<Binding> for Binding
impl PartialEq<Binding> for Binding
source§impl ToInternedString for Binding
impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for Binding
impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,
source§impl ToInternedString for Binding
impl ToInternedString for Binding
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for Binding
impl VisitWith for Binding
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,
source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
index e9626ae99ec..3afbf4bb408 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -18,10 +18,10 @@
fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html index e9626ae99ec..3afbf4bb408 100644 --- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html +++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html @@ -18,10 +18,10 @@
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
impl<'arbitrary> Arbitrary<'arbitrary> for LexicalDeclaration
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for LexicalDeclaration
impl Clone for LexicalDeclaration
source§fn clone(&self) -> LexicalDeclaration
fn clone(&self) -> LexicalDeclaration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LexicalDeclaration
impl Debug for LexicalDeclaration
source§impl<'de> Deserialize<'de> for LexicalDeclaration
impl<'de> Deserialize<'de> for LexicalDeclaration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,
source§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
source§impl From<LexicalDeclaration> for Declaration
impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
fn from(lex: LexicalDeclaration) -> Self
source§impl From<LexicalDeclaration> for ForLoopInitializer
impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
fn from(list: LexicalDeclaration) -> Self
source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
fn eq(&self, other: &LexicalDeclaration) -> bool
self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,source§impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>
source§fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
fn from(node: &'a LexicalDeclaration) -> NodeRef<'a>
source§impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>
source§fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
fn from(node: &'a mut LexicalDeclaration) -> NodeRefMut<'a>
source§impl From<LexicalDeclaration> for Declaration
impl From<LexicalDeclaration> for Declaration
source§fn from(lex: LexicalDeclaration) -> Self
fn from(lex: LexicalDeclaration) -> Self
source§impl From<LexicalDeclaration> for ForLoopInitializer
impl From<LexicalDeclaration> for ForLoopInitializer
source§fn from(list: LexicalDeclaration) -> Self
fn from(list: LexicalDeclaration) -> Self
source§impl PartialEq<LexicalDeclaration> for LexicalDeclaration
impl PartialEq<LexicalDeclaration> for LexicalDeclaration
source§fn eq(&self, other: &LexicalDeclaration) -> bool
fn eq(&self, other: &LexicalDeclaration) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LexicalDeclaration
impl Serialize for LexicalDeclaration
source§impl ToInternedString for LexicalDeclaration
impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for LexicalDeclaration
impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
+ __S: Serializer,
fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,
source§impl ToInternedString for LexicalDeclaration
impl ToInternedString for LexicalDeclaration
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for LexicalDeclaration
impl VisitWith for LexicalDeclaration
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
V: Visitor<'a>,
fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,
source§fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
index 490d264cc9e..8c45eea2408 100644
--- a/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
+++ b/doc/boa_ast/declaration/variable/struct.TryFromVariableListError.html
@@ -1,5 +1,5 @@
TryFromVariableListError in boa_ast::declaration::variable - Rust Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
-Tuple Fields§
§0: ()
Trait Implementations§
Struct boa_ast::declaration::variable::TryFromVariableListError
source · pub struct TryFromVariableListError(());
Expand description
The error returned by the VariableList::try_from
function.
Tuple Fields§
§0: ()