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
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/enum.ImportName.html b/doc/boa_ast/declaration/enum.ImportName.html
index 3643844cc18..a2e23ba2bdd 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 77fc8c631bc..d7ca2bf62b7 100644
--- a/doc/boa_ast/declaration/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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/enum.ReExportImportName.html b/doc/boa_ast/declaration/enum.ReExportImportName.html
index b0e503f95d7..9d4db216152 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 d3ebcc09c4a..0969c4a9ebe 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.ExportEntry.html b/doc/boa_ast/declaration/export/enum.ExportEntry.html
index 0620561c97f..913b7db1dbd 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
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 619110c8398..199fb70ac42 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 9c714e1bc5d..9859afa738f 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 559f8f7b0a8..7f1ba6dde93 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 7ef2c563c96..bed6eb82a94 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 4108ec9462a..7d4a5564561 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.ImportName.html b/doc/boa_ast/declaration/import/enum.ImportName.html
index ea6348bc3fa..10768d309a3 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.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 1dad4ac5651..0f7f0647227 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§
source§impl ImportEntry
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 a59c6b001b2..65eb8463956 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 785f075906f..6baa3482f79 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.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index 67f384a11da..302c976642f 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§
source§impl ImportEntry
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 910696c9d2a..3810f7c9257 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index f16a4cd3f53..c6570809096 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 896d7066779..02cd09ddca1 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 0ee4a8b0419..6bf218ad6ee 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.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index b7879dd8e13..78c533c1cd1 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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 f3aed932130..377a975463f 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 634d4e63f7c..bf7978a35f6 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -8,7 +8,7 @@
__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 3de0b6fadd3..4f2d6f9fd5c 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -14,7 +14,7 @@
__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 19ea66cf203..8d1eca05b1a 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
index 2a4311902fd..2074f2f4fbf 100644
--- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html
index 880ef695f71..6516cfac103 100644
--- a/doc/boa_ast/declaration/variable/struct.Variable.html
+++ b/doc/boa_ast/declaration/variable/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/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html
index 2b051eb1872..1d5ee5a4350 100644
--- a/doc/boa_ast/declaration/variable/struct.VariableList.html
+++ b/doc/boa_ast/declaration/variable/struct.VariableList.html
@@ -8,7 +8,7 @@
__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/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html
index 886e8e15625..aab9bd1862e 100644
--- a/doc/boa_ast/enum.StatementListItem.html
+++ b/doc/boa_ast/enum.StatementListItem.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
source§fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Declaration> for StatementListItem
source§fn from(decl: Declaration) -> Self
Converts to this type from the input type.source§impl From<Statement> for StatementListItem
source§impl PartialEq<StatementListItem> for StatementListItem
source§fn eq(&self, other: &StatementListItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatementListItem
source§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
indent level of 2 would produce this:
function hello() {
console.log("hello");
@@ -33,8 +33,8 @@
U: From<T>,§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/access/enum.PropertyAccess.html b/doc/boa_ast/expression/access/enum.PropertyAccess.html
index e8c3434e5c6..a1586964d2b 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccess.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccess.html
@@ -13,7 +13,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PropertyAccess> for PropertyAccess
source§fn eq(&self, other: &PropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccess
source§impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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 PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - Rust
impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/enum.ImportName.html b/doc/boa_ast/declaration/enum.ImportName.html
index 3643844cc18..a2e23ba2bdd 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 77fc8c631bc..d7ca2bf62b7 100644
--- a/doc/boa_ast/declaration/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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/enum.ReExportImportName.html b/doc/boa_ast/declaration/enum.ReExportImportName.html
index b0e503f95d7..9d4db216152 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 d3ebcc09c4a..0969c4a9ebe 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.ExportEntry.html b/doc/boa_ast/declaration/export/enum.ExportEntry.html
index 0620561c97f..913b7db1dbd 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
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 619110c8398..199fb70ac42 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 9c714e1bc5d..9859afa738f 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 559f8f7b0a8..7f1ba6dde93 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 7ef2c563c96..bed6eb82a94 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 4108ec9462a..7d4a5564561 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.ImportName.html b/doc/boa_ast/declaration/import/enum.ImportName.html
index ea6348bc3fa..10768d309a3 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.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 1dad4ac5651..0f7f0647227 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§
source§impl ImportEntry
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 a59c6b001b2..65eb8463956 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 785f075906f..6baa3482f79 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.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index 67f384a11da..302c976642f 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§
source§impl ImportEntry
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 910696c9d2a..3810f7c9257 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index f16a4cd3f53..c6570809096 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 896d7066779..02cd09ddca1 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 0ee4a8b0419..6bf218ad6ee 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.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index b7879dd8e13..78c533c1cd1 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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 f3aed932130..377a975463f 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 634d4e63f7c..bf7978a35f6 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -8,7 +8,7 @@
__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 3de0b6fadd3..4f2d6f9fd5c 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -14,7 +14,7 @@
__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 19ea66cf203..8d1eca05b1a 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
index 2a4311902fd..2074f2f4fbf 100644
--- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html
index 880ef695f71..6516cfac103 100644
--- a/doc/boa_ast/declaration/variable/struct.Variable.html
+++ b/doc/boa_ast/declaration/variable/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/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html
index 2b051eb1872..1d5ee5a4350 100644
--- a/doc/boa_ast/declaration/variable/struct.VariableList.html
+++ b/doc/boa_ast/declaration/variable/struct.VariableList.html
@@ -8,7 +8,7 @@
__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/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html
index 886e8e15625..aab9bd1862e 100644
--- a/doc/boa_ast/enum.StatementListItem.html
+++ b/doc/boa_ast/enum.StatementListItem.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
source§fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Declaration> for StatementListItem
source§fn from(decl: Declaration) -> Self
Converts to this type from the input type.source§impl From<Statement> for StatementListItem
source§impl PartialEq<StatementListItem> for StatementListItem
source§fn eq(&self, other: &StatementListItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatementListItem
source§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
indent level of 2 would produce this:
function hello() {
console.log("hello");
@@ -33,8 +33,8 @@
U: From<T>,§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/access/enum.PropertyAccess.html b/doc/boa_ast/expression/access/enum.PropertyAccess.html
index e8c3434e5c6..a1586964d2b 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccess.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccess.html
@@ -13,7 +13,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PropertyAccess> for PropertyAccess
source§fn eq(&self, other: &PropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccess
source§impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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 PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - 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
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 77fc8c631bc..d7ca2bf62b7 100644
--- a/doc/boa_ast/declaration/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
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 77fc8c631bc..d7ca2bf62b7 100644 --- a/doc/boa_ast/declaration/enum.LexicalDeclaration.html +++ b/doc/boa_ast/declaration/enum.LexicalDeclaration.html @@ -21,7 +21,7 @@ __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 b0e503f95d7..9d4db216152 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 d3ebcc09c4a..0969c4a9ebe 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.ExportEntry.html b/doc/boa_ast/declaration/export/enum.ExportEntry.html
index 0620561c97f..913b7db1dbd 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
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 619110c8398..199fb70ac42 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 9c714e1bc5d..9859afa738f 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 559f8f7b0a8..7f1ba6dde93 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 7ef2c563c96..bed6eb82a94 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 4108ec9462a..7d4a5564561 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.ImportName.html b/doc/boa_ast/declaration/import/enum.ImportName.html
index ea6348bc3fa..10768d309a3 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.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 1dad4ac5651..0f7f0647227 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§
source§impl ImportEntry
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 a59c6b001b2..65eb8463956 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 785f075906f..6baa3482f79 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.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index 67f384a11da..302c976642f 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§
source§impl ImportEntry
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 910696c9d2a..3810f7c9257 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index f16a4cd3f53..c6570809096 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 896d7066779..02cd09ddca1 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 0ee4a8b0419..6bf218ad6ee 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.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index b7879dd8e13..78c533c1cd1 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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 f3aed932130..377a975463f 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 634d4e63f7c..bf7978a35f6 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -8,7 +8,7 @@
__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 3de0b6fadd3..4f2d6f9fd5c 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -14,7 +14,7 @@
__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 19ea66cf203..8d1eca05b1a 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
index 2a4311902fd..2074f2f4fbf 100644
--- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html
index 880ef695f71..6516cfac103 100644
--- a/doc/boa_ast/declaration/variable/struct.Variable.html
+++ b/doc/boa_ast/declaration/variable/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/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html
index 2b051eb1872..1d5ee5a4350 100644
--- a/doc/boa_ast/declaration/variable/struct.VariableList.html
+++ b/doc/boa_ast/declaration/variable/struct.VariableList.html
@@ -8,7 +8,7 @@
__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/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html
index 886e8e15625..aab9bd1862e 100644
--- a/doc/boa_ast/enum.StatementListItem.html
+++ b/doc/boa_ast/enum.StatementListItem.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
source§fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Declaration> for StatementListItem
source§fn from(decl: Declaration) -> Self
Converts to this type from the input type.source§impl From<Statement> for StatementListItem
source§impl PartialEq<StatementListItem> for StatementListItem
source§fn eq(&self, other: &StatementListItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatementListItem
source§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
indent level of 2 would produce this:
function hello() {
console.log("hello");
@@ -33,8 +33,8 @@
U: From<T>,§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/access/enum.PropertyAccess.html b/doc/boa_ast/expression/access/enum.PropertyAccess.html
index e8c3434e5c6..a1586964d2b 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccess.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccess.html
@@ -13,7 +13,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PropertyAccess> for PropertyAccess
source§fn eq(&self, other: &PropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccess
source§impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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 PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - Rust
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 b0e503f95d7..9d4db216152 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 d3ebcc09c4a..0969c4a9ebe 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.ExportEntry.html b/doc/boa_ast/declaration/export/enum.ExportEntry.html
index 0620561c97f..913b7db1dbd 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
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 619110c8398..199fb70ac42 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 9c714e1bc5d..9859afa738f 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 559f8f7b0a8..7f1ba6dde93 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 7ef2c563c96..bed6eb82a94 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 4108ec9462a..7d4a5564561 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.ImportName.html b/doc/boa_ast/declaration/import/enum.ImportName.html
index ea6348bc3fa..10768d309a3 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.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 1dad4ac5651..0f7f0647227 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§
source§impl ImportEntry
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 a59c6b001b2..65eb8463956 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 785f075906f..6baa3482f79 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.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index 67f384a11da..302c976642f 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§
source§impl ImportEntry
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 910696c9d2a..3810f7c9257 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index f16a4cd3f53..c6570809096 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 896d7066779..02cd09ddca1 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 0ee4a8b0419..6bf218ad6ee 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.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index b7879dd8e13..78c533c1cd1 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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 f3aed932130..377a975463f 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 634d4e63f7c..bf7978a35f6 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -8,7 +8,7 @@
__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 3de0b6fadd3..4f2d6f9fd5c 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -14,7 +14,7 @@
__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 19ea66cf203..8d1eca05b1a 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
index 2a4311902fd..2074f2f4fbf 100644
--- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html
index 880ef695f71..6516cfac103 100644
--- a/doc/boa_ast/declaration/variable/struct.Variable.html
+++ b/doc/boa_ast/declaration/variable/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/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html
index 2b051eb1872..1d5ee5a4350 100644
--- a/doc/boa_ast/declaration/variable/struct.VariableList.html
+++ b/doc/boa_ast/declaration/variable/struct.VariableList.html
@@ -8,7 +8,7 @@
__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/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html
index 886e8e15625..aab9bd1862e 100644
--- a/doc/boa_ast/enum.StatementListItem.html
+++ b/doc/boa_ast/enum.StatementListItem.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
source§fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Declaration> for StatementListItem
source§fn from(decl: Declaration) -> Self
Converts to this type from the input type.source§impl From<Statement> for StatementListItem
source§impl PartialEq<StatementListItem> for StatementListItem
source§fn eq(&self, other: &StatementListItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatementListItem
source§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
indent level of 2 would produce this:
function hello() {
console.log("hello");
@@ -33,8 +33,8 @@
U: From<T>,§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/access/enum.PropertyAccess.html b/doc/boa_ast/expression/access/enum.PropertyAccess.html
index e8c3434e5c6..a1586964d2b 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccess.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccess.html
@@ -13,7 +13,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PropertyAccess> for PropertyAccess
source§fn eq(&self, other: &PropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccess
source§impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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 PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - 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
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 d3ebcc09c4a..0969c4a9ebe 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.ExportEntry.html b/doc/boa_ast/declaration/export/enum.ExportEntry.html
index 0620561c97f..913b7db1dbd 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
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 619110c8398..199fb70ac42 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 9c714e1bc5d..9859afa738f 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 559f8f7b0a8..7f1ba6dde93 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 7ef2c563c96..bed6eb82a94 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 4108ec9462a..7d4a5564561 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.ImportName.html b/doc/boa_ast/declaration/import/enum.ImportName.html
index ea6348bc3fa..10768d309a3 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.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 1dad4ac5651..0f7f0647227 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§
source§impl ImportEntry
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 a59c6b001b2..65eb8463956 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 785f075906f..6baa3482f79 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.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index 67f384a11da..302c976642f 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§
source§impl ImportEntry
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 910696c9d2a..3810f7c9257 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index f16a4cd3f53..c6570809096 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 896d7066779..02cd09ddca1 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 0ee4a8b0419..6bf218ad6ee 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.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index b7879dd8e13..78c533c1cd1 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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 f3aed932130..377a975463f 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 634d4e63f7c..bf7978a35f6 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -8,7 +8,7 @@
__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 3de0b6fadd3..4f2d6f9fd5c 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -14,7 +14,7 @@
__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 19ea66cf203..8d1eca05b1a 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
index 2a4311902fd..2074f2f4fbf 100644
--- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html
index 880ef695f71..6516cfac103 100644
--- a/doc/boa_ast/declaration/variable/struct.Variable.html
+++ b/doc/boa_ast/declaration/variable/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/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html
index 2b051eb1872..1d5ee5a4350 100644
--- a/doc/boa_ast/declaration/variable/struct.VariableList.html
+++ b/doc/boa_ast/declaration/variable/struct.VariableList.html
@@ -8,7 +8,7 @@
__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/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html
index 886e8e15625..aab9bd1862e 100644
--- a/doc/boa_ast/enum.StatementListItem.html
+++ b/doc/boa_ast/enum.StatementListItem.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
source§fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Declaration> for StatementListItem
source§fn from(decl: Declaration) -> Self
Converts to this type from the input type.source§impl From<Statement> for StatementListItem
source§impl PartialEq<StatementListItem> for StatementListItem
source§fn eq(&self, other: &StatementListItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatementListItem
source§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
indent level of 2 would produce this:
function hello() {
console.log("hello");
@@ -33,8 +33,8 @@
U: From<T>,§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/access/enum.PropertyAccess.html b/doc/boa_ast/expression/access/enum.PropertyAccess.html
index e8c3434e5c6..a1586964d2b 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccess.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccess.html
@@ -13,7 +13,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PropertyAccess> for PropertyAccess
source§fn eq(&self, other: &PropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccess
source§impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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 PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - Rust
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 d3ebcc09c4a..0969c4a9ebe 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.ExportEntry.html b/doc/boa_ast/declaration/export/enum.ExportEntry.html
index 0620561c97f..913b7db1dbd 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
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 619110c8398..199fb70ac42 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 9c714e1bc5d..9859afa738f 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 559f8f7b0a8..7f1ba6dde93 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 7ef2c563c96..bed6eb82a94 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 4108ec9462a..7d4a5564561 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.ImportName.html b/doc/boa_ast/declaration/import/enum.ImportName.html
index ea6348bc3fa..10768d309a3 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.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 1dad4ac5651..0f7f0647227 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§
source§impl ImportEntry
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 a59c6b001b2..65eb8463956 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 785f075906f..6baa3482f79 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.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index 67f384a11da..302c976642f 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§
source§impl ImportEntry
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 910696c9d2a..3810f7c9257 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index f16a4cd3f53..c6570809096 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 896d7066779..02cd09ddca1 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 0ee4a8b0419..6bf218ad6ee 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.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index b7879dd8e13..78c533c1cd1 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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 f3aed932130..377a975463f 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 634d4e63f7c..bf7978a35f6 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -8,7 +8,7 @@
__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 3de0b6fadd3..4f2d6f9fd5c 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -14,7 +14,7 @@
__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 19ea66cf203..8d1eca05b1a 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
index 2a4311902fd..2074f2f4fbf 100644
--- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html
index 880ef695f71..6516cfac103 100644
--- a/doc/boa_ast/declaration/variable/struct.Variable.html
+++ b/doc/boa_ast/declaration/variable/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/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html
index 2b051eb1872..1d5ee5a4350 100644
--- a/doc/boa_ast/declaration/variable/struct.VariableList.html
+++ b/doc/boa_ast/declaration/variable/struct.VariableList.html
@@ -8,7 +8,7 @@
__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/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html
index 886e8e15625..aab9bd1862e 100644
--- a/doc/boa_ast/enum.StatementListItem.html
+++ b/doc/boa_ast/enum.StatementListItem.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
source§fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Declaration> for StatementListItem
source§fn from(decl: Declaration) -> Self
Converts to this type from the input type.source§impl From<Statement> for StatementListItem
source§impl PartialEq<StatementListItem> for StatementListItem
source§fn eq(&self, other: &StatementListItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatementListItem
source§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
indent level of 2 would produce this:
function hello() {
console.log("hello");
@@ -33,8 +33,8 @@
U: From<T>,§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/access/enum.PropertyAccess.html b/doc/boa_ast/expression/access/enum.PropertyAccess.html
index e8c3434e5c6..a1586964d2b 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccess.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccess.html
@@ -13,7 +13,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PropertyAccess> for PropertyAccess
source§fn eq(&self, other: &PropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccess
source§impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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 PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - 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"
).
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
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 619110c8398..199fb70ac42 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 9c714e1bc5d..9859afa738f 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 559f8f7b0a8..7f1ba6dde93 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 7ef2c563c96..bed6eb82a94 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 4108ec9462a..7d4a5564561 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.ImportName.html b/doc/boa_ast/declaration/import/enum.ImportName.html
index ea6348bc3fa..10768d309a3 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.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 1dad4ac5651..0f7f0647227 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§
source§impl ImportEntry
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 a59c6b001b2..65eb8463956 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 785f075906f..6baa3482f79 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.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index 67f384a11da..302c976642f 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§
source§impl ImportEntry
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 910696c9d2a..3810f7c9257 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index f16a4cd3f53..c6570809096 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 896d7066779..02cd09ddca1 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 0ee4a8b0419..6bf218ad6ee 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.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index b7879dd8e13..78c533c1cd1 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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 f3aed932130..377a975463f 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 634d4e63f7c..bf7978a35f6 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -8,7 +8,7 @@
__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 3de0b6fadd3..4f2d6f9fd5c 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -14,7 +14,7 @@
__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 19ea66cf203..8d1eca05b1a 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
index 2a4311902fd..2074f2f4fbf 100644
--- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html
index 880ef695f71..6516cfac103 100644
--- a/doc/boa_ast/declaration/variable/struct.Variable.html
+++ b/doc/boa_ast/declaration/variable/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/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html
index 2b051eb1872..1d5ee5a4350 100644
--- a/doc/boa_ast/declaration/variable/struct.VariableList.html
+++ b/doc/boa_ast/declaration/variable/struct.VariableList.html
@@ -8,7 +8,7 @@
__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/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html
index 886e8e15625..aab9bd1862e 100644
--- a/doc/boa_ast/enum.StatementListItem.html
+++ b/doc/boa_ast/enum.StatementListItem.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
source§fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Declaration> for StatementListItem
source§fn from(decl: Declaration) -> Self
Converts to this type from the input type.source§impl From<Statement> for StatementListItem
source§impl PartialEq<StatementListItem> for StatementListItem
source§fn eq(&self, other: &StatementListItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatementListItem
source§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
indent level of 2 would produce this:
function hello() {
console.log("hello");
@@ -33,8 +33,8 @@
U: From<T>,§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/access/enum.PropertyAccess.html b/doc/boa_ast/expression/access/enum.PropertyAccess.html
index e8c3434e5c6..a1586964d2b 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccess.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccess.html
@@ -13,7 +13,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PropertyAccess> for PropertyAccess
source§fn eq(&self, other: &PropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccess
source§impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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 PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - Rust
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 619110c8398..199fb70ac42 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 9c714e1bc5d..9859afa738f 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 559f8f7b0a8..7f1ba6dde93 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 7ef2c563c96..bed6eb82a94 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 4108ec9462a..7d4a5564561 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.ImportName.html b/doc/boa_ast/declaration/import/enum.ImportName.html
index ea6348bc3fa..10768d309a3 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.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 1dad4ac5651..0f7f0647227 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§
source§impl ImportEntry
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 a59c6b001b2..65eb8463956 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 785f075906f..6baa3482f79 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.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index 67f384a11da..302c976642f 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§
source§impl ImportEntry
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 910696c9d2a..3810f7c9257 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index f16a4cd3f53..c6570809096 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 896d7066779..02cd09ddca1 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 0ee4a8b0419..6bf218ad6ee 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.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index b7879dd8e13..78c533c1cd1 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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 f3aed932130..377a975463f 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 634d4e63f7c..bf7978a35f6 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -8,7 +8,7 @@
__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 3de0b6fadd3..4f2d6f9fd5c 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -14,7 +14,7 @@
__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 19ea66cf203..8d1eca05b1a 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
index 2a4311902fd..2074f2f4fbf 100644
--- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html
index 880ef695f71..6516cfac103 100644
--- a/doc/boa_ast/declaration/variable/struct.Variable.html
+++ b/doc/boa_ast/declaration/variable/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/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html
index 2b051eb1872..1d5ee5a4350 100644
--- a/doc/boa_ast/declaration/variable/struct.VariableList.html
+++ b/doc/boa_ast/declaration/variable/struct.VariableList.html
@@ -8,7 +8,7 @@
__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/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html
index 886e8e15625..aab9bd1862e 100644
--- a/doc/boa_ast/enum.StatementListItem.html
+++ b/doc/boa_ast/enum.StatementListItem.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
source§fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Declaration> for StatementListItem
source§fn from(decl: Declaration) -> Self
Converts to this type from the input type.source§impl From<Statement> for StatementListItem
source§impl PartialEq<StatementListItem> for StatementListItem
source§fn eq(&self, other: &StatementListItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatementListItem
source§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
indent level of 2 would produce this:
function hello() {
console.log("hello");
@@ -33,8 +33,8 @@
U: From<T>,§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/access/enum.PropertyAccess.html b/doc/boa_ast/expression/access/enum.PropertyAccess.html
index e8c3434e5c6..a1586964d2b 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccess.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccess.html
@@ -13,7 +13,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PropertyAccess> for PropertyAccess
source§fn eq(&self, other: &PropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccess
source§impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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 PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - 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
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 9c714e1bc5d..9859afa738f 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 559f8f7b0a8..7f1ba6dde93 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 7ef2c563c96..bed6eb82a94 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 4108ec9462a..7d4a5564561 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.ImportName.html b/doc/boa_ast/declaration/import/enum.ImportName.html
index ea6348bc3fa..10768d309a3 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.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 1dad4ac5651..0f7f0647227 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§
source§impl ImportEntry
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 a59c6b001b2..65eb8463956 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 785f075906f..6baa3482f79 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.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index 67f384a11da..302c976642f 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§
source§impl ImportEntry
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 910696c9d2a..3810f7c9257 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index f16a4cd3f53..c6570809096 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 896d7066779..02cd09ddca1 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 0ee4a8b0419..6bf218ad6ee 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.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index b7879dd8e13..78c533c1cd1 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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 f3aed932130..377a975463f 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 634d4e63f7c..bf7978a35f6 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -8,7 +8,7 @@
__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 3de0b6fadd3..4f2d6f9fd5c 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -14,7 +14,7 @@
__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 19ea66cf203..8d1eca05b1a 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
index 2a4311902fd..2074f2f4fbf 100644
--- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html
index 880ef695f71..6516cfac103 100644
--- a/doc/boa_ast/declaration/variable/struct.Variable.html
+++ b/doc/boa_ast/declaration/variable/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/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html
index 2b051eb1872..1d5ee5a4350 100644
--- a/doc/boa_ast/declaration/variable/struct.VariableList.html
+++ b/doc/boa_ast/declaration/variable/struct.VariableList.html
@@ -8,7 +8,7 @@
__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/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html
index 886e8e15625..aab9bd1862e 100644
--- a/doc/boa_ast/enum.StatementListItem.html
+++ b/doc/boa_ast/enum.StatementListItem.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
source§fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Declaration> for StatementListItem
source§fn from(decl: Declaration) -> Self
Converts to this type from the input type.source§impl From<Statement> for StatementListItem
source§impl PartialEq<StatementListItem> for StatementListItem
source§fn eq(&self, other: &StatementListItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatementListItem
source§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
indent level of 2 would produce this:
function hello() {
console.log("hello");
@@ -33,8 +33,8 @@
U: From<T>,§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/access/enum.PropertyAccess.html b/doc/boa_ast/expression/access/enum.PropertyAccess.html
index e8c3434e5c6..a1586964d2b 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccess.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccess.html
@@ -13,7 +13,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PropertyAccess> for PropertyAccess
source§fn eq(&self, other: &PropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccess
source§impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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 PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - Rust
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 9c714e1bc5d..9859afa738f 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 559f8f7b0a8..7f1ba6dde93 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 7ef2c563c96..bed6eb82a94 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 4108ec9462a..7d4a5564561 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.ImportName.html b/doc/boa_ast/declaration/import/enum.ImportName.html
index ea6348bc3fa..10768d309a3 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.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 1dad4ac5651..0f7f0647227 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§
source§impl ImportEntry
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 a59c6b001b2..65eb8463956 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 785f075906f..6baa3482f79 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.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index 67f384a11da..302c976642f 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§
source§impl ImportEntry
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 910696c9d2a..3810f7c9257 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index f16a4cd3f53..c6570809096 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 896d7066779..02cd09ddca1 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 0ee4a8b0419..6bf218ad6ee 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.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index b7879dd8e13..78c533c1cd1 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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 f3aed932130..377a975463f 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 634d4e63f7c..bf7978a35f6 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -8,7 +8,7 @@
__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 3de0b6fadd3..4f2d6f9fd5c 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -14,7 +14,7 @@
__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 19ea66cf203..8d1eca05b1a 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
index 2a4311902fd..2074f2f4fbf 100644
--- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html
index 880ef695f71..6516cfac103 100644
--- a/doc/boa_ast/declaration/variable/struct.Variable.html
+++ b/doc/boa_ast/declaration/variable/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/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html
index 2b051eb1872..1d5ee5a4350 100644
--- a/doc/boa_ast/declaration/variable/struct.VariableList.html
+++ b/doc/boa_ast/declaration/variable/struct.VariableList.html
@@ -8,7 +8,7 @@
__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/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html
index 886e8e15625..aab9bd1862e 100644
--- a/doc/boa_ast/enum.StatementListItem.html
+++ b/doc/boa_ast/enum.StatementListItem.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
source§fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Declaration> for StatementListItem
source§fn from(decl: Declaration) -> Self
Converts to this type from the input type.source§impl From<Statement> for StatementListItem
source§impl PartialEq<StatementListItem> for StatementListItem
source§fn eq(&self, other: &StatementListItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatementListItem
source§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
indent level of 2 would produce this:
function hello() {
console.log("hello");
@@ -33,8 +33,8 @@
U: From<T>,§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/access/enum.PropertyAccess.html b/doc/boa_ast/expression/access/enum.PropertyAccess.html
index e8c3434e5c6..a1586964d2b 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccess.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccess.html
@@ -13,7 +13,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PropertyAccess> for PropertyAccess
source§fn eq(&self, other: &PropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccess
source§impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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 PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - 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"
).
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 7ef2c563c96..bed6eb82a94 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 4108ec9462a..7d4a5564561 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.ImportName.html b/doc/boa_ast/declaration/import/enum.ImportName.html
index ea6348bc3fa..10768d309a3 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.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 1dad4ac5651..0f7f0647227 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§
source§impl ImportEntry
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 a59c6b001b2..65eb8463956 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 785f075906f..6baa3482f79 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.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index 67f384a11da..302c976642f 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§
source§impl ImportEntry
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 910696c9d2a..3810f7c9257 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index f16a4cd3f53..c6570809096 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 896d7066779..02cd09ddca1 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 0ee4a8b0419..6bf218ad6ee 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.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index b7879dd8e13..78c533c1cd1 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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 f3aed932130..377a975463f 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 634d4e63f7c..bf7978a35f6 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -8,7 +8,7 @@
__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 3de0b6fadd3..4f2d6f9fd5c 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -14,7 +14,7 @@
__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 19ea66cf203..8d1eca05b1a 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
index 2a4311902fd..2074f2f4fbf 100644
--- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html
index 880ef695f71..6516cfac103 100644
--- a/doc/boa_ast/declaration/variable/struct.Variable.html
+++ b/doc/boa_ast/declaration/variable/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/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html
index 2b051eb1872..1d5ee5a4350 100644
--- a/doc/boa_ast/declaration/variable/struct.VariableList.html
+++ b/doc/boa_ast/declaration/variable/struct.VariableList.html
@@ -8,7 +8,7 @@
__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/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html
index 886e8e15625..aab9bd1862e 100644
--- a/doc/boa_ast/enum.StatementListItem.html
+++ b/doc/boa_ast/enum.StatementListItem.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
source§fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Declaration> for StatementListItem
source§fn from(decl: Declaration) -> Self
Converts to this type from the input type.source§impl From<Statement> for StatementListItem
source§impl PartialEq<StatementListItem> for StatementListItem
source§fn eq(&self, other: &StatementListItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatementListItem
source§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
indent level of 2 would produce this:
function hello() {
console.log("hello");
@@ -33,8 +33,8 @@
U: From<T>,§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/access/enum.PropertyAccess.html b/doc/boa_ast/expression/access/enum.PropertyAccess.html
index e8c3434e5c6..a1586964d2b 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccess.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccess.html
@@ -13,7 +13,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PropertyAccess> for PropertyAccess
source§fn eq(&self, other: &PropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccess
source§impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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 PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - Rust
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 4108ec9462a..7d4a5564561 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.ImportName.html b/doc/boa_ast/declaration/import/enum.ImportName.html
index ea6348bc3fa..10768d309a3 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.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 1dad4ac5651..0f7f0647227 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§
source§impl ImportEntry
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 a59c6b001b2..65eb8463956 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 785f075906f..6baa3482f79 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.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index 67f384a11da..302c976642f 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§
source§impl ImportEntry
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 910696c9d2a..3810f7c9257 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index f16a4cd3f53..c6570809096 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 896d7066779..02cd09ddca1 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 0ee4a8b0419..6bf218ad6ee 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.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index b7879dd8e13..78c533c1cd1 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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 f3aed932130..377a975463f 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 634d4e63f7c..bf7978a35f6 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -8,7 +8,7 @@
__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 3de0b6fadd3..4f2d6f9fd5c 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -14,7 +14,7 @@
__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 19ea66cf203..8d1eca05b1a 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
index 2a4311902fd..2074f2f4fbf 100644
--- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html
index 880ef695f71..6516cfac103 100644
--- a/doc/boa_ast/declaration/variable/struct.Variable.html
+++ b/doc/boa_ast/declaration/variable/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/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html
index 2b051eb1872..1d5ee5a4350 100644
--- a/doc/boa_ast/declaration/variable/struct.VariableList.html
+++ b/doc/boa_ast/declaration/variable/struct.VariableList.html
@@ -8,7 +8,7 @@
__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/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html
index 886e8e15625..aab9bd1862e 100644
--- a/doc/boa_ast/enum.StatementListItem.html
+++ b/doc/boa_ast/enum.StatementListItem.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
source§fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Declaration> for StatementListItem
source§fn from(decl: Declaration) -> Self
Converts to this type from the input type.source§impl From<Statement> for StatementListItem
source§impl PartialEq<StatementListItem> for StatementListItem
source§fn eq(&self, other: &StatementListItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatementListItem
source§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
indent level of 2 would produce this:
function hello() {
console.log("hello");
@@ -33,8 +33,8 @@
U: From<T>,§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/access/enum.PropertyAccess.html b/doc/boa_ast/expression/access/enum.PropertyAccess.html
index e8c3434e5c6..a1586964d2b 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccess.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccess.html
@@ -13,7 +13,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PropertyAccess> for PropertyAccess
source§fn eq(&self, other: &PropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccess
source§impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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 PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - 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
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.ImportName.html b/doc/boa_ast/declaration/import/enum.ImportName.html
index ea6348bc3fa..10768d309a3 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.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 1dad4ac5651..0f7f0647227 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§
source§impl ImportEntry
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 a59c6b001b2..65eb8463956 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 785f075906f..6baa3482f79 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.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index 67f384a11da..302c976642f 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§
source§impl ImportEntry
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 910696c9d2a..3810f7c9257 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index f16a4cd3f53..c6570809096 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 896d7066779..02cd09ddca1 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 0ee4a8b0419..6bf218ad6ee 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.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index b7879dd8e13..78c533c1cd1 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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 f3aed932130..377a975463f 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 634d4e63f7c..bf7978a35f6 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -8,7 +8,7 @@
__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 3de0b6fadd3..4f2d6f9fd5c 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -14,7 +14,7 @@
__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 19ea66cf203..8d1eca05b1a 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
index 2a4311902fd..2074f2f4fbf 100644
--- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html
index 880ef695f71..6516cfac103 100644
--- a/doc/boa_ast/declaration/variable/struct.Variable.html
+++ b/doc/boa_ast/declaration/variable/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/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html
index 2b051eb1872..1d5ee5a4350 100644
--- a/doc/boa_ast/declaration/variable/struct.VariableList.html
+++ b/doc/boa_ast/declaration/variable/struct.VariableList.html
@@ -8,7 +8,7 @@
__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/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html
index 886e8e15625..aab9bd1862e 100644
--- a/doc/boa_ast/enum.StatementListItem.html
+++ b/doc/boa_ast/enum.StatementListItem.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
source§fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Declaration> for StatementListItem
source§fn from(decl: Declaration) -> Self
Converts to this type from the input type.source§impl From<Statement> for StatementListItem
source§impl PartialEq<StatementListItem> for StatementListItem
source§fn eq(&self, other: &StatementListItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatementListItem
source§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
indent level of 2 would produce this:
function hello() {
console.log("hello");
@@ -33,8 +33,8 @@
U: From<T>,§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/access/enum.PropertyAccess.html b/doc/boa_ast/expression/access/enum.PropertyAccess.html
index e8c3434e5c6..a1586964d2b 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccess.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccess.html
@@ -13,7 +13,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PropertyAccess> for PropertyAccess
source§fn eq(&self, other: &PropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccess
source§impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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 PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - Rust
impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/enum.ImportName.html b/doc/boa_ast/declaration/import/enum.ImportName.html
index ea6348bc3fa..10768d309a3 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.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 1dad4ac5651..0f7f0647227 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§
source§impl ImportEntry
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 a59c6b001b2..65eb8463956 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 785f075906f..6baa3482f79 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.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index 67f384a11da..302c976642f 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§
source§impl ImportEntry
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 910696c9d2a..3810f7c9257 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index f16a4cd3f53..c6570809096 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 896d7066779..02cd09ddca1 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 0ee4a8b0419..6bf218ad6ee 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.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index b7879dd8e13..78c533c1cd1 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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 f3aed932130..377a975463f 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 634d4e63f7c..bf7978a35f6 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -8,7 +8,7 @@
__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 3de0b6fadd3..4f2d6f9fd5c 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -14,7 +14,7 @@
__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 19ea66cf203..8d1eca05b1a 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
index 2a4311902fd..2074f2f4fbf 100644
--- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html
index 880ef695f71..6516cfac103 100644
--- a/doc/boa_ast/declaration/variable/struct.Variable.html
+++ b/doc/boa_ast/declaration/variable/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/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html
index 2b051eb1872..1d5ee5a4350 100644
--- a/doc/boa_ast/declaration/variable/struct.VariableList.html
+++ b/doc/boa_ast/declaration/variable/struct.VariableList.html
@@ -8,7 +8,7 @@
__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/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html
index 886e8e15625..aab9bd1862e 100644
--- a/doc/boa_ast/enum.StatementListItem.html
+++ b/doc/boa_ast/enum.StatementListItem.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
source§fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Declaration> for StatementListItem
source§fn from(decl: Declaration) -> Self
Converts to this type from the input type.source§impl From<Statement> for StatementListItem
source§impl PartialEq<StatementListItem> for StatementListItem
source§fn eq(&self, other: &StatementListItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatementListItem
source§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
indent level of 2 would produce this:
function hello() {
console.log("hello");
@@ -33,8 +33,8 @@
U: From<T>,§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/access/enum.PropertyAccess.html b/doc/boa_ast/expression/access/enum.PropertyAccess.html
index e8c3434e5c6..a1586964d2b 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccess.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccess.html
@@ -13,7 +13,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PropertyAccess> for PropertyAccess
source§fn eq(&self, other: &PropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccess
source§impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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 PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - 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
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.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 1dad4ac5651..0f7f0647227 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§
source§impl ImportEntry
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 a59c6b001b2..65eb8463956 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 785f075906f..6baa3482f79 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.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index 67f384a11da..302c976642f 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§
source§impl ImportEntry
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 910696c9d2a..3810f7c9257 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index f16a4cd3f53..c6570809096 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 896d7066779..02cd09ddca1 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 0ee4a8b0419..6bf218ad6ee 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.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index b7879dd8e13..78c533c1cd1 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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 f3aed932130..377a975463f 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 634d4e63f7c..bf7978a35f6 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -8,7 +8,7 @@
__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 3de0b6fadd3..4f2d6f9fd5c 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -14,7 +14,7 @@
__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 19ea66cf203..8d1eca05b1a 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
index 2a4311902fd..2074f2f4fbf 100644
--- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html
index 880ef695f71..6516cfac103 100644
--- a/doc/boa_ast/declaration/variable/struct.Variable.html
+++ b/doc/boa_ast/declaration/variable/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/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html
index 2b051eb1872..1d5ee5a4350 100644
--- a/doc/boa_ast/declaration/variable/struct.VariableList.html
+++ b/doc/boa_ast/declaration/variable/struct.VariableList.html
@@ -8,7 +8,7 @@
__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/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html
index 886e8e15625..aab9bd1862e 100644
--- a/doc/boa_ast/enum.StatementListItem.html
+++ b/doc/boa_ast/enum.StatementListItem.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
source§fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Declaration> for StatementListItem
source§fn from(decl: Declaration) -> Self
Converts to this type from the input type.source§impl From<Statement> for StatementListItem
source§impl PartialEq<StatementListItem> for StatementListItem
source§fn eq(&self, other: &StatementListItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatementListItem
source§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
indent level of 2 would produce this:
function hello() {
console.log("hello");
@@ -33,8 +33,8 @@
U: From<T>,§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/access/enum.PropertyAccess.html b/doc/boa_ast/expression/access/enum.PropertyAccess.html
index e8c3434e5c6..a1586964d2b 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccess.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccess.html
@@ -13,7 +13,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PropertyAccess> for PropertyAccess
source§fn eq(&self, other: &PropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccess
source§impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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 PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - Rust
impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_ast/declaration/import/struct.ImportEntry.html b/doc/boa_ast/declaration/import/struct.ImportEntry.html
index 1dad4ac5651..0f7f0647227 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§
source§impl ImportEntry
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 a59c6b001b2..65eb8463956 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 785f075906f..6baa3482f79 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.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index 67f384a11da..302c976642f 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§
source§impl ImportEntry
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 910696c9d2a..3810f7c9257 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index f16a4cd3f53..c6570809096 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 896d7066779..02cd09ddca1 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 0ee4a8b0419..6bf218ad6ee 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.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index b7879dd8e13..78c533c1cd1 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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 f3aed932130..377a975463f 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 634d4e63f7c..bf7978a35f6 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -8,7 +8,7 @@
__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 3de0b6fadd3..4f2d6f9fd5c 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -14,7 +14,7 @@
__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 19ea66cf203..8d1eca05b1a 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
index 2a4311902fd..2074f2f4fbf 100644
--- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html
index 880ef695f71..6516cfac103 100644
--- a/doc/boa_ast/declaration/variable/struct.Variable.html
+++ b/doc/boa_ast/declaration/variable/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/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html
index 2b051eb1872..1d5ee5a4350 100644
--- a/doc/boa_ast/declaration/variable/struct.VariableList.html
+++ b/doc/boa_ast/declaration/variable/struct.VariableList.html
@@ -8,7 +8,7 @@
__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/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html
index 886e8e15625..aab9bd1862e 100644
--- a/doc/boa_ast/enum.StatementListItem.html
+++ b/doc/boa_ast/enum.StatementListItem.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
source§fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Declaration> for StatementListItem
source§fn from(decl: Declaration) -> Self
Converts to this type from the input type.source§impl From<Statement> for StatementListItem
source§impl PartialEq<StatementListItem> for StatementListItem
source§fn eq(&self, other: &StatementListItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatementListItem
source§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
indent level of 2 would produce this:
function hello() {
console.log("hello");
@@ -33,8 +33,8 @@
U: From<T>,§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/access/enum.PropertyAccess.html b/doc/boa_ast/expression/access/enum.PropertyAccess.html
index e8c3434e5c6..a1586964d2b 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccess.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccess.html
@@ -13,7 +13,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PropertyAccess> for PropertyAccess
source§fn eq(&self, other: &PropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccess
source§impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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 PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - 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§
source§impl ImportEntry
impl ImportEntry
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 a59c6b001b2..65eb8463956 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 785f075906f..6baa3482f79 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.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index 67f384a11da..302c976642f 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§
source§impl ImportEntry
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 910696c9d2a..3810f7c9257 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index f16a4cd3f53..c6570809096 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 896d7066779..02cd09ddca1 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 0ee4a8b0419..6bf218ad6ee 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.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index b7879dd8e13..78c533c1cd1 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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 f3aed932130..377a975463f 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 634d4e63f7c..bf7978a35f6 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -8,7 +8,7 @@
__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 3de0b6fadd3..4f2d6f9fd5c 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -14,7 +14,7 @@
__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 19ea66cf203..8d1eca05b1a 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
index 2a4311902fd..2074f2f4fbf 100644
--- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html
index 880ef695f71..6516cfac103 100644
--- a/doc/boa_ast/declaration/variable/struct.Variable.html
+++ b/doc/boa_ast/declaration/variable/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/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html
index 2b051eb1872..1d5ee5a4350 100644
--- a/doc/boa_ast/declaration/variable/struct.VariableList.html
+++ b/doc/boa_ast/declaration/variable/struct.VariableList.html
@@ -8,7 +8,7 @@
__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/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html
index 886e8e15625..aab9bd1862e 100644
--- a/doc/boa_ast/enum.StatementListItem.html
+++ b/doc/boa_ast/enum.StatementListItem.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
source§fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Declaration> for StatementListItem
source§fn from(decl: Declaration) -> Self
Converts to this type from the input type.source§impl From<Statement> for StatementListItem
source§impl PartialEq<StatementListItem> for StatementListItem
source§fn eq(&self, other: &StatementListItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatementListItem
source§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
indent level of 2 would produce this:
function hello() {
console.log("hello");
@@ -33,8 +33,8 @@
U: From<T>,§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/access/enum.PropertyAccess.html b/doc/boa_ast/expression/access/enum.PropertyAccess.html
index e8c3434e5c6..a1586964d2b 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccess.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccess.html
@@ -13,7 +13,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PropertyAccess> for PropertyAccess
source§fn eq(&self, other: &PropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccess
source§impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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 PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - Rust
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 a59c6b001b2..65eb8463956 100644
--- a/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/import/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 785f075906f..6baa3482f79 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.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index 67f384a11da..302c976642f 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§
source§impl ImportEntry
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 910696c9d2a..3810f7c9257 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index f16a4cd3f53..c6570809096 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 896d7066779..02cd09ddca1 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 0ee4a8b0419..6bf218ad6ee 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.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index b7879dd8e13..78c533c1cd1 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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 f3aed932130..377a975463f 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 634d4e63f7c..bf7978a35f6 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -8,7 +8,7 @@
__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 3de0b6fadd3..4f2d6f9fd5c 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -14,7 +14,7 @@
__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 19ea66cf203..8d1eca05b1a 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
index 2a4311902fd..2074f2f4fbf 100644
--- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html
index 880ef695f71..6516cfac103 100644
--- a/doc/boa_ast/declaration/variable/struct.Variable.html
+++ b/doc/boa_ast/declaration/variable/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/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html
index 2b051eb1872..1d5ee5a4350 100644
--- a/doc/boa_ast/declaration/variable/struct.VariableList.html
+++ b/doc/boa_ast/declaration/variable/struct.VariableList.html
@@ -8,7 +8,7 @@
__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/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html
index 886e8e15625..aab9bd1862e 100644
--- a/doc/boa_ast/enum.StatementListItem.html
+++ b/doc/boa_ast/enum.StatementListItem.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
source§fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Declaration> for StatementListItem
source§fn from(decl: Declaration) -> Self
Converts to this type from the input type.source§impl From<Statement> for StatementListItem
source§impl PartialEq<StatementListItem> for StatementListItem
source§fn eq(&self, other: &StatementListItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatementListItem
source§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
indent level of 2 would produce this:
function hello() {
console.log("hello");
@@ -33,8 +33,8 @@
U: From<T>,§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/access/enum.PropertyAccess.html b/doc/boa_ast/expression/access/enum.PropertyAccess.html
index e8c3434e5c6..a1586964d2b 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccess.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccess.html
@@ -13,7 +13,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PropertyAccess> for PropertyAccess
source§fn eq(&self, other: &PropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccess
source§impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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 PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - 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
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
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 785f075906f..6baa3482f79 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.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index 67f384a11da..302c976642f 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§
source§impl ImportEntry
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 910696c9d2a..3810f7c9257 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index f16a4cd3f53..c6570809096 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 896d7066779..02cd09ddca1 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 0ee4a8b0419..6bf218ad6ee 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.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index b7879dd8e13..78c533c1cd1 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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 f3aed932130..377a975463f 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 634d4e63f7c..bf7978a35f6 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -8,7 +8,7 @@
__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 3de0b6fadd3..4f2d6f9fd5c 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -14,7 +14,7 @@
__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 19ea66cf203..8d1eca05b1a 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
index 2a4311902fd..2074f2f4fbf 100644
--- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html
index 880ef695f71..6516cfac103 100644
--- a/doc/boa_ast/declaration/variable/struct.Variable.html
+++ b/doc/boa_ast/declaration/variable/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/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html
index 2b051eb1872..1d5ee5a4350 100644
--- a/doc/boa_ast/declaration/variable/struct.VariableList.html
+++ b/doc/boa_ast/declaration/variable/struct.VariableList.html
@@ -8,7 +8,7 @@
__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/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html
index 886e8e15625..aab9bd1862e 100644
--- a/doc/boa_ast/enum.StatementListItem.html
+++ b/doc/boa_ast/enum.StatementListItem.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
source§fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Declaration> for StatementListItem
source§fn from(decl: Declaration) -> Self
Converts to this type from the input type.source§impl From<Statement> for StatementListItem
source§impl PartialEq<StatementListItem> for StatementListItem
source§fn eq(&self, other: &StatementListItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatementListItem
source§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
indent level of 2 would produce this:
function hello() {
console.log("hello");
@@ -33,8 +33,8 @@
U: From<T>,§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/access/enum.PropertyAccess.html b/doc/boa_ast/expression/access/enum.PropertyAccess.html
index e8c3434e5c6..a1586964d2b 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccess.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccess.html
@@ -13,7 +13,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PropertyAccess> for PropertyAccess
source§fn eq(&self, other: &PropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccess
source§impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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 PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - Rust
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
diff --git a/doc/boa_ast/declaration/struct.ExportSpecifier.html b/doc/boa_ast/declaration/struct.ExportSpecifier.html
index 785f075906f..6baa3482f79 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.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index 67f384a11da..302c976642f 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§
source§impl ImportEntry
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 910696c9d2a..3810f7c9257 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index f16a4cd3f53..c6570809096 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 896d7066779..02cd09ddca1 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 0ee4a8b0419..6bf218ad6ee 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.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index b7879dd8e13..78c533c1cd1 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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 f3aed932130..377a975463f 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 634d4e63f7c..bf7978a35f6 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -8,7 +8,7 @@
__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 3de0b6fadd3..4f2d6f9fd5c 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -14,7 +14,7 @@
__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 19ea66cf203..8d1eca05b1a 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
index 2a4311902fd..2074f2f4fbf 100644
--- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html
index 880ef695f71..6516cfac103 100644
--- a/doc/boa_ast/declaration/variable/struct.Variable.html
+++ b/doc/boa_ast/declaration/variable/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/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html
index 2b051eb1872..1d5ee5a4350 100644
--- a/doc/boa_ast/declaration/variable/struct.VariableList.html
+++ b/doc/boa_ast/declaration/variable/struct.VariableList.html
@@ -8,7 +8,7 @@
__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/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html
index 886e8e15625..aab9bd1862e 100644
--- a/doc/boa_ast/enum.StatementListItem.html
+++ b/doc/boa_ast/enum.StatementListItem.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
source§fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Declaration> for StatementListItem
source§fn from(decl: Declaration) -> Self
Converts to this type from the input type.source§impl From<Statement> for StatementListItem
source§impl PartialEq<StatementListItem> for StatementListItem
source§fn eq(&self, other: &StatementListItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatementListItem
source§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
indent level of 2 would produce this:
function hello() {
console.log("hello");
@@ -33,8 +33,8 @@
U: From<T>,§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/access/enum.PropertyAccess.html b/doc/boa_ast/expression/access/enum.PropertyAccess.html
index e8c3434e5c6..a1586964d2b 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccess.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccess.html
@@ -13,7 +13,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PropertyAccess> for PropertyAccess
source§fn eq(&self, other: &PropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccess
source§impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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 PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - 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
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.ImportEntry.html b/doc/boa_ast/declaration/struct.ImportEntry.html
index 67f384a11da..302c976642f 100644
--- a/doc/boa_ast/declaration/struct.ImportEntry.html
+++ b/doc/boa_ast/declaration/struct.ImportEntry.html
@@ -1,14 +1,14 @@
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§
source§impl ImportEntry
impl ImportEntry
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 910696c9d2a..3810f7c9257 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index f16a4cd3f53..c6570809096 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 896d7066779..02cd09ddca1 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 0ee4a8b0419..6bf218ad6ee 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.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index b7879dd8e13..78c533c1cd1 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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 f3aed932130..377a975463f 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 634d4e63f7c..bf7978a35f6 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -8,7 +8,7 @@
__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 3de0b6fadd3..4f2d6f9fd5c 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -14,7 +14,7 @@
__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 19ea66cf203..8d1eca05b1a 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
index 2a4311902fd..2074f2f4fbf 100644
--- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html
index 880ef695f71..6516cfac103 100644
--- a/doc/boa_ast/declaration/variable/struct.Variable.html
+++ b/doc/boa_ast/declaration/variable/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/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html
index 2b051eb1872..1d5ee5a4350 100644
--- a/doc/boa_ast/declaration/variable/struct.VariableList.html
+++ b/doc/boa_ast/declaration/variable/struct.VariableList.html
@@ -8,7 +8,7 @@
__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/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html
index 886e8e15625..aab9bd1862e 100644
--- a/doc/boa_ast/enum.StatementListItem.html
+++ b/doc/boa_ast/enum.StatementListItem.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
source§fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Declaration> for StatementListItem
source§fn from(decl: Declaration) -> Self
Converts to this type from the input type.source§impl From<Statement> for StatementListItem
source§impl PartialEq<StatementListItem> for StatementListItem
source§fn eq(&self, other: &StatementListItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatementListItem
source§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
indent level of 2 would produce this:
function hello() {
console.log("hello");
@@ -33,8 +33,8 @@
U: From<T>,§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/access/enum.PropertyAccess.html b/doc/boa_ast/expression/access/enum.PropertyAccess.html
index e8c3434e5c6..a1586964d2b 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccess.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccess.html
@@ -13,7 +13,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PropertyAccess> for PropertyAccess
source§fn eq(&self, other: &PropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccess
source§impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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 PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - Rust
impl<T> Any for Twhere
diff --git a/doc/boa_ast/declaration/struct.ImportSpecifier.html b/doc/boa_ast/declaration/struct.ImportSpecifier.html
index 910696c9d2a..3810f7c9257 100644
--- a/doc/boa_ast/declaration/struct.ImportSpecifier.html
+++ b/doc/boa_ast/declaration/struct.ImportSpecifier.html
@@ -1,14 +1,14 @@
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
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index f16a4cd3f53..c6570809096 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 896d7066779..02cd09ddca1 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 0ee4a8b0419..6bf218ad6ee 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.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index b7879dd8e13..78c533c1cd1 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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 f3aed932130..377a975463f 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 634d4e63f7c..bf7978a35f6 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -8,7 +8,7 @@
__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 3de0b6fadd3..4f2d6f9fd5c 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -14,7 +14,7 @@
__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 19ea66cf203..8d1eca05b1a 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
index 2a4311902fd..2074f2f4fbf 100644
--- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html
index 880ef695f71..6516cfac103 100644
--- a/doc/boa_ast/declaration/variable/struct.Variable.html
+++ b/doc/boa_ast/declaration/variable/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/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html
index 2b051eb1872..1d5ee5a4350 100644
--- a/doc/boa_ast/declaration/variable/struct.VariableList.html
+++ b/doc/boa_ast/declaration/variable/struct.VariableList.html
@@ -8,7 +8,7 @@
__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/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html
index 886e8e15625..aab9bd1862e 100644
--- a/doc/boa_ast/enum.StatementListItem.html
+++ b/doc/boa_ast/enum.StatementListItem.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
source§fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Declaration> for StatementListItem
source§fn from(decl: Declaration) -> Self
Converts to this type from the input type.source§impl From<Statement> for StatementListItem
source§impl PartialEq<StatementListItem> for StatementListItem
source§fn eq(&self, other: &StatementListItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatementListItem
source§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
indent level of 2 would produce this:
function hello() {
console.log("hello");
@@ -33,8 +33,8 @@
U: From<T>,§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/access/enum.PropertyAccess.html b/doc/boa_ast/expression/access/enum.PropertyAccess.html
index e8c3434e5c6..a1586964d2b 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccess.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccess.html
@@ -13,7 +13,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PropertyAccess> for PropertyAccess
source§fn eq(&self, other: &PropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccess
source§impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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 PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - 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
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
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index f16a4cd3f53..c6570809096 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 896d7066779..02cd09ddca1 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 0ee4a8b0419..6bf218ad6ee 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.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index b7879dd8e13..78c533c1cd1 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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 f3aed932130..377a975463f 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 634d4e63f7c..bf7978a35f6 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -8,7 +8,7 @@
__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 3de0b6fadd3..4f2d6f9fd5c 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -14,7 +14,7 @@
__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 19ea66cf203..8d1eca05b1a 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
index 2a4311902fd..2074f2f4fbf 100644
--- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html
index 880ef695f71..6516cfac103 100644
--- a/doc/boa_ast/declaration/variable/struct.Variable.html
+++ b/doc/boa_ast/declaration/variable/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/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html
index 2b051eb1872..1d5ee5a4350 100644
--- a/doc/boa_ast/declaration/variable/struct.VariableList.html
+++ b/doc/boa_ast/declaration/variable/struct.VariableList.html
@@ -8,7 +8,7 @@
__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/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html
index 886e8e15625..aab9bd1862e 100644
--- a/doc/boa_ast/enum.StatementListItem.html
+++ b/doc/boa_ast/enum.StatementListItem.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
source§fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Declaration> for StatementListItem
source§fn from(decl: Declaration) -> Self
Converts to this type from the input type.source§impl From<Statement> for StatementListItem
source§impl PartialEq<StatementListItem> for StatementListItem
source§fn eq(&self, other: &StatementListItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatementListItem
source§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
indent level of 2 would produce this:
function hello() {
console.log("hello");
@@ -33,8 +33,8 @@
U: From<T>,§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/access/enum.PropertyAccess.html b/doc/boa_ast/expression/access/enum.PropertyAccess.html
index e8c3434e5c6..a1586964d2b 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccess.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccess.html
@@ -13,7 +13,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PropertyAccess> for PropertyAccess
source§fn eq(&self, other: &PropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccess
source§impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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 PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - Rust
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
diff --git a/doc/boa_ast/declaration/struct.IndirectExportEntry.html b/doc/boa_ast/declaration/struct.IndirectExportEntry.html
index f16a4cd3f53..c6570809096 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 896d7066779..02cd09ddca1 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 0ee4a8b0419..6bf218ad6ee 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.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index b7879dd8e13..78c533c1cd1 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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 f3aed932130..377a975463f 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 634d4e63f7c..bf7978a35f6 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -8,7 +8,7 @@
__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 3de0b6fadd3..4f2d6f9fd5c 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -14,7 +14,7 @@
__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 19ea66cf203..8d1eca05b1a 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
index 2a4311902fd..2074f2f4fbf 100644
--- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html
index 880ef695f71..6516cfac103 100644
--- a/doc/boa_ast/declaration/variable/struct.Variable.html
+++ b/doc/boa_ast/declaration/variable/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/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html
index 2b051eb1872..1d5ee5a4350 100644
--- a/doc/boa_ast/declaration/variable/struct.VariableList.html
+++ b/doc/boa_ast/declaration/variable/struct.VariableList.html
@@ -8,7 +8,7 @@
__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/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html
index 886e8e15625..aab9bd1862e 100644
--- a/doc/boa_ast/enum.StatementListItem.html
+++ b/doc/boa_ast/enum.StatementListItem.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
source§fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Declaration> for StatementListItem
source§fn from(decl: Declaration) -> Self
Converts to this type from the input type.source§impl From<Statement> for StatementListItem
source§impl PartialEq<StatementListItem> for StatementListItem
source§fn eq(&self, other: &StatementListItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatementListItem
source§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
indent level of 2 would produce this:
function hello() {
console.log("hello");
@@ -33,8 +33,8 @@
U: From<T>,§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/access/enum.PropertyAccess.html b/doc/boa_ast/expression/access/enum.PropertyAccess.html
index e8c3434e5c6..a1586964d2b 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccess.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccess.html
@@ -13,7 +13,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PropertyAccess> for PropertyAccess
source§fn eq(&self, other: &PropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccess
source§impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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 PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - 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
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 896d7066779..02cd09ddca1 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 0ee4a8b0419..6bf218ad6ee 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.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index b7879dd8e13..78c533c1cd1 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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 f3aed932130..377a975463f 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 634d4e63f7c..bf7978a35f6 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -8,7 +8,7 @@
__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 3de0b6fadd3..4f2d6f9fd5c 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -14,7 +14,7 @@
__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 19ea66cf203..8d1eca05b1a 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
index 2a4311902fd..2074f2f4fbf 100644
--- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html
index 880ef695f71..6516cfac103 100644
--- a/doc/boa_ast/declaration/variable/struct.Variable.html
+++ b/doc/boa_ast/declaration/variable/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/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html
index 2b051eb1872..1d5ee5a4350 100644
--- a/doc/boa_ast/declaration/variable/struct.VariableList.html
+++ b/doc/boa_ast/declaration/variable/struct.VariableList.html
@@ -8,7 +8,7 @@
__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/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html
index 886e8e15625..aab9bd1862e 100644
--- a/doc/boa_ast/enum.StatementListItem.html
+++ b/doc/boa_ast/enum.StatementListItem.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
source§fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Declaration> for StatementListItem
source§fn from(decl: Declaration) -> Self
Converts to this type from the input type.source§impl From<Statement> for StatementListItem
source§impl PartialEq<StatementListItem> for StatementListItem
source§fn eq(&self, other: &StatementListItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatementListItem
source§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
indent level of 2 would produce this:
function hello() {
console.log("hello");
@@ -33,8 +33,8 @@
U: From<T>,§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/access/enum.PropertyAccess.html b/doc/boa_ast/expression/access/enum.PropertyAccess.html
index e8c3434e5c6..a1586964d2b 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccess.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccess.html
@@ -13,7 +13,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PropertyAccess> for PropertyAccess
source§fn eq(&self, other: &PropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccess
source§impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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 PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - Rust
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 896d7066779..02cd09ddca1 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 0ee4a8b0419..6bf218ad6ee 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.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index b7879dd8e13..78c533c1cd1 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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 f3aed932130..377a975463f 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 634d4e63f7c..bf7978a35f6 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -8,7 +8,7 @@
__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 3de0b6fadd3..4f2d6f9fd5c 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -14,7 +14,7 @@
__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 19ea66cf203..8d1eca05b1a 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
index 2a4311902fd..2074f2f4fbf 100644
--- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html
index 880ef695f71..6516cfac103 100644
--- a/doc/boa_ast/declaration/variable/struct.Variable.html
+++ b/doc/boa_ast/declaration/variable/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/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html
index 2b051eb1872..1d5ee5a4350 100644
--- a/doc/boa_ast/declaration/variable/struct.VariableList.html
+++ b/doc/boa_ast/declaration/variable/struct.VariableList.html
@@ -8,7 +8,7 @@
__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/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html
index 886e8e15625..aab9bd1862e 100644
--- a/doc/boa_ast/enum.StatementListItem.html
+++ b/doc/boa_ast/enum.StatementListItem.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
source§fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Declaration> for StatementListItem
source§fn from(decl: Declaration) -> Self
Converts to this type from the input type.source§impl From<Statement> for StatementListItem
source§impl PartialEq<StatementListItem> for StatementListItem
source§fn eq(&self, other: &StatementListItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatementListItem
source§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
indent level of 2 would produce this:
function hello() {
console.log("hello");
@@ -33,8 +33,8 @@
U: From<T>,§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/access/enum.PropertyAccess.html b/doc/boa_ast/expression/access/enum.PropertyAccess.html
index e8c3434e5c6..a1586964d2b 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccess.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccess.html
@@ -13,7 +13,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PropertyAccess> for PropertyAccess
source§fn eq(&self, other: &PropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccess
source§impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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 PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - 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
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 0ee4a8b0419..6bf218ad6ee 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.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index b7879dd8e13..78c533c1cd1 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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 f3aed932130..377a975463f 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 634d4e63f7c..bf7978a35f6 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -8,7 +8,7 @@
__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 3de0b6fadd3..4f2d6f9fd5c 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -14,7 +14,7 @@
__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 19ea66cf203..8d1eca05b1a 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
index 2a4311902fd..2074f2f4fbf 100644
--- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html
index 880ef695f71..6516cfac103 100644
--- a/doc/boa_ast/declaration/variable/struct.Variable.html
+++ b/doc/boa_ast/declaration/variable/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/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html
index 2b051eb1872..1d5ee5a4350 100644
--- a/doc/boa_ast/declaration/variable/struct.VariableList.html
+++ b/doc/boa_ast/declaration/variable/struct.VariableList.html
@@ -8,7 +8,7 @@
__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/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html
index 886e8e15625..aab9bd1862e 100644
--- a/doc/boa_ast/enum.StatementListItem.html
+++ b/doc/boa_ast/enum.StatementListItem.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
source§fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Declaration> for StatementListItem
source§fn from(decl: Declaration) -> Self
Converts to this type from the input type.source§impl From<Statement> for StatementListItem
source§impl PartialEq<StatementListItem> for StatementListItem
source§fn eq(&self, other: &StatementListItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatementListItem
source§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
indent level of 2 would produce this:
function hello() {
console.log("hello");
@@ -33,8 +33,8 @@
U: From<T>,§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/access/enum.PropertyAccess.html b/doc/boa_ast/expression/access/enum.PropertyAccess.html
index e8c3434e5c6..a1586964d2b 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccess.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccess.html
@@ -13,7 +13,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PropertyAccess> for PropertyAccess
source§fn eq(&self, other: &PropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccess
source§impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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 PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - Rust
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 0ee4a8b0419..6bf218ad6ee 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.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index b7879dd8e13..78c533c1cd1 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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 f3aed932130..377a975463f 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 634d4e63f7c..bf7978a35f6 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -8,7 +8,7 @@
__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 3de0b6fadd3..4f2d6f9fd5c 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -14,7 +14,7 @@
__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 19ea66cf203..8d1eca05b1a 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
@@ -21,7 +21,7 @@
__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.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
index 2a4311902fd..2074f2f4fbf 100644
--- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html
index 880ef695f71..6516cfac103 100644
--- a/doc/boa_ast/declaration/variable/struct.Variable.html
+++ b/doc/boa_ast/declaration/variable/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/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html
index 2b051eb1872..1d5ee5a4350 100644
--- a/doc/boa_ast/declaration/variable/struct.VariableList.html
+++ b/doc/boa_ast/declaration/variable/struct.VariableList.html
@@ -8,7 +8,7 @@
__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/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html
index 886e8e15625..aab9bd1862e 100644
--- a/doc/boa_ast/enum.StatementListItem.html
+++ b/doc/boa_ast/enum.StatementListItem.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
source§fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Declaration> for StatementListItem
source§fn from(decl: Declaration) -> Self
Converts to this type from the input type.source§impl From<Statement> for StatementListItem
source§impl PartialEq<StatementListItem> for StatementListItem
source§fn eq(&self, other: &StatementListItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatementListItem
source§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
+ __S: Serializer,
Serialize this value into the given Serde serializer. Read moresource§impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an
indent level of 2 would produce this:
function hello() {
console.log("hello");
@@ -33,8 +33,8 @@
U: From<T>,§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/access/enum.PropertyAccess.html b/doc/boa_ast/expression/access/enum.PropertyAccess.html
index e8c3434e5c6..a1586964d2b 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccess.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccess.html
@@ -13,7 +13,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PropertyAccess> for PropertyAccess
source§fn eq(&self, other: &PropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccess
source§impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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 PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PropertyAccess
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/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - 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
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.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html
index b7879dd8e13..78c533c1cd1 100644
--- a/doc/boa_ast/declaration/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/struct.VarDeclaration.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where diff --git a/doc/boa_ast/declaration/struct.VarDeclaration.html b/doc/boa_ast/declaration/struct.VarDeclaration.html index b7879dd8e13..78c533c1cd1 100644 --- a/doc/boa_ast/declaration/struct.VarDeclaration.html +++ b/doc/boa_ast/declaration/struct.VarDeclaration.html @@ -21,7 +21,7 @@ __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 f3aed932130..377a975463f 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 f3aed932130..377a975463f 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 634d4e63f7c..bf7978a35f6 100644
--- a/doc/boa_ast/declaration/struct.VariableList.html
+++ b/doc/boa_ast/declaration/struct.VariableList.html
@@ -8,7 +8,7 @@
__D: Deserializer<'de>,
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 634d4e63f7c..bf7978a35f6 100644 --- a/doc/boa_ast/declaration/struct.VariableList.html +++ b/doc/boa_ast/declaration/struct.VariableList.html @@ -8,7 +8,7 @@ __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 3de0b6fadd3..4f2d6f9fd5c 100644
--- a/doc/boa_ast/declaration/variable/enum.Binding.html
+++ b/doc/boa_ast/declaration/variable/enum.Binding.html
@@ -14,7 +14,7 @@
__D: Deserializer<'de>,
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 3de0b6fadd3..4f2d6f9fd5c 100644 --- a/doc/boa_ast/declaration/variable/enum.Binding.html +++ b/doc/boa_ast/declaration/variable/enum.Binding.html @@ -14,7 +14,7 @@ __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 19ea66cf203..8d1eca05b1a 100644
--- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html
+++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.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/variable/enum.LexicalDeclaration.html b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html index 19ea66cf203..8d1eca05b1a 100644 --- a/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html +++ b/doc/boa_ast/declaration/variable/enum.LexicalDeclaration.html @@ -21,7 +21,7 @@ __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.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
index 2a4311902fd..2074f2f4fbf 100644
--- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html
+++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.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/variable/struct.VarDeclaration.html b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html index 2a4311902fd..2074f2f4fbf 100644 --- a/doc/boa_ast/declaration/variable/struct.VarDeclaration.html +++ b/doc/boa_ast/declaration/variable/struct.VarDeclaration.html @@ -21,7 +21,7 @@ __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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html
index 880ef695f71..6516cfac103 100644
--- a/doc/boa_ast/declaration/variable/struct.Variable.html
+++ b/doc/boa_ast/declaration/variable/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/variable/struct.Variable.html b/doc/boa_ast/declaration/variable/struct.Variable.html index 880ef695f71..6516cfac103 100644 --- a/doc/boa_ast/declaration/variable/struct.Variable.html +++ b/doc/boa_ast/declaration/variable/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/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html
index 2b051eb1872..1d5ee5a4350 100644
--- a/doc/boa_ast/declaration/variable/struct.VariableList.html
+++ b/doc/boa_ast/declaration/variable/struct.VariableList.html
@@ -8,7 +8,7 @@
__D: Deserializer<'de>,
fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/declaration/variable/struct.VariableList.html b/doc/boa_ast/declaration/variable/struct.VariableList.html index 2b051eb1872..1d5ee5a4350 100644 --- a/doc/boa_ast/declaration/variable/struct.VariableList.html +++ b/doc/boa_ast/declaration/variable/struct.VariableList.html @@ -8,7 +8,7 @@ __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/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html
index 886e8e15625..aab9bd1862e 100644
--- a/doc/boa_ast/enum.StatementListItem.html
+++ b/doc/boa_ast/enum.StatementListItem.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/enum.StatementListItem.html b/doc/boa_ast/enum.StatementListItem.html index 886e8e15625..aab9bd1862e 100644 --- a/doc/boa_ast/enum.StatementListItem.html +++ b/doc/boa_ast/enum.StatementListItem.html @@ -12,7 +12,7 @@ __D: Deserializer<'de>,
source§impl<'a> From<&'a StatementListItem> for NodeRef<'a>
impl<'a> From<&'a StatementListItem> for NodeRef<'a>
source§fn from(node: &'a StatementListItem) -> NodeRef<'a>
fn from(node: &'a StatementListItem) -> NodeRef<'a>
source§impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>
source§fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
fn from(node: &'a mut StatementListItem) -> NodeRefMut<'a>
source§impl From<Declaration> for StatementListItem
impl From<Declaration> for StatementListItem
source§fn from(decl: Declaration) -> Self
fn from(decl: Declaration) -> Self
source§impl From<Statement> for StatementListItem
impl From<Statement> for StatementListItem
source§impl PartialEq<StatementListItem> for StatementListItem
impl PartialEq<StatementListItem> for StatementListItem
source§fn eq(&self, other: &StatementListItem) -> bool
fn eq(&self, other: &StatementListItem) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StatementListItem
impl Serialize for StatementListItem
source§impl ToIndentedString for StatementListItem
impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an + __S: Serializer,
source§impl ToIndentedString for StatementListItem
impl ToIndentedString for StatementListItem
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Creates a string of the value of the node with the given indentation. For example, an indent level of 2 would produce this:
function hello() {
console.log("hello");
@@ -33,8 +33,8 @@
U: From<T>,§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
impl<T> ToInternedString for Twhere + T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/expression/access/enum.PropertyAccess.html b/doc/boa_ast/expression/access/enum.PropertyAccess.html index e8c3434e5c6..a1586964d2b 100644 --- a/doc/boa_ast/expression/access/enum.PropertyAccess.html +++ b/doc/boa_ast/expression/access/enum.PropertyAccess.html @@ -13,7 +13,7 @@ __D: Deserializer<'de>,
source§impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
impl<'a> From<&'a PropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PropertyAccess) -> NodeRef<'a>
fn from(node: &'a PropertyAccess) -> NodeRef<'a>
source§impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
fn from(node: &'a mut PropertyAccess) -> NodeRefMut<'a>
source§impl From<PrivatePropertyAccess> for PropertyAccess
impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
fn from(access: PrivatePropertyAccess) -> Self
source§impl From<PropertyAccess> for Expression
impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
fn from(access: PropertyAccess) -> Self
source§impl From<SimplePropertyAccess> for PropertyAccess
impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
fn from(access: SimplePropertyAccess) -> Self
source§impl From<SuperPropertyAccess> for PropertyAccess
impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
fn from(access: SuperPropertyAccess) -> Self
source§impl PartialEq<PropertyAccess> for PropertyAccess
impl PartialEq<PropertyAccess> for PropertyAccess
source§fn eq(&self, other: &PropertyAccess) -> bool
fn eq(&self, other: &PropertyAccess) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccess
impl Serialize for PropertyAccess
source§impl ToInternedString for PropertyAccess
impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for PropertyAccess
impl VisitWith for PropertyAccess
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 PropertyAccess
impl ToInternedString for PropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for PropertyAccess
impl VisitWith for PropertyAccess
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/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - Rust
fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/expression/access/enum.PropertyAccessField.html b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
index 2aef8e5df9f..0fa09f52039 100644
--- a/doc/boa_ast/expression/access/enum.PropertyAccessField.html
+++ b/doc/boa_ast/expression/access/enum.PropertyAccessField.html
@@ -1,14 +1,14 @@
PropertyAccessField in boa_ast::expression::access - Rust Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
§Const(Sym)
A constant property field, such as x.prop
.
+Variants§
§Const(Sym)
A constant property field, such as x.prop
.
§Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> 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 PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
Converts to this type from the input type.source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
source§impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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 Await
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.html
@@ -21,7 +21,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl PartialEq<Call> for Call
source§impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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 Call
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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 ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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 SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - Rust
Enum boa_ast::expression::access::PropertyAccessField
source · pub enum PropertyAccessField {
- Const(Sym),
+ Const(Sym),
Expr(Box<Expression>),
}
Expand description
A property access field.
See the module level documentation for more information.
-Variants§
Const(Sym)
A constant property field, such as x.prop
.
Variants§
Const(Sym)
A constant property field, such as x.prop
.
Expr(Box<Expression>)
An expression property field, such as x["val"]
.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
impl<'arbitrary> Arbitrary<'arbitrary> for PropertyAccessField
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 PropertyAccessField
impl Clone for PropertyAccessField
source§fn clone(&self) -> PropertyAccessField
fn clone(&self) -> PropertyAccessField
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PropertyAccessField
impl Debug for PropertyAccessField
source§impl<'de> Deserialize<'de> for PropertyAccessField
impl<'de> Deserialize<'de> for PropertyAccessField
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 PropertyAccessField> for NodeRef<'a>
impl<'a> From<&'a PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
source§impl From<Expression> for PropertyAccessField
impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
fn from(expr: Expression) -> Self
source§impl From<Sym> for PropertyAccessField
impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
fn eq(&self, other: &PropertyAccessField) -> bool
self
and other
values to be equal, and is used
+ __D: Deserializer<'de>,source§impl<'a> From<&'a PropertyAccessField> for NodeRef<'a>
impl<'a> From<&'a PropertyAccessField> for NodeRef<'a>
source§fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
fn from(node: &'a PropertyAccessField) -> NodeRef<'a>
source§impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>
source§fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
fn from(node: &'a mut PropertyAccessField) -> NodeRefMut<'a>
source§impl From<Expression> for PropertyAccessField
impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
fn from(expr: Expression) -> Self
source§impl From<Sym> for PropertyAccessField
impl From<Sym> for PropertyAccessField
source§impl PartialEq<PropertyAccessField> for PropertyAccessField
impl PartialEq<PropertyAccessField> for PropertyAccessField
source§fn eq(&self, other: &PropertyAccessField) -> bool
fn eq(&self, other: &PropertyAccessField) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PropertyAccessField
impl Serialize for PropertyAccessField
source§impl VisitWith for PropertyAccessField
impl VisitWith for PropertyAccessField
source§fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where
diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
index d4bcedeecc5..204f61588d3 100644
--- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where diff --git a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html index d4bcedeecc5..204f61588d3 100644 --- a/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html +++ b/doc/boa_ast/expression/access/struct.PrivatePropertyAccess.html @@ -15,7 +15,7 @@ __D: Deserializer<'de>,
source§impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
fn from(node: &'a PrivatePropertyAccess) -> NodeRef<'a>
source§impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
fn from(node: &'a mut PrivatePropertyAccess) -> NodeRefMut<'a>
source§impl From<PrivatePropertyAccess> for PropertyAccess
impl From<PrivatePropertyAccess> for PropertyAccess
source§fn from(access: PrivatePropertyAccess) -> Self
fn from(access: PrivatePropertyAccess) -> Self
source§impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess
source§fn eq(&self, other: &PrivatePropertyAccess) -> bool
fn eq(&self, other: &PrivatePropertyAccess) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrivatePropertyAccess
impl Serialize for PrivatePropertyAccess
source§impl ToInternedString for PrivatePropertyAccess
impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for PrivatePropertyAccess
impl VisitWith for PrivatePropertyAccess
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 PrivatePropertyAccess
impl ToInternedString for PrivatePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for PrivatePropertyAccess
impl VisitWith for PrivatePropertyAccess
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/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
index 15023bfa539..4c68d6d9466 100644
--- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html
@@ -12,7 +12,7 @@
__D: Deserializer<'de>,
fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html index 15023bfa539..4c68d6d9466 100644 --- a/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html +++ b/doc/boa_ast/expression/access/struct.SimplePropertyAccess.html @@ -12,7 +12,7 @@ __D: Deserializer<'de>,
source§impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
fn from(node: &'a SimplePropertyAccess) -> NodeRef<'a>
source§impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
fn from(node: &'a mut SimplePropertyAccess) -> NodeRefMut<'a>
source§impl From<SimplePropertyAccess> for PropertyAccess
impl From<SimplePropertyAccess> for PropertyAccess
source§fn from(access: SimplePropertyAccess) -> Self
fn from(access: SimplePropertyAccess) -> Self
source§impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess
source§fn eq(&self, other: &SimplePropertyAccess) -> bool
fn eq(&self, other: &SimplePropertyAccess) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SimplePropertyAccess
impl Serialize for SimplePropertyAccess
source§impl ToInternedString for SimplePropertyAccess
impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for SimplePropertyAccess
impl VisitWith for SimplePropertyAccess
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 SimplePropertyAccess
impl ToInternedString for SimplePropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for SimplePropertyAccess
impl VisitWith for SimplePropertyAccess
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/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
index fac973e0cb0..422941e879b 100644
--- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
+++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html
@@ -11,7 +11,7 @@
__D: Deserializer<'de>,
fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html index fac973e0cb0..422941e879b 100644 --- a/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html +++ b/doc/boa_ast/expression/access/struct.SuperPropertyAccess.html @@ -11,7 +11,7 @@ __D: Deserializer<'de>,
source§impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>
source§fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
fn from(node: &'a SuperPropertyAccess) -> NodeRef<'a>
source§impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
fn from(node: &'a mut SuperPropertyAccess) -> NodeRefMut<'a>
source§impl From<SuperPropertyAccess> for PropertyAccess
impl From<SuperPropertyAccess> for PropertyAccess
source§fn from(access: SuperPropertyAccess) -> Self
fn from(access: SuperPropertyAccess) -> Self
source§impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess
source§fn eq(&self, other: &SuperPropertyAccess) -> bool
fn eq(&self, other: &SuperPropertyAccess) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SuperPropertyAccess
impl Serialize for SuperPropertyAccess
source§impl ToInternedString for SuperPropertyAccess
impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for SuperPropertyAccess
impl VisitWith for SuperPropertyAccess
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 SuperPropertyAccess
impl ToInternedString for SuperPropertyAccess
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for SuperPropertyAccess
impl VisitWith for SuperPropertyAccess
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/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html
index 8bc9ae24377..e10597cfd3e 100644
--- a/doc/boa_ast/expression/await/struct.Await.html
+++ b/doc/boa_ast/expression/await/struct.Await.html
@@ -15,7 +15,7 @@
T: Into<Box<Expression>>,
fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/await/struct.Await.html b/doc/boa_ast/expression/await/struct.Await.html index 8bc9ae24377..e10597cfd3e 100644 --- a/doc/boa_ast/expression/await/struct.Await.html +++ b/doc/boa_ast/expression/await/struct.Await.html @@ -15,7 +15,7 @@ T: Into<Box<Expression>>,
source§impl PartialEq<Await> for Await
impl PartialEq<Await> for Await
source§impl ToInternedString for Await
impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for Await
impl VisitWith for Await
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 Await
impl ToInternedString for Await
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for Await
impl VisitWith for Await
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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html
index 6f570829e29..40ebb2344ab 100644
--- a/doc/boa_ast/expression/call/struct.Call.html
+++ b/doc/boa_ast/expression/call/struct.Call.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/expression/call/struct.Call.html b/doc/boa_ast/expression/call/struct.Call.html index 6f570829e29..40ebb2344ab 100644 --- a/doc/boa_ast/expression/call/struct.Call.html +++ b/doc/boa_ast/expression/call/struct.Call.html @@ -21,7 +21,7 @@ __D: Deserializer<'de>,
source§impl<'a> From<&'a mut Call> for NodeRefMut<'a>
impl<'a> From<&'a mut Call> for NodeRefMut<'a>
source§fn from(node: &'a mut Call) -> NodeRefMut<'a>
fn from(node: &'a mut Call) -> NodeRefMut<'a>
source§impl From<Call> for Expression
impl From<Call> for Expression
source§impl PartialEq<Call> for Call
impl PartialEq<Call> for Call
source§impl ToInternedString for Call
impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for Call
impl VisitWith for Call
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 Call
impl ToInternedString for Call
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for Call
impl VisitWith for Call
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/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html
index b439ad8de6f..97c029d0869 100644
--- a/doc/boa_ast/expression/call/struct.ImportCall.html
+++ b/doc/boa_ast/expression/call/struct.ImportCall.html
@@ -17,7 +17,7 @@
__D: Deserializer<'de>,
fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/call/struct.ImportCall.html b/doc/boa_ast/expression/call/struct.ImportCall.html index b439ad8de6f..97c029d0869 100644 --- a/doc/boa_ast/expression/call/struct.ImportCall.html +++ b/doc/boa_ast/expression/call/struct.ImportCall.html @@ -17,7 +17,7 @@ __D: Deserializer<'de>,
source§impl<'a> From<&'a ImportCall> for NodeRef<'a>
impl<'a> From<&'a ImportCall> for NodeRef<'a>
source§fn from(node: &'a ImportCall) -> NodeRef<'a>
fn from(node: &'a ImportCall) -> NodeRef<'a>
source§impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>
source§fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
fn from(node: &'a mut ImportCall) -> NodeRefMut<'a>
source§impl From<ImportCall> for Expression
impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
fn from(call: ImportCall) -> Self
source§impl PartialEq<ImportCall> for ImportCall
impl PartialEq<ImportCall> for ImportCall
source§fn eq(&self, other: &ImportCall) -> bool
fn eq(&self, other: &ImportCall) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ImportCall
impl Serialize for ImportCall
source§impl ToInternedString for ImportCall
impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for ImportCall
impl VisitWith for ImportCall
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 ImportCall
impl ToInternedString for ImportCall
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for ImportCall
impl VisitWith for ImportCall
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/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html
index 8ad4b129b29..6371ec911a0 100644
--- a/doc/boa_ast/expression/call/struct.SuperCall.html
+++ b/doc/boa_ast/expression/call/struct.SuperCall.html
@@ -15,7 +15,7 @@
__D: Deserializer<'de>,
fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/call/struct.SuperCall.html b/doc/boa_ast/expression/call/struct.SuperCall.html index 8ad4b129b29..6371ec911a0 100644 --- a/doc/boa_ast/expression/call/struct.SuperCall.html +++ b/doc/boa_ast/expression/call/struct.SuperCall.html @@ -15,7 +15,7 @@ __D: Deserializer<'de>,
source§impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>
source§fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
fn from(node: &'a mut SuperCall) -> NodeRefMut<'a>
source§impl From<SuperCall> for Expression
impl From<SuperCall> for Expression
source§impl PartialEq<SuperCall> for SuperCall
impl PartialEq<SuperCall> for SuperCall
source§impl ToInternedString for SuperCall
impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for SuperCall
impl VisitWith for SuperCall
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 SuperCall
impl ToInternedString for SuperCall
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for SuperCall
impl VisitWith for SuperCall
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/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - Rust
fn visit_with_mut<'a, V>(
&'a mut self,
visitor: &mut V
diff --git a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
index d64fe80f071..4ed51ba3c8c 100644
--- a/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression - Rust Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/enum.Expression.html b/doc/boa_ast/expression/enum.Expression.html
index a15ddef7470..b1d26b00e3c 100644
--- a/doc/boa_ast/expression/enum.Expression.html
+++ b/doc/boa_ast/expression/enum.Expression.html
@@ -78,7 +78,7 @@
§Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper
@@ -100,7 +100,7 @@
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
Converts to this type from the input type.source§impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
Converts to this type from the input type.source§impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
Converts to this type from the input type.source§impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
Converts to this type from the input type.source§impl From<Await> for Expression
source§impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
Converts to this type from the input type.source§impl From<Call> for Expression
source§impl From<Class> for Expression
source§impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
Converts to this type from the input type.source§impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
Converts to this type from the input type.source§impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
Converts to this type from the input type.source§impl From<Function> for Expression
source§impl From<Generator> for Expression
source§impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
Converts to this type from the input type.source§impl From<Literal> for Expression
source§impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
Converts to this type from the input type.source§impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
Converts to this type from the input type.source§impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
Converts to this type from the input type.source§impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
Converts to this type from the input type.source§impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
Converts to this type from the input type.source§impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
Converts to this type from the input type.source§impl From<Unary> for Expression
source§impl From<Update> for Expression
source§impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
source§impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
Converts the element to a string using an interner, with the given indentation.source§impl VisitWith for Expression
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 ToIndentedString for Expression
source§impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - Rust
Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+Constant boa_ast::expression::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
Parenthesized(Parenthesized)
See Parenthesized
.
Implementations§
source§impl Expression
impl Expression
sourcepub(crate) fn to_no_indent_string(
&self,
- interner: &Interner,
+ interner: &Interner,
indentation: usize
) -> String
pub(crate) fn to_no_indent_string( &self, - interner: &Interner, + interner: &Interner, indentation: usize ) -> String
Implements the display formatting with indentation.
This will not prefix the value with any indentation. If you want to prefix this with proper @@ -100,7 +100,7 @@ __D: Deserializer<'de>,
source§impl<'a> From<&'a Expression> for NodeRef<'a>
impl<'a> From<&'a Expression> for NodeRef<'a>
source§fn from(node: &'a Expression) -> NodeRef<'a>
fn from(node: &'a Expression) -> NodeRef<'a>
source§impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
impl<'a> From<&'a mut Expression> for NodeRefMut<'a>
source§fn from(node: &'a mut Expression) -> NodeRefMut<'a>
fn from(node: &'a mut Expression) -> NodeRefMut<'a>
source§impl From<ArrayLiteral> for Expression
impl From<ArrayLiteral> for Expression
source§fn from(arr: ArrayLiteral) -> Self
fn from(arr: ArrayLiteral) -> Self
source§impl From<ArrowFunction> for Expression
impl From<ArrowFunction> for Expression
source§fn from(decl: ArrowFunction) -> Self
fn from(decl: ArrowFunction) -> Self
source§impl From<Assign> for Expression
impl From<Assign> for Expression
source§impl From<AsyncArrowFunction> for Expression
impl From<AsyncArrowFunction> for Expression
source§fn from(decl: AsyncArrowFunction) -> Self
fn from(decl: AsyncArrowFunction) -> Self
source§impl From<AsyncFunction> for Expression
impl From<AsyncFunction> for Expression
source§fn from(expr: AsyncFunction) -> Self
fn from(expr: AsyncFunction) -> Self
source§impl From<AsyncGenerator> for Expression
impl From<AsyncGenerator> for Expression
source§fn from(expr: AsyncGenerator) -> Self
fn from(expr: AsyncGenerator) -> Self
source§impl From<Await> for Expression
impl From<Await> for Expression
source§impl From<Binary> for Expression
impl From<Binary> for Expression
source§impl From<BinaryInPrivate> for Expression
impl From<BinaryInPrivate> for Expression
source§fn from(op: BinaryInPrivate) -> Self
fn from(op: BinaryInPrivate) -> Self
source§impl From<Call> for Expression
impl From<Call> for Expression
source§impl From<Class> for Expression
impl From<Class> for Expression
source§impl From<Conditional> for Expression
impl From<Conditional> for Expression
source§fn from(cond_op: Conditional) -> Self
fn from(cond_op: Conditional) -> Self
source§impl From<Expression> for ForLoopInitializer
impl From<Expression> for ForLoopInitializer
source§fn from(expr: Expression) -> Self
fn from(expr: Expression) -> Self
source§impl From<Expression> for PropertyAccessField
impl From<Expression> for PropertyAccessField
source§fn from(expr: Expression) -> Self
fn from(expr: Expression) -> Self
source§impl From<Expression> for PropertyName
impl From<Expression> for PropertyName
source§fn from(name: Expression) -> Self
fn from(name: Expression) -> Self
source§impl From<Expression> for Statement
impl From<Expression> for Statement
source§fn from(expr: Expression) -> Self
fn from(expr: Expression) -> Self
source§impl From<Function> for Expression
impl From<Function> for Expression
source§impl From<Generator> for Expression
impl From<Generator> for Expression
source§impl From<Identifier> for Expression
impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
fn from(local: Identifier) -> Self
source§impl From<ImportCall> for Expression
impl From<ImportCall> for Expression
source§fn from(call: ImportCall) -> Self
fn from(call: ImportCall) -> Self
source§impl From<Literal> for Expression
impl From<Literal> for Expression
source§impl From<New> for Expression
impl From<New> for Expression
source§impl From<ObjectLiteral> for Expression
impl From<ObjectLiteral> for Expression
source§fn from(obj: ObjectLiteral) -> Self
fn from(obj: ObjectLiteral) -> Self
source§impl From<Optional> for Expression
impl From<Optional> for Expression
source§impl From<Parenthesized> for Expression
impl From<Parenthesized> for Expression
source§fn from(p: Parenthesized) -> Self
fn from(p: Parenthesized) -> Self
source§impl From<PropertyAccess> for Expression
impl From<PropertyAccess> for Expression
source§fn from(access: PropertyAccess) -> Self
fn from(access: PropertyAccess) -> Self
source§impl From<RegExpLiteral> for Expression
impl From<RegExpLiteral> for Expression
source§fn from(value: RegExpLiteral) -> Self
fn from(value: RegExpLiteral) -> Self
source§impl From<Spread> for Expression
impl From<Spread> for Expression
source§impl From<SuperCall> for Expression
impl From<SuperCall> for Expression
source§impl From<TaggedTemplate> for Expression
impl From<TaggedTemplate> for Expression
source§fn from(template: TaggedTemplate) -> Self
fn from(template: TaggedTemplate) -> Self
source§impl From<TemplateLiteral> for Expression
impl From<TemplateLiteral> for Expression
source§fn from(tem: TemplateLiteral) -> Self
fn from(tem: TemplateLiteral) -> Self
source§impl From<Unary> for Expression
impl From<Unary> for Expression
source§impl From<Update> for Expression
impl From<Update> for Expression
source§impl From<Yield> for Expression
impl From<Yield> for Expression
source§impl PartialEq<Expression> for Expression
impl PartialEq<Expression> for Expression
source§fn eq(&self, other: &Expression) -> bool
fn eq(&self, other: &Expression) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Expression
impl Serialize for Expression
source§impl ToIndentedString for Expression
impl ToIndentedString for Expression
source§fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
fn to_indented_string(&self, interner: &Interner, indentation: usize) -> String
source§impl VisitWith for Expression
impl VisitWith for Expression
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 ToIndentedString for Expression
impl ToIndentedString for Expression
source§impl VisitWith for Expression
impl VisitWith for Expression
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
@@ -114,8 +114,8 @@
U: From<T>,
fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -114,8 +114,8 @@ U: From<T>,
§impl<T> ToInternedString for Twhere
- T: ToIndentedString,
impl<T> ToInternedString for Twhere - T: ToIndentedString,
§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl<T> ToInternedString for Twhere
+ T: ToIndentedString,
impl<T> ToInternedString for Twhere + T: ToIndentedString,
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
impl<T> DeserializeOwned for Twhere
diff --git a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
index 6fc558e4abf..2388b129499 100644
--- a/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
+++ b/doc/boa_ast/expression/identifier/constant.RESERVED_IDENTIFIERS_STRICT.html
@@ -1,2 +1,2 @@
-RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+RESERVED_IDENTIFIERS_STRICT in boa_ast::expression::identifier - Rust Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
\ No newline at end of file
diff --git a/doc/boa_ast/expression/identifier/struct.Identifier.html b/doc/boa_ast/expression/identifier/struct.Identifier.html
index 9e5b839df96..617da0da7cb 100644
--- a/doc/boa_ast/expression/identifier/struct.Identifier.html
+++ b/doc/boa_ast/expression/identifier/struct.Identifier.html
@@ -1,5 +1,5 @@
Identifier in boa_ast::expression::identifier - Rust Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and
@@ -12,21 +12,21 @@
ECMAScript reference
MDN documentation
-Fields§
§ident: Sym
Implementations§
source§impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
source§fn clone(&self) -> Identifier
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
Converts to this type from the input type.source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
Converts to this type from the input type.source§impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
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 From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
Converts to this type from the input type.source§impl From<Sym> for Identifier
source§impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
source§impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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 Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ArrayLiteral
source§impl ToInternedString for ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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 ArrayLiteral
source§fn to_interned_string(&self, interner: &Interner) -> String
Converts a given element to a string using an interner.source§impl VisitWith for ArrayLiteral
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/expression/literal/enum.Literal.html b/doc/boa_ast/expression/literal/enum.Literal.html
index a5c1f20d9fe..d17b3a3af3f 100644
--- a/doc/boa_ast/expression/literal/enum.Literal.html
+++ b/doc/boa_ast/expression/literal/enum.Literal.html
@@ -1,5 +1,5 @@
Literal in boa_ast::expression::literal - Rust
Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
+Constant boa_ast::expression::identifier::RESERVED_IDENTIFIERS_STRICT
source · pub const RESERVED_IDENTIFIERS_STRICT: [Sym; 9];
Expand description
List of reserved keywords exclusive to strict mode.
Struct boa_ast::expression::identifier::Identifier
source · #[repr(transparent)]pub struct Identifier {
- ident: Sym,
+ ident: Sym,
}
Expand description
An identifier
is a sequence of characters in the code that identifies a variable,
function, or property.
In ECMAScript, identifiers are case-sensitive and can contain Unicode letters, $, _, and @@ -12,21 +12,21 @@
Fields§
§ident: Sym
Implementations§
source§impl Identifier
impl Identifier
Fields§
§ident: Sym
Implementations§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
impl<'arbitrary> Arbitrary<'arbitrary> for Identifier
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 Identifier
impl Clone for Identifier
source§fn clone(&self) -> Identifier
fn clone(&self) -> Identifier
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Identifier
impl Debug for Identifier
source§impl<'de> Deserialize<'de> for Identifier
impl<'de> Deserialize<'de> for Identifier
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 Identifier> for NodeRef<'a>
impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
fn from(node: &'a Identifier) -> NodeRef<'a>
source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
source§impl From<Identifier> for AssignTarget
impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
fn from(target: Identifier) -> Self
source§impl From<Identifier> for Binding
impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
fn from(id: Identifier) -> Self
source§impl From<Identifier> for Expression
impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
fn from(local: Identifier) -> Self
source§impl From<Sym> for Identifier
impl From<Sym> for Identifier
source§impl Hash for Identifier
impl Hash for Identifier
source§impl<'a> From<&'a Identifier> for NodeRef<'a>
impl<'a> From<&'a Identifier> for NodeRef<'a>
source§fn from(node: &'a Identifier) -> NodeRef<'a>
fn from(node: &'a Identifier) -> NodeRef<'a>
source§impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>
source§fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
fn from(node: &'a mut Identifier) -> NodeRefMut<'a>
source§impl From<Identifier> for AssignTarget
impl From<Identifier> for AssignTarget
source§fn from(target: Identifier) -> Self
fn from(target: Identifier) -> Self
source§impl From<Identifier> for Binding
impl From<Identifier> for Binding
source§fn from(id: Identifier) -> Self
fn from(id: Identifier) -> Self
source§impl From<Identifier> for Expression
impl From<Identifier> for Expression
source§fn from(local: Identifier) -> Self
fn from(local: Identifier) -> Self
source§impl From<Sym> for Identifier
impl From<Sym> for Identifier
source§impl Hash for Identifier
impl Hash for Identifier
source§impl PartialEq<Identifier> for Identifier
impl PartialEq<Identifier> for Identifier
source§fn eq(&self, other: &Identifier) -> bool
fn eq(&self, other: &Identifier) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Identifier> for Sym
impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
fn eq(&self, other: &Identifier) -> bool
self
and other
values to be equal, and is used
+sufficient, and should not be overridden without very good reason.source§impl PartialEq<Identifier> for Sym
impl PartialEq<Identifier> for Sym
source§fn eq(&self, other: &Identifier) -> bool
fn eq(&self, other: &Identifier) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Sym> for Identifier
impl PartialEq<Sym> for Identifier
source§impl PartialEq<Sym> for Identifier
impl PartialEq<Sym> for Identifier
source§impl Serialize for Identifier
impl Serialize for Identifier
source§impl ToInternedString for Identifier
impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for Identifier
impl VisitWith for Identifier
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 Identifier
impl ToInternedString for Identifier
source§fn to_interned_string(&self, interner: &Interner) -> String
fn to_interned_string(&self, interner: &Interner) -> String
source§impl VisitWith for Identifier
impl VisitWith for Identifier
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/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
index d260f283867..4bd80a45213 100644
--- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
+++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html
@@ -25,7 +25,7 @@
T: Into<Box<[Option<Expression>]>>,
fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html index d260f283867..4bd80a45213 100644 --- a/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html +++ b/doc/boa_ast/expression/literal/array/struct.ArrayLiteral.html @@ -25,7 +25,7 @@ T: Into<Box<[Option<Expression>]>>,
source§impl PartialEq<ArrayLiteral> for ArrayLiteral
impl PartialEq<ArrayLiteral> for ArrayLiteral
source§fn eq(&self, other: &ArrayLiteral) -> bool
fn eq(&self, other: &ArrayLiteral) -> bool
self
and other
values to be equal, and is used
by ==
.