From 31827072803dba52640078071fb240ae05b3be18 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 5 Nov 2023 22:24:20 +0000 Subject: [PATCH] Deploy to GitHub pages --- doc/boa_ast/declaration/enum.Binding.html | 2 +- doc/boa_ast/declaration/enum.Declaration.html | 6 +- doc/boa_ast/declaration/enum.ExportEntry.html | 4 +- doc/boa_ast/declaration/enum.ImportName.html | 4 +- .../declaration/enum.LexicalDeclaration.html | 2 +- .../declaration/enum.ReExportImportName.html | 4 +- .../declaration/enum.ReExportKind.html | 4 +- .../declaration/export/enum.ExportEntry.html | 4 +- .../export/enum.ReExportImportName.html | 4 +- .../declaration/export/enum.ReExportKind.html | 4 +- .../export/struct.ExportSpecifier.html | 10 +- .../export/struct.IndirectExportEntry.html | 14 +- .../export/struct.LocalExportEntry.html | 6 +- .../declaration/import/enum.ImportName.html | 4 +- .../import/struct.ImportEntry.html | 8 +- .../import/struct.ImportSpecifier.html | 6 +- .../declaration/struct.ExportSpecifier.html | 10 +- .../declaration/struct.ImportEntry.html | 8 +- .../declaration/struct.ImportSpecifier.html | 6 +- .../struct.IndirectExportEntry.html | 14 +- .../declaration/struct.LocalExportEntry.html | 6 +- .../declaration/struct.ModuleSpecifier.html | 8 +- .../declaration/struct.VarDeclaration.html | 2 +- doc/boa_ast/declaration/struct.Variable.html | 2 +- .../declaration/struct.VariableList.html | 2 +- .../declaration/variable/enum.Binding.html | 2 +- .../variable/enum.LexicalDeclaration.html | 2 +- .../variable/struct.VarDeclaration.html | 2 +- .../declaration/variable/struct.Variable.html | 2 +- .../variable/struct.VariableList.html | 2 +- doc/boa_ast/enum.StatementListItem.html | 6 +- .../access/enum.PropertyAccess.html | 2 +- .../access/enum.PropertyAccessField.html | 6 +- .../access/struct.PrivatePropertyAccess.html | 2 +- .../access/struct.SimplePropertyAccess.html | 2 +- .../access/struct.SuperPropertyAccess.html | 2 +- .../expression/await/struct.Await.html | 2 +- doc/boa_ast/expression/call/struct.Call.html | 2 +- .../expression/call/struct.ImportCall.html | 2 +- .../expression/call/struct.SuperCall.html | 2 +- .../constant.RESERVED_IDENTIFIERS_STRICT.html | 2 +- doc/boa_ast/expression/enum.Expression.html | 8 +- .../constant.RESERVED_IDENTIFIERS_STRICT.html | 2 +- .../identifier/struct.Identifier.html | 14 +- .../literal/array/struct.ArrayLiteral.html | 2 +- .../expression/literal/enum.Literal.html | 8 +- .../literal/enum.TemplateElement.html | 4 +- .../literal/object/struct.ObjectLiteral.html | 6 +- .../literal/struct.ArrayLiteral.html | 2 +- .../literal/struct.ObjectLiteral.html | 6 +- .../literal/struct.TemplateLiteral.html | 2 +- .../template/enum.TemplateElement.html | 4 +- .../template/struct.TemplateLiteral.html | 2 +- doc/boa_ast/expression/new/struct.New.html | 2 +- .../operator/assign/enum.AssignTarget.html | 2 +- .../operator/assign/struct.Assign.html | 2 +- .../operator/binary/struct.Binary.html | 2 +- .../binary/struct.BinaryInPrivate.html | 2 +- .../conditional/struct.Conditional.html | 2 +- .../operator/struct.Conditional.html | 2 +- .../operator/unary/struct.Unary.html | 2 +- .../operator/update/enum.UpdateTarget.html | 2 +- .../operator/update/struct.Update.html | 2 +- .../expression/optional/struct.Optional.html | 2 +- .../optional/struct.OptionalOperation.html | 2 +- .../parenthesized/struct.Parenthesized.html | 2 +- .../regexp/struct.RegExpLiteral.html | 12 +- .../expression/spread/struct.Spread.html | 2 +- doc/boa_ast/expression/struct.Await.html | 2 +- doc/boa_ast/expression/struct.Call.html | 2 +- doc/boa_ast/expression/struct.Identifier.html | 14 +- doc/boa_ast/expression/struct.ImportCall.html | 2 +- doc/boa_ast/expression/struct.New.html | 2 +- doc/boa_ast/expression/struct.Optional.html | 2 +- .../expression/struct.OptionalOperation.html | 2 +- .../expression/struct.Parenthesized.html | 2 +- .../expression/struct.RegExpLiteral.html | 12 +- doc/boa_ast/expression/struct.Spread.html | 2 +- doc/boa_ast/expression/struct.SuperCall.html | 2 +- .../expression/struct.TaggedTemplate.html | 16 +- doc/boa_ast/expression/struct.Yield.html | 2 +- .../struct.TaggedTemplate.html | 16 +- .../expression/yield/struct.Yield.html | 2 +- doc/boa_ast/fn.block_to_string.html | 2 +- doc/boa_ast/fn.join_nodes.html | 4 +- .../arrow_function/struct.ArrowFunction.html | 6 +- .../struct.AsyncArrowFunction.html | 6 +- .../async_function/struct.AsyncFunction.html | 6 +- .../struct.AsyncGenerator.html | 6 +- doc/boa_ast/function/class/struct.Class.html | 6 +- .../function/class/struct.PrivateName.html | 8 +- .../function/generator/struct.Generator.html | 6 +- .../parameters/struct.FormalParameter.html | 2 +- .../function/struct.ArrowFunction.html | 6 +- .../function/struct.AsyncArrowFunction.html | 6 +- .../function/struct.AsyncFunction.html | 6 +- .../function/struct.AsyncGenerator.html | 6 +- doc/boa_ast/function/struct.Class.html | 6 +- .../function/struct.FormalParameter.html | 2 +- doc/boa_ast/function/struct.Function.html | 6 +- doc/boa_ast/function/struct.Generator.html | 6 +- doc/boa_ast/function/struct.PrivateName.html | 8 +- doc/boa_ast/keyword/enum.Keyword.html | 2 +- .../struct.ModuleItemList.html | 4 +- .../operations/enum.CheckLabelsError.html | 14 +- .../fn.all_private_identifiers_valid.html | 2 +- ...uct.AllPrivateIdentifiersValidVisitor.html | 4 +- ...AnnexBFunctionDeclarationNamesVisitor.html | 2 +- .../operations/struct.BoundNamesVisitor.html | 2 +- .../struct.LexicallyDeclaredNamesVisitor.html | 2 +- ...ct.LexicallyScopedDeclarationsVisitor.html | 2 +- .../struct.ReturnsValueVisitor.html | 2 +- ...velLexicallyScopedDeclarationsVisitor.html | 2 +- ....TopLevelVarScopedDeclarationsVisitor.html | 2 +- .../struct.VarDeclaredNamesVisitor.html | 2 +- .../struct.VarScopedDeclarationsVisitor.html | 2 +- doc/boa_ast/operations/trait.IdentList.html | 4 +- .../pattern/enum.ArrayPatternElement.html | 2 +- .../pattern/enum.ObjectPatternElement.html | 2 +- doc/boa_ast/pattern/enum.Pattern.html | 2 +- doc/boa_ast/pattern/struct.ArrayPattern.html | 2 +- doc/boa_ast/pattern/struct.ObjectPattern.html | 2 +- .../property/enum.ClassElementName.html | 2 +- doc/boa_ast/property/enum.PropertyName.html | 12 +- doc/boa_ast/source/struct.Script.html | 6 +- doc/boa_ast/statement/block/struct.Block.html | 6 +- doc/boa_ast/statement/enum.LabelledItem.html | 4 +- doc/boa_ast/statement/enum.Statement.html | 8 +- doc/boa_ast/statement/if/struct.If.html | 6 +- .../iteration/break/struct.Break.html | 8 +- .../iteration/continue/struct.Continue.html | 8 +- .../do_while_loop/struct.DoWhileLoop.html | 6 +- .../iteration/enum.ForLoopInitializer.html | 2 +- .../enum.IterableLoopInitializer.html | 2 +- .../for_in_loop/struct.ForInLoop.html | 6 +- .../for_loop/enum.ForLoopInitializer.html | 2 +- .../iteration/for_loop/struct.ForLoop.html | 6 +- .../for_of_loop/struct.ForOfLoop.html | 6 +- .../statement/iteration/struct.Break.html | 8 +- .../statement/iteration/struct.Continue.html | 8 +- .../iteration/struct.DoWhileLoop.html | 6 +- .../statement/iteration/struct.ForInLoop.html | 6 +- .../statement/iteration/struct.ForLoop.html | 6 +- .../statement/iteration/struct.ForOfLoop.html | 6 +- .../statement/iteration/struct.WhileLoop.html | 6 +- .../while_loop/struct.WhileLoop.html | 6 +- .../statement/labelled/enum.LabelledItem.html | 4 +- .../statement/labelled/struct.Labelled.html | 10 +- .../statement/return/struct.Return.html | 2 +- doc/boa_ast/statement/struct.Block.html | 6 +- doc/boa_ast/statement/struct.Catch.html | 6 +- doc/boa_ast/statement/struct.Finally.html | 6 +- doc/boa_ast/statement/struct.If.html | 6 +- doc/boa_ast/statement/struct.Labelled.html | 10 +- doc/boa_ast/statement/struct.Return.html | 2 +- doc/boa_ast/statement/struct.Switch.html | 6 +- doc/boa_ast/statement/struct.Throw.html | 2 +- doc/boa_ast/statement/struct.Try.html | 6 +- doc/boa_ast/statement/struct.With.html | 2 +- .../statement/switch/struct.Switch.html | 6 +- doc/boa_ast/statement/throw/struct.Throw.html | 2 +- doc/boa_ast/statement/try/struct.Catch.html | 6 +- doc/boa_ast/statement/try/struct.Finally.html | 6 +- doc/boa_ast/statement/try/struct.Try.html | 6 +- doc/boa_ast/statement/with/struct.With.html | 2 +- .../enum.StatementListItem.html | 6 +- .../statement_list/struct.StatementList.html | 6 +- doc/boa_ast/struct.ModuleItemList.html | 4 +- doc/boa_ast/struct.Script.html | 6 +- doc/boa_ast/struct.StatementList.html | 6 +- doc/boa_ast/visitor/enum.NodeRef.html | 4 +- doc/boa_ast/visitor/enum.NodeRefMut.html | 4 +- doc/boa_ast/visitor/trait.VisitWith.html | 2 +- doc/boa_ast/visitor/trait.Visitor.html | 4 +- doc/boa_ast/visitor/trait.VisitorMut.html | 4 +- .../builtins/regexp/struct.RegExp.html | 4 +- doc/boa_engine/bytecompiler/index.html | 2 +- .../bytecompiler/struct.ByteCompiler.html | 46 +++--- doc/boa_engine/error/struct.JsError.html | 2 +- .../error/struct.JsNativeError.html | 2 +- doc/boa_engine/prelude/struct.Source.html | 14 +- doc/boa_engine/string/macro.utf16.html | 2 +- doc/boa_engine/struct.JsError.html | 2 +- doc/boa_engine/struct.JsNativeError.html | 2 +- doc/boa_engine/struct.Source.html | 14 +- doc/boa_engine/value/derive.TryFromJs.html | 2 +- doc/boa_engine/vm/opcode/define/index.html | 2 +- .../struct.CreateGlobalFunctionBinding.html | 10 +- .../vm/opcode/define/struct.DefInitVar.html | 10 +- .../vm/opcode/define/struct.DefVar.html | 6 +- .../opcode/define/struct.PutLexicalValue.html | 10 +- doc/boa_engine/vm/opcode/trait.Operation.html | 2 +- doc/boa_gc/derive.Finalize.html | 2 +- doc/boa_gc/derive.Trace.html | 2 +- doc/boa_runtime/console/fn.formatter.html | 2 +- doc/boa_runtime/console/struct.Console.html | 140 +++++++++--------- doc/boa_runtime/struct.Console.html | 140 +++++++++--------- doc/boa_tester/exec/fn.is_error_type.html | 4 +- doc/boa_tester/exec/fn.register_print_fn.html | 2 +- doc/boa_tester/exec/js262/fn.agent_obj.html | 2 +- .../exec/js262/fn.create_realm.html | 8 +- .../exec/js262/fn.detach_array_buffer.html | 8 +- doc/boa_tester/exec/js262/fn.eval_script.html | 8 +- doc/boa_tester/exec/js262/fn.gc.html | 8 +- .../exec/js262/fn.monotonic_now.html | 8 +- .../exec/js262/fn.register_js262.html | 4 +- .../exec/js262/fn.register_js262_worker.html | 4 +- doc/boa_tester/exec/js262/fn.sleep.html | 8 +- doc/boa_tester/fn.run_test_suite.html | 2 +- doc/boa_tester/struct.Test.html | 6 +- doc/boa_tester/struct.TestSuite.html | 2 +- .../boa_interner/trait.ToIndentedString.js | 2 +- .../boa_interner/trait.ToInternedString.js | 2 +- doc/implementors/core/cmp/trait.PartialEq.js | 2 +- doc/implementors/core/convert/trait.From.js | 4 +- doc/src/boa_engine/bytecompiler/mod.rs.html | 8 +- .../boa_engine/vm/opcode/define/mod.rs.html | 18 +-- 217 files changed, 667 insertions(+), 671 deletions(-) diff --git a/doc/boa_ast/declaration/enum.Binding.html b/doc/boa_ast/declaration/enum.Binding.html index f243d5b3396..bfc378e49ee 100644 --- a/doc/boa_ast/declaration/enum.Binding.html +++ b/doc/boa_ast/declaration/enum.Binding.html @@ -14,7 +14,7 @@ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§

impl<'a> From<&'a Binding> for NodeRef<'a>

source§

fn from(node: &'a Binding) -> NodeRef<'a>

Converts to this type from the input type.
source§

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 From<Pattern> for Binding

source§

fn from(pat: Pattern) -> Self

Converts to this type from the input type.
source§

impl PartialEq<Binding> for Binding

source§

fn eq(&self, other: &Binding) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Binding

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
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 more
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 V: Visitor<'a>,

Visit this node 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.Declaration.html b/doc/boa_ast/declaration/enum.Declaration.html index 26409e99324..89fd1578d3c 100644 --- a/doc/boa_ast/declaration/enum.Declaration.html +++ b/doc/boa_ast/declaration/enum.Declaration.html @@ -19,7 +19,7 @@ __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'a> From<&'a Declaration> for NodeRef<'a>

source§

fn from(node: &'a Declaration) -> NodeRef<'a>

Converts to this type from the input type.
source§

impl<'a> From<&'a mut Declaration> for NodeRefMut<'a>

source§

fn from(node: &'a mut Declaration) -> NodeRefMut<'a>

Converts to this type from the input type.
source§

impl<'ast> From<&'ast Declaration> for LexicallyScopedDeclaration<'ast>

source§

fn from(value: &'ast Declaration) -> LexicallyScopedDeclaration<'ast>

Converts to this type from the input type.
source§

impl From<AsyncFunction> for Declaration

source§

fn from(f: AsyncFunction) -> Self

Converts to this type from the input type.
source§

impl From<AsyncGenerator> for Declaration

source§

fn from(f: AsyncGenerator) -> Self

Converts to this type from the input type.
source§

impl From<Class> for Declaration

source§

fn from(f: Class) -> Self

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<Function> for Declaration

source§

fn from(f: Function) -> Self

Converts to this type from the input type.
source§

impl From<Generator> for Declaration

source§

fn from(f: Generator) -> Self

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 PartialEq<Declaration> for Declaration

source§

fn eq(&self, other: &Declaration) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Declaration

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl ToIndentedString for Declaration

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 Declaration

source§

fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl ToIndentedString for Declaration

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 Declaration

source§

fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

Visit this node with the provided visitor.
source§

fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -33,8 +33,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

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> ToOwned for Twhere +

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> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/declaration/enum.ExportEntry.html b/doc/boa_ast/declaration/enum.ExportEntry.html index 0ae678f471d..bd9bffd562c 100644 --- a/doc/boa_ast/declaration/enum.ExportEntry.html +++ b/doc/boa_ast/declaration/enum.ExportEntry.html @@ -1,12 +1,12 @@ ExportEntry in boa_ast::declaration - Rust
pub enum ExportEntry {
     Ordinary(LocalExportEntry),
     StarReExport {
-        module_request: Sym,
+        module_request: Sym,
     },
     ReExport(IndirectExportEntry),
 }
Expand description

ExportEntry record.

Variants§

§

Ordinary(LocalExportEntry)

An ordinary export entry

-
§

StarReExport

Fields

§module_request: Sym

The module from where this reexport will import.

+
§

StarReExport

Fields

§module_request: Sym

The module from where this reexport will import.

A star reexport entry.

§

ReExport(IndirectExportEntry)

A reexport entry with an export name.

Trait Implementations§

source§

impl Clone for ExportEntry

source§

fn clone(&self) -> ExportEntry

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ExportEntry

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
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§

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
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 more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ImportName

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for ImportName

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
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 more

source§

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 ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for LexicalDeclaration

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
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 more
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 V: Visitor<'a>,

Visit this node 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
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§

§

Name(Sym)

A binding of the imported module.

§

Star

All exports of the module.

Trait Implementations§

source§

impl Clone for ReExportImportName

source§

fn clone(&self) -> ReExportImportName

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ReExportImportName

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for ReExportImportName

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
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
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

Fields

§name: Option<Sym>

Reexported name for the imported module.

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
pub enum ExportEntry {
     Ordinary(LocalExportEntry),
     StarReExport {
-        module_request: Sym,
+        module_request: Sym,
     },
     ReExport(IndirectExportEntry),
 }
Expand description

ExportEntry record.

Variants§

§

Ordinary(LocalExportEntry)

An ordinary export entry

-
§

StarReExport

Fields

§module_request: Sym

The module from where this reexport will import.

+
§

StarReExport

Fields

§module_request: Sym

The module from where this reexport will import.

A star reexport entry.

§

ReExport(IndirectExportEntry)

A reexport entry with an export name.

Trait Implementations§

source§

impl Clone for ExportEntry

source§

fn clone(&self) -> ExportEntry

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ExportEntry

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
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§

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
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§

§

Name(Sym)

A binding of the imported module.

§

Star

All exports of the module.

Trait Implementations§

source§

impl Clone for ReExportImportName

source§

fn clone(&self) -> ReExportImportName

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ReExportImportName

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for ReExportImportName

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
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
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

Fields

§name: Option<Sym>

Reexported name for the imported module.

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
pub struct ExportSpecifier {
-    alias: Sym,
-    private_name: Sym,
+    alias: Sym,
+    private_name: Sym,
     string_literal: bool,
 }
Expand description

Export specifier

More information:

-

Fields§

§alias: Sym§private_name: Sym§string_literal: bool

Implementations§

source§

impl ExportSpecifier

source

pub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self

Creates a new ExportSpecifier.

-
source

pub const fn alias(self) -> Sym

Gets the original alias.

-
source

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

source

pub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self

Creates a new ExportSpecifier.

+
source

pub const fn alias(self) -> Sym

Gets the original alias.

+
source

pub const fn private_name(self) -> Sym

Gets the private name of the export inside the module.

source

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

source§

fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

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
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§

source§

impl IndirectExportEntry

source

pub const fn new( - module_request: Sym, +

Fields§

§module_request: Sym§import_name: ReExportImportName§export_name: Sym

Implementations§

source§

impl IndirectExportEntry

source

pub const fn new( + module_request: Sym, import_name: ReExportImportName, - export_name: Sym + export_name: Sym ) -> Self

Creates a new IndirectExportEntry.

-
source

pub const fn module_request(&self) -> Sym

Gets the module from where this entry reexports.

+
source

pub const fn module_request(&self) -> Sym

Gets the module from where this entry reexports.

source

pub const fn import_name(&self) -> ReExportImportName

Gets the import name of the reexport.

-
source

pub const fn export_name(&self) -> Sym

Gets the public alias of the reexport.

+
source

pub 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 more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for IndirectExportEntry

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
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§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
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
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

source

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

source

pub const fn new(local_name: Identifier, export_name: Sym) -> Self

Creates a new LocalExportEntry.

source

pub const fn local_name(&self) -> Identifier

Gets the local name of this export entry.

-
source

pub const fn export_name(&self) -> Sym

Gets the export name of this export entry.

+
source

pub 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 more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for LocalExportEntry

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
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§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
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
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 more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ImportName

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for ImportName

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
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
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

source

pub const fn new( - module_request: Sym, +

Fields§

§module_request: Sym§import_name: ImportName§local_name: Identifier

Implementations§

source§

impl ImportEntry

source

pub const fn new( + module_request: Sym, import_name: ImportName, local_name: Identifier ) -> Self

Creates a new ImportEntry.

-
source

pub const fn module_request(&self) -> Sym

Gets the module from where the binding must be imported.

+
source

pub const fn module_request(&self) -> Sym

Gets the module from where the binding must be imported.

source

pub const fn import_name(&self) -> ImportName

Gets the import name of the imported binding.

source

pub 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 more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ImportEntry

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for ImportEntry

Auto Trait Implementations§

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
pub struct ImportSpecifier {
     binding: Identifier,
-    export_name: Sym,
+    export_name: Sym,
 }
Expand description

Import specifier

More information:

-

Fields§

§binding: Identifier§export_name: Sym

Implementations§

source§

impl ImportSpecifier

source

pub const fn new(binding: Identifier, export_name: Sym) -> Self

Creates a new ImportSpecifier.

+

Fields§

§binding: Identifier§export_name: Sym

Implementations§

source§

impl ImportSpecifier

source

pub const fn new(binding: Identifier, export_name: Sym) -> Self

Creates a new ImportSpecifier.

source

pub const fn binding(self) -> Identifier

Gets the binding of the import specifier.

-
source

pub const fn export_name(self) -> Sym

Gets the optional export name of the import.

+
source

pub 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 more
source§

fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type needs to construct itself. Read more
source§

impl Clone for ImportSpecifier

source§

fn clone(&self) -> ImportSpecifier

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ImportSpecifier

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
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
pub struct ExportSpecifier {
-    alias: Sym,
-    private_name: Sym,
+    alias: Sym,
+    private_name: Sym,
     string_literal: bool,
 }
Expand description

Export specifier

More information:

-

Fields§

§alias: Sym§private_name: Sym§string_literal: bool

Implementations§

source§

impl ExportSpecifier

source

pub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self

Creates a new ExportSpecifier.

-
source

pub const fn alias(self) -> Sym

Gets the original alias.

-
source

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

source

pub const fn new(alias: Sym, private_name: Sym, string_literal: bool) -> Self

Creates a new ExportSpecifier.

+
source

pub const fn alias(self) -> Sym

Gets the original alias.

+
source

pub const fn private_name(self) -> Sym

Gets the private name of the export inside the module.

source

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

source§

fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

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
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

source

pub const fn new( - module_request: Sym, +

Fields§

§module_request: Sym§import_name: ImportName§local_name: Identifier

Implementations§

source§

impl ImportEntry

source

pub const fn new( + module_request: Sym, import_name: ImportName, local_name: Identifier ) -> Self

Creates a new ImportEntry.

-
source

pub const fn module_request(&self) -> Sym

Gets the module from where the binding must be imported.

+
source

pub const fn module_request(&self) -> Sym

Gets the module from where the binding must be imported.

source

pub const fn import_name(&self) -> ImportName

Gets the import name of the imported binding.

source

pub 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 more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ImportEntry

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for ImportEntry

Auto Trait Implementations§

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
pub struct ImportSpecifier {
     binding: Identifier,
-    export_name: Sym,
+    export_name: Sym,
 }
Expand description

Import specifier

More information:

-

Fields§

§binding: Identifier§export_name: Sym

Implementations§

source§

impl ImportSpecifier

source

pub const fn new(binding: Identifier, export_name: Sym) -> Self

Creates a new ImportSpecifier.

+

Fields§

§binding: Identifier§export_name: Sym

Implementations§

source§

impl ImportSpecifier

source

pub const fn new(binding: Identifier, export_name: Sym) -> Self

Creates a new ImportSpecifier.

source

pub const fn binding(self) -> Identifier

Gets the binding of the import specifier.

-
source

pub const fn export_name(self) -> Sym

Gets the optional export name of the import.

+
source

pub 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 more
source§

fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type needs to construct itself. Read more
source§

impl Clone for ImportSpecifier

source§

fn clone(&self) -> ImportSpecifier

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ImportSpecifier

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
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
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§

source§

impl IndirectExportEntry

source

pub const fn new( - module_request: Sym, +

Fields§

§module_request: Sym§import_name: ReExportImportName§export_name: Sym

Implementations§

source§

impl IndirectExportEntry

source

pub const fn new( + module_request: Sym, import_name: ReExportImportName, - export_name: Sym + export_name: Sym ) -> Self

Creates a new IndirectExportEntry.

-
source

pub const fn module_request(&self) -> Sym

Gets the module from where this entry reexports.

+
source

pub const fn module_request(&self) -> Sym

Gets the module from where this entry reexports.

source

pub const fn import_name(&self) -> ReExportImportName

Gets the import name of the reexport.

-
source

pub const fn export_name(&self) -> Sym

Gets the public alias of the reexport.

+
source

pub 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 more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for IndirectExportEntry

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
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§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
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
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

source

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

source

pub const fn new(local_name: Identifier, export_name: Sym) -> Self

Creates a new LocalExportEntry.

source

pub const fn local_name(&self) -> Identifier

Gets the local name of this export entry.

-
source

pub const fn export_name(&self) -> Sym

Gets the export name of this export entry.

+
source

pub 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 more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for LocalExportEntry

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
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§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
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
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

source

pub const fn new(module: Sym) -> Self

Creates a ModuleSpecifier from a Sym.

-
source

pub const fn sym(self) -> Sym

Gets the inner Sym of the module specifier.

+

Fields§

§module: Sym

Implementations§

source§

impl ModuleSpecifier

source

pub const fn new(module: Sym) -> Self

Creates a ModuleSpecifier from a Sym.

+
source

pub const fn sym(self) -> Sym

Gets the inner Sym of the module specifier.

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 more
source§

fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type needs to construct itself. Read more
source§

impl Clone for ModuleSpecifier

source§

fn clone(&self) -> ModuleSpecifier

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ModuleSpecifier

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
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 more
source§

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§

fn from(module: Sym) -> Self

Converts to this type from the input type.
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 more
source§

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§

fn from(module: Sym) -> Self

Converts to this type from the input type.
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 ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ModuleSpecifier

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
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 more
source§

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 ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for VarDeclaration

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
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 more
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 V: Visitor<'a>,

Visit this node 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 more
source§

impl<'a> From<&'a Variable> for NodeRef<'a>

source§

fn from(node: &'a Variable) -> NodeRef<'a>

Converts to this type from the input type.
source§

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§

fn eq(&self, other: &Variable) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Variable

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
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 more
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 V: Visitor<'a>,

Visit this node 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 more
source§

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 ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for VariableList

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
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 TryFrom<Box<[Variable], Global>> for VariableList

§

type Error = TryFromVariableListError

The type returned in the event of a conversion error.
source§

fn try_from(value: Box<[Variable]>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Vec<Variable, Global>> for VariableList

§

type Error = TryFromVariableListError

The type returned in the event of a conversion error.
source§

fn try_from(value: Vec<Variable>) -> Result<Self, Self::Error>

Performs the conversion.
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 more
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 TryFrom<Box<[Variable], Global>> for VariableList

§

type Error = TryFromVariableListError

The type returned in the event of a conversion error.
source§

fn try_from(value: Box<[Variable]>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Vec<Variable, Global>> for VariableList

§

type Error = TryFromVariableListError

The type returned in the event of a conversion error.
source§

fn try_from(value: Vec<Variable>) -> Result<Self, Self::Error>

Performs the conversion.
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 more
source§

impl<'a> From<&'a Binding> for NodeRef<'a>

source§

fn from(node: &'a Binding) -> NodeRef<'a>

Converts to this type from the input type.
source§

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 From<Pattern> for Binding

source§

fn from(pat: Pattern) -> Self

Converts to this type from the input type.
source§

impl PartialEq<Binding> for Binding

source§

fn eq(&self, other: &Binding) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Binding

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
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 more
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 V: Visitor<'a>,

Visit this node 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 more
source§

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 ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for LexicalDeclaration

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
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 more
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 V: Visitor<'a>,

Visit this node 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 more
source§

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 ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for VarDeclaration

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
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 more
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 V: Visitor<'a>,

Visit this node 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 more
source§

impl<'a> From<&'a Variable> for NodeRef<'a>

source§

fn from(node: &'a Variable) -> NodeRef<'a>

Converts to this type from the input type.
source§

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§

fn eq(&self, other: &Variable) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Variable

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
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 more
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 V: Visitor<'a>,

Visit this node 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 more
source§

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 ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for VariableList

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
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 TryFrom<Box<[Variable], Global>> for VariableList

§

type Error = TryFromVariableListError

The type returned in the event of a conversion error.
source§

fn try_from(value: Box<[Variable]>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Vec<Variable, Global>> for VariableList

§

type Error = TryFromVariableListError

The type returned in the event of a conversion error.
source§

fn try_from(value: Vec<Variable>) -> Result<Self, Self::Error>

Performs the conversion.
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 more
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 TryFrom<Box<[Variable], Global>> for VariableList

§

type Error = TryFromVariableListError

The type returned in the event of a conversion error.
source§

fn try_from(value: Box<[Variable]>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Vec<Variable, Global>> for VariableList

§

type Error = TryFromVariableListError

The type returned in the event of a conversion error.
source§

fn try_from(value: Vec<Variable>) -> Result<Self, Self::Error>

Performs the conversion.
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 more
source§

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§

fn from(stmt: Statement) -> Self

Converts to this type from the input type.
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 ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for StatementListItem

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
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 more

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 indent level of 2 would produce this:

        function hello() {
             console.log("hello");
@@ -33,8 +33,8 @@
     U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

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> ToOwned for Twhere +

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> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
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 more
source§

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 ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for PropertyAccess

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
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 more
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 V: Visitor<'a>,

Visit this node 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
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 more
source§

fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type needs to construct itself. Read more
source§

impl Clone for PropertyAccessField

source§

fn clone(&self) -> PropertyAccessField

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PropertyAccessField

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
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 more
source§

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§

fn from(id: Sym) -> Self

Converts to this type from the input type.
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 more

source§

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§

fn from(id: Sym) -> Self

Converts to this type from the input type.
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 ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for PropertyAccessField

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
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 more
source§

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 ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for PrivatePropertyAccess

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
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 more
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 V: Visitor<'a>,

Visit this node 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 more
source§

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 ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for SimplePropertyAccess

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
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 more
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 V: Visitor<'a>,

Visit this node 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 more
source§

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 ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for SuperPropertyAccess

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
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 more
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 V: Visitor<'a>,

Visit this node 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§

fn from(e: T) -> Self

Converts to this type from the input type.
source§

impl PartialEq<Await> for Await

source§

fn eq(&self, other: &Await) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Await

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
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 more
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 V: Visitor<'a>,

Visit this node 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 more
source§

impl<'a> From<&'a Call> for NodeRef<'a>

source§

fn from(node: &'a Call) -> NodeRef<'a>

Converts to this type from the input type.
source§

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§

fn from(call: Call) -> Self

Converts to this type from the input type.
source§

impl From<Call> for New

source§

fn from(call: Call) -> Self

Converts to this type from the input type.
source§

impl PartialEq<Call> for Call

source§

fn eq(&self, other: &Call) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Call

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
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 more
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 V: Visitor<'a>,

Visit this node 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 more
source§

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 ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ImportCall

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
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 more
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 V: Visitor<'a>,

Visit this node 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 more
source§

impl<'a> From<&'a SuperCall> for NodeRef<'a>

source§

fn from(node: &'a SuperCall) -> NodeRef<'a>

Converts to this type from the input type.
source§

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§

fn from(call: SuperCall) -> Self

Converts to this type from the input type.
source§

impl PartialEq<SuperCall> for SuperCall

source§

fn eq(&self, other: &SuperCall) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for SuperCall

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
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 more
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 V: Visitor<'a>,

Visit this node 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
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
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)

Implementations§

source§

impl Expression

source

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>,

Deserialize this value from the given Serde deserializer. Read more
source§

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§

fn from(op: Assign) -> Self

Converts to this type from the input type.
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§

fn from(awaitexpr: Await) -> Self

Converts to this type from the input type.
source§

impl From<Binary> for Expression

source§

fn from(op: Binary) -> Self

Converts to this type from the input type.
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§

fn from(call: Call) -> Self

Converts to this type from the input type.
source§

impl From<Class> for Expression

source§

fn from(expr: Class) -> Self

Converts to this type from the input type.
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§

fn from(expr: Function) -> Self

Converts to this type from the input type.
source§

impl From<Generator> for Expression

source§

fn from(expr: Generator) -> 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<ImportCall> for Expression

source§

fn from(call: ImportCall) -> Self

Converts to this type from the input type.
source§

impl From<Literal> for Expression

source§

fn from(lit: Literal) -> Self

Converts to this type from the input type.
source§

impl From<New> for Expression

source§

fn from(new: New) -> Self

Converts to this type from the input type.
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§

fn from(opt: Optional) -> Self

Converts to this type from the input type.
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§

fn from(spread: Spread) -> Self

Converts to this type from the input type.
source§

impl From<SuperCall> for Expression

source§

fn from(call: SuperCall) -> Self

Converts to this type from the input type.
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§

fn from(op: Unary) -> Self

Converts to this type from the input type.
source§

impl From<Update> for Expression

source§

fn from(op: Update) -> Self

Converts to this type from the input type.
source§

impl From<Yield> for Expression

source§

fn from(yield: Yield) -> Self

Converts to this type from the input type.
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 ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Expression

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
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 more
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 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>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

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> ToOwned for Twhere +

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> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
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
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
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
#[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

    source

    pub const fn new(ident: Sym) -> Self

    Creates a new identifier AST Expression.

    -
    source

    pub const fn sym(self) -> Sym

    Retrieves the identifier’s string symbol in the interner.

    +

    Fields§

    §ident: Sym

    Implementations§

    source§

    impl Identifier

    source

    pub const fn new(ident: Sym) -> Self

    Creates a new identifier AST Expression.

    +
    source

    pub const fn sym(self) -> Sym

    Retrieves the identifier’s string symbol in the interner.

    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 more
    source§

    fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
    source§

    fn size_hint(depth: usize) -> (usize, Option<usize>)

    Get a size hint for how many bytes out of an Unstructured this type needs to construct itself. Read more
    source§

    impl Clone for Identifier

    source§

    fn clone(&self) -> Identifier

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Identifier

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    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 more
    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§

    fn from(sym: Sym) -> Self

    Converts to this type from the input type.
    source§

    impl Hash for Identifier

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    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§

    fn from(sym: Sym) -> Self

    Converts to this type from the input type.
    source§

    impl Hash for Identifier

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    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 ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -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 +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 ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PartialEq<Sym> for Identifier

    source§

    fn eq(&self, other: &Sym) -> 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<Sym> for Identifier

    source§

    fn eq(&self, other: &Sym) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Identifier

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    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 more
    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 V: Visitor<'a>,

    Visit this node 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§

    fn from(decl: T) -> Self

    Converts to this type from the input type.
    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 ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for ArrayLiteral

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    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 more
    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 V: Visitor<'a>,

    Visit this node 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
    pub enum Literal {
    -    String(Sym),
    +    String(Sym),
         Num(f64),
         Int(i32),
         BigInt(Box<BigInt>),
    @@ -13,7 +13,7 @@
     
  • ECMAScript reference
  • MDN documentation
  • -

    Variants§

    §

    String(Sym)

    A string literal is zero or more characters enclosed in double (") or single (') quotation marks.

    +

    Variants§

    §

    String(Sym)

    A string literal is zero or more characters enclosed in double (") or single (') quotation marks.

    A string must be delimited by quotation marks of the same type (that is, either both single quotation marks, or both double quotation marks). You can call any of the String object’s methods on a string literal value. ECMAScript automatically converts the string literal to a temporary String object, @@ -66,10 +66,10 @@

    Trait Implementations§

    source§

    impl<'arbitrary> Arbitrary<'arbitrary> for Literal

    source§

    fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the given unstructured data. Read more
    source§

    fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
    source§

    fn size_hint(depth: usize) -> (usize, Option<usize>)

    Get a size hint for how many bytes out of an Unstructured this type needs to construct itself. Read more
    source§

    impl Clone for Literal

    source§

    fn clone(&self) -> Literal

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Literal

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Literal

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Literal> for NodeRef<'a>

    source§

    fn from(node: &'a Literal) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Literal> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Literal) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<BigInt> for Literal

    source§

    fn from(i: BigInt) -> Self

    Converts to this type from the input type.
    source§

    impl From<Box<BigInt, Global>> for Literal

    source§

    fn from(i: Box<BigInt>) -> Self

    Converts to this type from the input type.
    source§

    impl From<Literal> for Expression

    source§

    fn from(lit: Literal) -> Self

    Converts to this type from the input type.
    source§

    impl From<Sym> for Literal

    source§

    fn from(string: Sym) -> Self

    Converts to this type from the input type.
    source§

    impl From<bool> for Literal

    source§

    fn from(b: bool) -> Self

    Converts to this type from the input type.
    source§

    impl From<f64> for Literal

    source§

    fn from(num: f64) -> Self

    Converts to this type from the input type.
    source§

    impl From<i32> for Literal

    source§

    fn from(i: i32) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Literal> for Literal

    source§

    fn eq(&self, other: &Literal) -> bool

    This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Literal> for NodeRef<'a>

    source§

    fn from(node: &'a Literal) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Literal> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Literal) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<BigInt> for Literal

    source§

    fn from(i: BigInt) -> Self

    Converts to this type from the input type.
    source§

    impl From<Box<BigInt, Global>> for Literal

    source§

    fn from(i: Box<BigInt>) -> Self

    Converts to this type from the input type.
    source§

    impl From<Literal> for Expression

    source§

    fn from(lit: Literal) -> Self

    Converts to this type from the input type.
    source§

    impl From<Sym> for Literal

    source§

    fn from(string: Sym) -> Self

    Converts to this type from the input type.
    source§

    impl From<bool> for Literal

    source§

    fn from(b: bool) -> Self

    Converts to this type from the input type.
    source§

    impl From<f64> for Literal

    source§

    fn from(num: f64) -> Self

    Converts to this type from the input type.
    source§

    impl From<i32> for Literal

    source§

    fn from(i: i32) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Literal> for Literal

    source§

    fn eq(&self, other: &Literal) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Literal

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Literal

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Literal

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Literal

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Literal

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node 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.TemplateElement.html b/doc/boa_ast/expression/literal/enum.TemplateElement.html index 13c8c2b05ab..3465f45b539 100644 --- a/doc/boa_ast/expression/literal/enum.TemplateElement.html +++ b/doc/boa_ast/expression/literal/enum.TemplateElement.html @@ -1,10 +1,10 @@ TemplateElement in boa_ast::expression::literal - Rust
    pub enum TemplateElement {
    -    String(Sym),
    +    String(Sym),
         Expr(Expression),
     }
    Expand description

    An element found within a TemplateLiteral.

    The spec doesn’t define an element akin to TemplateElement. However, the AST defines this node as the equivalent of the components found in a template literal.

    -

    Variants§

    §

    String(Sym)

    A simple string.

    +

    Variants§

    §

    String(Sym)

    A simple string.

    §

    Expr(Expression)

    An expression that is evaluated and replaced by its string representation.

    Trait Implementations§

    source§

    impl<'arbitrary> Arbitrary<'arbitrary> for TemplateElement

    source§

    fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the given unstructured data. Read more
    source§

    fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
    source§

    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/expression/literal/object/struct.ObjectLiteral.html b/doc/boa_ast/expression/literal/object/struct.ObjectLiteral.html index 4d15f4b0f77..b1222264d22 100644 --- a/doc/boa_ast/expression/literal/object/struct.ObjectLiteral.html +++ b/doc/boa_ast/expression/literal/object/struct.ObjectLiteral.html @@ -22,7 +22,7 @@ T: Into<Box<[PropertyDefinition]>>,

    source§

    fn from(props: T) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<ObjectLiteral> for ObjectLiteral

    source§

    fn eq(&self, other: &ObjectLiteral) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for ObjectLiteral

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for ObjectLiteral

    source§

    fn to_indented_string(&self, interner: &Interner, indent_n: usize) -> String

    Converts the element to a string using an interner, with the given indentation.
    source§

    impl VisitWith for ObjectLiteral

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for ObjectLiteral

    source§

    fn to_indented_string(&self, interner: &Interner, indent_n: usize) -> String

    Converts the element to a string using an interner, with the given indentation.
    source§

    impl VisitWith for ObjectLiteral

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -36,8 +36,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/expression/literal/struct.ArrayLiteral.html b/doc/boa_ast/expression/literal/struct.ArrayLiteral.html index 8693b8cc8ca..4cb68908a54 100644 --- a/doc/boa_ast/expression/literal/struct.ArrayLiteral.html +++ b/doc/boa_ast/expression/literal/struct.ArrayLiteral.html @@ -25,7 +25,7 @@ T: Into<Box<[Option<Expression>]>>,

    source§

    fn from(decl: T) -> Self

    Converts to this type from the input type.
    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 ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for ArrayLiteral

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    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 more
    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 V: Visitor<'a>,

    Visit this node 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/struct.ObjectLiteral.html b/doc/boa_ast/expression/literal/struct.ObjectLiteral.html index 1085b63a910..2cd94b610c5 100644 --- a/doc/boa_ast/expression/literal/struct.ObjectLiteral.html +++ b/doc/boa_ast/expression/literal/struct.ObjectLiteral.html @@ -22,7 +22,7 @@ T: Into<Box<[PropertyDefinition]>>,

    source§

    fn from(props: T) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<ObjectLiteral> for ObjectLiteral

    source§

    fn eq(&self, other: &ObjectLiteral) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for ObjectLiteral

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for ObjectLiteral

    source§

    fn to_indented_string(&self, interner: &Interner, indent_n: usize) -> String

    Converts the element to a string using an interner, with the given indentation.
    source§

    impl VisitWith for ObjectLiteral

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for ObjectLiteral

    source§

    fn to_indented_string(&self, interner: &Interner, indent_n: usize) -> String

    Converts the element to a string using an interner, with the given indentation.
    source§

    impl VisitWith for ObjectLiteral

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -36,8 +36,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/expression/literal/struct.TemplateLiteral.html b/doc/boa_ast/expression/literal/struct.TemplateLiteral.html index eee05fc0673..4dfe966fb7b 100644 --- a/doc/boa_ast/expression/literal/struct.TemplateLiteral.html +++ b/doc/boa_ast/expression/literal/struct.TemplateLiteral.html @@ -14,7 +14,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a TemplateLiteral> for NodeRef<'a>

    source§

    fn from(node: &'a TemplateLiteral) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut TemplateLiteral> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut TemplateLiteral) -> NodeRefMut<'a>

    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 PartialEq<TemplateLiteral> for TemplateLiteral

    source§

    fn eq(&self, other: &TemplateLiteral) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for TemplateLiteral

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for TemplateLiteral

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for TemplateLiteral

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for TemplateLiteral

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for TemplateLiteral

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node 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/template/enum.TemplateElement.html b/doc/boa_ast/expression/literal/template/enum.TemplateElement.html index 1ac136eb7a2..157ee7454e5 100644 --- a/doc/boa_ast/expression/literal/template/enum.TemplateElement.html +++ b/doc/boa_ast/expression/literal/template/enum.TemplateElement.html @@ -1,10 +1,10 @@ TemplateElement in boa_ast::expression::literal::template - Rust
    pub enum TemplateElement {
    -    String(Sym),
    +    String(Sym),
         Expr(Expression),
     }
    Expand description

    An element found within a TemplateLiteral.

    The spec doesn’t define an element akin to TemplateElement. However, the AST defines this node as the equivalent of the components found in a template literal.

    -

    Variants§

    §

    String(Sym)

    A simple string.

    +

    Variants§

    §

    String(Sym)

    A simple string.

    §

    Expr(Expression)

    An expression that is evaluated and replaced by its string representation.

    Trait Implementations§

    source§

    impl<'arbitrary> Arbitrary<'arbitrary> for TemplateElement

    source§

    fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the given unstructured data. Read more
    source§

    fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
    source§

    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/expression/literal/template/struct.TemplateLiteral.html b/doc/boa_ast/expression/literal/template/struct.TemplateLiteral.html index 70da6ee4186..f12ed610b58 100644 --- a/doc/boa_ast/expression/literal/template/struct.TemplateLiteral.html +++ b/doc/boa_ast/expression/literal/template/struct.TemplateLiteral.html @@ -14,7 +14,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a TemplateLiteral> for NodeRef<'a>

    source§

    fn from(node: &'a TemplateLiteral) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut TemplateLiteral> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut TemplateLiteral) -> NodeRefMut<'a>

    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 PartialEq<TemplateLiteral> for TemplateLiteral

    source§

    fn eq(&self, other: &TemplateLiteral) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for TemplateLiteral

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for TemplateLiteral

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for TemplateLiteral

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for TemplateLiteral

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for TemplateLiteral

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/new/struct.New.html b/doc/boa_ast/expression/new/struct.New.html index feead2f0c94..18ecf23fb3f 100644 --- a/doc/boa_ast/expression/new/struct.New.html +++ b/doc/boa_ast/expression/new/struct.New.html @@ -23,7 +23,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a New> for NodeRef<'a>

    source§

    fn from(node: &'a New) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut New> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut New) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Call> for New

    source§

    fn from(call: Call) -> Self

    Converts to this type from the input type.
    source§

    impl From<New> for Expression

    source§

    fn from(new: New) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<New> for New

    source§

    fn eq(&self, other: &New) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for New

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for New

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for New

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for New

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for New

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/operator/assign/enum.AssignTarget.html b/doc/boa_ast/expression/operator/assign/enum.AssignTarget.html index cc43fe4cded..84047a8c66a 100644 --- a/doc/boa_ast/expression/operator/assign/enum.AssignTarget.html +++ b/doc/boa_ast/expression/operator/assign/enum.AssignTarget.html @@ -21,7 +21,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a AssignTarget> for NodeRef<'a>

    source§

    fn from(node: &'a AssignTarget) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut AssignTarget> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut AssignTarget) -> 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 PartialEq<AssignTarget> for AssignTarget

    source§

    fn eq(&self, other: &AssignTarget) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for AssignTarget

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for AssignTarget

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for AssignTarget

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for AssignTarget

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for AssignTarget

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/operator/assign/struct.Assign.html b/doc/boa_ast/expression/operator/assign/struct.Assign.html index e4942db9736..f5e49fc4ba2 100644 --- a/doc/boa_ast/expression/operator/assign/struct.Assign.html +++ b/doc/boa_ast/expression/operator/assign/struct.Assign.html @@ -14,7 +14,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Assign> for NodeRef<'a>

    source§

    fn from(node: &'a Assign) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Assign> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Assign) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Assign> for Expression

    source§

    fn from(op: Assign) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Assign> for Assign

    source§

    fn eq(&self, other: &Assign) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Assign

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Assign

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Assign

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Assign

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Assign

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/operator/binary/struct.Binary.html b/doc/boa_ast/expression/operator/binary/struct.Binary.html index fbd3dde8e47..7efd70c9d00 100644 --- a/doc/boa_ast/expression/operator/binary/struct.Binary.html +++ b/doc/boa_ast/expression/operator/binary/struct.Binary.html @@ -16,7 +16,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Binary> for NodeRef<'a>

    source§

    fn from(node: &'a Binary) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Binary> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Binary) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Binary> for Expression

    source§

    fn from(op: Binary) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Binary> for Binary

    source§

    fn eq(&self, other: &Binary) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Binary

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Binary

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Binary

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Binary

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Binary

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/operator/binary/struct.BinaryInPrivate.html b/doc/boa_ast/expression/operator/binary/struct.BinaryInPrivate.html index 52bd3c840fb..e0f414dfbf4 100644 --- a/doc/boa_ast/expression/operator/binary/struct.BinaryInPrivate.html +++ b/doc/boa_ast/expression/operator/binary/struct.BinaryInPrivate.html @@ -12,7 +12,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a BinaryInPrivate> for NodeRef<'a>

    source§

    fn from(node: &'a BinaryInPrivate) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut BinaryInPrivate> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut BinaryInPrivate) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<BinaryInPrivate> for Expression

    source§

    fn from(op: BinaryInPrivate) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<BinaryInPrivate> for BinaryInPrivate

    source§

    fn eq(&self, other: &BinaryInPrivate) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for BinaryInPrivate

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for BinaryInPrivate

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for BinaryInPrivate

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for BinaryInPrivate

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for BinaryInPrivate

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/operator/conditional/struct.Conditional.html b/doc/boa_ast/expression/operator/conditional/struct.Conditional.html index 786a8f210f4..aecbd04bc07 100644 --- a/doc/boa_ast/expression/operator/conditional/struct.Conditional.html +++ b/doc/boa_ast/expression/operator/conditional/struct.Conditional.html @@ -27,7 +27,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Conditional> for NodeRef<'a>

    source§

    fn from(node: &'a Conditional) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Conditional> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Conditional) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Conditional> for Expression

    source§

    fn from(cond_op: Conditional) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Conditional> for Conditional

    source§

    fn eq(&self, other: &Conditional) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Conditional

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Conditional

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Conditional

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Conditional

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Conditional

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/operator/struct.Conditional.html b/doc/boa_ast/expression/operator/struct.Conditional.html index 7a363f8dbc2..429a8f8e654 100644 --- a/doc/boa_ast/expression/operator/struct.Conditional.html +++ b/doc/boa_ast/expression/operator/struct.Conditional.html @@ -27,7 +27,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Conditional> for NodeRef<'a>

    source§

    fn from(node: &'a Conditional) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Conditional> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Conditional) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Conditional> for Expression

    source§

    fn from(cond_op: Conditional) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Conditional> for Conditional

    source§

    fn eq(&self, other: &Conditional) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Conditional

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Conditional

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Conditional

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Conditional

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Conditional

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/operator/unary/struct.Unary.html b/doc/boa_ast/expression/operator/unary/struct.Unary.html index 56d8063b8d3..67b60110dff 100644 --- a/doc/boa_ast/expression/operator/unary/struct.Unary.html +++ b/doc/boa_ast/expression/operator/unary/struct.Unary.html @@ -17,7 +17,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Unary> for NodeRef<'a>

    source§

    fn from(node: &'a Unary) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Unary> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Unary) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Unary> for Expression

    source§

    fn from(op: Unary) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Unary> for Unary

    source§

    fn eq(&self, other: &Unary) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Unary

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Unary

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Unary

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Unary

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Unary

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/operator/update/enum.UpdateTarget.html b/doc/boa_ast/expression/operator/update/enum.UpdateTarget.html index 052d7f8e3a0..fad3f4ed988 100644 --- a/doc/boa_ast/expression/operator/update/enum.UpdateTarget.html +++ b/doc/boa_ast/expression/operator/update/enum.UpdateTarget.html @@ -15,7 +15,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl PartialEq<UpdateTarget> for UpdateTarget

    source§

    fn eq(&self, other: &UpdateTarget) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for UpdateTarget

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for UpdateTarget

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl StructuralPartialEq for UpdateTarget

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for UpdateTarget

    §

    impl Send for UpdateTarget

    §

    impl Sync for UpdateTarget

    §

    impl Unpin for UpdateTarget

    §

    impl UnwindSafe for UpdateTarget

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for UpdateTarget

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl StructuralPartialEq for UpdateTarget

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for UpdateTarget

    §

    impl Send for UpdateTarget

    §

    impl Sync for UpdateTarget

    §

    impl Unpin for UpdateTarget

    §

    impl UnwindSafe for UpdateTarget

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/doc/boa_ast/expression/operator/update/struct.Update.html b/doc/boa_ast/expression/operator/update/struct.Update.html index 991bedb3391..ef586780020 100644 --- a/doc/boa_ast/expression/operator/update/struct.Update.html +++ b/doc/boa_ast/expression/operator/update/struct.Update.html @@ -16,7 +16,7 @@ __D: Deserializer<'de>,
    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Update> for NodeRef<'a>

    source§

    fn from(node: &'a Update) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Update> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Update) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Update> for Expression

    source§

    fn from(op: Update) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Update> for Update

    source§

    fn eq(&self, other: &Update) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Update

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Update

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Update

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Update

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Update

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/optional/struct.Optional.html b/doc/boa_ast/expression/optional/struct.Optional.html index 111f5264fd5..9543466fd2c 100644 --- a/doc/boa_ast/expression/optional/struct.Optional.html +++ b/doc/boa_ast/expression/optional/struct.Optional.html @@ -24,7 +24,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Optional> for NodeRef<'a>

    source§

    fn from(node: &'a Optional) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Optional> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Optional) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Optional> for Expression

    source§

    fn from(opt: Optional) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Optional> for Optional

    source§

    fn eq(&self, other: &Optional) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Optional

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Optional

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Optional

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Optional

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Optional

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/optional/struct.OptionalOperation.html b/doc/boa_ast/expression/optional/struct.OptionalOperation.html index e955e8d1d95..7f6475ab8c4 100644 --- a/doc/boa_ast/expression/optional/struct.OptionalOperation.html +++ b/doc/boa_ast/expression/optional/struct.OptionalOperation.html @@ -16,7 +16,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a OptionalOperation> for NodeRef<'a>

    source§

    fn from(node: &'a OptionalOperation) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut OptionalOperation> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut OptionalOperation) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl PartialEq<OptionalOperation> for OptionalOperation

    source§

    fn eq(&self, other: &OptionalOperation) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for OptionalOperation

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for OptionalOperation

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for OptionalOperation

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for OptionalOperation

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for OptionalOperation

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/parenthesized/struct.Parenthesized.html b/doc/boa_ast/expression/parenthesized/struct.Parenthesized.html index 06c91058b76..0b2d8734183 100644 --- a/doc/boa_ast/expression/parenthesized/struct.Parenthesized.html +++ b/doc/boa_ast/expression/parenthesized/struct.Parenthesized.html @@ -14,7 +14,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Parenthesized> for NodeRef<'a>

    source§

    fn from(node: &'a Parenthesized) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Parenthesized> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Parenthesized) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Parenthesized> for Expression

    source§

    fn from(p: Parenthesized) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Parenthesized> for Parenthesized

    source§

    fn eq(&self, other: &Parenthesized) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Parenthesized

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Parenthesized

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Parenthesized

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Parenthesized

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Parenthesized

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/regexp/struct.RegExpLiteral.html b/doc/boa_ast/expression/regexp/struct.RegExpLiteral.html index 2909e89bcb2..53b9d49b949 100644 --- a/doc/boa_ast/expression/regexp/struct.RegExpLiteral.html +++ b/doc/boa_ast/expression/regexp/struct.RegExpLiteral.html @@ -1,22 +1,22 @@ RegExpLiteral in boa_ast::expression::regexp - Rust
    pub struct RegExpLiteral {
    -    pattern: Sym,
    -    flags: Sym,
    +    pattern: Sym,
    +    flags: Sym,
     }
    Expand description

    Regular expressions in ECMAScript.

    More information:

    -

    Fields§

    §pattern: Sym§flags: Sym

    Implementations§

    source§

    impl RegExpLiteral

    source

    pub const fn new(pattern: Sym, flags: Sym) -> Self

    Create a new RegExpLiteral.

    -
    source

    pub const fn pattern(&self) -> Sym

    Get the pattern part of the RegExpLiteral.

    -
    source

    pub const fn flags(&self) -> Sym

    Get the flags part of the RegExpLiteral.

    +

    Fields§

    §pattern: Sym§flags: Sym

    Implementations§

    source§

    impl RegExpLiteral

    source

    pub const fn new(pattern: Sym, flags: Sym) -> Self

    Create a new RegExpLiteral.

    +
    source

    pub const fn pattern(&self) -> Sym

    Get the pattern part of the RegExpLiteral.

    +
    source

    pub const fn flags(&self) -> Sym

    Get the flags part of the RegExpLiteral.

    Trait Implementations§

    source§

    impl<'arbitrary> Arbitrary<'arbitrary> for RegExpLiteral

    source§

    fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the given unstructured data. Read more
    source§

    fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
    source§

    fn size_hint(depth: usize) -> (usize, Option<usize>)

    Get a size hint for how many bytes out of an Unstructured this type needs to construct itself. Read more
    source§

    impl Clone for RegExpLiteral

    source§

    fn clone(&self) -> RegExpLiteral

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RegExpLiteral

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for RegExpLiteral

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a RegExpLiteral> for NodeRef<'a>

    source§

    fn from(node: &'a RegExpLiteral) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut RegExpLiteral> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut RegExpLiteral) -> NodeRefMut<'a>

    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 PartialEq<RegExpLiteral> for RegExpLiteral

    source§

    fn eq(&self, other: &RegExpLiteral) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for RegExpLiteral

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for RegExpLiteral

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for RegExpLiteral

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for RegExpLiteral

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for RegExpLiteral

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/spread/struct.Spread.html b/doc/boa_ast/expression/spread/struct.Spread.html index 6f993c16352..d9cd1a57090 100644 --- a/doc/boa_ast/expression/spread/struct.Spread.html +++ b/doc/boa_ast/expression/spread/struct.Spread.html @@ -20,7 +20,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Spread> for NodeRef<'a>

    source§

    fn from(node: &'a Spread) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Spread> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Spread) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Spread> for Expression

    source§

    fn from(spread: Spread) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Spread> for Spread

    source§

    fn eq(&self, other: &Spread) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Spread

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Spread

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Spread

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Spread

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Spread

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/struct.Await.html b/doc/boa_ast/expression/struct.Await.html index 44e1a8756e7..922a9f33c3d 100644 --- a/doc/boa_ast/expression/struct.Await.html +++ b/doc/boa_ast/expression/struct.Await.html @@ -15,7 +15,7 @@ T: Into<Box<Expression>>,

    source§

    fn from(e: T) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Await> for Await

    source§

    fn eq(&self, other: &Await) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Await

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    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 more
    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 V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/struct.Call.html b/doc/boa_ast/expression/struct.Call.html index 28cc89c79a8..cb9e5773326 100644 --- a/doc/boa_ast/expression/struct.Call.html +++ b/doc/boa_ast/expression/struct.Call.html @@ -21,7 +21,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Call> for NodeRef<'a>

    source§

    fn from(node: &'a Call) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    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§

    fn from(call: Call) -> Self

    Converts to this type from the input type.
    source§

    impl From<Call> for New

    source§

    fn from(call: Call) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Call> for Call

    source§

    fn eq(&self, other: &Call) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Call

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    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 more
    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 V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/struct.Identifier.html b/doc/boa_ast/expression/struct.Identifier.html index f7718398854..7fd8a6d9f2d 100644 --- a/doc/boa_ast/expression/struct.Identifier.html +++ b/doc/boa_ast/expression/struct.Identifier.html @@ -1,5 +1,5 @@ Identifier in boa_ast::expression - Rust
    #[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

    source

    pub const fn new(ident: Sym) -> Self

    Creates a new identifier AST Expression.

    -
    source

    pub const fn sym(self) -> Sym

    Retrieves the identifier’s string symbol in the interner.

    +

    Fields§

    §ident: Sym

    Implementations§

    source§

    impl Identifier

    source

    pub const fn new(ident: Sym) -> Self

    Creates a new identifier AST Expression.

    +
    source

    pub const fn sym(self) -> Sym

    Retrieves the identifier’s string symbol in the interner.

    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 more
    source§

    fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
    source§

    fn size_hint(depth: usize) -> (usize, Option<usize>)

    Get a size hint for how many bytes out of an Unstructured this type needs to construct itself. Read more
    source§

    impl Clone for Identifier

    source§

    fn clone(&self) -> Identifier

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Identifier

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    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 more
    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§

    fn from(sym: Sym) -> Self

    Converts to this type from the input type.
    source§

    impl Hash for Identifier

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    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§

    fn from(sym: Sym) -> Self

    Converts to this type from the input type.
    source§

    impl Hash for Identifier

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    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 ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -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 +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 ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PartialEq<Sym> for Identifier

    source§

    fn eq(&self, other: &Sym) -> 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<Sym> for Identifier

    source§

    fn eq(&self, other: &Sym) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Identifier

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    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 more
    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 V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/struct.ImportCall.html b/doc/boa_ast/expression/struct.ImportCall.html index aa52196de2f..628ffc029a7 100644 --- a/doc/boa_ast/expression/struct.ImportCall.html +++ b/doc/boa_ast/expression/struct.ImportCall.html @@ -17,7 +17,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    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 ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for ImportCall

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    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 more
    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 V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/struct.New.html b/doc/boa_ast/expression/struct.New.html index 53e1df21c4c..6914557fa3d 100644 --- a/doc/boa_ast/expression/struct.New.html +++ b/doc/boa_ast/expression/struct.New.html @@ -23,7 +23,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a New> for NodeRef<'a>

    source§

    fn from(node: &'a New) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut New> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut New) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Call> for New

    source§

    fn from(call: Call) -> Self

    Converts to this type from the input type.
    source§

    impl From<New> for Expression

    source§

    fn from(new: New) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<New> for New

    source§

    fn eq(&self, other: &New) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for New

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for New

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for New

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for New

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for New

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/struct.Optional.html b/doc/boa_ast/expression/struct.Optional.html index 6f4fe6decdd..f445e608ebc 100644 --- a/doc/boa_ast/expression/struct.Optional.html +++ b/doc/boa_ast/expression/struct.Optional.html @@ -24,7 +24,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Optional> for NodeRef<'a>

    source§

    fn from(node: &'a Optional) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Optional> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Optional) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Optional> for Expression

    source§

    fn from(opt: Optional) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Optional> for Optional

    source§

    fn eq(&self, other: &Optional) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Optional

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Optional

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Optional

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Optional

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Optional

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/struct.OptionalOperation.html b/doc/boa_ast/expression/struct.OptionalOperation.html index 05958d67e65..630baf6478f 100644 --- a/doc/boa_ast/expression/struct.OptionalOperation.html +++ b/doc/boa_ast/expression/struct.OptionalOperation.html @@ -16,7 +16,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a OptionalOperation> for NodeRef<'a>

    source§

    fn from(node: &'a OptionalOperation) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut OptionalOperation> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut OptionalOperation) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl PartialEq<OptionalOperation> for OptionalOperation

    source§

    fn eq(&self, other: &OptionalOperation) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for OptionalOperation

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for OptionalOperation

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for OptionalOperation

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for OptionalOperation

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for OptionalOperation

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/struct.Parenthesized.html b/doc/boa_ast/expression/struct.Parenthesized.html index 178d3732700..8967714b4f7 100644 --- a/doc/boa_ast/expression/struct.Parenthesized.html +++ b/doc/boa_ast/expression/struct.Parenthesized.html @@ -14,7 +14,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Parenthesized> for NodeRef<'a>

    source§

    fn from(node: &'a Parenthesized) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Parenthesized> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Parenthesized) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Parenthesized> for Expression

    source§

    fn from(p: Parenthesized) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Parenthesized> for Parenthesized

    source§

    fn eq(&self, other: &Parenthesized) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Parenthesized

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Parenthesized

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Parenthesized

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Parenthesized

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Parenthesized

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/struct.RegExpLiteral.html b/doc/boa_ast/expression/struct.RegExpLiteral.html index b3d56e2d77b..a56aacf1cc5 100644 --- a/doc/boa_ast/expression/struct.RegExpLiteral.html +++ b/doc/boa_ast/expression/struct.RegExpLiteral.html @@ -1,22 +1,22 @@ RegExpLiteral in boa_ast::expression - Rust
    pub struct RegExpLiteral {
    -    pattern: Sym,
    -    flags: Sym,
    +    pattern: Sym,
    +    flags: Sym,
     }
    Expand description

    Regular expressions in ECMAScript.

    More information:

    -

    Fields§

    §pattern: Sym§flags: Sym

    Implementations§

    source§

    impl RegExpLiteral

    source

    pub const fn new(pattern: Sym, flags: Sym) -> Self

    Create a new RegExpLiteral.

    -
    source

    pub const fn pattern(&self) -> Sym

    Get the pattern part of the RegExpLiteral.

    -
    source

    pub const fn flags(&self) -> Sym

    Get the flags part of the RegExpLiteral.

    +

    Fields§

    §pattern: Sym§flags: Sym

    Implementations§

    source§

    impl RegExpLiteral

    source

    pub const fn new(pattern: Sym, flags: Sym) -> Self

    Create a new RegExpLiteral.

    +
    source

    pub const fn pattern(&self) -> Sym

    Get the pattern part of the RegExpLiteral.

    +
    source

    pub const fn flags(&self) -> Sym

    Get the flags part of the RegExpLiteral.

    Trait Implementations§

    source§

    impl<'arbitrary> Arbitrary<'arbitrary> for RegExpLiteral

    source§

    fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the given unstructured data. Read more
    source§

    fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
    source§

    fn size_hint(depth: usize) -> (usize, Option<usize>)

    Get a size hint for how many bytes out of an Unstructured this type needs to construct itself. Read more
    source§

    impl Clone for RegExpLiteral

    source§

    fn clone(&self) -> RegExpLiteral

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RegExpLiteral

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for RegExpLiteral

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a RegExpLiteral> for NodeRef<'a>

    source§

    fn from(node: &'a RegExpLiteral) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut RegExpLiteral> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut RegExpLiteral) -> NodeRefMut<'a>

    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 PartialEq<RegExpLiteral> for RegExpLiteral

    source§

    fn eq(&self, other: &RegExpLiteral) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for RegExpLiteral

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for RegExpLiteral

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for RegExpLiteral

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for RegExpLiteral

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for RegExpLiteral

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/struct.Spread.html b/doc/boa_ast/expression/struct.Spread.html index 594d9b0e133..6e197614ae1 100644 --- a/doc/boa_ast/expression/struct.Spread.html +++ b/doc/boa_ast/expression/struct.Spread.html @@ -20,7 +20,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Spread> for NodeRef<'a>

    source§

    fn from(node: &'a Spread) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Spread> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Spread) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Spread> for Expression

    source§

    fn from(spread: Spread) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Spread> for Spread

    source§

    fn eq(&self, other: &Spread) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Spread

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Spread

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Spread

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Spread

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Spread

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/struct.SuperCall.html b/doc/boa_ast/expression/struct.SuperCall.html index 30aed3028b4..a3345102682 100644 --- a/doc/boa_ast/expression/struct.SuperCall.html +++ b/doc/boa_ast/expression/struct.SuperCall.html @@ -15,7 +15,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a SuperCall> for NodeRef<'a>

    source§

    fn from(node: &'a SuperCall) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    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§

    fn from(call: SuperCall) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<SuperCall> for SuperCall

    source§

    fn eq(&self, other: &SuperCall) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for SuperCall

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    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 more
    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 V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/struct.TaggedTemplate.html b/doc/boa_ast/expression/struct.TaggedTemplate.html index 4758507faaf..c37f19aeeb7 100644 --- a/doc/boa_ast/expression/struct.TaggedTemplate.html +++ b/doc/boa_ast/expression/struct.TaggedTemplate.html @@ -1,23 +1,23 @@ TaggedTemplate in boa_ast::expression - Rust
    pub struct TaggedTemplate {
         tag: Box<Expression>,
    -    raws: Box<[Sym]>,
    -    cookeds: Box<[Option<Sym>]>,
    +    raws: Box<[Sym]>,
    +    cookeds: Box<[Option<Sym>]>,
         exprs: Box<[Expression]>,
         identifier: u64,
     }
    Expand description

    A TaggedTemplate expression, as defined by the spec.

    TaggedTemplates are a type of template literals that are parsed by a custom function to generate arbitrary objects from the inner strings and expressions.

    -

    Fields§

    §tag: Box<Expression>§raws: Box<[Sym]>§cookeds: Box<[Option<Sym>]>§exprs: Box<[Expression]>§identifier: u64

    Implementations§

    source§

    impl TaggedTemplate

    source

    pub fn new( +

    Fields§

    §tag: Box<Expression>§raws: Box<[Sym]>§cookeds: Box<[Option<Sym>]>§exprs: Box<[Expression]>§identifier: u64

    Implementations§

    source§

    impl TaggedTemplate

    source

    pub fn new( tag: Expression, - raws: Box<[Sym]>, - cookeds: Box<[Option<Sym>]>, + raws: Box<[Sym]>, + cookeds: Box<[Option<Sym>]>, exprs: Box<[Expression]>, identifier: u64 ) -> Self

    Creates a new tagged template with a tag, the list of raw strings, the cooked strings and the expressions.

    source

    pub const fn tag(&self) -> &Expression

    Gets the tag function of the template.

    -
    source

    pub const fn raws(&self) -> &[Sym]

    Gets the inner raw strings of the template.

    -
    source

    pub const fn cookeds(&self) -> &[Option<Sym>]

    Gets the cooked strings of the template.

    +
    source

    pub const fn raws(&self) -> &[Sym]

    Gets the inner raw strings of the template.

    +
    source

    pub const fn cookeds(&self) -> &[Option<Sym>]

    Gets the cooked strings of the template.

    source

    pub const fn exprs(&self) -> &[Expression]

    Gets the interpolated expressions of the template.

    source

    pub const fn identifier(&self) -> u64

    Gets the unique identifier of the template.

    Trait Implementations§

    source§

    impl<'arbitrary> Arbitrary<'arbitrary> for TaggedTemplate

    source§

    fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the given unstructured data. Read more
    source§

    fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the entirety of the given @@ -26,7 +26,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a TaggedTemplate> for NodeRef<'a>

    source§

    fn from(node: &'a TaggedTemplate) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut TaggedTemplate> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut TaggedTemplate) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<TaggedTemplate> for Expression

    source§

    fn from(template: TaggedTemplate) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<TaggedTemplate> for TaggedTemplate

    source§

    fn eq(&self, other: &TaggedTemplate) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for TaggedTemplate

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for TaggedTemplate

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for TaggedTemplate

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for TaggedTemplate

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for TaggedTemplate

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/struct.Yield.html b/doc/boa_ast/expression/struct.Yield.html index 6fb6b5bc871..693dd3aa093 100644 --- a/doc/boa_ast/expression/struct.Yield.html +++ b/doc/boa_ast/expression/struct.Yield.html @@ -16,7 +16,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Yield> for NodeRef<'a>

    source§

    fn from(node: &'a Yield) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Yield> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Yield) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Yield> for Expression

    source§

    fn from(yield: Yield) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Yield> for Yield

    source§

    fn eq(&self, other: &Yield) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Yield

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Yield

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Yield

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Yield

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Yield

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/tagged_template/struct.TaggedTemplate.html b/doc/boa_ast/expression/tagged_template/struct.TaggedTemplate.html index 770bf371812..86b3733db21 100644 --- a/doc/boa_ast/expression/tagged_template/struct.TaggedTemplate.html +++ b/doc/boa_ast/expression/tagged_template/struct.TaggedTemplate.html @@ -1,23 +1,23 @@ TaggedTemplate in boa_ast::expression::tagged_template - Rust
    pub struct TaggedTemplate {
         tag: Box<Expression>,
    -    raws: Box<[Sym]>,
    -    cookeds: Box<[Option<Sym>]>,
    +    raws: Box<[Sym]>,
    +    cookeds: Box<[Option<Sym>]>,
         exprs: Box<[Expression]>,
         identifier: u64,
     }
    Expand description

    A TaggedTemplate expression, as defined by the spec.

    TaggedTemplates are a type of template literals that are parsed by a custom function to generate arbitrary objects from the inner strings and expressions.

    -

    Fields§

    §tag: Box<Expression>§raws: Box<[Sym]>§cookeds: Box<[Option<Sym>]>§exprs: Box<[Expression]>§identifier: u64

    Implementations§

    source§

    impl TaggedTemplate

    source

    pub fn new( +

    Fields§

    §tag: Box<Expression>§raws: Box<[Sym]>§cookeds: Box<[Option<Sym>]>§exprs: Box<[Expression]>§identifier: u64

    Implementations§

    source§

    impl TaggedTemplate

    source

    pub fn new( tag: Expression, - raws: Box<[Sym]>, - cookeds: Box<[Option<Sym>]>, + raws: Box<[Sym]>, + cookeds: Box<[Option<Sym>]>, exprs: Box<[Expression]>, identifier: u64 ) -> Self

    Creates a new tagged template with a tag, the list of raw strings, the cooked strings and the expressions.

    source

    pub const fn tag(&self) -> &Expression

    Gets the tag function of the template.

    -
    source

    pub const fn raws(&self) -> &[Sym]

    Gets the inner raw strings of the template.

    -
    source

    pub const fn cookeds(&self) -> &[Option<Sym>]

    Gets the cooked strings of the template.

    +
    source

    pub const fn raws(&self) -> &[Sym]

    Gets the inner raw strings of the template.

    +
    source

    pub const fn cookeds(&self) -> &[Option<Sym>]

    Gets the cooked strings of the template.

    source

    pub const fn exprs(&self) -> &[Expression]

    Gets the interpolated expressions of the template.

    source

    pub const fn identifier(&self) -> u64

    Gets the unique identifier of the template.

    Trait Implementations§

    source§

    impl<'arbitrary> Arbitrary<'arbitrary> for TaggedTemplate

    source§

    fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the given unstructured data. Read more
    source§

    fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the entirety of the given @@ -26,7 +26,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a TaggedTemplate> for NodeRef<'a>

    source§

    fn from(node: &'a TaggedTemplate) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut TaggedTemplate> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut TaggedTemplate) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<TaggedTemplate> for Expression

    source§

    fn from(template: TaggedTemplate) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<TaggedTemplate> for TaggedTemplate

    source§

    fn eq(&self, other: &TaggedTemplate) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for TaggedTemplate

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for TaggedTemplate

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for TaggedTemplate

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for TaggedTemplate

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for TaggedTemplate

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/expression/yield/struct.Yield.html b/doc/boa_ast/expression/yield/struct.Yield.html index d8b7423cd82..3725eb34de3 100644 --- a/doc/boa_ast/expression/yield/struct.Yield.html +++ b/doc/boa_ast/expression/yield/struct.Yield.html @@ -16,7 +16,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Yield> for NodeRef<'a>

    source§

    fn from(node: &'a Yield) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Yield> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Yield) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Yield> for Expression

    source§

    fn from(yield: Yield) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Yield> for Yield

    source§

    fn eq(&self, other: &Yield) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Yield

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Yield

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Yield

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Yield

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Yield

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/fn.block_to_string.html b/doc/boa_ast/fn.block_to_string.html index db26957bd0d..eaa08cf99a1 100644 --- a/doc/boa_ast/fn.block_to_string.html +++ b/doc/boa_ast/fn.block_to_string.html @@ -1,6 +1,6 @@ block_to_string in boa_ast - Rust

    Function boa_ast::block_to_string

    source ·
    pub(crate) fn block_to_string(
         body: &StatementList,
    -    interner: &Interner,
    +    interner: &Interner,
         indentation: usize
     ) -> String
    Expand description

    Displays the body of a block or statement list.

    This includes the curly braces at the start and end. This will not indent the first brace, diff --git a/doc/boa_ast/fn.join_nodes.html b/doc/boa_ast/fn.join_nodes.html index 8b868aeefbe..0a8162dc27d 100644 --- a/doc/boa_ast/fn.join_nodes.html +++ b/doc/boa_ast/fn.join_nodes.html @@ -1,3 +1,3 @@ -join_nodes in boa_ast - Rust

    Function boa_ast::join_nodes

    source ·
    pub(crate) fn join_nodes<N>(interner: &Interner, nodes: &[N]) -> Stringwhere
    -    N: ToInternedString,
    Expand description

    Utility to join multiple Nodes into a single string.

    +join_nodes in boa_ast - Rust

    Function boa_ast::join_nodes

    source ·
    pub(crate) fn join_nodes<N>(interner: &Interner, nodes: &[N]) -> Stringwhere
    +    N: ToInternedString,
    Expand description

    Utility to join multiple Nodes into a single string.

    \ No newline at end of file diff --git a/doc/boa_ast/function/arrow_function/struct.ArrowFunction.html b/doc/boa_ast/function/arrow_function/struct.ArrowFunction.html index b92b398d83d..e8dd4e08af6 100644 --- a/doc/boa_ast/function/arrow_function/struct.ArrowFunction.html +++ b/doc/boa_ast/function/arrow_function/struct.ArrowFunction.html @@ -22,7 +22,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a ArrowFunction> for NodeRef<'a>

    source§

    fn from(node: &'a ArrowFunction) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ArrowFunction> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ArrowFunction) -> NodeRefMut<'a>

    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 PartialEq<ArrowFunction> for ArrowFunction

    source§

    fn eq(&self, other: &ArrowFunction) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for ArrowFunction

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for ArrowFunction

    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 ArrowFunction

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for ArrowFunction

    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 ArrowFunction

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -36,8 +36,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/function/async_arrow_function/struct.AsyncArrowFunction.html b/doc/boa_ast/function/async_arrow_function/struct.AsyncArrowFunction.html index 2cd5f25f377..9947e637dd2 100644 --- a/doc/boa_ast/function/async_arrow_function/struct.AsyncArrowFunction.html +++ b/doc/boa_ast/function/async_arrow_function/struct.AsyncArrowFunction.html @@ -22,7 +22,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a AsyncArrowFunction> for NodeRef<'a>

    source§

    fn from(node: &'a AsyncArrowFunction) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut AsyncArrowFunction> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut AsyncArrowFunction) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<AsyncArrowFunction> for Expression

    source§

    fn from(decl: AsyncArrowFunction) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<AsyncArrowFunction> for AsyncArrowFunction

    source§

    fn eq(&self, other: &AsyncArrowFunction) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for AsyncArrowFunction

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for AsyncArrowFunction

    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 AsyncArrowFunction

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for AsyncArrowFunction

    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 AsyncArrowFunction

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -36,8 +36,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/function/async_function/struct.AsyncFunction.html b/doc/boa_ast/function/async_function/struct.AsyncFunction.html index c81142084ea..da5448d7463 100644 --- a/doc/boa_ast/function/async_function/struct.AsyncFunction.html +++ b/doc/boa_ast/function/async_function/struct.AsyncFunction.html @@ -23,7 +23,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a AsyncFunction> for NodeRef<'a>

    source§

    fn from(node: &'a AsyncFunction) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut AsyncFunction> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut AsyncFunction) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<AsyncFunction> for Declaration

    source§

    fn from(f: AsyncFunction) -> 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 PartialEq<AsyncFunction> for AsyncFunction

    source§

    fn eq(&self, other: &AsyncFunction) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for AsyncFunction

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for AsyncFunction

    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 AsyncFunction

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for AsyncFunction

    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 AsyncFunction

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -37,8 +37,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/function/async_generator/struct.AsyncGenerator.html b/doc/boa_ast/function/async_generator/struct.AsyncGenerator.html index b9d4112a2e9..bb87fe1770c 100644 --- a/doc/boa_ast/function/async_generator/struct.AsyncGenerator.html +++ b/doc/boa_ast/function/async_generator/struct.AsyncGenerator.html @@ -22,7 +22,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a AsyncGenerator> for NodeRef<'a>

    source§

    fn from(node: &'a AsyncGenerator) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut AsyncGenerator> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut AsyncGenerator) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<AsyncGenerator> for Declaration

    source§

    fn from(f: AsyncGenerator) -> 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 PartialEq<AsyncGenerator> for AsyncGenerator

    source§

    fn eq(&self, other: &AsyncGenerator) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for AsyncGenerator

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for AsyncGenerator

    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 AsyncGenerator

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for AsyncGenerator

    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 AsyncGenerator

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -36,8 +36,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/function/class/struct.Class.html b/doc/boa_ast/function/class/struct.Class.html index 1b188f08fcc..9559af3e4c2 100644 --- a/doc/boa_ast/function/class/struct.Class.html +++ b/doc/boa_ast/function/class/struct.Class.html @@ -25,7 +25,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Class> for NodeRef<'a>

    source§

    fn from(node: &'a Class) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Class> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Class) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Class> for Declaration

    source§

    fn from(f: Class) -> Self

    Converts to this type from the input type.
    source§

    impl From<Class> for Expression

    source§

    fn from(expr: Class) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Class> for Class

    source§

    fn eq(&self, other: &Class) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Class

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Class

    source§

    fn to_indented_string(&self, interner: &Interner, indent_n: usize) -> String

    Converts the element to a string using an interner, with the given indentation.
    source§

    impl VisitWith for Class

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Class

    source§

    fn to_indented_string(&self, interner: &Interner, indent_n: usize) -> String

    Converts the element to a string using an interner, with the given indentation.
    source§

    impl VisitWith for Class

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -39,8 +39,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/function/class/struct.PrivateName.html b/doc/boa_ast/function/class/struct.PrivateName.html index c9c01dfcac8..17a04ae9a9d 100644 --- a/doc/boa_ast/function/class/struct.PrivateName.html +++ b/doc/boa_ast/function/class/struct.PrivateName.html @@ -1,9 +1,9 @@ PrivateName in boa_ast::function::class - Rust
    pub struct PrivateName {
    -    description: Sym,
    +    description: Sym,
     }
    Expand description

    A private name as defined by the spec.

    -

    Fields§

    §description: Sym

    The [[Description]] internal slot of the private name.

    -

    Implementations§

    source§

    impl PrivateName

    source

    pub const fn new(description: Sym) -> Self

    Create a new private name.

    -
    source

    pub const fn description(&self) -> Sym

    Get the description of the private name.

    +

    Fields§

    §description: Sym

    The [[Description]] internal slot of the private name.

    +

    Implementations§

    source§

    impl PrivateName

    source

    pub const fn new(description: Sym) -> Self

    Create a new private name.

    +
    source

    pub const fn description(&self) -> Sym

    Get the description of the private name.

    Trait Implementations§

    source§

    impl<'arbitrary> Arbitrary<'arbitrary> for PrivateName

    source§

    fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the given unstructured data. Read more
    source§

    fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
    source§

    fn size_hint(depth: usize) -> (usize, Option<usize>)

    Get a size hint for how many bytes out of an Unstructured this type needs to construct itself. Read more
    source§

    impl Clone for PrivateName

    source§

    fn clone(&self) -> PrivateName

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PrivateName

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for PrivateName

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where diff --git a/doc/boa_ast/function/generator/struct.Generator.html b/doc/boa_ast/function/generator/struct.Generator.html index 599c2e859e1..7718dbeaf8c 100644 --- a/doc/boa_ast/function/generator/struct.Generator.html +++ b/doc/boa_ast/function/generator/struct.Generator.html @@ -24,7 +24,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Generator> for NodeRef<'a>

    source§

    fn from(node: &'a Generator) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Generator> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Generator) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Generator> for Declaration

    source§

    fn from(f: Generator) -> Self

    Converts to this type from the input type.
    source§

    impl From<Generator> for Expression

    source§

    fn from(expr: Generator) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Generator> for Generator

    source§

    fn eq(&self, other: &Generator) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Generator

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Generator

    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 Generator

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Generator

    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 Generator

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -38,8 +38,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/function/parameters/struct.FormalParameter.html b/doc/boa_ast/function/parameters/struct.FormalParameter.html index 0ee2a1ea09f..4968e5cdb8d 100644 --- a/doc/boa_ast/function/parameters/struct.FormalParameter.html +++ b/doc/boa_ast/function/parameters/struct.FormalParameter.html @@ -24,7 +24,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a FormalParameter> for NodeRef<'a>

    source§

    fn from(node: &'a FormalParameter) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut FormalParameter> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut FormalParameter) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<FormalParameter> for FormalParameterList

    source§

    fn from(parameter: FormalParameter) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<FormalParameter> for FormalParameter

    source§

    fn eq(&self, other: &FormalParameter) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for FormalParameter

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for FormalParameter

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for FormalParameter

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for FormalParameter

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for FormalParameter

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/function/struct.ArrowFunction.html b/doc/boa_ast/function/struct.ArrowFunction.html index 3b479cd1202..601adafca79 100644 --- a/doc/boa_ast/function/struct.ArrowFunction.html +++ b/doc/boa_ast/function/struct.ArrowFunction.html @@ -22,7 +22,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a ArrowFunction> for NodeRef<'a>

    source§

    fn from(node: &'a ArrowFunction) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ArrowFunction> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ArrowFunction) -> NodeRefMut<'a>

    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 PartialEq<ArrowFunction> for ArrowFunction

    source§

    fn eq(&self, other: &ArrowFunction) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for ArrowFunction

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for ArrowFunction

    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 ArrowFunction

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for ArrowFunction

    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 ArrowFunction

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -36,8 +36,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/function/struct.AsyncArrowFunction.html b/doc/boa_ast/function/struct.AsyncArrowFunction.html index 9e65a3a9c70..df8bfa03387 100644 --- a/doc/boa_ast/function/struct.AsyncArrowFunction.html +++ b/doc/boa_ast/function/struct.AsyncArrowFunction.html @@ -22,7 +22,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a AsyncArrowFunction> for NodeRef<'a>

    source§

    fn from(node: &'a AsyncArrowFunction) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut AsyncArrowFunction> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut AsyncArrowFunction) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<AsyncArrowFunction> for Expression

    source§

    fn from(decl: AsyncArrowFunction) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<AsyncArrowFunction> for AsyncArrowFunction

    source§

    fn eq(&self, other: &AsyncArrowFunction) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for AsyncArrowFunction

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for AsyncArrowFunction

    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 AsyncArrowFunction

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for AsyncArrowFunction

    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 AsyncArrowFunction

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -36,8 +36,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/function/struct.AsyncFunction.html b/doc/boa_ast/function/struct.AsyncFunction.html index 1e65e65f178..15d45a186e9 100644 --- a/doc/boa_ast/function/struct.AsyncFunction.html +++ b/doc/boa_ast/function/struct.AsyncFunction.html @@ -23,7 +23,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a AsyncFunction> for NodeRef<'a>

    source§

    fn from(node: &'a AsyncFunction) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut AsyncFunction> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut AsyncFunction) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<AsyncFunction> for Declaration

    source§

    fn from(f: AsyncFunction) -> 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 PartialEq<AsyncFunction> for AsyncFunction

    source§

    fn eq(&self, other: &AsyncFunction) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for AsyncFunction

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for AsyncFunction

    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 AsyncFunction

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for AsyncFunction

    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 AsyncFunction

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -37,8 +37,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/function/struct.AsyncGenerator.html b/doc/boa_ast/function/struct.AsyncGenerator.html index 7b462c6970f..8b634015594 100644 --- a/doc/boa_ast/function/struct.AsyncGenerator.html +++ b/doc/boa_ast/function/struct.AsyncGenerator.html @@ -22,7 +22,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a AsyncGenerator> for NodeRef<'a>

    source§

    fn from(node: &'a AsyncGenerator) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut AsyncGenerator> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut AsyncGenerator) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<AsyncGenerator> for Declaration

    source§

    fn from(f: AsyncGenerator) -> 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 PartialEq<AsyncGenerator> for AsyncGenerator

    source§

    fn eq(&self, other: &AsyncGenerator) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for AsyncGenerator

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for AsyncGenerator

    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 AsyncGenerator

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for AsyncGenerator

    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 AsyncGenerator

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -36,8 +36,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/function/struct.Class.html b/doc/boa_ast/function/struct.Class.html index a96590ea021..b653f7c272c 100644 --- a/doc/boa_ast/function/struct.Class.html +++ b/doc/boa_ast/function/struct.Class.html @@ -25,7 +25,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Class> for NodeRef<'a>

    source§

    fn from(node: &'a Class) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Class> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Class) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Class> for Declaration

    source§

    fn from(f: Class) -> Self

    Converts to this type from the input type.
    source§

    impl From<Class> for Expression

    source§

    fn from(expr: Class) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Class> for Class

    source§

    fn eq(&self, other: &Class) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Class

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Class

    source§

    fn to_indented_string(&self, interner: &Interner, indent_n: usize) -> String

    Converts the element to a string using an interner, with the given indentation.
    source§

    impl VisitWith for Class

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Class

    source§

    fn to_indented_string(&self, interner: &Interner, indent_n: usize) -> String

    Converts the element to a string using an interner, with the given indentation.
    source§

    impl VisitWith for Class

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -39,8 +39,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/function/struct.FormalParameter.html b/doc/boa_ast/function/struct.FormalParameter.html index 4764ee3176d..e74ef86b02a 100644 --- a/doc/boa_ast/function/struct.FormalParameter.html +++ b/doc/boa_ast/function/struct.FormalParameter.html @@ -24,7 +24,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a FormalParameter> for NodeRef<'a>

    source§

    fn from(node: &'a FormalParameter) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut FormalParameter> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut FormalParameter) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<FormalParameter> for FormalParameterList

    source§

    fn from(parameter: FormalParameter) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<FormalParameter> for FormalParameter

    source§

    fn eq(&self, other: &FormalParameter) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for FormalParameter

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for FormalParameter

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for FormalParameter

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for FormalParameter

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for FormalParameter

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/function/struct.Function.html b/doc/boa_ast/function/struct.Function.html index af057670337..84a824e0974 100644 --- a/doc/boa_ast/function/struct.Function.html +++ b/doc/boa_ast/function/struct.Function.html @@ -31,7 +31,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Function> for NodeRef<'a>

    source§

    fn from(node: &'a Function) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Function> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Function) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Function> for Declaration

    source§

    fn from(f: Function) -> Self

    Converts to this type from the input type.
    source§

    impl From<Function> for Expression

    source§

    fn from(expr: Function) -> Self

    Converts to this type from the input type.
    source§

    impl From<Function> for LabelledItem

    source§

    fn from(f: Function) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Function> for Function

    source§

    fn eq(&self, other: &Function) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Function

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Function

    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 Function

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Function

    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 Function

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -45,8 +45,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/function/struct.Generator.html b/doc/boa_ast/function/struct.Generator.html index 8ba449b70a6..7f11e5a2f2e 100644 --- a/doc/boa_ast/function/struct.Generator.html +++ b/doc/boa_ast/function/struct.Generator.html @@ -24,7 +24,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Generator> for NodeRef<'a>

    source§

    fn from(node: &'a Generator) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Generator> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Generator) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Generator> for Declaration

    source§

    fn from(f: Generator) -> Self

    Converts to this type from the input type.
    source§

    impl From<Generator> for Expression

    source§

    fn from(expr: Generator) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Generator> for Generator

    source§

    fn eq(&self, other: &Generator) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Generator

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Generator

    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 Generator

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Generator

    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 Generator

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -38,8 +38,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/function/struct.PrivateName.html b/doc/boa_ast/function/struct.PrivateName.html index 0feb08b3787..2e81d5c19ce 100644 --- a/doc/boa_ast/function/struct.PrivateName.html +++ b/doc/boa_ast/function/struct.PrivateName.html @@ -1,9 +1,9 @@ PrivateName in boa_ast::function - Rust
    pub struct PrivateName {
    -    description: Sym,
    +    description: Sym,
     }
    Expand description

    A private name as defined by the spec.

    -

    Fields§

    §description: Sym

    The [[Description]] internal slot of the private name.

    -

    Implementations§

    source§

    impl PrivateName

    source

    pub const fn new(description: Sym) -> Self

    Create a new private name.

    -
    source

    pub const fn description(&self) -> Sym

    Get the description of the private name.

    +

    Fields§

    §description: Sym

    The [[Description]] internal slot of the private name.

    +

    Implementations§

    source§

    impl PrivateName

    source

    pub const fn new(description: Sym) -> Self

    Create a new private name.

    +
    source

    pub const fn description(&self) -> Sym

    Get the description of the private name.

    Trait Implementations§

    source§

    impl<'arbitrary> Arbitrary<'arbitrary> for PrivateName

    source§

    fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the given unstructured data. Read more
    source§

    fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
    source§

    fn size_hint(depth: usize) -> (usize, Option<usize>)

    Get a size hint for how many bytes out of an Unstructured this type needs to construct itself. Read more
    source§

    impl Clone for PrivateName

    source§

    fn clone(&self) -> PrivateName

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PrivateName

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for PrivateName

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where diff --git a/doc/boa_ast/keyword/enum.Keyword.html b/doc/boa_ast/keyword/enum.Keyword.html index dc97bb80d0a..724aef0e837 100644 --- a/doc/boa_ast/keyword/enum.Keyword.html +++ b/doc/boa_ast/keyword/enum.Keyword.html @@ -311,7 +311,7 @@

    Implementations§

    source§

    impl Keyword

    source

    pub const fn as_binary_op(self) -> Option<BinaryOp>

    Gets the keyword as a binary operation, if this keyword is the in or the instanceof keywords.

    source

    pub const fn as_str(self) -> (&'static str, &'static [u16])

    Gets the keyword as a tuple of strings.

    -
    source

    pub const fn to_sym(self) -> Sym

    Converts the keyword to a symbol in the given interner.

    +
    source

    pub const fn to_sym(self) -> Sym

    Converts the keyword to a symbol in the given interner.

    Trait Implementations§

    source§

    impl Clone for Keyword

    source§

    fn clone(&self) -> Keyword

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Keyword

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Keyword

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for Keyword

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for Keyword

    §

    type Err = KeywordError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl PartialEq<Keyword> for Keyword

    source§

    fn eq(&self, other: &Keyword) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always diff --git a/doc/boa_ast/module_item_list/struct.ModuleItemList.html b/doc/boa_ast/module_item_list/struct.ModuleItemList.html index f08a90ed8cb..8532fffff8a 100644 --- a/doc/boa_ast/module_item_list/struct.ModuleItemList.html +++ b/doc/boa_ast/module_item_list/struct.ModuleItemList.html @@ -7,9 +7,9 @@
  • ECMAScript specification
  • Fields§

    §items: Box<[ModuleItem]>

    Implementations§

    source§

    impl ModuleItemList

    source

    pub const fn items(&self) -> &[ModuleItem]

    Gets the list of module items.

    -
    source

    pub fn exported_names(&self) -> Vec<Sym>

    Abstract operation ExportedNames.

    +
    source

    pub fn exported_names(&self) -> Vec<Sym>

    Abstract operation ExportedNames.

    source

    pub fn exported_bindings(&self) -> FxHashSet<Identifier>

    Abstract operation ExportedBindings.

    -
    source

    pub fn requests(&self) -> IndexSet<Sym, BuildHasherDefault<FxHasher>>

    Operation ModuleRequests.

    +
    source

    pub fn requests(&self) -> IndexSet<Sym, BuildHasherDefault<FxHasher>>

    Operation ModuleRequests.

    Gets the list of modules that need to be fetched by the module resolver to link this module.

    source

    pub fn import_entries(&self) -> Vec<ImportEntry>

    Operation ImportEntries.

    Gets the list of import entries of this module.

    diff --git a/doc/boa_ast/operations/enum.CheckLabelsError.html b/doc/boa_ast/operations/enum.CheckLabelsError.html index c2f0a654ea3..954dab75e68 100644 --- a/doc/boa_ast/operations/enum.CheckLabelsError.html +++ b/doc/boa_ast/operations/enum.CheckLabelsError.html @@ -1,16 +1,16 @@ CheckLabelsError in boa_ast::operations - Rust
    pub enum CheckLabelsError {
    -    DuplicateLabel(Sym),
    -    UndefinedBreakTarget(Sym),
    -    UndefinedContinueTarget(Sym),
    +    DuplicateLabel(Sym),
    +    UndefinedBreakTarget(Sym),
    +    UndefinedContinueTarget(Sym),
         IllegalBreakStatement,
         IllegalContinueStatement,
     }
    Expand description

    Errors that can occur when checking labels.

    -

    Variants§

    §

    DuplicateLabel(Sym)

    A label was used multiple times.

    -
    §

    UndefinedBreakTarget(Sym)

    A break statement was used with a label that was not defined.

    -
    §

    UndefinedContinueTarget(Sym)

    A continue statement was used with a label that was not defined.

    +

    Variants§

    §

    DuplicateLabel(Sym)

    A label was used multiple times.

    +
    §

    UndefinedBreakTarget(Sym)

    A break statement was used with a label that was not defined.

    +
    §

    UndefinedContinueTarget(Sym)

    A continue statement was used with a label that was not defined.

    §

    IllegalBreakStatement

    A break statement was used in a non-looping context.

    §

    IllegalContinueStatement

    A continue statement was used in a non-looping context.

    -

    Implementations§

    source§

    impl CheckLabelsError

    source

    pub fn message(&self, interner: &Interner) -> String

    Returns an error message based on the error.

    +

    Implementations§

    source§

    impl CheckLabelsError

    source

    pub fn message(&self, interner: &Interner) -> String

    Returns an error message based on the error.

    Trait Implementations§

    source§

    impl Clone for CheckLabelsError

    source§

    fn clone(&self) -> CheckLabelsError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CheckLabelsError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for CheckLabelsError

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_ast/operations/fn.all_private_identifiers_valid.html b/doc/boa_ast/operations/fn.all_private_identifiers_valid.html index 49f15166b64..4479128d4ad 100644 --- a/doc/boa_ast/operations/fn.all_private_identifiers_valid.html +++ b/doc/boa_ast/operations/fn.all_private_identifiers_valid.html @@ -1,6 +1,6 @@ all_private_identifiers_valid in boa_ast::operations - Rust
    pub fn all_private_identifiers_valid<'a, N>(
         node: &'a N,
    -    private_names: Vec<Sym>
    +    private_names: Vec<Sym>
     ) -> boolwhere
         &'a N: Into<NodeRef<'a>>,
    Expand description

    Returns true if all private identifiers in a node are valid.

    This is equivalent to the AllPrivateIdentifiersValid syntax operation in the spec.

    diff --git a/doc/boa_ast/operations/struct.AllPrivateIdentifiersValidVisitor.html b/doc/boa_ast/operations/struct.AllPrivateIdentifiersValidVisitor.html index 956748a1afe..826e79f99b4 100644 --- a/doc/boa_ast/operations/struct.AllPrivateIdentifiersValidVisitor.html +++ b/doc/boa_ast/operations/struct.AllPrivateIdentifiersValidVisitor.html @@ -1,4 +1,4 @@ -AllPrivateIdentifiersValidVisitor in boa_ast::operations - Rust
    struct AllPrivateIdentifiersValidVisitor(Vec<Sym>);

    Tuple Fields§

    §0: Vec<Sym>

    Trait Implementations§

    source§

    impl<'ast> Visitor<'ast> for AllPrivateIdentifiersValidVisitor

    §

    type BreakTy = ()

    Type which will be propagated from the visitor if completing early.
    source§

    fn visit_class(&mut self, node: &'ast Class) -> ControlFlow<Self::BreakTy>

    Visits a Class with this visitor
    source§

    fn visit_private_property_access( +AllPrivateIdentifiersValidVisitor in boa_ast::operations - Rust
    struct AllPrivateIdentifiersValidVisitor(Vec<Sym>);

    Tuple Fields§

    §0: Vec<Sym>

    Trait Implementations§

    source§

    impl<'ast> Visitor<'ast> for AllPrivateIdentifiersValidVisitor

    §

    type BreakTy = ()

    Type which will be propagated from the visitor if completing early.
    source§

    fn visit_class(&mut self, node: &'ast Class) -> ControlFlow<Self::BreakTy>

    Visits a Class with this visitor
    source§

    fn visit_private_property_access( &mut self, node: &'ast PrivatePropertyAccess ) -> ControlFlow<Self::BreakTy>

    Visits a PrivatePropertyAccess with this visitor
    source§

    fn visit_binary_in_private( @@ -106,7 +106,7 @@ ) -> ControlFlow<Self::BreakTy>

    Visits a ForLoopInitializer with this visitor
    source§

    fn visit_iterable_loop_initializer( &mut self, node: &'ast IterableLoopInitializer -) -> ControlFlow<Self::BreakTy>

    Visits a IterableLoopInitializer with this visitor
    source§

    fn visit_case(&mut self, node: &'ast Case) -> ControlFlow<Self::BreakTy>

    Visits a Case with this visitor
    source§

    fn visit_sym(&mut self, node: &'ast Sym) -> ControlFlow<Self::BreakTy>

    Visits a Sym with this visitor
    source§

    fn visit_labelled_item( +) -> ControlFlow<Self::BreakTy>

    Visits a IterableLoopInitializer with this visitor
    source§

    fn visit_case(&mut self, node: &'ast Case) -> ControlFlow<Self::BreakTy>

    Visits a Case with this visitor
    source§

    fn visit_sym(&mut self, node: &'ast Sym) -> ControlFlow<Self::BreakTy>

    Visits a Sym with this visitor
    source§

    fn visit_labelled_item( &mut self, node: &'ast LabelledItem ) -> ControlFlow<Self::BreakTy>

    Visits a LabelledItem with this visitor
    source§

    fn visit_catch(&mut self, node: &'ast Catch) -> ControlFlow<Self::BreakTy>

    Visits a Catch with this visitor
    source§

    fn visit_finally(&mut self, node: &'ast Finally) -> ControlFlow<Self::BreakTy>

    Visits a Finally with this visitor
    source§

    fn visit_formal_parameter( diff --git a/doc/boa_ast/operations/struct.AnnexBFunctionDeclarationNamesVisitor.html b/doc/boa_ast/operations/struct.AnnexBFunctionDeclarationNamesVisitor.html index 63fb1f3477c..dfa9f88654d 100644 --- a/doc/boa_ast/operations/struct.AnnexBFunctionDeclarationNamesVisitor.html +++ b/doc/boa_ast/operations/struct.AnnexBFunctionDeclarationNamesVisitor.html @@ -101,7 +101,7 @@ ) -> ControlFlow<Self::BreakTy>

    Visits a ForLoopInitializer with this visitor
    source§

    fn visit_iterable_loop_initializer( &mut self, node: &'ast IterableLoopInitializer -) -> ControlFlow<Self::BreakTy>

    Visits a IterableLoopInitializer with this visitor
    source§

    fn visit_case(&mut self, node: &'ast Case) -> ControlFlow<Self::BreakTy>

    Visits a Case with this visitor
    source§

    fn visit_sym(&mut self, node: &'ast Sym) -> ControlFlow<Self::BreakTy>

    Visits a Sym with this visitor
    source§

    fn visit_labelled_item( +) -> ControlFlow<Self::BreakTy>

    Visits a IterableLoopInitializer with this visitor
    source§

    fn visit_case(&mut self, node: &'ast Case) -> ControlFlow<Self::BreakTy>

    Visits a Case with this visitor
    source§

    fn visit_sym(&mut self, node: &'ast Sym) -> ControlFlow<Self::BreakTy>

    Visits a Sym with this visitor
    source§

    fn visit_labelled_item( &mut self, node: &'ast LabelledItem ) -> ControlFlow<Self::BreakTy>

    Visits a LabelledItem with this visitor
    source§

    fn visit_catch(&mut self, node: &'ast Catch) -> ControlFlow<Self::BreakTy>

    Visits a Catch with this visitor
    source§

    fn visit_finally(&mut self, node: &'ast Finally) -> ControlFlow<Self::BreakTy>

    Visits a Finally with this visitor
    source§

    fn visit_formal_parameter( diff --git a/doc/boa_ast/operations/struct.BoundNamesVisitor.html b/doc/boa_ast/operations/struct.BoundNamesVisitor.html index 0063107d823..8494cacfd2c 100644 --- a/doc/boa_ast/operations/struct.BoundNamesVisitor.html +++ b/doc/boa_ast/operations/struct.BoundNamesVisitor.html @@ -104,7 +104,7 @@ ) -> ControlFlow<Self::BreakTy>

    Visits a ForLoopInitializer with this visitor
    source§

    fn visit_iterable_loop_initializer( &mut self, node: &'ast IterableLoopInitializer -) -> ControlFlow<Self::BreakTy>

    Visits a IterableLoopInitializer with this visitor
    source§

    fn visit_case(&mut self, node: &'ast Case) -> ControlFlow<Self::BreakTy>

    Visits a Case with this visitor
    source§

    fn visit_sym(&mut self, node: &'ast Sym) -> ControlFlow<Self::BreakTy>

    Visits a Sym with this visitor
    source§

    fn visit_labelled_item( +) -> ControlFlow<Self::BreakTy>

    Visits a IterableLoopInitializer with this visitor
    source§

    fn visit_case(&mut self, node: &'ast Case) -> ControlFlow<Self::BreakTy>

    Visits a Case with this visitor
    source§

    fn visit_sym(&mut self, node: &'ast Sym) -> ControlFlow<Self::BreakTy>

    Visits a Sym with this visitor
    source§

    fn visit_labelled_item( &mut self, node: &'ast LabelledItem ) -> ControlFlow<Self::BreakTy>

    Visits a LabelledItem with this visitor
    source§

    fn visit_catch(&mut self, node: &'ast Catch) -> ControlFlow<Self::BreakTy>

    Visits a Catch with this visitor
    source§

    fn visit_finally(&mut self, node: &'ast Finally) -> ControlFlow<Self::BreakTy>

    Visits a Finally with this visitor
    source§

    fn visit_formal_parameter( diff --git a/doc/boa_ast/operations/struct.LexicallyDeclaredNamesVisitor.html b/doc/boa_ast/operations/struct.LexicallyDeclaredNamesVisitor.html index a5671270fbf..ab74dc6d6a2 100644 --- a/doc/boa_ast/operations/struct.LexicallyDeclaredNamesVisitor.html +++ b/doc/boa_ast/operations/struct.LexicallyDeclaredNamesVisitor.html @@ -113,7 +113,7 @@ ) -> ControlFlow<Self::BreakTy>

    Visits a ForLoopInitializer with this visitor
    source§

    fn visit_iterable_loop_initializer( &mut self, node: &'ast IterableLoopInitializer -) -> ControlFlow<Self::BreakTy>

    Visits a IterableLoopInitializer with this visitor
    source§

    fn visit_case(&mut self, node: &'ast Case) -> ControlFlow<Self::BreakTy>

    Visits a Case with this visitor
    source§

    fn visit_sym(&mut self, node: &'ast Sym) -> ControlFlow<Self::BreakTy>

    Visits a Sym with this visitor
    source§

    fn visit_catch(&mut self, node: &'ast Catch) -> ControlFlow<Self::BreakTy>

    Visits a Catch with this visitor
    source§

    fn visit_finally(&mut self, node: &'ast Finally) -> ControlFlow<Self::BreakTy>

    Visits a Finally with this visitor
    source§

    fn visit_formal_parameter( +) -> ControlFlow<Self::BreakTy>

    Visits a IterableLoopInitializer with this visitor
    source§

    fn visit_case(&mut self, node: &'ast Case) -> ControlFlow<Self::BreakTy>

    Visits a Case with this visitor
    source§

    fn visit_sym(&mut self, node: &'ast Sym) -> ControlFlow<Self::BreakTy>

    Visits a Sym with this visitor
    source§

    fn visit_catch(&mut self, node: &'ast Catch) -> ControlFlow<Self::BreakTy>

    Visits a Catch with this visitor
    source§

    fn visit_finally(&mut self, node: &'ast Finally) -> ControlFlow<Self::BreakTy>

    Visits a Finally with this visitor
    source§

    fn visit_formal_parameter( &mut self, node: &'ast FormalParameter ) -> ControlFlow<Self::BreakTy>

    Visits a FormalParameter with this visitor
    source§

    fn visit_property_name( diff --git a/doc/boa_ast/operations/struct.LexicallyScopedDeclarationsVisitor.html b/doc/boa_ast/operations/struct.LexicallyScopedDeclarationsVisitor.html index 11526f857a3..9d77f41b7c1 100644 --- a/doc/boa_ast/operations/struct.LexicallyScopedDeclarationsVisitor.html +++ b/doc/boa_ast/operations/struct.LexicallyScopedDeclarationsVisitor.html @@ -110,7 +110,7 @@ ) -> ControlFlow<Self::BreakTy>

    Visits a ForLoopInitializer with this visitor
    source§

    fn visit_iterable_loop_initializer( &mut self, node: &'ast IterableLoopInitializer -) -> ControlFlow<Self::BreakTy>

    Visits a IterableLoopInitializer with this visitor
    source§

    fn visit_case(&mut self, node: &'ast Case) -> ControlFlow<Self::BreakTy>

    Visits a Case with this visitor
    source§

    fn visit_sym(&mut self, node: &'ast Sym) -> ControlFlow<Self::BreakTy>

    Visits a Sym with this visitor
    source§

    fn visit_catch(&mut self, node: &'ast Catch) -> ControlFlow<Self::BreakTy>

    Visits a Catch with this visitor
    source§

    fn visit_finally(&mut self, node: &'ast Finally) -> ControlFlow<Self::BreakTy>

    Visits a Finally with this visitor
    source§

    fn visit_formal_parameter( +) -> ControlFlow<Self::BreakTy>

    Visits a IterableLoopInitializer with this visitor
    source§

    fn visit_case(&mut self, node: &'ast Case) -> ControlFlow<Self::BreakTy>

    Visits a Case with this visitor
    source§

    fn visit_sym(&mut self, node: &'ast Sym) -> ControlFlow<Self::BreakTy>

    Visits a Sym with this visitor
    source§

    fn visit_catch(&mut self, node: &'ast Catch) -> ControlFlow<Self::BreakTy>

    Visits a Catch with this visitor
    source§

    fn visit_finally(&mut self, node: &'ast Finally) -> ControlFlow<Self::BreakTy>

    Visits a Finally with this visitor
    source§

    fn visit_formal_parameter( &mut self, node: &'ast FormalParameter ) -> ControlFlow<Self::BreakTy>

    Visits a FormalParameter with this visitor
    source§

    fn visit_property_name( diff --git a/doc/boa_ast/operations/struct.ReturnsValueVisitor.html b/doc/boa_ast/operations/struct.ReturnsValueVisitor.html index 3a30955639c..27c69b1d5d2 100644 --- a/doc/boa_ast/operations/struct.ReturnsValueVisitor.html +++ b/doc/boa_ast/operations/struct.ReturnsValueVisitor.html @@ -101,7 +101,7 @@ ) -> ControlFlow<Self::BreakTy>

    Visits a ForLoopInitializer with this visitor
    source§

    fn visit_iterable_loop_initializer( &mut self, node: &'ast IterableLoopInitializer -) -> ControlFlow<Self::BreakTy>

    Visits a IterableLoopInitializer with this visitor
    source§

    fn visit_sym(&mut self, node: &'ast Sym) -> ControlFlow<Self::BreakTy>

    Visits a Sym with this visitor
    source§

    fn visit_labelled_item( +) -> ControlFlow<Self::BreakTy>

    Visits a IterableLoopInitializer with this visitor
    source§

    fn visit_sym(&mut self, node: &'ast Sym) -> ControlFlow<Self::BreakTy>

    Visits a Sym with this visitor
    source§

    fn visit_labelled_item( &mut self, node: &'ast LabelledItem ) -> ControlFlow<Self::BreakTy>

    Visits a LabelledItem with this visitor
    source§

    fn visit_catch(&mut self, node: &'ast Catch) -> ControlFlow<Self::BreakTy>

    Visits a Catch with this visitor
    source§

    fn visit_finally(&mut self, node: &'ast Finally) -> ControlFlow<Self::BreakTy>

    Visits a Finally with this visitor
    source§

    fn visit_formal_parameter( diff --git a/doc/boa_ast/operations/struct.TopLevelLexicallyScopedDeclarationsVisitor.html b/doc/boa_ast/operations/struct.TopLevelLexicallyScopedDeclarationsVisitor.html index 4555e5e0c8b..dc89037d5d8 100644 --- a/doc/boa_ast/operations/struct.TopLevelLexicallyScopedDeclarationsVisitor.html +++ b/doc/boa_ast/operations/struct.TopLevelLexicallyScopedDeclarationsVisitor.html @@ -102,7 +102,7 @@ ) -> ControlFlow<Self::BreakTy>

    Visits a ForLoopInitializer with this visitor
    source§

    fn visit_iterable_loop_initializer( &mut self, node: &'ast IterableLoopInitializer -) -> ControlFlow<Self::BreakTy>

    Visits a IterableLoopInitializer with this visitor
    source§

    fn visit_case(&mut self, node: &'ast Case) -> ControlFlow<Self::BreakTy>

    Visits a Case with this visitor
    source§

    fn visit_sym(&mut self, node: &'ast Sym) -> ControlFlow<Self::BreakTy>

    Visits a Sym with this visitor
    source§

    fn visit_labelled_item( +) -> ControlFlow<Self::BreakTy>

    Visits a IterableLoopInitializer with this visitor
    source§

    fn visit_case(&mut self, node: &'ast Case) -> ControlFlow<Self::BreakTy>

    Visits a Case with this visitor
    source§

    fn visit_sym(&mut self, node: &'ast Sym) -> ControlFlow<Self::BreakTy>

    Visits a Sym with this visitor
    source§

    fn visit_labelled_item( &mut self, node: &'ast LabelledItem ) -> ControlFlow<Self::BreakTy>

    Visits a LabelledItem with this visitor
    source§

    fn visit_catch(&mut self, node: &'ast Catch) -> ControlFlow<Self::BreakTy>

    Visits a Catch with this visitor
    source§

    fn visit_finally(&mut self, node: &'ast Finally) -> ControlFlow<Self::BreakTy>

    Visits a Finally with this visitor
    source§

    fn visit_formal_parameter( diff --git a/doc/boa_ast/operations/struct.TopLevelVarScopedDeclarationsVisitor.html b/doc/boa_ast/operations/struct.TopLevelVarScopedDeclarationsVisitor.html index 52ed68db360..474d23fe808 100644 --- a/doc/boa_ast/operations/struct.TopLevelVarScopedDeclarationsVisitor.html +++ b/doc/boa_ast/operations/struct.TopLevelVarScopedDeclarationsVisitor.html @@ -105,7 +105,7 @@ ) -> ControlFlow<Self::BreakTy>

    Visits a ForLoopInitializer with this visitor
    source§

    fn visit_iterable_loop_initializer( &mut self, node: &'ast IterableLoopInitializer -) -> ControlFlow<Self::BreakTy>

    Visits a IterableLoopInitializer with this visitor
    source§

    fn visit_case(&mut self, node: &'ast Case) -> ControlFlow<Self::BreakTy>

    Visits a Case with this visitor
    source§

    fn visit_sym(&mut self, node: &'ast Sym) -> ControlFlow<Self::BreakTy>

    Visits a Sym with this visitor
    source§

    fn visit_catch(&mut self, node: &'ast Catch) -> ControlFlow<Self::BreakTy>

    Visits a Catch with this visitor
    source§

    fn visit_finally(&mut self, node: &'ast Finally) -> ControlFlow<Self::BreakTy>

    Visits a Finally with this visitor
    source§

    fn visit_formal_parameter( +) -> ControlFlow<Self::BreakTy>

    Visits a IterableLoopInitializer with this visitor
    source§

    fn visit_case(&mut self, node: &'ast Case) -> ControlFlow<Self::BreakTy>

    Visits a Case with this visitor
    source§

    fn visit_sym(&mut self, node: &'ast Sym) -> ControlFlow<Self::BreakTy>

    Visits a Sym with this visitor
    source§

    fn visit_catch(&mut self, node: &'ast Catch) -> ControlFlow<Self::BreakTy>

    Visits a Catch with this visitor
    source§

    fn visit_finally(&mut self, node: &'ast Finally) -> ControlFlow<Self::BreakTy>

    Visits a Finally with this visitor
    source§

    fn visit_formal_parameter( &mut self, node: &'ast FormalParameter ) -> ControlFlow<Self::BreakTy>

    Visits a FormalParameter with this visitor
    source§

    fn visit_property_name( diff --git a/doc/boa_ast/operations/struct.VarDeclaredNamesVisitor.html b/doc/boa_ast/operations/struct.VarDeclaredNamesVisitor.html index ac4c235fc5f..ecd657d1124 100644 --- a/doc/boa_ast/operations/struct.VarDeclaredNamesVisitor.html +++ b/doc/boa_ast/operations/struct.VarDeclaredNamesVisitor.html @@ -113,7 +113,7 @@ ) -> ControlFlow<Self::BreakTy>

    Visits a ForLoopInitializer with this visitor
    source§

    fn visit_iterable_loop_initializer( &mut self, node: &'ast IterableLoopInitializer -) -> ControlFlow<Self::BreakTy>

    Visits a IterableLoopInitializer with this visitor
    source§

    fn visit_case(&mut self, node: &'ast Case) -> ControlFlow<Self::BreakTy>

    Visits a Case with this visitor
    source§

    fn visit_sym(&mut self, node: &'ast Sym) -> ControlFlow<Self::BreakTy>

    Visits a Sym with this visitor
    source§

    fn visit_catch(&mut self, node: &'ast Catch) -> ControlFlow<Self::BreakTy>

    Visits a Catch with this visitor
    source§

    fn visit_finally(&mut self, node: &'ast Finally) -> ControlFlow<Self::BreakTy>

    Visits a Finally with this visitor
    source§

    fn visit_formal_parameter( +) -> ControlFlow<Self::BreakTy>

    Visits a IterableLoopInitializer with this visitor
    source§

    fn visit_case(&mut self, node: &'ast Case) -> ControlFlow<Self::BreakTy>

    Visits a Case with this visitor
    source§

    fn visit_sym(&mut self, node: &'ast Sym) -> ControlFlow<Self::BreakTy>

    Visits a Sym with this visitor
    source§

    fn visit_catch(&mut self, node: &'ast Catch) -> ControlFlow<Self::BreakTy>

    Visits a Catch with this visitor
    source§

    fn visit_finally(&mut self, node: &'ast Finally) -> ControlFlow<Self::BreakTy>

    Visits a Finally with this visitor
    source§

    fn visit_formal_parameter( &mut self, node: &'ast FormalParameter ) -> ControlFlow<Self::BreakTy>

    Visits a FormalParameter with this visitor
    source§

    fn visit_property_name( diff --git a/doc/boa_ast/operations/struct.VarScopedDeclarationsVisitor.html b/doc/boa_ast/operations/struct.VarScopedDeclarationsVisitor.html index b82e589b27e..934f94758b3 100644 --- a/doc/boa_ast/operations/struct.VarScopedDeclarationsVisitor.html +++ b/doc/boa_ast/operations/struct.VarScopedDeclarationsVisitor.html @@ -107,7 +107,7 @@ ) -> ControlFlow<Self::BreakTy>

    Visits a ForLoopInitializer with this visitor
    source§

    fn visit_iterable_loop_initializer( &mut self, node: &'ast IterableLoopInitializer -) -> ControlFlow<Self::BreakTy>

    Visits a IterableLoopInitializer with this visitor
    source§

    fn visit_sym(&mut self, node: &'ast Sym) -> ControlFlow<Self::BreakTy>

    Visits a Sym with this visitor
    source§

    fn visit_finally(&mut self, node: &'ast Finally) -> ControlFlow<Self::BreakTy>

    Visits a Finally with this visitor
    source§

    fn visit_formal_parameter( +) -> ControlFlow<Self::BreakTy>

    Visits a IterableLoopInitializer with this visitor
    source§

    fn visit_sym(&mut self, node: &'ast Sym) -> ControlFlow<Self::BreakTy>

    Visits a Sym with this visitor
    source§

    fn visit_finally(&mut self, node: &'ast Finally) -> ControlFlow<Self::BreakTy>

    Visits a Finally with this visitor
    source§

    fn visit_formal_parameter( &mut self, node: &'ast FormalParameter ) -> ControlFlow<Self::BreakTy>

    Visits a FormalParameter with this visitor
    source§

    fn visit_property_name( diff --git a/doc/boa_ast/operations/trait.IdentList.html b/doc/boa_ast/operations/trait.IdentList.html index acb6d4626ba..8692fbc80b9 100644 --- a/doc/boa_ast/operations/trait.IdentList.html +++ b/doc/boa_ast/operations/trait.IdentList.html @@ -1,5 +1,5 @@ IdentList in boa_ast::operations - Rust
    pub(crate) trait IdentList {
         // Required method
    -    fn add(&mut self, value: Sym, function: bool);
    +    fn add(&mut self, value: Sym, function: bool);
     }
    Expand description

    A container that BoundNamesVisitor can use to push the found identifiers.

    -

    Required Methods§

    source

    fn add(&mut self, value: Sym, function: bool)

    Implementations on Foreign Types§

    source§

    impl IdentList for Vec<(Identifier, bool)>

    source§

    fn add(&mut self, value: Sym, function: bool)

    source§

    impl IdentList for FxHashSet<Identifier>

    source§

    fn add(&mut self, value: Sym, _function: bool)

    source§

    impl IdentList for Vec<Identifier>

    source§

    fn add(&mut self, value: Sym, _function: bool)

    source§

    impl IdentList for Vec<Sym>

    source§

    fn add(&mut self, value: Sym, _function: bool)

    Implementors§

    \ No newline at end of file +

    Required Methods§

    source

    fn add(&mut self, value: Sym, function: bool)

    Implementations on Foreign Types§

    source§

    impl IdentList for Vec<(Identifier, bool)>

    source§

    fn add(&mut self, value: Sym, function: bool)

    source§

    impl IdentList for FxHashSet<Identifier>

    source§

    fn add(&mut self, value: Sym, _function: bool)

    source§

    impl IdentList for Vec<Identifier>

    source§

    fn add(&mut self, value: Sym, _function: bool)

    source§

    impl IdentList for Vec<Sym>

    source§

    fn add(&mut self, value: Sym, _function: bool)

    Implementors§

    \ No newline at end of file diff --git a/doc/boa_ast/pattern/enum.ArrayPatternElement.html b/doc/boa_ast/pattern/enum.ArrayPatternElement.html index a4051b92d2a..fe1f2797b7d 100644 --- a/doc/boa_ast/pattern/enum.ArrayPatternElement.html +++ b/doc/boa_ast/pattern/enum.ArrayPatternElement.html @@ -78,7 +78,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a ArrayPatternElement> for NodeRef<'a>

    source§

    fn from(node: &'a ArrayPatternElement) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ArrayPatternElement> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ArrayPatternElement) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl PartialEq<ArrayPatternElement> for ArrayPatternElement

    source§

    fn eq(&self, other: &ArrayPatternElement) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for ArrayPatternElement

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for ArrayPatternElement

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for ArrayPatternElement

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for ArrayPatternElement

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for ArrayPatternElement

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/pattern/enum.ObjectPatternElement.html b/doc/boa_ast/pattern/enum.ObjectPatternElement.html index 5930198db66..54c8c7a6092 100644 --- a/doc/boa_ast/pattern/enum.ObjectPatternElement.html +++ b/doc/boa_ast/pattern/enum.ObjectPatternElement.html @@ -81,7 +81,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a ObjectPatternElement> for NodeRef<'a>

    source§

    fn from(node: &'a ObjectPatternElement) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ObjectPatternElement> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ObjectPatternElement) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl PartialEq<ObjectPatternElement> for ObjectPatternElement

    source§

    fn eq(&self, other: &ObjectPatternElement) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for ObjectPatternElement

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for ObjectPatternElement

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for ObjectPatternElement

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for ObjectPatternElement

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for ObjectPatternElement

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/pattern/enum.Pattern.html b/doc/boa_ast/pattern/enum.Pattern.html index 39e9575ec0f..53261a1feb4 100644 --- a/doc/boa_ast/pattern/enum.Pattern.html +++ b/doc/boa_ast/pattern/enum.Pattern.html @@ -11,7 +11,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Pattern> for NodeRef<'a>

    source§

    fn from(node: &'a Pattern) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Pattern> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Pattern) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<ArrayPattern> for Pattern

    source§

    fn from(obj: ArrayPattern) -> Self

    Converts to this type from the input type.
    source§

    impl From<ObjectPattern> for Pattern

    source§

    fn from(obj: ObjectPattern) -> Self

    Converts to this type from the input type.
    source§

    impl From<Pattern> for Binding

    source§

    fn from(pat: Pattern) -> Self

    Converts to this type from the input type.
    source§

    impl From<Vec<ArrayPatternElement, Global>> for Pattern

    source§

    fn from(elements: Vec<ArrayPatternElement>) -> Self

    Converts to this type from the input type.
    source§

    impl From<Vec<ObjectPatternElement, Global>> for Pattern

    source§

    fn from(elements: Vec<ObjectPatternElement>) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Pattern> for Pattern

    source§

    fn eq(&self, other: &Pattern) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Pattern

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Pattern

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Pattern

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Pattern

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Pattern

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/pattern/struct.ArrayPattern.html b/doc/boa_ast/pattern/struct.ArrayPattern.html index 692306fddb4..3c365cb7d78 100644 --- a/doc/boa_ast/pattern/struct.ArrayPattern.html +++ b/doc/boa_ast/pattern/struct.ArrayPattern.html @@ -10,7 +10,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a ArrayPattern> for NodeRef<'a>

    source§

    fn from(node: &'a ArrayPattern) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ArrayPattern> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ArrayPattern) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<ArrayPattern> for Pattern

    source§

    fn from(obj: ArrayPattern) -> Self

    Converts to this type from the input type.
    source§

    impl From<Vec<ArrayPatternElement, Global>> for ArrayPattern

    source§

    fn from(elements: Vec<ArrayPatternElement>) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<ArrayPattern> for ArrayPattern

    source§

    fn eq(&self, other: &ArrayPattern) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for ArrayPattern

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for ArrayPattern

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for ArrayPattern

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for ArrayPattern

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for ArrayPattern

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/pattern/struct.ObjectPattern.html b/doc/boa_ast/pattern/struct.ObjectPattern.html index c936e1283ed..1cee844330c 100644 --- a/doc/boa_ast/pattern/struct.ObjectPattern.html +++ b/doc/boa_ast/pattern/struct.ObjectPattern.html @@ -11,7 +11,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a ObjectPattern> for NodeRef<'a>

    source§

    fn from(node: &'a ObjectPattern) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ObjectPattern> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ObjectPattern) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<ObjectPattern> for Pattern

    source§

    fn from(obj: ObjectPattern) -> Self

    Converts to this type from the input type.
    source§

    impl From<Vec<ObjectPatternElement, Global>> for ObjectPattern

    source§

    fn from(elements: Vec<ObjectPatternElement>) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<ObjectPattern> for ObjectPattern

    source§

    fn eq(&self, other: &ObjectPattern) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for ObjectPattern

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for ObjectPattern

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for ObjectPattern

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for ObjectPattern

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for ObjectPattern

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/property/enum.ClassElementName.html b/doc/boa_ast/property/enum.ClassElementName.html index cc75113eb3a..a11fc507ff8 100644 --- a/doc/boa_ast/property/enum.ClassElementName.html +++ b/doc/boa_ast/property/enum.ClassElementName.html @@ -8,7 +8,7 @@

    Variants§

    §

    PropertyName(PropertyName)

    A public property.

    §

    PrivateIdentifier(PrivateName)

    A private property.

    -

    Implementations§

    source§

    impl ClassElementName

    source

    pub const fn literal(&self) -> Option<Sym>

    Returns the property name if it exists.

    +

    Implementations§

    source§

    impl ClassElementName

    source

    pub const fn literal(&self) -> Option<Sym>

    Returns the property name if it exists.

    Trait Implementations§

    source§

    impl Clone for ClassElementName

    source§

    fn clone(&self) -> ClassElementName

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ClassElementName

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for ClassElementName

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl PartialEq<ClassElementName> for ClassElementName

    source§

    fn eq(&self, other: &ClassElementName) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always diff --git a/doc/boa_ast/property/enum.PropertyName.html b/doc/boa_ast/property/enum.PropertyName.html index d1befd94d7b..28740c6a380 100644 --- a/doc/boa_ast/property/enum.PropertyName.html +++ b/doc/boa_ast/property/enum.PropertyName.html @@ -1,12 +1,12 @@ PropertyName in boa_ast::property - Rust
    pub enum PropertyName {
    -    Literal(Sym),
    +    Literal(Sym),
         Computed(Expression),
     }
    Expand description

    PropertyName can be either a literal or computed.

    More information:

    -

    Variants§

    §

    Literal(Sym)

    A Literal property name can be either an identifier, a string or a numeric literal.

    +

    Variants§

    §

    Literal(Sym)

    A Literal property name can be either an identifier, a string or a numeric literal.

    More information:

    Implementations§

    source§

    impl PropertyName

    source

    pub const fn literal(&self) -> Option<Sym>

    Returns the literal property name if it exists.

    +

    Implementations§

    source§

    impl PropertyName

    source

    pub const fn literal(&self) -> Option<Sym>

    Returns the literal property name if it exists.

    source

    pub const fn computed(&self) -> Option<&Expression>

    Returns the expression if the property name is computed.

    -
    source

    pub const fn prop_name(&self) -> Option<Sym>

    Returns either the literal property name or the computed const string property name.

    +
    source

    pub const fn prop_name(&self) -> Option<Sym>

    Returns either the literal property name or the computed const string property name.

    Trait Implementations§

    source§

    impl<'arbitrary> Arbitrary<'arbitrary> for PropertyName

    source§

    fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the given unstructured data. Read more
    source§

    fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
    source§

    fn size_hint(depth: usize) -> (usize, Option<usize>)

    Get a size hint for how many bytes out of an Unstructured this type needs to construct itself. Read more
    source§

    impl Clone for PropertyName

    source§

    fn clone(&self) -> PropertyName

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PropertyName

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for PropertyName

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a PropertyName> for NodeRef<'a>

    source§

    fn from(node: &'a PropertyName) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut PropertyName> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut PropertyName) -> NodeRefMut<'a>

    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<Sym> for PropertyName

    source§

    fn from(name: Sym) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<PropertyName> for PropertyName

    source§

    fn eq(&self, other: &PropertyName) -> bool

    This method tests for self and other values to be equal, and is used + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a PropertyName> for NodeRef<'a>

    source§

    fn from(node: &'a PropertyName) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut PropertyName> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut PropertyName) -> NodeRefMut<'a>

    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<Sym> for PropertyName

    source§

    fn from(name: Sym) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<PropertyName> for PropertyName

    source§

    fn eq(&self, other: &PropertyName) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for PropertyName

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for PropertyName

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for PropertyName

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for PropertyName

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for PropertyName

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/source/struct.Script.html b/doc/boa_ast/source/struct.Script.html index b24355de9b5..f4d70ffac1e 100644 --- a/doc/boa_ast/source/struct.Script.html +++ b/doc/boa_ast/source/struct.Script.html @@ -15,7 +15,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Script> for NodeRef<'a>

    source§

    fn from(node: &'a Script) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Script> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Script) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl PartialEq<Script> for Script

    source§

    fn eq(&self, other: &Script) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Script

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Script

    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 Script

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Script

    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 Script

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -29,8 +29,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/statement/block/struct.Block.html b/doc/boa_ast/statement/block/struct.Block.html index 2b59fcf19a8..5204478f078 100644 --- a/doc/boa_ast/statement/block/struct.Block.html +++ b/doc/boa_ast/statement/block/struct.Block.html @@ -20,7 +20,7 @@ T: Into<StatementList>,

    source§

    fn from(list: T) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Block> for Block

    source§

    fn eq(&self, other: &Block) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Block

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Block

    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 Block

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Block

    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 Block

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -34,8 +34,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/statement/enum.LabelledItem.html b/doc/boa_ast/statement/enum.LabelledItem.html index 916effff590..1a4669f3e4b 100644 --- a/doc/boa_ast/statement/enum.LabelledItem.html +++ b/doc/boa_ast/statement/enum.LabelledItem.html @@ -10,7 +10,7 @@

    §

    Statement(Statement)

    A labelled Statement.

    Implementations§

    source§

    impl LabelledItem

    source

    pub(crate) fn to_indented_string( &self, - interner: &Interner, + interner: &Interner, indentation: usize ) -> String

    Trait Implementations§

    source§

    impl<'arbitrary> Arbitrary<'arbitrary> for LabelledItem

    source§

    fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the given unstructured data. Read more
    source§

    fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
    source§

    fn size_hint(depth: usize) -> (usize, Option<usize>)

    Get a size hint for how many bytes out of an Unstructured this type @@ -18,7 +18,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a LabelledItem> for NodeRef<'a>

    source§

    fn from(node: &'a LabelledItem) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut LabelledItem> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut LabelledItem) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Function> for LabelledItem

    source§

    fn from(f: Function) -> Self

    Converts to this type from the input type.
    source§

    impl From<Statement> for LabelledItem

    source§

    fn from(stmt: Statement) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<LabelledItem> for LabelledItem

    source§

    fn eq(&self, other: &LabelledItem) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for LabelledItem

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for LabelledItem

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for LabelledItem

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for LabelledItem

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for LabelledItem

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/statement/enum.Statement.html b/doc/boa_ast/statement/enum.Statement.html index 75cd72aa2bf..a02fa5091fb 100644 --- a/doc/boa_ast/statement/enum.Statement.html +++ b/doc/boa_ast/statement/enum.Statement.html @@ -45,7 +45,7 @@

    §

    With(With)

    See With.

    Implementations§

    source§

    impl Statement

    source

    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 @@ -62,7 +62,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Statement> for NodeRef<'a>

    source§

    fn from(node: &'a Statement) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Statement> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Statement) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Block> for Statement

    source§

    fn from(block: Block) -> Self

    Converts to this type from the input type.
    source§

    impl From<Break> for Statement

    source§

    fn from(break_smt: Break) -> Self

    Converts to this type from the input type.
    source§

    impl From<Continue> for Statement

    source§

    fn from(cont: Continue) -> Self

    Converts to this type from the input type.
    source§

    impl From<DoWhileLoop> for Statement

    source§

    fn from(do_while: DoWhileLoop) -> 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<ForInLoop> for Statement

    source§

    fn from(for_in: ForInLoop) -> Self

    Converts to this type from the input type.
    source§

    impl From<ForLoop> for Statement

    source§

    fn from(for_loop: ForLoop) -> Self

    Converts to this type from the input type.
    source§

    impl From<ForOfLoop> for Statement

    source§

    fn from(for_of: ForOfLoop) -> Self

    Converts to this type from the input type.
    source§

    impl From<If> for Statement

    source§

    fn from(if_stm: If) -> Self

    Converts to this type from the input type.
    source§

    impl From<Labelled> for Statement

    source§

    fn from(labelled: Labelled) -> Self

    Converts to this type from the input type.
    source§

    impl From<Return> for Statement

    source§

    fn from(return_smt: Return) -> Self

    Converts to this type from the input type.
    source§

    impl From<Statement> for LabelledItem

    source§

    fn from(stmt: Statement) -> Self

    Converts to this type from the input type.
    source§

    impl From<Statement> for StatementListItem

    source§

    fn from(stmt: Statement) -> Self

    Converts to this type from the input type.
    source§

    impl From<Switch> for Statement

    source§

    fn from(switch: Switch) -> Self

    Converts to this type from the input type.
    source§

    impl From<Throw> for Statement

    source§

    fn from(trw: Throw) -> Self

    Converts to this type from the input type.
    source§

    impl From<Try> for Statement

    source§

    fn from(try_catch: Try) -> 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 From<WhileLoop> for Statement

    source§

    fn from(while_loop: WhileLoop) -> Self

    Converts to this type from the input type.
    source§

    impl From<With> for Statement

    source§

    fn from(with: With) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Statement> for Statement

    source§

    fn eq(&self, other: &Statement) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Statement

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Statement

    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 more
    source§

    impl ToIndentedString for Statement

    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");
    @@ -83,8 +83,8 @@
         U: From<T>,
    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/statement/if/struct.If.html b/doc/boa_ast/statement/if/struct.If.html index a4514ad442b..754fb397f4b 100644 --- a/doc/boa_ast/statement/if/struct.If.html +++ b/doc/boa_ast/statement/if/struct.If.html @@ -25,7 +25,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a If> for NodeRef<'a>

    source§

    fn from(node: &'a If) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut If> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut If) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<If> for Statement

    source§

    fn from(if_stm: If) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<If> for If

    source§

    fn eq(&self, other: &If) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for If

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for If

    source§

    fn to_indented_string(&self, interner: &Interner, indent: usize) -> String

    Converts the element to a string using an interner, with the given indentation.
    source§

    impl VisitWith for If

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for If

    source§

    fn to_indented_string(&self, interner: &Interner, indent: usize) -> String

    Converts the element to a string using an interner, with the given indentation.
    source§

    impl VisitWith for If

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -39,8 +39,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/statement/iteration/break/struct.Break.html b/doc/boa_ast/statement/iteration/break/struct.Break.html index 4cf52baef37..34a4d39917f 100644 --- a/doc/boa_ast/statement/iteration/break/struct.Break.html +++ b/doc/boa_ast/statement/iteration/break/struct.Break.html @@ -1,5 +1,5 @@ Break in boa_ast::statement::iteration::break - Rust
    pub struct Break {
    -    label: Option<Sym>,
    +    label: Option<Sym>,
     }
    Expand description

    The break statement terminates the current loop, switch, or label statement and transfers program control to the statement following the terminated statement.

    The break statement includes an optional label that allows the program to break out of a @@ -11,15 +11,15 @@

  • ECMAScript reference
  • MDN documentation
  • -

    Fields§

    §label: Option<Sym>

    Implementations§

    source§

    impl Break

    source

    pub const fn new(label: Option<Sym>) -> Self

    Creates a Break AST node.

    -
    source

    pub const fn label(&self) -> Option<Sym>

    Gets the label of the break statement, if any.

    +

    Fields§

    §label: Option<Sym>

    Implementations§

    source§

    impl Break

    source

    pub const fn new(label: Option<Sym>) -> Self

    Creates a Break AST node.

    +
    source

    pub const fn label(&self) -> Option<Sym>

    Gets the label of the break statement, if any.

    Trait Implementations§

    source§

    impl<'arbitrary> Arbitrary<'arbitrary> for Break

    source§

    fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the given unstructured data. Read more
    source§

    fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
    source§

    fn size_hint(depth: usize) -> (usize, Option<usize>)

    Get a size hint for how many bytes out of an Unstructured this type needs to construct itself. Read more
    source§

    impl Clone for Break

    source§

    fn clone(&self) -> Break

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Break

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Break

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Break> for NodeRef<'a>

    source§

    fn from(node: &'a Break) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Break> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Break) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Break> for Statement

    source§

    fn from(break_smt: Break) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Break> for Break

    source§

    fn eq(&self, other: &Break) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Break

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Break

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Break

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Break

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Break

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/statement/iteration/continue/struct.Continue.html b/doc/boa_ast/statement/iteration/continue/struct.Continue.html index 104c012e528..fd8773033b8 100644 --- a/doc/boa_ast/statement/iteration/continue/struct.Continue.html +++ b/doc/boa_ast/statement/iteration/continue/struct.Continue.html @@ -1,5 +1,5 @@ Continue in boa_ast::statement::iteration::continue - Rust
    pub struct Continue {
    -    label: Option<Sym>,
    +    label: Option<Sym>,
     }
    Expand description

    The continue statement terminates execution of the statements in the current iteration of the current or labeled loop, and continues execution of the loop with the next iteration.

    The continue statement can include an optional label that allows the program to jump to the @@ -10,15 +10,15 @@

  • ECMAScript reference
  • MDN documentation
  • -

    Fields§

    §label: Option<Sym>

    Implementations§

    source§

    impl Continue

    source

    pub const fn new(label: Option<Sym>) -> Self

    Creates a Continue AST node.

    -
    source

    pub const fn label(&self) -> Option<Sym>

    Gets the label of this Continue statement.

    +

    Fields§

    §label: Option<Sym>

    Implementations§

    source§

    impl Continue

    source

    pub const fn new(label: Option<Sym>) -> Self

    Creates a Continue AST node.

    +
    source

    pub const fn label(&self) -> Option<Sym>

    Gets the label of this Continue statement.

    Trait Implementations§

    source§

    impl<'arbitrary> Arbitrary<'arbitrary> for Continue

    source§

    fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the given unstructured data. Read more
    source§

    fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
    source§

    fn size_hint(depth: usize) -> (usize, Option<usize>)

    Get a size hint for how many bytes out of an Unstructured this type needs to construct itself. Read more
    source§

    impl Clone for Continue

    source§

    fn clone(&self) -> Continue

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Continue

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Continue

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Continue> for NodeRef<'a>

    source§

    fn from(node: &'a Continue) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Continue> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Continue) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Continue> for Statement

    source§

    fn from(cont: Continue) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Continue> for Continue

    source§

    fn eq(&self, other: &Continue) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Continue

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Continue

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Continue

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Continue

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Continue

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/statement/iteration/do_while_loop/struct.DoWhileLoop.html b/doc/boa_ast/statement/iteration/do_while_loop/struct.DoWhileLoop.html index 1e272f64312..fae240d2a29 100644 --- a/doc/boa_ast/statement/iteration/do_while_loop/struct.DoWhileLoop.html +++ b/doc/boa_ast/statement/iteration/do_while_loop/struct.DoWhileLoop.html @@ -19,7 +19,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a DoWhileLoop> for NodeRef<'a>

    source§

    fn from(node: &'a DoWhileLoop) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut DoWhileLoop> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut DoWhileLoop) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<DoWhileLoop> for Statement

    source§

    fn from(do_while: DoWhileLoop) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<DoWhileLoop> for DoWhileLoop

    source§

    fn eq(&self, other: &DoWhileLoop) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for DoWhileLoop

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for DoWhileLoop

    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 DoWhileLoop

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for DoWhileLoop

    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 DoWhileLoop

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -33,8 +33,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/statement/iteration/enum.ForLoopInitializer.html b/doc/boa_ast/statement/iteration/enum.ForLoopInitializer.html index cfdcb059821..409c3ce75f8 100644 --- a/doc/boa_ast/statement/iteration/enum.ForLoopInitializer.html +++ b/doc/boa_ast/statement/iteration/enum.ForLoopInitializer.html @@ -16,7 +16,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a ForLoopInitializer> for NodeRef<'a>

    source§

    fn from(node: &'a ForLoopInitializer) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ForLoopInitializer> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ForLoopInitializer) -> NodeRefMut<'a>

    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<LexicalDeclaration> for ForLoopInitializer

    source§

    fn from(list: LexicalDeclaration) -> Self

    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 PartialEq<ForLoopInitializer> for ForLoopInitializer

    source§

    fn eq(&self, other: &ForLoopInitializer) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for ForLoopInitializer

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for ForLoopInitializer

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for ForLoopInitializer

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for ForLoopInitializer

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for ForLoopInitializer

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/statement/iteration/enum.IterableLoopInitializer.html b/doc/boa_ast/statement/iteration/enum.IterableLoopInitializer.html index e3c66f871ac..ca4f8219a54 100644 --- a/doc/boa_ast/statement/iteration/enum.IterableLoopInitializer.html +++ b/doc/boa_ast/statement/iteration/enum.IterableLoopInitializer.html @@ -21,7 +21,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a IterableLoopInitializer> for NodeRef<'a>

    source§

    fn from(node: &'a IterableLoopInitializer) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut IterableLoopInitializer> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut IterableLoopInitializer) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl PartialEq<IterableLoopInitializer> for IterableLoopInitializer

    source§

    fn eq(&self, other: &IterableLoopInitializer) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for IterableLoopInitializer

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for IterableLoopInitializer

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for IterableLoopInitializer

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for IterableLoopInitializer

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for IterableLoopInitializer

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/statement/iteration/for_in_loop/struct.ForInLoop.html b/doc/boa_ast/statement/iteration/for_in_loop/struct.ForInLoop.html index b8741e7a0ac..826ec51c161 100644 --- a/doc/boa_ast/statement/iteration/for_in_loop/struct.ForInLoop.html +++ b/doc/boa_ast/statement/iteration/for_in_loop/struct.ForInLoop.html @@ -19,7 +19,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a ForInLoop> for NodeRef<'a>

    source§

    fn from(node: &'a ForInLoop) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ForInLoop> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ForInLoop) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<ForInLoop> for Statement

    source§

    fn from(for_in: ForInLoop) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<ForInLoop> for ForInLoop

    source§

    fn eq(&self, other: &ForInLoop) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for ForInLoop

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for ForInLoop

    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 ForInLoop

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for ForInLoop

    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 ForInLoop

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -33,8 +33,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/statement/iteration/for_loop/enum.ForLoopInitializer.html b/doc/boa_ast/statement/iteration/for_loop/enum.ForLoopInitializer.html index a2f82eaceaa..479d91930d1 100644 --- a/doc/boa_ast/statement/iteration/for_loop/enum.ForLoopInitializer.html +++ b/doc/boa_ast/statement/iteration/for_loop/enum.ForLoopInitializer.html @@ -16,7 +16,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a ForLoopInitializer> for NodeRef<'a>

    source§

    fn from(node: &'a ForLoopInitializer) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ForLoopInitializer> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ForLoopInitializer) -> NodeRefMut<'a>

    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<LexicalDeclaration> for ForLoopInitializer

    source§

    fn from(list: LexicalDeclaration) -> Self

    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 PartialEq<ForLoopInitializer> for ForLoopInitializer

    source§

    fn eq(&self, other: &ForLoopInitializer) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for ForLoopInitializer

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for ForLoopInitializer

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for ForLoopInitializer

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for ForLoopInitializer

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for ForLoopInitializer

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/statement/iteration/for_loop/struct.ForLoop.html b/doc/boa_ast/statement/iteration/for_loop/struct.ForLoop.html index ee8b5fbaaa7..436ed69d819 100644 --- a/doc/boa_ast/statement/iteration/for_loop/struct.ForLoop.html +++ b/doc/boa_ast/statement/iteration/for_loop/struct.ForLoop.html @@ -23,7 +23,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a ForLoop> for NodeRef<'a>

    source§

    fn from(node: &'a ForLoop) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ForLoop> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ForLoop) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<ForLoop> for Statement

    source§

    fn from(for_loop: ForLoop) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<ForLoop> for ForLoop

    source§

    fn eq(&self, other: &ForLoop) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for ForLoop

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for ForLoop

    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 ForLoop

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for ForLoop

    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 ForLoop

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -37,8 +37,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/statement/iteration/for_of_loop/struct.ForOfLoop.html b/doc/boa_ast/statement/iteration/for_of_loop/struct.ForOfLoop.html index dbf0a00f3fd..c0594bb83f9 100644 --- a/doc/boa_ast/statement/iteration/for_of_loop/struct.ForOfLoop.html +++ b/doc/boa_ast/statement/iteration/for_of_loop/struct.ForOfLoop.html @@ -25,7 +25,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a ForOfLoop> for NodeRef<'a>

    source§

    fn from(node: &'a ForOfLoop) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ForOfLoop> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ForOfLoop) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<ForOfLoop> for Statement

    source§

    fn from(for_of: ForOfLoop) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<ForOfLoop> for ForOfLoop

    source§

    fn eq(&self, other: &ForOfLoop) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for ForOfLoop

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for ForOfLoop

    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 ForOfLoop

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for ForOfLoop

    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 ForOfLoop

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -39,8 +39,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/statement/iteration/struct.Break.html b/doc/boa_ast/statement/iteration/struct.Break.html index 887de1ef026..0565895f71a 100644 --- a/doc/boa_ast/statement/iteration/struct.Break.html +++ b/doc/boa_ast/statement/iteration/struct.Break.html @@ -1,5 +1,5 @@ Break in boa_ast::statement::iteration - Rust
    pub struct Break {
    -    label: Option<Sym>,
    +    label: Option<Sym>,
     }
    Expand description

    The break statement terminates the current loop, switch, or label statement and transfers program control to the statement following the terminated statement.

    The break statement includes an optional label that allows the program to break out of a @@ -11,15 +11,15 @@

  • ECMAScript reference
  • MDN documentation
  • -

    Fields§

    §label: Option<Sym>

    Implementations§

    source§

    impl Break

    source

    pub const fn new(label: Option<Sym>) -> Self

    Creates a Break AST node.

    -
    source

    pub const fn label(&self) -> Option<Sym>

    Gets the label of the break statement, if any.

    +

    Fields§

    §label: Option<Sym>

    Implementations§

    source§

    impl Break

    source

    pub const fn new(label: Option<Sym>) -> Self

    Creates a Break AST node.

    +
    source

    pub const fn label(&self) -> Option<Sym>

    Gets the label of the break statement, if any.

    Trait Implementations§

    source§

    impl<'arbitrary> Arbitrary<'arbitrary> for Break

    source§

    fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the given unstructured data. Read more
    source§

    fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
    source§

    fn size_hint(depth: usize) -> (usize, Option<usize>)

    Get a size hint for how many bytes out of an Unstructured this type needs to construct itself. Read more
    source§

    impl Clone for Break

    source§

    fn clone(&self) -> Break

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Break

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Break

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Break> for NodeRef<'a>

    source§

    fn from(node: &'a Break) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Break> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Break) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Break> for Statement

    source§

    fn from(break_smt: Break) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Break> for Break

    source§

    fn eq(&self, other: &Break) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Break

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Break

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Break

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Break

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Break

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/statement/iteration/struct.Continue.html b/doc/boa_ast/statement/iteration/struct.Continue.html index aab18115f5f..1e13431b739 100644 --- a/doc/boa_ast/statement/iteration/struct.Continue.html +++ b/doc/boa_ast/statement/iteration/struct.Continue.html @@ -1,5 +1,5 @@ Continue in boa_ast::statement::iteration - Rust
    pub struct Continue {
    -    label: Option<Sym>,
    +    label: Option<Sym>,
     }
    Expand description

    The continue statement terminates execution of the statements in the current iteration of the current or labeled loop, and continues execution of the loop with the next iteration.

    The continue statement can include an optional label that allows the program to jump to the @@ -10,15 +10,15 @@

  • ECMAScript reference
  • MDN documentation
  • -

    Fields§

    §label: Option<Sym>

    Implementations§

    source§

    impl Continue

    source

    pub const fn new(label: Option<Sym>) -> Self

    Creates a Continue AST node.

    -
    source

    pub const fn label(&self) -> Option<Sym>

    Gets the label of this Continue statement.

    +

    Fields§

    §label: Option<Sym>

    Implementations§

    source§

    impl Continue

    source

    pub const fn new(label: Option<Sym>) -> Self

    Creates a Continue AST node.

    +
    source

    pub const fn label(&self) -> Option<Sym>

    Gets the label of this Continue statement.

    Trait Implementations§

    source§

    impl<'arbitrary> Arbitrary<'arbitrary> for Continue

    source§

    fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the given unstructured data. Read more
    source§

    fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
    source§

    fn size_hint(depth: usize) -> (usize, Option<usize>)

    Get a size hint for how many bytes out of an Unstructured this type needs to construct itself. Read more
    source§

    impl Clone for Continue

    source§

    fn clone(&self) -> Continue

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Continue

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Continue

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Continue> for NodeRef<'a>

    source§

    fn from(node: &'a Continue) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Continue> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Continue) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Continue> for Statement

    source§

    fn from(cont: Continue) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Continue> for Continue

    source§

    fn eq(&self, other: &Continue) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Continue

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Continue

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Continue

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Continue

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Continue

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/statement/iteration/struct.DoWhileLoop.html b/doc/boa_ast/statement/iteration/struct.DoWhileLoop.html index 8ddda0d480e..804a4073720 100644 --- a/doc/boa_ast/statement/iteration/struct.DoWhileLoop.html +++ b/doc/boa_ast/statement/iteration/struct.DoWhileLoop.html @@ -19,7 +19,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a DoWhileLoop> for NodeRef<'a>

    source§

    fn from(node: &'a DoWhileLoop) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut DoWhileLoop> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut DoWhileLoop) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<DoWhileLoop> for Statement

    source§

    fn from(do_while: DoWhileLoop) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<DoWhileLoop> for DoWhileLoop

    source§

    fn eq(&self, other: &DoWhileLoop) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for DoWhileLoop

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for DoWhileLoop

    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 DoWhileLoop

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for DoWhileLoop

    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 DoWhileLoop

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -33,8 +33,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/statement/iteration/struct.ForInLoop.html b/doc/boa_ast/statement/iteration/struct.ForInLoop.html index ab117184af5..6f40197ec43 100644 --- a/doc/boa_ast/statement/iteration/struct.ForInLoop.html +++ b/doc/boa_ast/statement/iteration/struct.ForInLoop.html @@ -19,7 +19,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a ForInLoop> for NodeRef<'a>

    source§

    fn from(node: &'a ForInLoop) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ForInLoop> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ForInLoop) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<ForInLoop> for Statement

    source§

    fn from(for_in: ForInLoop) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<ForInLoop> for ForInLoop

    source§

    fn eq(&self, other: &ForInLoop) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for ForInLoop

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for ForInLoop

    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 ForInLoop

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for ForInLoop

    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 ForInLoop

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -33,8 +33,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/statement/iteration/struct.ForLoop.html b/doc/boa_ast/statement/iteration/struct.ForLoop.html index 16748e8dd2b..4b404cd19a8 100644 --- a/doc/boa_ast/statement/iteration/struct.ForLoop.html +++ b/doc/boa_ast/statement/iteration/struct.ForLoop.html @@ -23,7 +23,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a ForLoop> for NodeRef<'a>

    source§

    fn from(node: &'a ForLoop) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ForLoop> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ForLoop) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<ForLoop> for Statement

    source§

    fn from(for_loop: ForLoop) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<ForLoop> for ForLoop

    source§

    fn eq(&self, other: &ForLoop) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for ForLoop

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for ForLoop

    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 ForLoop

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for ForLoop

    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 ForLoop

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -37,8 +37,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/statement/iteration/struct.ForOfLoop.html b/doc/boa_ast/statement/iteration/struct.ForOfLoop.html index 37698c250dc..e7b96302c3f 100644 --- a/doc/boa_ast/statement/iteration/struct.ForOfLoop.html +++ b/doc/boa_ast/statement/iteration/struct.ForOfLoop.html @@ -25,7 +25,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a ForOfLoop> for NodeRef<'a>

    source§

    fn from(node: &'a ForOfLoop) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ForOfLoop> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ForOfLoop) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<ForOfLoop> for Statement

    source§

    fn from(for_of: ForOfLoop) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<ForOfLoop> for ForOfLoop

    source§

    fn eq(&self, other: &ForOfLoop) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for ForOfLoop

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for ForOfLoop

    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 ForOfLoop

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for ForOfLoop

    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 ForOfLoop

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -39,8 +39,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/statement/iteration/struct.WhileLoop.html b/doc/boa_ast/statement/iteration/struct.WhileLoop.html index f801795b01b..ec7129ddd92 100644 --- a/doc/boa_ast/statement/iteration/struct.WhileLoop.html +++ b/doc/boa_ast/statement/iteration/struct.WhileLoop.html @@ -18,7 +18,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a WhileLoop> for NodeRef<'a>

    source§

    fn from(node: &'a WhileLoop) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut WhileLoop> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut WhileLoop) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<WhileLoop> for Statement

    source§

    fn from(while_loop: WhileLoop) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<WhileLoop> for WhileLoop

    source§

    fn eq(&self, other: &WhileLoop) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for WhileLoop

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for WhileLoop

    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 WhileLoop

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for WhileLoop

    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 WhileLoop

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -32,8 +32,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/statement/iteration/while_loop/struct.WhileLoop.html b/doc/boa_ast/statement/iteration/while_loop/struct.WhileLoop.html index 42759ef1198..1be3521d598 100644 --- a/doc/boa_ast/statement/iteration/while_loop/struct.WhileLoop.html +++ b/doc/boa_ast/statement/iteration/while_loop/struct.WhileLoop.html @@ -18,7 +18,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a WhileLoop> for NodeRef<'a>

    source§

    fn from(node: &'a WhileLoop) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut WhileLoop> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut WhileLoop) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<WhileLoop> for Statement

    source§

    fn from(while_loop: WhileLoop) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<WhileLoop> for WhileLoop

    source§

    fn eq(&self, other: &WhileLoop) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for WhileLoop

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for WhileLoop

    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 WhileLoop

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for WhileLoop

    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 WhileLoop

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -32,8 +32,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/statement/labelled/enum.LabelledItem.html b/doc/boa_ast/statement/labelled/enum.LabelledItem.html index 254583bc884..8abbb323712 100644 --- a/doc/boa_ast/statement/labelled/enum.LabelledItem.html +++ b/doc/boa_ast/statement/labelled/enum.LabelledItem.html @@ -10,7 +10,7 @@
    §

    Statement(Statement)

    A labelled Statement.

    Implementations§

    source§

    impl LabelledItem

    source

    pub(crate) fn to_indented_string( &self, - interner: &Interner, + interner: &Interner, indentation: usize ) -> String

    Trait Implementations§

    source§

    impl<'arbitrary> Arbitrary<'arbitrary> for LabelledItem

    source§

    fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the given unstructured data. Read more
    source§

    fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
    source§

    fn size_hint(depth: usize) -> (usize, Option<usize>)

    Get a size hint for how many bytes out of an Unstructured this type @@ -18,7 +18,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a LabelledItem> for NodeRef<'a>

    source§

    fn from(node: &'a LabelledItem) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut LabelledItem> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut LabelledItem) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Function> for LabelledItem

    source§

    fn from(f: Function) -> Self

    Converts to this type from the input type.
    source§

    impl From<Statement> for LabelledItem

    source§

    fn from(stmt: Statement) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<LabelledItem> for LabelledItem

    source§

    fn eq(&self, other: &LabelledItem) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for LabelledItem

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for LabelledItem

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for LabelledItem

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for LabelledItem

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for LabelledItem

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/statement/labelled/struct.Labelled.html b/doc/boa_ast/statement/labelled/struct.Labelled.html index 1c690e7d3f4..c8e5bdbd14e 100644 --- a/doc/boa_ast/statement/labelled/struct.Labelled.html +++ b/doc/boa_ast/statement/labelled/struct.Labelled.html @@ -1,15 +1,15 @@ Labelled in boa_ast::statement::labelled - Rust
    pub struct Labelled {
         item: Box<LabelledItem>,
    -    label: Sym,
    +    label: Sym,
     }
    Expand description

    Labelled statement nodes, as defined by the spec.

    The method Labelled::item doesn’t return a Statement for compatibility reasons. See LabelledItem for more information.

    -

    Fields§

    §item: Box<LabelledItem>§label: Sym

    Implementations§

    source§

    impl Labelled

    source

    pub fn new(item: LabelledItem, label: Sym) -> Self

    Creates a new Labelled statement.

    +

    Fields§

    §item: Box<LabelledItem>§label: Sym

    Implementations§

    source§

    impl Labelled

    source

    pub fn new(item: LabelledItem, label: Sym) -> Self

    Creates a new Labelled statement.

    source

    pub const fn item(&self) -> &LabelledItem

    Gets the labelled item.

    -
    source

    pub const fn label(&self) -> Sym

    Gets the label name.

    +
    source

    pub const fn label(&self) -> Sym

    Gets the label name.

    source

    pub(crate) fn to_indented_string( &self, - interner: &Interner, + interner: &Interner, indentation: usize ) -> String

    Trait Implementations§

    source§

    impl<'arbitrary> Arbitrary<'arbitrary> for Labelled

    source§

    fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the given unstructured data. Read more
    source§

    fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
    source§

    fn size_hint(depth: usize) -> (usize, Option<usize>)

    Get a size hint for how many bytes out of an Unstructured this type @@ -17,7 +17,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Labelled> for NodeRef<'a>

    source§

    fn from(node: &'a Labelled) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Labelled> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Labelled) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Labelled> for Statement

    source§

    fn from(labelled: Labelled) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Labelled> for Labelled

    source§

    fn eq(&self, other: &Labelled) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Labelled

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Labelled

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Labelled

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Labelled

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Labelled

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/statement/return/struct.Return.html b/doc/boa_ast/statement/return/struct.Return.html index 1deecfaca76..918628dc010 100644 --- a/doc/boa_ast/statement/return/struct.Return.html +++ b/doc/boa_ast/statement/return/struct.Return.html @@ -22,7 +22,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Return> for NodeRef<'a>

    source§

    fn from(node: &'a Return) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Return> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Return) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Return> for Statement

    source§

    fn from(return_smt: Return) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Return> for Return

    source§

    fn eq(&self, other: &Return) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Return

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Return

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Return

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Return

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Return

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/statement/struct.Block.html b/doc/boa_ast/statement/struct.Block.html index 8ae321b275b..b6813237233 100644 --- a/doc/boa_ast/statement/struct.Block.html +++ b/doc/boa_ast/statement/struct.Block.html @@ -20,7 +20,7 @@ T: Into<StatementList>,

    source§

    fn from(list: T) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Block> for Block

    source§

    fn eq(&self, other: &Block) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Block

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Block

    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 Block

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Block

    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 Block

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -34,8 +34,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/statement/struct.Catch.html b/doc/boa_ast/statement/struct.Catch.html index 7a6710d41e7..37cea85f278 100644 --- a/doc/boa_ast/statement/struct.Catch.html +++ b/doc/boa_ast/statement/struct.Catch.html @@ -11,7 +11,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Catch> for NodeRef<'a>

    source§

    fn from(node: &'a Catch) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Catch> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Catch) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl PartialEq<Catch> for Catch

    source§

    fn eq(&self, other: &Catch) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Catch

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Catch

    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 Catch

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Catch

    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 Catch

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -25,8 +25,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/statement/struct.Finally.html b/doc/boa_ast/statement/struct.Finally.html index 205546c70fe..bdd6e1578bf 100644 --- a/doc/boa_ast/statement/struct.Finally.html +++ b/doc/boa_ast/statement/struct.Finally.html @@ -8,7 +8,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Finally> for NodeRef<'a>

    source§

    fn from(node: &'a Finally) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Finally> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Finally) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Block> for Finally

    source§

    fn from(block: Block) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Finally> for Finally

    source§

    fn eq(&self, other: &Finally) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Finally

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Finally

    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 Finally

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Finally

    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 Finally

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -22,8 +22,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/statement/struct.If.html b/doc/boa_ast/statement/struct.If.html index 9dcd12b326f..98ae5863cb0 100644 --- a/doc/boa_ast/statement/struct.If.html +++ b/doc/boa_ast/statement/struct.If.html @@ -25,7 +25,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a If> for NodeRef<'a>

    source§

    fn from(node: &'a If) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut If> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut If) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<If> for Statement

    source§

    fn from(if_stm: If) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<If> for If

    source§

    fn eq(&self, other: &If) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for If

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for If

    source§

    fn to_indented_string(&self, interner: &Interner, indent: usize) -> String

    Converts the element to a string using an interner, with the given indentation.
    source§

    impl VisitWith for If

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for If

    source§

    fn to_indented_string(&self, interner: &Interner, indent: usize) -> String

    Converts the element to a string using an interner, with the given indentation.
    source§

    impl VisitWith for If

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -39,8 +39,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/statement/struct.Labelled.html b/doc/boa_ast/statement/struct.Labelled.html index 55609c8b758..1424e6a2efa 100644 --- a/doc/boa_ast/statement/struct.Labelled.html +++ b/doc/boa_ast/statement/struct.Labelled.html @@ -1,15 +1,15 @@ Labelled in boa_ast::statement - Rust

    Struct boa_ast::statement::Labelled

    source ·
    pub struct Labelled {
         item: Box<LabelledItem>,
    -    label: Sym,
    +    label: Sym,
     }
    Expand description

    Labelled statement nodes, as defined by the spec.

    The method Labelled::item doesn’t return a Statement for compatibility reasons. See LabelledItem for more information.

    -

    Fields§

    §item: Box<LabelledItem>§label: Sym

    Implementations§

    source§

    impl Labelled

    source

    pub fn new(item: LabelledItem, label: Sym) -> Self

    Creates a new Labelled statement.

    +

    Fields§

    §item: Box<LabelledItem>§label: Sym

    Implementations§

    source§

    impl Labelled

    source

    pub fn new(item: LabelledItem, label: Sym) -> Self

    Creates a new Labelled statement.

    source

    pub const fn item(&self) -> &LabelledItem

    Gets the labelled item.

    -
    source

    pub const fn label(&self) -> Sym

    Gets the label name.

    +
    source

    pub const fn label(&self) -> Sym

    Gets the label name.

    source

    pub(crate) fn to_indented_string( &self, - interner: &Interner, + interner: &Interner, indentation: usize ) -> String

    Trait Implementations§

    source§

    impl<'arbitrary> Arbitrary<'arbitrary> for Labelled

    source§

    fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the given unstructured data. Read more
    source§

    fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
    source§

    fn size_hint(depth: usize) -> (usize, Option<usize>)

    Get a size hint for how many bytes out of an Unstructured this type @@ -17,7 +17,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Labelled> for NodeRef<'a>

    source§

    fn from(node: &'a Labelled) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Labelled> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Labelled) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Labelled> for Statement

    source§

    fn from(labelled: Labelled) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Labelled> for Labelled

    source§

    fn eq(&self, other: &Labelled) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Labelled

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Labelled

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Labelled

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Labelled

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Labelled

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/statement/struct.Return.html b/doc/boa_ast/statement/struct.Return.html index 9b348848887..83e43156174 100644 --- a/doc/boa_ast/statement/struct.Return.html +++ b/doc/boa_ast/statement/struct.Return.html @@ -22,7 +22,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Return> for NodeRef<'a>

    source§

    fn from(node: &'a Return) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Return> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Return) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Return> for Statement

    source§

    fn from(return_smt: Return) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Return> for Return

    source§

    fn eq(&self, other: &Return) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Return

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Return

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Return

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Return

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Return

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/statement/struct.Switch.html b/doc/boa_ast/statement/struct.Switch.html index 5d2b8150a12..356d66f52f2 100644 --- a/doc/boa_ast/statement/struct.Switch.html +++ b/doc/boa_ast/statement/struct.Switch.html @@ -24,7 +24,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Switch> for NodeRef<'a>

    source§

    fn from(node: &'a Switch) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Switch> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Switch) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Switch> for Statement

    source§

    fn from(switch: Switch) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Switch> for Switch

    source§

    fn eq(&self, other: &Switch) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Switch

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Switch

    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 Switch

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Switch

    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 Switch

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -38,8 +38,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/statement/struct.Throw.html b/doc/boa_ast/statement/struct.Throw.html index 9e63ef75641..5e9cba296c1 100644 --- a/doc/boa_ast/statement/struct.Throw.html +++ b/doc/boa_ast/statement/struct.Throw.html @@ -18,7 +18,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Throw> for NodeRef<'a>

    source§

    fn from(node: &'a Throw) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Throw> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Throw) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Throw> for Statement

    source§

    fn from(trw: Throw) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Throw> for Throw

    source§

    fn eq(&self, other: &Throw) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Throw

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Throw

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Throw

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Throw

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Throw

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/statement/struct.Try.html b/doc/boa_ast/statement/struct.Try.html index 611dc70d9b4..d47c31f65e3 100644 --- a/doc/boa_ast/statement/struct.Try.html +++ b/doc/boa_ast/statement/struct.Try.html @@ -21,7 +21,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Try> for NodeRef<'a>

    source§

    fn from(node: &'a Try) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Try> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Try) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Try> for Statement

    source§

    fn from(try_catch: Try) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Try> for Try

    source§

    fn eq(&self, other: &Try) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Try

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Try

    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 Try

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Try

    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 Try

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -35,8 +35,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/statement/struct.With.html b/doc/boa_ast/statement/struct.With.html index a90eb963983..04a4e53157d 100644 --- a/doc/boa_ast/statement/struct.With.html +++ b/doc/boa_ast/statement/struct.With.html @@ -16,7 +16,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a With> for NodeRef<'a>

    source§

    fn from(node: &'a With) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut With> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut With) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<With> for Statement

    source§

    fn from(with: With) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<With> for With

    source§

    fn eq(&self, other: &With) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for With

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for With

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for With

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for With

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for With

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/statement/switch/struct.Switch.html b/doc/boa_ast/statement/switch/struct.Switch.html index 7cc26f563cc..2baacdd7fa6 100644 --- a/doc/boa_ast/statement/switch/struct.Switch.html +++ b/doc/boa_ast/statement/switch/struct.Switch.html @@ -24,7 +24,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Switch> for NodeRef<'a>

    source§

    fn from(node: &'a Switch) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Switch> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Switch) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Switch> for Statement

    source§

    fn from(switch: Switch) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Switch> for Switch

    source§

    fn eq(&self, other: &Switch) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Switch

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Switch

    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 Switch

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Switch

    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 Switch

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -38,8 +38,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/statement/throw/struct.Throw.html b/doc/boa_ast/statement/throw/struct.Throw.html index 15df1b663ca..16ba7ed3a50 100644 --- a/doc/boa_ast/statement/throw/struct.Throw.html +++ b/doc/boa_ast/statement/throw/struct.Throw.html @@ -18,7 +18,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Throw> for NodeRef<'a>

    source§

    fn from(node: &'a Throw) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Throw> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Throw) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Throw> for Statement

    source§

    fn from(trw: Throw) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Throw> for Throw

    source§

    fn eq(&self, other: &Throw) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Throw

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Throw

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Throw

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for Throw

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for Throw

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/statement/try/struct.Catch.html b/doc/boa_ast/statement/try/struct.Catch.html index ea3b4ddb9c0..f12f88b749f 100644 --- a/doc/boa_ast/statement/try/struct.Catch.html +++ b/doc/boa_ast/statement/try/struct.Catch.html @@ -11,7 +11,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Catch> for NodeRef<'a>

    source§

    fn from(node: &'a Catch) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Catch> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Catch) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl PartialEq<Catch> for Catch

    source§

    fn eq(&self, other: &Catch) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Catch

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Catch

    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 Catch

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Catch

    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 Catch

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -25,8 +25,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/statement/try/struct.Finally.html b/doc/boa_ast/statement/try/struct.Finally.html index a4879e16284..e91c2f55c7d 100644 --- a/doc/boa_ast/statement/try/struct.Finally.html +++ b/doc/boa_ast/statement/try/struct.Finally.html @@ -8,7 +8,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Finally> for NodeRef<'a>

    source§

    fn from(node: &'a Finally) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Finally> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Finally) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Block> for Finally

    source§

    fn from(block: Block) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Finally> for Finally

    source§

    fn eq(&self, other: &Finally) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Finally

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Finally

    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 Finally

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Finally

    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 Finally

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -22,8 +22,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/statement/try/struct.Try.html b/doc/boa_ast/statement/try/struct.Try.html index 45c389964a5..cb966f31cbd 100644 --- a/doc/boa_ast/statement/try/struct.Try.html +++ b/doc/boa_ast/statement/try/struct.Try.html @@ -21,7 +21,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Try> for NodeRef<'a>

    source§

    fn from(node: &'a Try) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Try> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Try) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Try> for Statement

    source§

    fn from(try_catch: Try) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<Try> for Try

    source§

    fn eq(&self, other: &Try) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Try

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Try

    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 Try

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Try

    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 Try

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -35,8 +35,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/statement/with/struct.With.html b/doc/boa_ast/statement/with/struct.With.html index c7c2282f7c7..56c3e92ae5a 100644 --- a/doc/boa_ast/statement/with/struct.With.html +++ b/doc/boa_ast/statement/with/struct.With.html @@ -16,7 +16,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a With> for NodeRef<'a>

    source§

    fn from(node: &'a With) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut With> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut With) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<With> for Statement

    source§

    fn from(with: With) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<With> for With

    source§

    fn eq(&self, other: &With) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for With

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for With

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for With

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToInternedString for With

    source§

    fn to_interned_string(&self, interner: &Interner) -> String

    Converts a given element to a string using an interner.
    source§

    impl VisitWith for With

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V diff --git a/doc/boa_ast/statement_list/enum.StatementListItem.html b/doc/boa_ast/statement_list/enum.StatementListItem.html index 69a7fe9a20b..060c1760f4a 100644 --- a/doc/boa_ast/statement_list/enum.StatementListItem.html +++ b/doc/boa_ast/statement_list/enum.StatementListItem.html @@ -12,7 +12,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    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§

    fn from(stmt: Statement) -> Self

    Converts to this type from the input type.
    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 ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for StatementListItem

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    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 more
    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 indent level of 2 would produce this:

            function hello() {
                 console.log("hello");
    @@ -33,8 +33,8 @@
         U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/statement_list/struct.StatementList.html b/doc/boa_ast/statement_list/struct.StatementList.html index f97d0ca00fa..d0a51f7c401 100644 --- a/doc/boa_ast/statement_list/struct.StatementList.html +++ b/doc/boa_ast/statement_list/struct.StatementList.html @@ -1074,7 +1074,7 @@
    Examples
    __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a StatementList> for NodeRef<'a>

    source§

    fn from(node: &'a StatementList) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut StatementList> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut StatementList) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Box<[StatementListItem], Global>> for StatementList

    source§

    fn from(stm: Box<[StatementListItem]>) -> Self

    Converts to this type from the input type.
    source§

    impl From<Vec<StatementListItem, Global>> for StatementList

    source§

    fn from(stm: Vec<StatementListItem>) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<StatementList> for StatementList

    source§

    fn eq(&self, other: &StatementList) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for StatementList

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for StatementList

    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 StatementList

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for StatementList

    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 StatementList

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -1088,8 +1088,8 @@

    Examples
    U: From<T>,
    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/struct.ModuleItemList.html b/doc/boa_ast/struct.ModuleItemList.html index eee01613e21..c844a0adc6e 100644 --- a/doc/boa_ast/struct.ModuleItemList.html +++ b/doc/boa_ast/struct.ModuleItemList.html @@ -7,9 +7,9 @@
  • ECMAScript specification
  • Fields§

    §items: Box<[ModuleItem]>

    Implementations§

    source§

    impl ModuleItemList

    source

    pub const fn items(&self) -> &[ModuleItem]

    Gets the list of module items.

    -
    source

    pub fn exported_names(&self) -> Vec<Sym>

    Abstract operation ExportedNames.

    +
    source

    pub fn exported_names(&self) -> Vec<Sym>

    Abstract operation ExportedNames.

    source

    pub fn exported_bindings(&self) -> FxHashSet<Identifier>

    Abstract operation ExportedBindings.

    -
    source

    pub fn requests(&self) -> IndexSet<Sym, BuildHasherDefault<FxHasher>>

    Operation ModuleRequests.

    +
    source

    pub fn requests(&self) -> IndexSet<Sym, BuildHasherDefault<FxHasher>>

    Operation ModuleRequests.

    Gets the list of modules that need to be fetched by the module resolver to link this module.

    source

    pub fn import_entries(&self) -> Vec<ImportEntry>

    Operation ImportEntries.

    Gets the list of import entries of this module.

    diff --git a/doc/boa_ast/struct.Script.html b/doc/boa_ast/struct.Script.html index 056c1f029d8..e0cd16b814a 100644 --- a/doc/boa_ast/struct.Script.html +++ b/doc/boa_ast/struct.Script.html @@ -15,7 +15,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a Script> for NodeRef<'a>

    source§

    fn from(node: &'a Script) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Script> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Script) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl PartialEq<Script> for Script

    source§

    fn eq(&self, other: &Script) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for Script

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Script

    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 Script

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for Script

    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 Script

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -29,8 +29,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/struct.StatementList.html b/doc/boa_ast/struct.StatementList.html index bcbc285e512..9b392b12c3b 100644 --- a/doc/boa_ast/struct.StatementList.html +++ b/doc/boa_ast/struct.StatementList.html @@ -1074,7 +1074,7 @@
    Examples
    __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl<'a> From<&'a StatementList> for NodeRef<'a>

    source§

    fn from(node: &'a StatementList) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut StatementList> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut StatementList) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl From<Box<[StatementListItem], Global>> for StatementList

    source§

    fn from(stm: Box<[StatementListItem]>) -> Self

    Converts to this type from the input type.
    source§

    impl From<Vec<StatementListItem, Global>> for StatementList

    source§

    fn from(stm: Vec<StatementListItem>) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<StatementList> for StatementList

    source§

    fn eq(&self, other: &StatementList) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Serialize for StatementList

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for StatementList

    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 StatementList

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl ToIndentedString for StatementList

    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 StatementList

    source§

    fn visit_with<'a, V>(&'a self, visitor: &mut V) -> ControlFlow<V::BreakTy>where V: Visitor<'a>,

    Visit this node with the provided visitor.
    source§

    fn visit_with_mut<'a, V>( &'a mut self, visitor: &mut V @@ -1088,8 +1088,8 @@

    Examples
    U: From<T>,
    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    §

    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> ToOwned for Twhere +

    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> ToOwned for Twhere T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for Twhere U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<T> DeserializeOwned for Twhere diff --git a/doc/boa_ast/visitor/enum.NodeRef.html b/doc/boa_ast/visitor/enum.NodeRef.html index ba87612aebc..e58b186d13b 100644 --- a/doc/boa_ast/visitor/enum.NodeRef.html +++ b/doc/boa_ast/visitor/enum.NodeRef.html @@ -63,7 +63,7 @@ ForLoopInitializer(&'a ForLoopInitializer), IterableLoopInitializer(&'a IterableLoopInitializer), Case(&'a Case), - Sym(&'a Sym), + Sym(&'a Sym), LabelledItem(&'a LabelledItem), Catch(&'a Catch), Finally(&'a Finally), @@ -93,7 +93,7 @@ ExportDeclaration(&'a ExportDeclaration), ExportSpecifier(&'a ExportSpecifier), }
    Expand description

    A reference to a node visitable by a Visitor.

    -

    Variants§

    §

    Script(&'a Script)

    §

    Module(&'a Module)

    §

    StatementList(&'a StatementList)

    §

    StatementListItem(&'a StatementListItem)

    §

    Statement(&'a Statement)

    §

    Declaration(&'a Declaration)

    §

    Function(&'a Function)

    §

    Generator(&'a Generator)

    §

    AsyncFunction(&'a AsyncFunction)

    §

    AsyncGenerator(&'a AsyncGenerator)

    §

    Class(&'a Class)

    §

    LexicalDeclaration(&'a LexicalDeclaration)

    §

    Block(&'a Block)

    §

    VarDeclaration(&'a VarDeclaration)

    §

    Expression(&'a Expression)

    §

    If(&'a If)

    §

    DoWhileLoop(&'a DoWhileLoop)

    §

    WhileLoop(&'a WhileLoop)

    §

    ForLoop(&'a ForLoop)

    §

    ForInLoop(&'a ForInLoop)

    §

    ForOfLoop(&'a ForOfLoop)

    §

    Switch(&'a Switch)

    §

    Continue(&'a Continue)

    §

    Break(&'a Break)

    §

    Return(&'a Return)

    §

    Labelled(&'a Labelled)

    §

    With(&'a With)

    §

    Throw(&'a Throw)

    §

    Try(&'a Try)

    §

    Identifier(&'a Identifier)

    §

    FormalParameterList(&'a FormalParameterList)

    §

    ClassElement(&'a ClassElement)

    §

    PrivateName(&'a PrivateName)

    §

    VariableList(&'a VariableList)

    §

    Variable(&'a Variable)

    §

    Binding(&'a Binding)

    §

    Pattern(&'a Pattern)

    §

    Literal(&'a Literal)

    §

    RegExpLiteral(&'a RegExpLiteral)

    §

    ArrayLiteral(&'a ArrayLiteral)

    §

    ObjectLiteral(&'a ObjectLiteral)

    §

    Spread(&'a Spread)

    §

    ArrowFunction(&'a ArrowFunction)

    §

    AsyncArrowFunction(&'a AsyncArrowFunction)

    §

    TemplateLiteral(&'a TemplateLiteral)

    §

    PropertyAccess(&'a PropertyAccess)

    §

    New(&'a New)

    §

    Call(&'a Call)

    §

    SuperCall(&'a SuperCall)

    §

    ImportCall(&'a ImportCall)

    §

    Optional(&'a Optional)

    §

    TaggedTemplate(&'a TaggedTemplate)

    §

    Assign(&'a Assign)

    §

    Unary(&'a Unary)

    §

    Update(&'a Update)

    §

    Binary(&'a Binary)

    §

    BinaryInPrivate(&'a BinaryInPrivate)

    §

    Conditional(&'a Conditional)

    §

    Await(&'a Await)

    §

    Yield(&'a Yield)

    §

    Parenthesized(&'a Parenthesized)

    §

    ForLoopInitializer(&'a ForLoopInitializer)

    §

    IterableLoopInitializer(&'a IterableLoopInitializer)

    §

    Case(&'a Case)

    §

    Sym(&'a Sym)

    §

    LabelledItem(&'a LabelledItem)

    §

    Catch(&'a Catch)

    §

    Finally(&'a Finally)

    §

    FormalParameter(&'a FormalParameter)

    §

    PropertyName(&'a PropertyName)

    §

    MethodDefinition(&'a MethodDefinition)

    §

    ObjectPattern(&'a ObjectPattern)

    §

    ArrayPattern(&'a ArrayPattern)

    §

    PropertyDefinition(&'a PropertyDefinition)

    §

    TemplateElement(&'a TemplateElement)

    §

    SimplePropertyAccess(&'a SimplePropertyAccess)

    §

    PrivatePropertyAccess(&'a PrivatePropertyAccess)

    §

    SuperPropertyAccess(&'a SuperPropertyAccess)

    §

    OptionalOperation(&'a OptionalOperation)

    §

    AssignTarget(&'a AssignTarget)

    §

    ObjectPatternElement(&'a ObjectPatternElement)

    §

    ArrayPatternElement(&'a ArrayPatternElement)

    §

    PropertyAccessField(&'a PropertyAccessField)

    §

    OptionalOperationKind(&'a OptionalOperationKind)

    §

    ModuleItemList(&'a ModuleItemList)

    §

    ModuleItem(&'a ModuleItem)

    §

    ModuleSpecifier(&'a ModuleSpecifier)

    §

    ImportKind(&'a ImportKind)

    §

    ImportDeclaration(&'a ImportDeclaration)

    §

    ImportSpecifier(&'a ImportSpecifier)

    §

    ReExportKind(&'a ReExportKind)

    §

    ExportDeclaration(&'a ExportDeclaration)

    §

    ExportSpecifier(&'a ExportSpecifier)

    Trait Implementations§

    source§

    impl<'a> Clone for NodeRef<'a>

    source§

    fn clone(&self) -> NodeRef<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for NodeRef<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'a> From<&'a ArrayLiteral> for NodeRef<'a>

    source§

    fn from(node: &'a ArrayLiteral) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ArrayPattern> for NodeRef<'a>

    source§

    fn from(node: &'a ArrayPattern) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ArrayPatternElement> for NodeRef<'a>

    source§

    fn from(node: &'a ArrayPatternElement) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ArrowFunction> for NodeRef<'a>

    source§

    fn from(node: &'a ArrowFunction) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Assign> for NodeRef<'a>

    source§

    fn from(node: &'a Assign) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a AssignTarget> for NodeRef<'a>

    source§

    fn from(node: &'a AssignTarget) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a AsyncArrowFunction> for NodeRef<'a>

    source§

    fn from(node: &'a AsyncArrowFunction) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a AsyncFunction> for NodeRef<'a>

    source§

    fn from(node: &'a AsyncFunction) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a AsyncGenerator> for NodeRef<'a>

    source§

    fn from(node: &'a AsyncGenerator) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Await> for NodeRef<'a>

    source§

    fn from(node: &'a Await) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Binary> for NodeRef<'a>

    source§

    fn from(node: &'a Binary) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a BinaryInPrivate> for NodeRef<'a>

    source§

    fn from(node: &'a BinaryInPrivate) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Binding> for NodeRef<'a>

    source§

    fn from(node: &'a Binding) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Block> for NodeRef<'a>

    source§

    fn from(node: &'a Block) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Break> for NodeRef<'a>

    source§

    fn from(node: &'a Break) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Call> for NodeRef<'a>

    source§

    fn from(node: &'a Call) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Case> for NodeRef<'a>

    source§

    fn from(node: &'a Case) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Catch> for NodeRef<'a>

    source§

    fn from(node: &'a Catch) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Class> for NodeRef<'a>

    source§

    fn from(node: &'a Class) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ClassElement> for NodeRef<'a>

    source§

    fn from(node: &'a ClassElement) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Conditional> for NodeRef<'a>

    source§

    fn from(node: &'a Conditional) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Continue> for NodeRef<'a>

    source§

    fn from(node: &'a Continue) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Declaration> for NodeRef<'a>

    source§

    fn from(node: &'a Declaration) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a DoWhileLoop> for NodeRef<'a>

    source§

    fn from(node: &'a DoWhileLoop) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ExportDeclaration> for NodeRef<'a>

    source§

    fn from(node: &'a ExportDeclaration) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ExportSpecifier> for NodeRef<'a>

    source§

    fn from(node: &'a ExportSpecifier) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    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 Finally> for NodeRef<'a>

    source§

    fn from(node: &'a Finally) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ForInLoop> for NodeRef<'a>

    source§

    fn from(node: &'a ForInLoop) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ForLoop> for NodeRef<'a>

    source§

    fn from(node: &'a ForLoop) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ForLoopInitializer> for NodeRef<'a>

    source§

    fn from(node: &'a ForLoopInitializer) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ForOfLoop> for NodeRef<'a>

    source§

    fn from(node: &'a ForOfLoop) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a FormalParameter> for NodeRef<'a>

    source§

    fn from(node: &'a FormalParameter) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a FormalParameterList> for NodeRef<'a>

    source§

    fn from(node: &'a FormalParameterList) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Function> for NodeRef<'a>

    source§

    fn from(node: &'a Function) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Generator> for NodeRef<'a>

    source§

    fn from(node: &'a Generator) -> NodeRef<'a>

    Converts to this type from the input type.
    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 If> for NodeRef<'a>

    source§

    fn from(node: &'a If) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    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 ImportDeclaration> for NodeRef<'a>

    source§

    fn from(node: &'a ImportDeclaration) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ImportKind> for NodeRef<'a>

    source§

    fn from(node: &'a ImportKind) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>

    source§

    fn from(node: &'a ImportSpecifier) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a IterableLoopInitializer> for NodeRef<'a>

    source§

    fn from(node: &'a IterableLoopInitializer) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Labelled> for NodeRef<'a>

    source§

    fn from(node: &'a Labelled) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a LabelledItem> for NodeRef<'a>

    source§

    fn from(node: &'a LabelledItem) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    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 Literal> for NodeRef<'a>

    source§

    fn from(node: &'a Literal) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a MethodDefinition> for NodeRef<'a>

    source§

    fn from(node: &'a MethodDefinition) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Module> for NodeRef<'a>

    source§

    fn from(node: &'a Module) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ModuleItem> for NodeRef<'a>

    source§

    fn from(node: &'a ModuleItem) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ModuleItemList> for NodeRef<'a>

    source§

    fn from(node: &'a ModuleItemList) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    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 New> for NodeRef<'a>

    source§

    fn from(node: &'a New) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ObjectLiteral> for NodeRef<'a>

    source§

    fn from(node: &'a ObjectLiteral) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ObjectPattern> for NodeRef<'a>

    source§

    fn from(node: &'a ObjectPattern) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ObjectPatternElement> for NodeRef<'a>

    source§

    fn from(node: &'a ObjectPatternElement) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Optional> for NodeRef<'a>

    source§

    fn from(node: &'a Optional) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a OptionalOperation> for NodeRef<'a>

    source§

    fn from(node: &'a OptionalOperation) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a OptionalOperationKind> for NodeRef<'a>

    source§

    fn from(node: &'a OptionalOperationKind) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Parenthesized> for NodeRef<'a>

    source§

    fn from(node: &'a Parenthesized) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Pattern> for NodeRef<'a>

    source§

    fn from(node: &'a Pattern) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a PrivateName> for NodeRef<'a>

    source§

    fn from(node: &'a PrivateName) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    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 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 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 PropertyDefinition> for NodeRef<'a>

    source§

    fn from(node: &'a PropertyDefinition) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a PropertyName> for NodeRef<'a>

    source§

    fn from(node: &'a PropertyName) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ReExportKind> for NodeRef<'a>

    source§

    fn from(node: &'a ReExportKind) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a RegExpLiteral> for NodeRef<'a>

    source§

    fn from(node: &'a RegExpLiteral) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Return> for NodeRef<'a>

    source§

    fn from(node: &'a Return) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Script> for NodeRef<'a>

    source§

    fn from(node: &'a Script) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    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 Spread> for NodeRef<'a>

    source§

    fn from(node: &'a Spread) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Statement> for NodeRef<'a>

    source§

    fn from(node: &'a Statement) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a StatementList> for NodeRef<'a>

    source§

    fn from(node: &'a StatementList) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    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 SuperCall> for NodeRef<'a>

    source§

    fn from(node: &'a SuperCall) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    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 Switch> for NodeRef<'a>

    source§

    fn from(node: &'a Switch) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Sym> for NodeRef<'a>

    source§

    fn from(node: &'a Sym) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a TaggedTemplate> for NodeRef<'a>

    source§

    fn from(node: &'a TaggedTemplate) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a TemplateElement> for NodeRef<'a>

    source§

    fn from(node: &'a TemplateElement) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a TemplateLiteral> for NodeRef<'a>

    source§

    fn from(node: &'a TemplateLiteral) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Throw> for NodeRef<'a>

    source§

    fn from(node: &'a Throw) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Try> for NodeRef<'a>

    source§

    fn from(node: &'a Try) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Unary> for NodeRef<'a>

    source§

    fn from(node: &'a Unary) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Update> for NodeRef<'a>

    source§

    fn from(node: &'a Update) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    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 Variable> for NodeRef<'a>

    source§

    fn from(node: &'a Variable) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    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 WhileLoop> for NodeRef<'a>

    source§

    fn from(node: &'a WhileLoop) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a With> for NodeRef<'a>

    source§

    fn from(node: &'a With) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Yield> for NodeRef<'a>

    source§

    fn from(node: &'a Yield) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> Copy for NodeRef<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for NodeRef<'a>

    §

    impl<'a> Send for NodeRef<'a>

    §

    impl<'a> Sync for NodeRef<'a>

    §

    impl<'a> Unpin for NodeRef<'a>

    §

    impl<'a> UnwindSafe for NodeRef<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +

    Variants§

    §

    Script(&'a Script)

    §

    Module(&'a Module)

    §

    StatementList(&'a StatementList)

    §

    StatementListItem(&'a StatementListItem)

    §

    Statement(&'a Statement)

    §

    Declaration(&'a Declaration)

    §

    Function(&'a Function)

    §

    Generator(&'a Generator)

    §

    AsyncFunction(&'a AsyncFunction)

    §

    AsyncGenerator(&'a AsyncGenerator)

    §

    Class(&'a Class)

    §

    LexicalDeclaration(&'a LexicalDeclaration)

    §

    Block(&'a Block)

    §

    VarDeclaration(&'a VarDeclaration)

    §

    Expression(&'a Expression)

    §

    If(&'a If)

    §

    DoWhileLoop(&'a DoWhileLoop)

    §

    WhileLoop(&'a WhileLoop)

    §

    ForLoop(&'a ForLoop)

    §

    ForInLoop(&'a ForInLoop)

    §

    ForOfLoop(&'a ForOfLoop)

    §

    Switch(&'a Switch)

    §

    Continue(&'a Continue)

    §

    Break(&'a Break)

    §

    Return(&'a Return)

    §

    Labelled(&'a Labelled)

    §

    With(&'a With)

    §

    Throw(&'a Throw)

    §

    Try(&'a Try)

    §

    Identifier(&'a Identifier)

    §

    FormalParameterList(&'a FormalParameterList)

    §

    ClassElement(&'a ClassElement)

    §

    PrivateName(&'a PrivateName)

    §

    VariableList(&'a VariableList)

    §

    Variable(&'a Variable)

    §

    Binding(&'a Binding)

    §

    Pattern(&'a Pattern)

    §

    Literal(&'a Literal)

    §

    RegExpLiteral(&'a RegExpLiteral)

    §

    ArrayLiteral(&'a ArrayLiteral)

    §

    ObjectLiteral(&'a ObjectLiteral)

    §

    Spread(&'a Spread)

    §

    ArrowFunction(&'a ArrowFunction)

    §

    AsyncArrowFunction(&'a AsyncArrowFunction)

    §

    TemplateLiteral(&'a TemplateLiteral)

    §

    PropertyAccess(&'a PropertyAccess)

    §

    New(&'a New)

    §

    Call(&'a Call)

    §

    SuperCall(&'a SuperCall)

    §

    ImportCall(&'a ImportCall)

    §

    Optional(&'a Optional)

    §

    TaggedTemplate(&'a TaggedTemplate)

    §

    Assign(&'a Assign)

    §

    Unary(&'a Unary)

    §

    Update(&'a Update)

    §

    Binary(&'a Binary)

    §

    BinaryInPrivate(&'a BinaryInPrivate)

    §

    Conditional(&'a Conditional)

    §

    Await(&'a Await)

    §

    Yield(&'a Yield)

    §

    Parenthesized(&'a Parenthesized)

    §

    ForLoopInitializer(&'a ForLoopInitializer)

    §

    IterableLoopInitializer(&'a IterableLoopInitializer)

    §

    Case(&'a Case)

    §

    Sym(&'a Sym)

    §

    LabelledItem(&'a LabelledItem)

    §

    Catch(&'a Catch)

    §

    Finally(&'a Finally)

    §

    FormalParameter(&'a FormalParameter)

    §

    PropertyName(&'a PropertyName)

    §

    MethodDefinition(&'a MethodDefinition)

    §

    ObjectPattern(&'a ObjectPattern)

    §

    ArrayPattern(&'a ArrayPattern)

    §

    PropertyDefinition(&'a PropertyDefinition)

    §

    TemplateElement(&'a TemplateElement)

    §

    SimplePropertyAccess(&'a SimplePropertyAccess)

    §

    PrivatePropertyAccess(&'a PrivatePropertyAccess)

    §

    SuperPropertyAccess(&'a SuperPropertyAccess)

    §

    OptionalOperation(&'a OptionalOperation)

    §

    AssignTarget(&'a AssignTarget)

    §

    ObjectPatternElement(&'a ObjectPatternElement)

    §

    ArrayPatternElement(&'a ArrayPatternElement)

    §

    PropertyAccessField(&'a PropertyAccessField)

    §

    OptionalOperationKind(&'a OptionalOperationKind)

    §

    ModuleItemList(&'a ModuleItemList)

    §

    ModuleItem(&'a ModuleItem)

    §

    ModuleSpecifier(&'a ModuleSpecifier)

    §

    ImportKind(&'a ImportKind)

    §

    ImportDeclaration(&'a ImportDeclaration)

    §

    ImportSpecifier(&'a ImportSpecifier)

    §

    ReExportKind(&'a ReExportKind)

    §

    ExportDeclaration(&'a ExportDeclaration)

    §

    ExportSpecifier(&'a ExportSpecifier)

    Trait Implementations§

    source§

    impl<'a> Clone for NodeRef<'a>

    source§

    fn clone(&self) -> NodeRef<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for NodeRef<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'a> From<&'a ArrayLiteral> for NodeRef<'a>

    source§

    fn from(node: &'a ArrayLiteral) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ArrayPattern> for NodeRef<'a>

    source§

    fn from(node: &'a ArrayPattern) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ArrayPatternElement> for NodeRef<'a>

    source§

    fn from(node: &'a ArrayPatternElement) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ArrowFunction> for NodeRef<'a>

    source§

    fn from(node: &'a ArrowFunction) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Assign> for NodeRef<'a>

    source§

    fn from(node: &'a Assign) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a AssignTarget> for NodeRef<'a>

    source§

    fn from(node: &'a AssignTarget) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a AsyncArrowFunction> for NodeRef<'a>

    source§

    fn from(node: &'a AsyncArrowFunction) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a AsyncFunction> for NodeRef<'a>

    source§

    fn from(node: &'a AsyncFunction) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a AsyncGenerator> for NodeRef<'a>

    source§

    fn from(node: &'a AsyncGenerator) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Await> for NodeRef<'a>

    source§

    fn from(node: &'a Await) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Binary> for NodeRef<'a>

    source§

    fn from(node: &'a Binary) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a BinaryInPrivate> for NodeRef<'a>

    source§

    fn from(node: &'a BinaryInPrivate) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Binding> for NodeRef<'a>

    source§

    fn from(node: &'a Binding) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Block> for NodeRef<'a>

    source§

    fn from(node: &'a Block) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Break> for NodeRef<'a>

    source§

    fn from(node: &'a Break) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Call> for NodeRef<'a>

    source§

    fn from(node: &'a Call) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Case> for NodeRef<'a>

    source§

    fn from(node: &'a Case) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Catch> for NodeRef<'a>

    source§

    fn from(node: &'a Catch) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Class> for NodeRef<'a>

    source§

    fn from(node: &'a Class) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ClassElement> for NodeRef<'a>

    source§

    fn from(node: &'a ClassElement) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Conditional> for NodeRef<'a>

    source§

    fn from(node: &'a Conditional) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Continue> for NodeRef<'a>

    source§

    fn from(node: &'a Continue) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Declaration> for NodeRef<'a>

    source§

    fn from(node: &'a Declaration) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a DoWhileLoop> for NodeRef<'a>

    source§

    fn from(node: &'a DoWhileLoop) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ExportDeclaration> for NodeRef<'a>

    source§

    fn from(node: &'a ExportDeclaration) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ExportSpecifier> for NodeRef<'a>

    source§

    fn from(node: &'a ExportSpecifier) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    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 Finally> for NodeRef<'a>

    source§

    fn from(node: &'a Finally) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ForInLoop> for NodeRef<'a>

    source§

    fn from(node: &'a ForInLoop) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ForLoop> for NodeRef<'a>

    source§

    fn from(node: &'a ForLoop) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ForLoopInitializer> for NodeRef<'a>

    source§

    fn from(node: &'a ForLoopInitializer) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ForOfLoop> for NodeRef<'a>

    source§

    fn from(node: &'a ForOfLoop) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a FormalParameter> for NodeRef<'a>

    source§

    fn from(node: &'a FormalParameter) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a FormalParameterList> for NodeRef<'a>

    source§

    fn from(node: &'a FormalParameterList) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Function> for NodeRef<'a>

    source§

    fn from(node: &'a Function) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Generator> for NodeRef<'a>

    source§

    fn from(node: &'a Generator) -> NodeRef<'a>

    Converts to this type from the input type.
    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 If> for NodeRef<'a>

    source§

    fn from(node: &'a If) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    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 ImportDeclaration> for NodeRef<'a>

    source§

    fn from(node: &'a ImportDeclaration) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ImportKind> for NodeRef<'a>

    source§

    fn from(node: &'a ImportKind) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>

    source§

    fn from(node: &'a ImportSpecifier) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a IterableLoopInitializer> for NodeRef<'a>

    source§

    fn from(node: &'a IterableLoopInitializer) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Labelled> for NodeRef<'a>

    source§

    fn from(node: &'a Labelled) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a LabelledItem> for NodeRef<'a>

    source§

    fn from(node: &'a LabelledItem) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    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 Literal> for NodeRef<'a>

    source§

    fn from(node: &'a Literal) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a MethodDefinition> for NodeRef<'a>

    source§

    fn from(node: &'a MethodDefinition) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Module> for NodeRef<'a>

    source§

    fn from(node: &'a Module) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ModuleItem> for NodeRef<'a>

    source§

    fn from(node: &'a ModuleItem) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ModuleItemList> for NodeRef<'a>

    source§

    fn from(node: &'a ModuleItemList) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    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 New> for NodeRef<'a>

    source§

    fn from(node: &'a New) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ObjectLiteral> for NodeRef<'a>

    source§

    fn from(node: &'a ObjectLiteral) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ObjectPattern> for NodeRef<'a>

    source§

    fn from(node: &'a ObjectPattern) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ObjectPatternElement> for NodeRef<'a>

    source§

    fn from(node: &'a ObjectPatternElement) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Optional> for NodeRef<'a>

    source§

    fn from(node: &'a Optional) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a OptionalOperation> for NodeRef<'a>

    source§

    fn from(node: &'a OptionalOperation) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a OptionalOperationKind> for NodeRef<'a>

    source§

    fn from(node: &'a OptionalOperationKind) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Parenthesized> for NodeRef<'a>

    source§

    fn from(node: &'a Parenthesized) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Pattern> for NodeRef<'a>

    source§

    fn from(node: &'a Pattern) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a PrivateName> for NodeRef<'a>

    source§

    fn from(node: &'a PrivateName) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    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 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 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 PropertyDefinition> for NodeRef<'a>

    source§

    fn from(node: &'a PropertyDefinition) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a PropertyName> for NodeRef<'a>

    source§

    fn from(node: &'a PropertyName) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a ReExportKind> for NodeRef<'a>

    source§

    fn from(node: &'a ReExportKind) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a RegExpLiteral> for NodeRef<'a>

    source§

    fn from(node: &'a RegExpLiteral) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Return> for NodeRef<'a>

    source§

    fn from(node: &'a Return) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Script> for NodeRef<'a>

    source§

    fn from(node: &'a Script) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    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 Spread> for NodeRef<'a>

    source§

    fn from(node: &'a Spread) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Statement> for NodeRef<'a>

    source§

    fn from(node: &'a Statement) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a StatementList> for NodeRef<'a>

    source§

    fn from(node: &'a StatementList) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    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 SuperCall> for NodeRef<'a>

    source§

    fn from(node: &'a SuperCall) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    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 Switch> for NodeRef<'a>

    source§

    fn from(node: &'a Switch) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Sym> for NodeRef<'a>

    source§

    fn from(node: &'a Sym) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a TaggedTemplate> for NodeRef<'a>

    source§

    fn from(node: &'a TaggedTemplate) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a TemplateElement> for NodeRef<'a>

    source§

    fn from(node: &'a TemplateElement) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a TemplateLiteral> for NodeRef<'a>

    source§

    fn from(node: &'a TemplateLiteral) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Throw> for NodeRef<'a>

    source§

    fn from(node: &'a Throw) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Try> for NodeRef<'a>

    source§

    fn from(node: &'a Try) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Unary> for NodeRef<'a>

    source§

    fn from(node: &'a Unary) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Update> for NodeRef<'a>

    source§

    fn from(node: &'a Update) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    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 Variable> for NodeRef<'a>

    source§

    fn from(node: &'a Variable) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    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 WhileLoop> for NodeRef<'a>

    source§

    fn from(node: &'a WhileLoop) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a With> for NodeRef<'a>

    source§

    fn from(node: &'a With) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Yield> for NodeRef<'a>

    source§

    fn from(node: &'a Yield) -> NodeRef<'a>

    Converts to this type from the input type.
    source§

    impl<'a> Copy for NodeRef<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for NodeRef<'a>

    §

    impl<'a> Send for NodeRef<'a>

    §

    impl<'a> Sync for NodeRef<'a>

    §

    impl<'a> Unpin for NodeRef<'a>

    §

    impl<'a> UnwindSafe for NodeRef<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/doc/boa_ast/visitor/enum.NodeRefMut.html b/doc/boa_ast/visitor/enum.NodeRefMut.html index efcb435aac7..d35532bc201 100644 --- a/doc/boa_ast/visitor/enum.NodeRefMut.html +++ b/doc/boa_ast/visitor/enum.NodeRefMut.html @@ -63,7 +63,7 @@ ForLoopInitializer(&'a mut ForLoopInitializer), IterableLoopInitializer(&'a mut IterableLoopInitializer), Case(&'a mut Case), - Sym(&'a mut Sym), + Sym(&'a mut Sym), LabelledItem(&'a mut LabelledItem), Catch(&'a mut Catch), Finally(&'a mut Finally), @@ -93,7 +93,7 @@ ExportDeclaration(&'a mut ExportDeclaration), ExportSpecifier(&'a mut ExportSpecifier),
    }
    Expand description

    A mutable reference to a node visitable by a VisitorMut.

    -

    Variants§

    §

    Script(&'a mut Script)

    §

    Module(&'a mut Module)

    §

    StatementList(&'a mut StatementList)

    §

    StatementListItem(&'a mut StatementListItem)

    §

    Statement(&'a mut Statement)

    §

    Declaration(&'a mut Declaration)

    §

    Function(&'a mut Function)

    §

    Generator(&'a mut Generator)

    §

    AsyncFunction(&'a mut AsyncFunction)

    §

    AsyncGenerator(&'a mut AsyncGenerator)

    §

    Class(&'a mut Class)

    §

    LexicalDeclaration(&'a mut LexicalDeclaration)

    §

    Block(&'a mut Block)

    §

    VarDeclaration(&'a mut VarDeclaration)

    §

    Expression(&'a mut Expression)

    §

    If(&'a mut If)

    §

    DoWhileLoop(&'a mut DoWhileLoop)

    §

    WhileLoop(&'a mut WhileLoop)

    §

    ForLoop(&'a mut ForLoop)

    §

    ForInLoop(&'a mut ForInLoop)

    §

    ForOfLoop(&'a mut ForOfLoop)

    §

    Switch(&'a mut Switch)

    §

    Continue(&'a mut Continue)

    §

    Break(&'a mut Break)

    §

    Return(&'a mut Return)

    §

    Labelled(&'a mut Labelled)

    §

    With(&'a mut With)

    §

    Throw(&'a mut Throw)

    §

    Try(&'a mut Try)

    §

    Identifier(&'a mut Identifier)

    §

    FormalParameterList(&'a mut FormalParameterList)

    §

    ClassElement(&'a mut ClassElement)

    §

    PrivateName(&'a mut PrivateName)

    §

    VariableList(&'a mut VariableList)

    §

    Variable(&'a mut Variable)

    §

    Binding(&'a mut Binding)

    §

    Pattern(&'a mut Pattern)

    §

    Literal(&'a mut Literal)

    §

    RegExpLiteral(&'a mut RegExpLiteral)

    §

    ArrayLiteral(&'a mut ArrayLiteral)

    §

    ObjectLiteral(&'a mut ObjectLiteral)

    §

    Spread(&'a mut Spread)

    §

    ArrowFunction(&'a mut ArrowFunction)

    §

    AsyncArrowFunction(&'a mut AsyncArrowFunction)

    §

    TemplateLiteral(&'a mut TemplateLiteral)

    §

    PropertyAccess(&'a mut PropertyAccess)

    §

    New(&'a mut New)

    §

    Call(&'a mut Call)

    §

    SuperCall(&'a mut SuperCall)

    §

    ImportCall(&'a mut ImportCall)

    §

    Optional(&'a mut Optional)

    §

    TaggedTemplate(&'a mut TaggedTemplate)

    §

    Assign(&'a mut Assign)

    §

    Unary(&'a mut Unary)

    §

    Update(&'a mut Update)

    §

    Binary(&'a mut Binary)

    §

    BinaryInPrivate(&'a mut BinaryInPrivate)

    §

    Conditional(&'a mut Conditional)

    §

    Await(&'a mut Await)

    §

    Yield(&'a mut Yield)

    §

    Parenthesized(&'a mut Parenthesized)

    §

    ForLoopInitializer(&'a mut ForLoopInitializer)

    §

    IterableLoopInitializer(&'a mut IterableLoopInitializer)

    §

    Case(&'a mut Case)

    §

    Sym(&'a mut Sym)

    §

    LabelledItem(&'a mut LabelledItem)

    §

    Catch(&'a mut Catch)

    §

    Finally(&'a mut Finally)

    §

    FormalParameter(&'a mut FormalParameter)

    §

    PropertyName(&'a mut PropertyName)

    §

    MethodDefinition(&'a mut MethodDefinition)

    §

    ObjectPattern(&'a mut ObjectPattern)

    §

    ArrayPattern(&'a mut ArrayPattern)

    §

    PropertyDefinition(&'a mut PropertyDefinition)

    §

    TemplateElement(&'a mut TemplateElement)

    §

    SimplePropertyAccess(&'a mut SimplePropertyAccess)

    §

    PrivatePropertyAccess(&'a mut PrivatePropertyAccess)

    §

    SuperPropertyAccess(&'a mut SuperPropertyAccess)

    §

    OptionalOperation(&'a mut OptionalOperation)

    §

    AssignTarget(&'a mut AssignTarget)

    §

    ObjectPatternElement(&'a mut ObjectPatternElement)

    §

    ArrayPatternElement(&'a mut ArrayPatternElement)

    §

    PropertyAccessField(&'a mut PropertyAccessField)

    §

    OptionalOperationKind(&'a mut OptionalOperationKind)

    §

    ModuleItemList(&'a mut ModuleItemList)

    §

    ModuleItem(&'a mut ModuleItem)

    §

    ModuleSpecifier(&'a mut ModuleSpecifier)

    §

    ImportKind(&'a mut ImportKind)

    §

    ImportDeclaration(&'a mut ImportDeclaration)

    §

    ImportSpecifier(&'a mut ImportSpecifier)

    §

    ReExportKind(&'a mut ReExportKind)

    §

    ExportDeclaration(&'a mut ExportDeclaration)

    §

    ExportSpecifier(&'a mut ExportSpecifier)

    Trait Implementations§

    source§

    impl<'a> Debug for NodeRefMut<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'a> From<&'a mut ArrayLiteral> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ArrayLiteral) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ArrayPattern> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ArrayPattern) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ArrayPatternElement> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ArrayPatternElement) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ArrowFunction> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ArrowFunction) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Assign> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Assign) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut AssignTarget> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut AssignTarget) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut AsyncArrowFunction> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut AsyncArrowFunction) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut AsyncFunction> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut AsyncFunction) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut AsyncGenerator> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut AsyncGenerator) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Await> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Await) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Binary> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Binary) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut BinaryInPrivate> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut BinaryInPrivate) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    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<'a> From<&'a mut Block> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Block) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Break> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Break) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    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<'a> From<&'a mut Case> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Case) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Catch> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Catch) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Class> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Class) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ClassElement> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ClassElement) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Conditional> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Conditional) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Continue> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Continue) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Declaration> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Declaration) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut DoWhileLoop> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut DoWhileLoop) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ExportDeclaration> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ExportDeclaration) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ExportSpecifier> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ExportSpecifier) -> NodeRefMut<'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<'a> From<&'a mut Finally> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Finally) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ForInLoop> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ForInLoop) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ForLoop> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ForLoop) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ForLoopInitializer> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ForLoopInitializer) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ForOfLoop> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ForOfLoop) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut FormalParameter> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut FormalParameter) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut FormalParameterList> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut FormalParameterList) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Function> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Function) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Generator> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Generator) -> NodeRefMut<'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<'a> From<&'a mut If> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut If) -> NodeRefMut<'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<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut IterableLoopInitializer> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut IterableLoopInitializer) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Labelled> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Labelled) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut LabelledItem> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut LabelledItem) -> NodeRefMut<'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<'a> From<&'a mut Literal> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Literal) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut MethodDefinition> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut MethodDefinition) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Module> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Module) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ModuleItem> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ModuleItem) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ModuleItemList> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ModuleItemList) -> NodeRefMut<'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<'a> From<&'a mut New> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut New) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ObjectLiteral> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ObjectLiteral) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ObjectPattern> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ObjectPattern) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ObjectPatternElement> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ObjectPatternElement) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Optional> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Optional) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut OptionalOperation> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut OptionalOperation) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut OptionalOperationKind> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut OptionalOperationKind) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Parenthesized> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Parenthesized) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Pattern> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Pattern) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut PrivateName> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut PrivateName) -> NodeRefMut<'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<'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<'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<'a> From<&'a mut PropertyDefinition> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut PropertyDefinition) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut PropertyName> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut PropertyName) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ReExportKind> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ReExportKind) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut RegExpLiteral> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut RegExpLiteral) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Return> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Return) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Script> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Script) -> NodeRefMut<'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<'a> From<&'a mut Spread> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Spread) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Statement> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Statement) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut StatementList> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut StatementList) -> NodeRefMut<'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<'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<'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<'a> From<&'a mut Switch> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Switch) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Sym> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Sym) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut TaggedTemplate> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut TaggedTemplate) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut TemplateElement> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut TemplateElement) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut TemplateLiteral> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut TemplateLiteral) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Throw> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Throw) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Try> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Try) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Unary> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Unary) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Update> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Update) -> NodeRefMut<'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<'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<'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<'a> From<&'a mut WhileLoop> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut WhileLoop) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut With> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut With) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Yield> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Yield) -> NodeRefMut<'a>

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for NodeRefMut<'a>

    §

    impl<'a> Send for NodeRefMut<'a>

    §

    impl<'a> Sync for NodeRefMut<'a>

    §

    impl<'a> Unpin for NodeRefMut<'a>

    §

    impl<'a> !UnwindSafe for NodeRefMut<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +

    Variants§

    §

    Script(&'a mut Script)

    §

    Module(&'a mut Module)

    §

    StatementList(&'a mut StatementList)

    §

    StatementListItem(&'a mut StatementListItem)

    §

    Statement(&'a mut Statement)

    §

    Declaration(&'a mut Declaration)

    §

    Function(&'a mut Function)

    §

    Generator(&'a mut Generator)

    §

    AsyncFunction(&'a mut AsyncFunction)

    §

    AsyncGenerator(&'a mut AsyncGenerator)

    §

    Class(&'a mut Class)

    §

    LexicalDeclaration(&'a mut LexicalDeclaration)

    §

    Block(&'a mut Block)

    §

    VarDeclaration(&'a mut VarDeclaration)

    §

    Expression(&'a mut Expression)

    §

    If(&'a mut If)

    §

    DoWhileLoop(&'a mut DoWhileLoop)

    §

    WhileLoop(&'a mut WhileLoop)

    §

    ForLoop(&'a mut ForLoop)

    §

    ForInLoop(&'a mut ForInLoop)

    §

    ForOfLoop(&'a mut ForOfLoop)

    §

    Switch(&'a mut Switch)

    §

    Continue(&'a mut Continue)

    §

    Break(&'a mut Break)

    §

    Return(&'a mut Return)

    §

    Labelled(&'a mut Labelled)

    §

    With(&'a mut With)

    §

    Throw(&'a mut Throw)

    §

    Try(&'a mut Try)

    §

    Identifier(&'a mut Identifier)

    §

    FormalParameterList(&'a mut FormalParameterList)

    §

    ClassElement(&'a mut ClassElement)

    §

    PrivateName(&'a mut PrivateName)

    §

    VariableList(&'a mut VariableList)

    §

    Variable(&'a mut Variable)

    §

    Binding(&'a mut Binding)

    §

    Pattern(&'a mut Pattern)

    §

    Literal(&'a mut Literal)

    §

    RegExpLiteral(&'a mut RegExpLiteral)

    §

    ArrayLiteral(&'a mut ArrayLiteral)

    §

    ObjectLiteral(&'a mut ObjectLiteral)

    §

    Spread(&'a mut Spread)

    §

    ArrowFunction(&'a mut ArrowFunction)

    §

    AsyncArrowFunction(&'a mut AsyncArrowFunction)

    §

    TemplateLiteral(&'a mut TemplateLiteral)

    §

    PropertyAccess(&'a mut PropertyAccess)

    §

    New(&'a mut New)

    §

    Call(&'a mut Call)

    §

    SuperCall(&'a mut SuperCall)

    §

    ImportCall(&'a mut ImportCall)

    §

    Optional(&'a mut Optional)

    §

    TaggedTemplate(&'a mut TaggedTemplate)

    §

    Assign(&'a mut Assign)

    §

    Unary(&'a mut Unary)

    §

    Update(&'a mut Update)

    §

    Binary(&'a mut Binary)

    §

    BinaryInPrivate(&'a mut BinaryInPrivate)

    §

    Conditional(&'a mut Conditional)

    §

    Await(&'a mut Await)

    §

    Yield(&'a mut Yield)

    §

    Parenthesized(&'a mut Parenthesized)

    §

    ForLoopInitializer(&'a mut ForLoopInitializer)

    §

    IterableLoopInitializer(&'a mut IterableLoopInitializer)

    §

    Case(&'a mut Case)

    §

    Sym(&'a mut Sym)

    §

    LabelledItem(&'a mut LabelledItem)

    §

    Catch(&'a mut Catch)

    §

    Finally(&'a mut Finally)

    §

    FormalParameter(&'a mut FormalParameter)

    §

    PropertyName(&'a mut PropertyName)

    §

    MethodDefinition(&'a mut MethodDefinition)

    §

    ObjectPattern(&'a mut ObjectPattern)

    §

    ArrayPattern(&'a mut ArrayPattern)

    §

    PropertyDefinition(&'a mut PropertyDefinition)

    §

    TemplateElement(&'a mut TemplateElement)

    §

    SimplePropertyAccess(&'a mut SimplePropertyAccess)

    §

    PrivatePropertyAccess(&'a mut PrivatePropertyAccess)

    §

    SuperPropertyAccess(&'a mut SuperPropertyAccess)

    §

    OptionalOperation(&'a mut OptionalOperation)

    §

    AssignTarget(&'a mut AssignTarget)

    §

    ObjectPatternElement(&'a mut ObjectPatternElement)

    §

    ArrayPatternElement(&'a mut ArrayPatternElement)

    §

    PropertyAccessField(&'a mut PropertyAccessField)

    §

    OptionalOperationKind(&'a mut OptionalOperationKind)

    §

    ModuleItemList(&'a mut ModuleItemList)

    §

    ModuleItem(&'a mut ModuleItem)

    §

    ModuleSpecifier(&'a mut ModuleSpecifier)

    §

    ImportKind(&'a mut ImportKind)

    §

    ImportDeclaration(&'a mut ImportDeclaration)

    §

    ImportSpecifier(&'a mut ImportSpecifier)

    §

    ReExportKind(&'a mut ReExportKind)

    §

    ExportDeclaration(&'a mut ExportDeclaration)

    §

    ExportSpecifier(&'a mut ExportSpecifier)

    Trait Implementations§

    source§

    impl<'a> Debug for NodeRefMut<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'a> From<&'a mut ArrayLiteral> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ArrayLiteral) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ArrayPattern> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ArrayPattern) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ArrayPatternElement> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ArrayPatternElement) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ArrowFunction> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ArrowFunction) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Assign> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Assign) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut AssignTarget> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut AssignTarget) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut AsyncArrowFunction> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut AsyncArrowFunction) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut AsyncFunction> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut AsyncFunction) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut AsyncGenerator> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut AsyncGenerator) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Await> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Await) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Binary> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Binary) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut BinaryInPrivate> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut BinaryInPrivate) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    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<'a> From<&'a mut Block> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Block) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Break> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Break) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    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<'a> From<&'a mut Case> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Case) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Catch> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Catch) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Class> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Class) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ClassElement> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ClassElement) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Conditional> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Conditional) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Continue> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Continue) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Declaration> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Declaration) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut DoWhileLoop> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut DoWhileLoop) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ExportDeclaration> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ExportDeclaration) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ExportSpecifier> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ExportSpecifier) -> NodeRefMut<'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<'a> From<&'a mut Finally> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Finally) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ForInLoop> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ForInLoop) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ForLoop> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ForLoop) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ForLoopInitializer> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ForLoopInitializer) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ForOfLoop> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ForOfLoop) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut FormalParameter> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut FormalParameter) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut FormalParameterList> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut FormalParameterList) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Function> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Function) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Generator> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Generator) -> NodeRefMut<'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<'a> From<&'a mut If> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut If) -> NodeRefMut<'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<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ImportDeclaration) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ImportKind) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ImportSpecifier) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut IterableLoopInitializer> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut IterableLoopInitializer) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Labelled> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Labelled) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut LabelledItem> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut LabelledItem) -> NodeRefMut<'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<'a> From<&'a mut Literal> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Literal) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut MethodDefinition> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut MethodDefinition) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Module> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Module) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ModuleItem> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ModuleItem) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ModuleItemList> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ModuleItemList) -> NodeRefMut<'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<'a> From<&'a mut New> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut New) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ObjectLiteral> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ObjectLiteral) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ObjectPattern> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ObjectPattern) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ObjectPatternElement> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ObjectPatternElement) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Optional> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Optional) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut OptionalOperation> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut OptionalOperation) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut OptionalOperationKind> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut OptionalOperationKind) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Parenthesized> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Parenthesized) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Pattern> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Pattern) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut PrivateName> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut PrivateName) -> NodeRefMut<'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<'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<'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<'a> From<&'a mut PropertyDefinition> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut PropertyDefinition) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut PropertyName> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut PropertyName) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut ReExportKind> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut ReExportKind) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut RegExpLiteral> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut RegExpLiteral) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Return> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Return) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Script> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Script) -> NodeRefMut<'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<'a> From<&'a mut Spread> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Spread) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Statement> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Statement) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut StatementList> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut StatementList) -> NodeRefMut<'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<'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<'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<'a> From<&'a mut Switch> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Switch) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Sym> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Sym) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut TaggedTemplate> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut TaggedTemplate) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut TemplateElement> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut TemplateElement) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut TemplateLiteral> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut TemplateLiteral) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Throw> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Throw) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Try> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Try) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Unary> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Unary) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Update> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Update) -> NodeRefMut<'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<'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<'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<'a> From<&'a mut WhileLoop> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut WhileLoop) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut With> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut With) -> NodeRefMut<'a>

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a mut Yield> for NodeRefMut<'a>

    source§

    fn from(node: &'a mut Yield) -> NodeRefMut<'a>

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for NodeRefMut<'a>

    §

    impl<'a> Send for NodeRefMut<'a>

    §

    impl<'a> Sync for NodeRefMut<'a>

    §

    impl<'a> Unpin for NodeRefMut<'a>

    §

    impl<'a> !UnwindSafe for NodeRefMut<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/doc/boa_ast/visitor/trait.VisitWith.html b/doc/boa_ast/visitor/trait.VisitWith.html index 91997ca2eb8..446a09b1bb5 100644 --- a/doc/boa_ast/visitor/trait.VisitWith.html +++ b/doc/boa_ast/visitor/trait.VisitWith.html @@ -17,7 +17,7 @@ ) -> ControlFlow<V::BreakTy>where V: VisitorMut<'a>,

    Visit this node with the provided visitor mutably, allowing the visitor to modify private fields.

    -

    Implementations on Foreign Types§

    source§

    impl VisitWith for Sym

    source§

    fn visit_with<'a, V>(&'a self, _visitor: &mut V) -> ControlFlow<V::BreakTy>where +

    Implementations on Foreign Types§

    source§

    impl VisitWith for Sym

    source§

    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/visitor/trait.Visitor.html b/doc/boa_ast/visitor/trait.Visitor.html index 52305e1bf0a..bd0a526361e 100644 --- a/doc/boa_ast/visitor/trait.Visitor.html +++ b/doc/boa_ast/visitor/trait.Visitor.html @@ -195,7 +195,7 @@ node: &'ast IterableLoopInitializer ) -> ControlFlow<Self::BreakTy> { ... } fn visit_case(&mut self, node: &'ast Case) -> ControlFlow<Self::BreakTy> { ... } - fn visit_sym(&mut self, node: &'ast Sym) -> ControlFlow<Self::BreakTy> { ... } + fn visit_sym(&mut self, node: &'ast Sym) -> ControlFlow<Self::BreakTy> { ... } fn visit_labelled_item( &mut self, node: &'ast LabelledItem @@ -479,7 +479,7 @@ node: &'ast IterableLoopInitializer ) -> ControlFlow<Self::BreakTy>

    Visits a IterableLoopInitializer with this visitor

    source

    fn visit_case(&mut self, node: &'ast Case) -> ControlFlow<Self::BreakTy>

    Visits a Case with this visitor

    -
    source

    fn visit_sym(&mut self, node: &'ast Sym) -> ControlFlow<Self::BreakTy>

    Visits a Sym with this visitor

    +
    source

    fn visit_sym(&mut self, node: &'ast Sym) -> ControlFlow<Self::BreakTy>

    Visits a Sym with this visitor

    source

    fn visit_labelled_item( &mut self, node: &'ast LabelledItem diff --git a/doc/boa_ast/visitor/trait.VisitorMut.html b/doc/boa_ast/visitor/trait.VisitorMut.html index 62b3331d42a..b1c289c192a 100644 --- a/doc/boa_ast/visitor/trait.VisitorMut.html +++ b/doc/boa_ast/visitor/trait.VisitorMut.html @@ -257,7 +257,7 @@ ) -> ControlFlow<Self::BreakTy> { ... } fn visit_sym_mut( &mut self, - node: &'ast mut Sym + node: &'ast mut Sym ) -> ControlFlow<Self::BreakTy> { ... } fn visit_labelled_item_mut( &mut self, @@ -617,7 +617,7 @@ node: &'ast mut IterableLoopInitializer ) -> ControlFlow<Self::BreakTy>

    Visits a IterableLoopInitializer with this visitor, mutably

    source

    fn visit_case_mut(&mut self, node: &'ast mut Case) -> ControlFlow<Self::BreakTy>

    Visits a Case with this visitor, mutably

    -
    source

    fn visit_sym_mut(&mut self, node: &'ast mut Sym) -> ControlFlow<Self::BreakTy>

    Visits a Sym with this visitor, mutably

    +
    source

    fn visit_sym_mut(&mut self, node: &'ast mut Sym) -> ControlFlow<Self::BreakTy>

    Visits a Sym with this visitor, mutably

    source

    fn visit_labelled_item_mut( &mut self, node: &'ast mut LabelledItem diff --git a/doc/boa_engine/builtins/regexp/struct.RegExp.html b/doc/boa_engine/builtins/regexp/struct.RegExp.html index a0bda1e6f8f..4c0c617fb37 100644 --- a/doc/boa_engine/builtins/regexp/struct.RegExp.html +++ b/doc/boa_engine/builtins/regexp/struct.RegExp.html @@ -1,11 +1,11 @@ RegExp in boa_engine::builtins::regexp - Rust
    pub struct RegExp {
         matcher: Regex,
    -    flags: RegExpFlags,
    +    flags: RegExpFlags,
         original_source: JsString,
         original_flags: JsString,
     }
    Expand description

    The internal representation of a RegExp object.

    Fields§

    §matcher: Regex

    Regex matcher.

    -
    §flags: RegExpFlags§original_source: JsString§original_flags: JsString

    Implementations§

    source§

    impl RegExp

    source

    pub(crate) fn is_reg_exp<'a>( +

    §flags: RegExpFlags§original_source: JsString§original_flags: JsString

    Implementations§

    source§

    impl RegExp

    source

    pub(crate) fn is_reg_exp<'a>( argument: &'a JsValue, context: &mut Context<'_> ) -> JsResult<Option<&'a JsObject>>

    7.2.8 IsRegExp ( argument )

    diff --git a/doc/boa_engine/bytecompiler/index.html b/doc/boa_engine/bytecompiler/index.html index eaccff16bbb..12cb1cba0b5 100644 --- a/doc/boa_engine/bytecompiler/index.html +++ b/doc/boa_engine/bytecompiler/index.html @@ -1,2 +1,2 @@ -boa_engine::bytecompiler - Rust
    Expand description

    This module contains the bytecode compiler.

    +boa_engine::bytecompiler - Rust
    Expand description

    This module contains the bytecode compiler.

    Modules

    Structs

    Enums

    • Access 🔒
    • Callable 🔒
      Represents a callable expression, like f() or new Cl()
    • Describes the type of a function.
    • Literal 🔒
    • NodeKind 🔒
      Describes how a node has been defined in the source code.
    • Operand 🔒
      An opcode operand.
    \ No newline at end of file diff --git a/doc/boa_engine/bytecompiler/struct.ByteCompiler.html b/doc/boa_engine/bytecompiler/struct.ByteCompiler.html index 18651c4ecc3..9bfdb71876b 100644 --- a/doc/boa_engine/bytecompiler/struct.ByteCompiler.html +++ b/doc/boa_engine/bytecompiler/struct.ByteCompiler.html @@ -237,7 +237,7 @@
    Panic
    • value => received
    -
    source§

    impl<'ctx, 'host> ByteCompiler<'ctx, 'host>

    source

    const DUMMY_ADDRESS: u32 = 4_294_967_295u32

    Represents a placeholder address that will be patched later.

    +
    source§

    impl<'ctx, 'host> ByteCompiler<'ctx, 'host>

    source

    const DUMMY_ADDRESS: u32 = 4_294_967_295u32

    Represents a placeholder address that will be patched later.

    source

    const DUMMY_LABEL: Label = _

    source

    pub(crate) fn new( name: Sym, strict: bool, @@ -249,33 +249,33 @@

    Panic
    source

    pub(crate) const fn strict(&self) -> bool

    source

    pub(crate) const fn is_async(&self) -> bool

    source

    pub(crate) const fn is_generator(&self) -> bool

    source

    pub(crate) const fn is_async_generator(&self) -> bool

    source

    pub(crate) fn interner(&self) -> &Interner

    source

    fn get_or_insert_literal(&mut self, literal: Literal) -> u32

    source

    fn get_or_insert_name(&mut self, name: Identifier) -> u32

    source

    fn get_or_insert_private_name(&mut self, name: PrivateName) -> u32

    source

    pub(crate) fn get_or_insert_binding(&mut self, binding: BindingLocator) -> u32

    source

    pub(crate) fn push_function_to_constants( &mut self, function: Gc<CodeBlock> -) -> u32

    source

    fn emit_binding(&mut self, opcode: BindingOpcode, name: Identifier)

    source

    fn next_opcode_location(&mut self) -> u32

    source

    pub(crate) fn emit(&mut self, opcode: Opcode, operands: &[Operand])

    source

    pub(crate) fn emit_with_varying_operand(&mut self, opcode: Opcode, operand: u32)

    Emits an opcode with one varying operand.

    +) -> u32

    source

    fn emit_binding(&mut self, opcode: BindingOpcode, name: Identifier)

    source

    fn next_opcode_location(&mut self) -> u32

    source

    pub(crate) fn emit(&mut self, opcode: Opcode, operands: &[Operand])

    source

    pub(crate) fn emit_with_varying_operand(&mut self, opcode: Opcode, operand: u32)

    Emits an opcode with one varying operand.

    Simpler version of ByteCompiler::emit().

    -
    source

    pub(crate) fn emit_operand( +

    source

    pub(crate) fn emit_operand( &mut self, operand: Operand, varying_kind: VaryingOperandKind -)

    source

    fn emit_i64(&mut self, value: i64)

    source

    fn emit_u64(&mut self, value: u64)

    source

    fn emit_i32(&mut self, value: i32)

    source

    fn emit_u32(&mut self, value: u32)

    source

    fn emit_i16(&mut self, value: i16)

    source

    fn emit_u16(&mut self, value: u16)

    source

    fn emit_i8(&mut self, value: i8)

    source

    fn emit_u8(&mut self, value: u8)

    source

    pub(crate) fn emit_opcode(&mut self, opcode: Opcode)

    source

    fn emit_push_integer(&mut self, value: i32)

    source

    fn emit_push_literal(&mut self, literal: Literal)

    source

    fn emit_push_rational(&mut self, value: f64)

    source

    fn jump(&mut self) -> Label

    source

    fn jump_if_true(&mut self) -> Label

    source

    fn jump_if_false(&mut self) -> Label

    source

    fn jump_if_null_or_undefined(&mut self) -> Label

    source

    fn emit_resume_kind(&mut self, resume_kind: GeneratorResumeKind)

    source

    fn jump_if_not_resume_kind(&mut self, resume_kind: GeneratorResumeKind) -> Label

    source

    fn jump_table(&mut self, count: u32) -> (Vec<Label>, Label)

    Push a jump table with count of entries.

    +)
    source

    fn emit_i64(&mut self, value: i64)

    source

    fn emit_u64(&mut self, value: u64)

    source

    fn emit_i32(&mut self, value: i32)

    source

    fn emit_u32(&mut self, value: u32)

    source

    fn emit_i16(&mut self, value: i16)

    source

    fn emit_u16(&mut self, value: u16)

    source

    fn emit_i8(&mut self, value: i8)

    source

    fn emit_u8(&mut self, value: u8)

    source

    pub(crate) fn emit_opcode(&mut self, opcode: Opcode)

    source

    fn emit_push_integer(&mut self, value: i32)

    source

    fn emit_push_literal(&mut self, literal: Literal)

    source

    fn emit_push_rational(&mut self, value: f64)

    source

    fn jump(&mut self) -> Label

    source

    fn jump_if_true(&mut self) -> Label

    source

    fn jump_if_false(&mut self) -> Label

    source

    fn jump_if_null_or_undefined(&mut self) -> Label

    source

    fn emit_resume_kind(&mut self, resume_kind: GeneratorResumeKind)

    source

    fn jump_if_not_resume_kind(&mut self, resume_kind: GeneratorResumeKind) -> Label

    source

    fn jump_table(&mut self, count: u32) -> (Vec<Label>, Label)

    Push a jump table with count of entries.

    Returns the jump label entries and the default label.

    -
    source

    pub(crate) fn emit_opcode_with_operand(&mut self, opcode: Opcode) -> Label

    Emit an opcode with a dummy operand. +

    source

    pub(crate) fn emit_opcode_with_operand(&mut self, opcode: Opcode) -> Label

    Emit an opcode with a dummy operand. Return the Label of the operand.

    -
    source

    pub(crate) fn emit_opcode_with_two_operands( +

    source

    pub(crate) fn emit_opcode_with_two_operands( &mut self, opcode: Opcode ) -> (Label, Label)

    Emit an opcode with two dummy operands. Return the Labels of the two operands.

    -
    source

    pub(crate) fn patch_jump_with_target(&mut self, label: Label, target: u32)

    source

    fn patch_jump(&mut self, label: Label)

    source

    fn access_get(&mut self, access: Access<'_>, use_expr: bool)

    source

    fn access_set_top_of_stack_expr_fn( +
    source

    pub(crate) fn patch_jump_with_target(&mut self, label: Label, target: u32)

    source

    fn patch_jump(&mut self, label: Label)

    source

    fn access_get(&mut self, access: Access<'_>, use_expr: bool)

    source

    fn access_set_top_of_stack_expr_fn( compiler: &mut ByteCompiler<'_, '_>, level: u8 -)

    source

    fn access_set<F, R>(&mut self, access: Access<'_>, use_expr: bool, expr_fn: F)where - F: FnOnce(&mut ByteCompiler<'_, '_>, u8) -> R,

    source

    fn access_delete(&mut self, access: Access<'_>)

    source

    pub fn compile_statement_list( +)

    source

    fn access_set<F, R>(&mut self, access: Access<'_>, use_expr: bool, expr_fn: F)where + F: FnOnce(&mut ByteCompiler<'_, '_>, u8) -> R,

    source

    fn access_delete(&mut self, access: Access<'_>)

    source

    pub fn compile_statement_list( &mut self, list: &StatementList, use_expr: bool, block: bool )

    Compile a [StatementList].

    -
    source

    pub fn compile_expr(&mut self, expr: &Expression, use_expr: bool)

    Compile an [Expression].

    -
    source

    fn compile_access_preserve_this(&mut self, access: &PropertyAccess)

    Compile a property access expression, prepending this to the property value in the stack.

    +
    source

    pub fn compile_expr(&mut self, expr: &Expression, use_expr: bool)

    Compile an [Expression].

    +
    source

    fn compile_access_preserve_this(&mut self, access: &PropertyAccess)

    Compile a property access expression, prepending this to the property value in the stack.

    This compiles the access in a way that the state of the stack after executing the property access becomes ...rest, this, value. where ...rest is the rest of the stack, this is the this value of the access, and value is the final result of the access.

    @@ -283,7 +283,7 @@
    Panic
    with calls (a.b()), since both of them must have a be the value of this for the function call b(), but a regular compilation of the access would lose the this value after accessing b.

    -
    source

    fn compile_optional_preserve_this(&mut self, optional: &Optional)

    Compile an optional chain expression, prepending this to the property value in the stack.

    +
    source

    fn compile_optional_preserve_this(&mut self, optional: &Optional)

    Compile an optional chain expression, prepending this to the property value in the stack.

    This compiles the access in a way that the state of the stack after executing the optional chain becomes ...rest, this, value. where ...rest is the rest of the stack, this is the this value of the chain, and value is the result of the chain.

    @@ -292,7 +292,7 @@
    Panic
    would only return the result of the chain without preserving the this value. In other words, this would be set to undefined for that call, which is incorrect since a should be the this value of the call.

    -
    source

    fn compile_optional_item_kind(&mut self, kind: &OptionalOperationKind)

    Compile a single operation in an optional chain.

    +
    source

    fn compile_optional_item_kind(&mut self, kind: &OptionalOperationKind)

    Compile a single operation in an optional chain.

    On successful compilation, the state of the stack on execution will become ...rest, this, value, where this is the target of the property access (undefined on calls), and value is the result of executing the action. @@ -309,28 +309,28 @@

    Requirements
  • This assumes that the state of the stack before compiling is ...rest, this, value, since the operation compiled by this function could be a call.
  • -
    source

    fn compile_var_decl(&mut self, decl: &VarDeclaration)

    Compile a [VarDeclaration].

    -
    source

    fn compile_lexical_decl(&mut self, decl: &LexicalDeclaration)

    Compile a [LexicalDeclaration].

    -
    source

    fn compile_stmt_list_item( +

    source

    fn compile_var_decl(&mut self, decl: &VarDeclaration)

    Compile a [VarDeclaration].

    +
    source

    fn compile_lexical_decl(&mut self, decl: &LexicalDeclaration)

    Compile a [LexicalDeclaration].

    +
    source

    fn compile_stmt_list_item( &mut self, item: &StatementListItem, use_expr: bool, block: bool )

    Compile a [StatementListItem].

    -
    source

    pub fn compile_decl(&mut self, decl: &Declaration, block: bool)

    Compile a [Declaration].

    -
    source

    pub(crate) fn function(&mut self, function: FunctionSpec<'_>) -> u32

    Compiles a function AST Node into bytecode, and returns its index into +

    source

    pub fn compile_decl(&mut self, decl: &Declaration, block: bool)

    Compile a [Declaration].

    +
    source

    pub(crate) fn function(&mut self, function: FunctionSpec<'_>) -> u32

    Compiles a function AST Node into bytecode, and returns its index into the functions array.

    -
    source

    pub(crate) fn function_with_binding( +

    source

    pub(crate) fn function_with_binding( &mut self, function: FunctionSpec<'_>, node_kind: NodeKind, use_expr: bool )

    Compiles a function AST Node into bytecode, setting its corresponding binding or pushing it to the stack if necessary.

    -
    source

    pub(crate) fn object_method(&mut self, function: FunctionSpec<'_>)

    Compile an object method AST Node into bytecode.

    -
    source

    fn method(&mut self, function: FunctionSpec<'_>)

    Compile a class method AST Node into bytecode.

    -
    source

    fn call(&mut self, callable: Callable<'_>, use_expr: bool)

    source

    pub fn finish(self) -> CodeBlock

    Finish compiling code with the ByteCompiler and return the generated CodeBlock.

    -
    source

    fn compile_declaration_pattern(&mut self, pattern: &Pattern, def: BindingOpcode)

    source

    fn class(&mut self, class: &Class, expression: bool)

    Trait Implementations§

    source§

    impl<'ctx, 'host> Debug for ByteCompiler<'ctx, 'host>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<'ctx, 'host> !RefUnwindSafe for ByteCompiler<'ctx, 'host>

    §

    impl<'ctx, 'host> !Send for ByteCompiler<'ctx, 'host>

    §

    impl<'ctx, 'host> !Sync for ByteCompiler<'ctx, 'host>

    §

    impl<'ctx, 'host> Unpin for ByteCompiler<'ctx, 'host>

    §

    impl<'ctx, 'host> !UnwindSafe for ByteCompiler<'ctx, 'host>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +

    source

    pub(crate) fn object_method(&mut self, function: FunctionSpec<'_>)

    Compile an object method AST Node into bytecode.

    +
    source

    fn method(&mut self, function: FunctionSpec<'_>)

    Compile a class method AST Node into bytecode.

    +
    source

    fn call(&mut self, callable: Callable<'_>, use_expr: bool)

    source

    pub fn finish(self) -> CodeBlock

    Finish compiling code with the ByteCompiler and return the generated CodeBlock.

    +
    source

    fn compile_declaration_pattern(&mut self, pattern: &Pattern, def: BindingOpcode)

    source

    fn class(&mut self, class: &Class, expression: bool)

    Trait Implementations§

    source§

    impl<'ctx, 'host> Debug for ByteCompiler<'ctx, 'host>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<'ctx, 'host> !RefUnwindSafe for ByteCompiler<'ctx, 'host>

    §

    impl<'ctx, 'host> !Send for ByteCompiler<'ctx, 'host>

    §

    impl<'ctx, 'host> !Sync for ByteCompiler<'ctx, 'host>

    §

    impl<'ctx, 'host> Unpin for ByteCompiler<'ctx, 'host>

    §

    impl<'ctx, 'host> !UnwindSafe for ByteCompiler<'ctx, 'host>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Conv for T

    §

    fn conv<T>(self) -> Twhere diff --git a/doc/boa_engine/error/struct.JsError.html b/doc/boa_engine/error/struct.JsError.html index b1a7986ef45..e1d096b5b07 100644 --- a/doc/boa_engine/error/struct.JsError.html +++ b/doc/boa_engine/error/struct.JsError.html @@ -128,7 +128,7 @@
    Examples

    This is a no-op if the error is not native or if the realm field of the error is already set.

    source

    pub(crate) fn is_catchable(&self) -> bool

    Is the JsError catchable in JavaScript.

    -

    Trait Implementations§

    source§

    impl Clone for JsError

    source§

    fn clone(&self) -> JsError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for JsError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for JsError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl Finalize for JsError

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<Error> for JsError

    source§

    fn from(err: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsNativeError> for JsError

    source§

    fn from(error: JsNativeError) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<JsError> for JsError

    source§

    fn eq(&self, other: &JsError) -> bool

    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    source§

    impl Clone for JsError

    source§

    fn clone(&self) -> JsError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for JsError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for JsError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl Finalize for JsError

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<Error> for JsError

    source§

    fn from(err: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsNativeError> for JsError

    source§

    fn from(error: JsNativeError) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<JsError> for JsError

    source§

    fn eq(&self, other: &JsError) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Trace for JsError

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs [Finalize::finalize] on this object and all contained subobjects.
    source§

    impl Eq for JsError

    source§

    impl StructuralEq for JsError

    source§

    impl StructuralPartialEq for JsError

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for JsError

    §

    impl !Send for JsError

    §

    impl !Sync for JsError

    §

    impl Unpin for JsError

    §

    impl !UnwindSafe for JsError

    Blanket Implementations§

    source§

    impl<T> Any for Twhere diff --git a/doc/boa_engine/error/struct.JsNativeError.html b/doc/boa_engine/error/struct.JsNativeError.html index 7ec82f56edb..2821f5e75ba 100644 --- a/doc/boa_engine/error/struct.JsNativeError.html +++ b/doc/boa_engine/error/struct.JsNativeError.html @@ -129,7 +129,7 @@
    Panics

    If converting a JsNativeErrorKind::RuntimeLimit to an opaque object.

    source

    pub(crate) fn with_realm(self, realm: Realm) -> Self

    Sets the realm of this error.

    source

    pub(crate) fn is_catchable(&self) -> bool

    Is the JsNativeError catchable in JavaScript.

    -

    Trait Implementations§

    source§

    impl Clone for JsNativeError

    source§

    fn clone(&self) -> JsNativeError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsNativeError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for JsNativeError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for JsNativeError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl Finalize for JsNativeError

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<Error> for JsNativeError

    source§

    fn from(err: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsNativeError> for JsError

    source§

    fn from(error: JsNativeError) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<JsNativeError> for JsNativeError

    source§

    fn eq(&self, other: &JsNativeError) -> bool

    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    source§

    impl Clone for JsNativeError

    source§

    fn clone(&self) -> JsNativeError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsNativeError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for JsNativeError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for JsNativeError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl Finalize for JsNativeError

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<Error> for JsNativeError

    source§

    fn from(err: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsNativeError> for JsError

    source§

    fn from(error: JsNativeError) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<JsNativeError> for JsNativeError

    source§

    fn eq(&self, other: &JsNativeError) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Trace for JsNativeError

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs [Finalize::finalize] on this object and all contained subobjects.
    source§

    impl Eq for JsNativeError

    source§

    impl StructuralEq for JsNativeError

    source§

    impl StructuralPartialEq for JsNativeError

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for JsNativeError

    §

    impl !Send for JsNativeError

    §

    impl !Sync for JsNativeError

    §

    impl Unpin for JsNativeError

    §

    impl !UnwindSafe for JsNativeError

    Blanket Implementations§

    source§

    impl<T> Any for Twhere diff --git a/doc/boa_engine/prelude/struct.Source.html b/doc/boa_engine/prelude/struct.Source.html index 91f5063825e..36376849a5d 100644 --- a/doc/boa_engine/prelude/struct.Source.html +++ b/doc/boa_engine/prelude/struct.Source.html @@ -1,17 +1,17 @@ -Source in boa_engine::prelude - Rust

    Struct boa_engine::prelude::Source

    source ·
    pub struct Source<'path, R> {
    +Source in boa_engine::prelude - Rust

    Struct boa_engine::prelude::Source

    pub struct Source<'path, R> {
         pub(crate) reader: R,
         pub(crate) path: Option<&'path Path>,
     }
    Expand description

    A source of ECMAScript code.

    Sources can be created from plain strs, file Paths or more generally, any Read instance.

    -

    Fields§

    §reader: R§path: Option<&'path Path>

    Implementations§

    source§

    impl<'bytes> Source<'static, &'bytes [u8]>

    source

    pub fn from_bytes<T>(source: &'bytes T) -> Source<'static, &'bytes [u8]>where +

    Fields§

    §reader: R§path: Option<&'path Path>

    Implementations§

    §

    impl<'bytes> Source<'static, &'bytes [u8]>

    pub fn from_bytes<T>(source: &'bytes T) -> Source<'static, &'bytes [u8]>where T: AsRef<[u8]> + ?Sized,

    Creates a new Source from any type equivalent to a slice of bytes e.g. &str, Vec<u8>, Box<[u8]> or a plain slice &[u8].

    Examples
    let code = r#"var array = [5, 4, 3, 2, 1];"#;
     let source = Source::from_bytes(code);
    -
    source§

    impl<'path> Source<'path, BufReader<File>>

    §

    impl<'path> Source<'path, BufReader<File>>

    pub fn from_filepath( source: &'path Path ) -> Result<Source<'path, BufReader<File>>, Error>

    Creates a new Source from a Path to a file.

    Errors
    @@ -19,8 +19,8 @@
    Errors
    Examples
    let path = Path::new("script.js");
     let source = Source::from_filepath(path)?;
    -
    source§

    impl<'path, R> Source<'path, R>where - R: Read,

    source

    pub const fn from_reader( +

    §

    impl<'path, R> Source<'path, R>where + R: Read,

    pub const fn from_reader( reader: R, path: Option<&'path Path> ) -> Source<'path, R>

    Creates a new Source from a Read instance and an optional Path.

    @@ -32,8 +32,8 @@
    Examples
    let strict = strictler.as_bytes().chain(file); let source = Source::from_reader(strict, Some(path));
    -

    Trait Implementations§

    source§

    impl<'path, R> Debug for Source<'path, R>where - R: Debug,

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<'path, R> RefUnwindSafe for Source<'path, R>where +

    Trait Implementations§

    §

    impl<'path, R> Debug for Source<'path, R>where + R: Debug,

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<'path, R> RefUnwindSafe for Source<'path, R>where R: RefUnwindSafe,

    §

    impl<'path, R> Send for Source<'path, R>where R: Send,

    §

    impl<'path, R> Sync for Source<'path, R>where R: Sync,

    §

    impl<'path, R> Unpin for Source<'path, R>where diff --git a/doc/boa_engine/string/macro.utf16.html b/doc/boa_engine/string/macro.utf16.html index 8c6c42a8bc1..6bade2fcd41 100644 --- a/doc/boa_engine/string/macro.utf16.html +++ b/doc/boa_engine/string/macro.utf16.html @@ -1,2 +1,2 @@ -utf16 in boa_engine::string - Rust

    Macro boa_engine::string::utf16

    source ·
    utf16!() { /* proc-macro */ }
    Expand description

    Construct a utf-16 array literal from a utf-8 str literal.

    +utf16 in boa_engine::string - Rust

    Macro boa_engine::string::utf16

    utf16!() { /* proc-macro */ }
    Expand description

    Construct a utf-16 array literal from a utf-8 str literal.

    \ No newline at end of file diff --git a/doc/boa_engine/struct.JsError.html b/doc/boa_engine/struct.JsError.html index acfdd4335cb..2fd1a0c8850 100644 --- a/doc/boa_engine/struct.JsError.html +++ b/doc/boa_engine/struct.JsError.html @@ -128,7 +128,7 @@
    Examples

    This is a no-op if the error is not native or if the realm field of the error is already set.

    source

    pub(crate) fn is_catchable(&self) -> bool

    Is the JsError catchable in JavaScript.

    -

    Trait Implementations§

    source§

    impl Clone for JsError

    source§

    fn clone(&self) -> JsError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for JsError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for JsError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl Finalize for JsError

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<Error> for JsError

    source§

    fn from(err: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsNativeError> for JsError

    source§

    fn from(error: JsNativeError) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<JsError> for JsError

    source§

    fn eq(&self, other: &JsError) -> bool

    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    source§

    impl Clone for JsError

    source§

    fn clone(&self) -> JsError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for JsError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for JsError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl Finalize for JsError

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<Error> for JsError

    source§

    fn from(err: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsNativeError> for JsError

    source§

    fn from(error: JsNativeError) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<JsError> for JsError

    source§

    fn eq(&self, other: &JsError) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Trace for JsError

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs [Finalize::finalize] on this object and all contained subobjects.
    source§

    impl Eq for JsError

    source§

    impl StructuralEq for JsError

    source§

    impl StructuralPartialEq for JsError

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for JsError

    §

    impl !Send for JsError

    §

    impl !Sync for JsError

    §

    impl Unpin for JsError

    §

    impl !UnwindSafe for JsError

    Blanket Implementations§

    source§

    impl<T> Any for Twhere diff --git a/doc/boa_engine/struct.JsNativeError.html b/doc/boa_engine/struct.JsNativeError.html index 7b44101e5fd..e54201d759e 100644 --- a/doc/boa_engine/struct.JsNativeError.html +++ b/doc/boa_engine/struct.JsNativeError.html @@ -129,7 +129,7 @@
    Panics

    If converting a JsNativeErrorKind::RuntimeLimit to an opaque object.

    source

    pub(crate) fn with_realm(self, realm: Realm) -> Self

    Sets the realm of this error.

    source

    pub(crate) fn is_catchable(&self) -> bool

    Is the JsNativeError catchable in JavaScript.

    -

    Trait Implementations§

    source§

    impl Clone for JsNativeError

    source§

    fn clone(&self) -> JsNativeError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsNativeError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for JsNativeError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for JsNativeError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl Finalize for JsNativeError

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<Error> for JsNativeError

    source§

    fn from(err: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsNativeError> for JsError

    source§

    fn from(error: JsNativeError) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<JsNativeError> for JsNativeError

    source§

    fn eq(&self, other: &JsNativeError) -> bool

    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    source§

    impl Clone for JsNativeError

    source§

    fn clone(&self) -> JsNativeError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsNativeError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for JsNativeError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for JsNativeError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl Finalize for JsNativeError

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<Error> for JsNativeError

    source§

    fn from(err: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsNativeError> for JsError

    source§

    fn from(error: JsNativeError) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<JsNativeError> for JsNativeError

    source§

    fn eq(&self, other: &JsNativeError) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Trace for JsNativeError

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs [Finalize::finalize] on this object and all contained subobjects.
    source§

    impl Eq for JsNativeError

    source§

    impl StructuralEq for JsNativeError

    source§

    impl StructuralPartialEq for JsNativeError

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for JsNativeError

    §

    impl !Send for JsNativeError

    §

    impl !Sync for JsNativeError

    §

    impl Unpin for JsNativeError

    §

    impl !UnwindSafe for JsNativeError

    Blanket Implementations§

    source§

    impl<T> Any for Twhere diff --git a/doc/boa_engine/struct.Source.html b/doc/boa_engine/struct.Source.html index cc66ee5fa8c..71491648bc4 100644 --- a/doc/boa_engine/struct.Source.html +++ b/doc/boa_engine/struct.Source.html @@ -1,17 +1,17 @@ -Source in boa_engine - Rust

    Struct boa_engine::Source

    source ·
    pub struct Source<'path, R> {
    +Source in boa_engine - Rust

    Struct boa_engine::Source

    pub struct Source<'path, R> {
         pub(crate) reader: R,
         pub(crate) path: Option<&'path Path>,
     }
    Expand description

    A source of ECMAScript code.

    Sources can be created from plain strs, file Paths or more generally, any Read instance.

    -

    Fields§

    §reader: R§path: Option<&'path Path>

    Implementations§

    source§

    impl<'bytes> Source<'static, &'bytes [u8]>

    source

    pub fn from_bytes<T>(source: &'bytes T) -> Source<'static, &'bytes [u8]>where +

    Fields§

    §reader: R§path: Option<&'path Path>

    Implementations§

    §

    impl<'bytes> Source<'static, &'bytes [u8]>

    pub fn from_bytes<T>(source: &'bytes T) -> Source<'static, &'bytes [u8]>where T: AsRef<[u8]> + ?Sized,

    Creates a new Source from any type equivalent to a slice of bytes e.g. &str, Vec<u8>, Box<[u8]> or a plain slice &[u8].

    Examples
    let code = r#"var array = [5, 4, 3, 2, 1];"#;
     let source = Source::from_bytes(code);
    -
    source§

    impl<'path> Source<'path, BufReader<File>>

    §

    impl<'path> Source<'path, BufReader<File>>

    pub fn from_filepath( source: &'path Path ) -> Result<Source<'path, BufReader<File>>, Error>

    Creates a new Source from a Path to a file.

    Errors
    @@ -19,8 +19,8 @@
    Errors
    Examples
    let path = Path::new("script.js");
     let source = Source::from_filepath(path)?;
    -
    source§

    impl<'path, R> Source<'path, R>where - R: Read,

    source

    pub const fn from_reader( +

    §

    impl<'path, R> Source<'path, R>where + R: Read,

    pub const fn from_reader( reader: R, path: Option<&'path Path> ) -> Source<'path, R>

    Creates a new Source from a Read instance and an optional Path.

    @@ -32,8 +32,8 @@
    Examples
    let strict = strictler.as_bytes().chain(file); let source = Source::from_reader(strict, Some(path));
    -

    Trait Implementations§

    source§

    impl<'path, R> Debug for Source<'path, R>where - R: Debug,

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<'path, R> RefUnwindSafe for Source<'path, R>where +

    Trait Implementations§

    §

    impl<'path, R> Debug for Source<'path, R>where + R: Debug,

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<'path, R> RefUnwindSafe for Source<'path, R>where R: RefUnwindSafe,

    §

    impl<'path, R> Send for Source<'path, R>where R: Send,

    §

    impl<'path, R> Sync for Source<'path, R>where R: Sync,

    §

    impl<'path, R> Unpin for Source<'path, R>where diff --git a/doc/boa_engine/value/derive.TryFromJs.html b/doc/boa_engine/value/derive.TryFromJs.html index c42504ede81..998804e2a3b 100644 --- a/doc/boa_engine/value/derive.TryFromJs.html +++ b/doc/boa_engine/value/derive.TryFromJs.html @@ -1,4 +1,4 @@ -TryFromJs in boa_engine::value - Rust

    Derive Macro boa_engine::value::TryFromJs

    source ·
    #[derive(TryFromJs)]
    +TryFromJs in boa_engine::value - Rust

    Derive Macro boa_engine::value::TryFromJs

    #[derive(TryFromJs)]
     {
         // Attributes available to this derive:
         #[boa]
    diff --git a/doc/boa_engine/vm/opcode/define/index.html b/doc/boa_engine/vm/opcode/define/index.html
    index 90979060161..3840c2b8d69 100644
    --- a/doc/boa_engine/vm/opcode/define/index.html
    +++ b/doc/boa_engine/vm/opcode/define/index.html
    @@ -1 +1 @@
    -boa_engine::vm::opcode::define - Rust

    Module boa_engine::vm::opcode::define

    source ·

    Modules

    Structs

    • CreateGlobalFunctionBinding implements the Opcode Operation for Opcode::CreateGlobalFunctionBinding
    • DefInitVar 🔒
      DefInitVar implements the Opcode Operation for Opcode::DefInitVar
    • DefVar 🔒
      DefVar implements the Opcode Operation for Opcode::DefVar
    • PutLexicalValue implements the Opcode Operation for Opcode::PutLexicalValue
    \ No newline at end of file +boa_engine::vm::opcode::define - Rust

    Module boa_engine::vm::opcode::define

    source ·

    Modules

    Structs

    • CreateGlobalFunctionBinding implements the Opcode Operation for Opcode::CreateGlobalFunctionBinding
    • DefInitVar 🔒
      DefInitVar implements the Opcode Operation for Opcode::DefInitVar
    • DefVar 🔒
      DefVar implements the Opcode Operation for Opcode::DefVar
    • PutLexicalValue implements the Opcode Operation for Opcode::PutLexicalValue
    \ No newline at end of file diff --git a/doc/boa_engine/vm/opcode/define/struct.CreateGlobalFunctionBinding.html b/doc/boa_engine/vm/opcode/define/struct.CreateGlobalFunctionBinding.html index f245206bf80..5741ebf6e47 100644 --- a/doc/boa_engine/vm/opcode/define/struct.CreateGlobalFunctionBinding.html +++ b/doc/boa_engine/vm/opcode/define/struct.CreateGlobalFunctionBinding.html @@ -1,20 +1,20 @@ -CreateGlobalFunctionBinding in boa_engine::vm::opcode::define - Rust
    pub(crate) struct CreateGlobalFunctionBinding;
    Expand description

    CreateGlobalFunctionBinding implements the Opcode Operation for Opcode::CreateGlobalFunctionBinding

    +CreateGlobalFunctionBinding in boa_engine::vm::opcode::define - Rust
    pub(crate) struct CreateGlobalFunctionBinding;
    Expand description

    CreateGlobalFunctionBinding implements the Opcode Operation for Opcode::CreateGlobalFunctionBinding

    Operation:

    -

    Implementations§

    source§

    impl CreateGlobalFunctionBinding

    Implementations§

    source§

    impl CreateGlobalFunctionBinding

    source

    fn operation( context: &mut Context<'_>, index: usize, configurable: bool -) -> JsResult<CompletionType>

    Trait Implementations§

    source§

    impl Clone for CreateGlobalFunctionBinding

    source§

    fn clone(&self) -> CreateGlobalFunctionBinding

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CreateGlobalFunctionBinding

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Operation for CreateGlobalFunctionBinding

    source§

    const NAME: &'static str = "CreateGlobalFunctionBinding"

    source§

    const INSTRUCTION: &'static str = "INST - CreateGlobalFunctionBinding"

    source§

    const COST: u8 = 2u8

    source§

    fn execute(context: &mut Context<'_>) -> JsResult<CompletionType>

    Execute opcode with VaryingOperandKind::U8 sized VaryingOperands.
    source§

    fn execute_with_u16_operands( +) -> JsResult<CompletionType>

    Trait Implementations§

    source§

    impl Clone for CreateGlobalFunctionBinding

    source§

    fn clone(&self) -> CreateGlobalFunctionBinding

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CreateGlobalFunctionBinding

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Operation for CreateGlobalFunctionBinding

    source§

    const NAME: &'static str = "CreateGlobalFunctionBinding"

    source§

    const INSTRUCTION: &'static str = "INST - CreateGlobalFunctionBinding"

    source§

    const COST: u8 = 2u8

    source§

    fn execute(context: &mut Context<'_>) -> JsResult<CompletionType>

    Execute opcode with VaryingOperandKind::U8 sized VaryingOperands.
    source§

    fn execute_with_u16_operands( context: &mut Context<'_> -) -> JsResult<CompletionType>

    source§

    fn execute_with_u32_operands( +) -> JsResult<CompletionType>

    source§

    fn execute_with_u32_operands( context: &mut Context<'_> ) -> JsResult<CompletionType>

    source§

    fn spend_budget_and_execute( context: &mut Context<'_>, budget: &mut u32 -) -> JsResult<CompletionType>

    Spends the cost of this operation into budget and runs execute.
    source§

    impl Copy for CreateGlobalFunctionBinding

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +) -> JsResult<CompletionType>

    Spends the cost of this operation into budget and runs execute.
    source§

    impl Copy for CreateGlobalFunctionBinding

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Conv for T

    §

    fn conv<T>(self) -> Twhere diff --git a/doc/boa_engine/vm/opcode/define/struct.DefInitVar.html b/doc/boa_engine/vm/opcode/define/struct.DefInitVar.html index 0ed0f9f387e..25582b73dcd 100644 --- a/doc/boa_engine/vm/opcode/define/struct.DefInitVar.html +++ b/doc/boa_engine/vm/opcode/define/struct.DefInitVar.html @@ -1,19 +1,19 @@ -DefInitVar in boa_engine::vm::opcode::define - Rust
    pub(crate) struct DefInitVar;
    Expand description

    DefInitVar implements the Opcode Operation for Opcode::DefInitVar

    +DefInitVar in boa_engine::vm::opcode::define - Rust
    pub(crate) struct DefInitVar;
    Expand description

    DefInitVar implements the Opcode Operation for Opcode::DefInitVar

    Operation:

    • Declare and initialize a function argument.
    -

    Implementations§

    source§

    impl DefInitVar

    Implementations§

    source§

    impl DefInitVar

    source

    fn operation( context: &mut Context<'_>, index: usize -) -> JsResult<CompletionType>

    Trait Implementations§

    source§

    impl Clone for DefInitVar

    source§

    fn clone(&self) -> DefInitVar

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DefInitVar

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Operation for DefInitVar

    source§

    const NAME: &'static str = "DefInitVar"

    source§

    const INSTRUCTION: &'static str = "INST - DefInitVar"

    source§

    const COST: u8 = 3u8

    source§

    fn execute(context: &mut Context<'_>) -> JsResult<CompletionType>

    Execute opcode with VaryingOperandKind::U8 sized VaryingOperands.
    source§

    fn execute_with_u16_operands( +) -> JsResult<CompletionType>

    Trait Implementations§

    source§

    impl Clone for DefInitVar

    source§

    fn clone(&self) -> DefInitVar

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DefInitVar

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Operation for DefInitVar

    source§

    const NAME: &'static str = "DefInitVar"

    source§

    const INSTRUCTION: &'static str = "INST - DefInitVar"

    source§

    const COST: u8 = 3u8

    source§

    fn execute(context: &mut Context<'_>) -> JsResult<CompletionType>

    Execute opcode with VaryingOperandKind::U8 sized VaryingOperands.
    source§

    fn execute_with_u16_operands( context: &mut Context<'_> -) -> JsResult<CompletionType>

    source§

    fn execute_with_u32_operands( +) -> JsResult<CompletionType>

    source§

    fn execute_with_u32_operands( context: &mut Context<'_> ) -> JsResult<CompletionType>

    source§

    fn spend_budget_and_execute( context: &mut Context<'_>, budget: &mut u32 -) -> JsResult<CompletionType>

    Spends the cost of this operation into budget and runs execute.
    source§

    impl Copy for DefInitVar

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +) -> JsResult<CompletionType>

    Spends the cost of this operation into budget and runs execute.
    source§

    impl Copy for DefInitVar

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Conv for T

    §

    fn conv<T>(self) -> Twhere diff --git a/doc/boa_engine/vm/opcode/define/struct.DefVar.html b/doc/boa_engine/vm/opcode/define/struct.DefVar.html index d4768ccaeca..eaa049fc22a 100644 --- a/doc/boa_engine/vm/opcode/define/struct.DefVar.html +++ b/doc/boa_engine/vm/opcode/define/struct.DefVar.html @@ -3,12 +3,12 @@
    • Declare var type variable.
    -

    Implementations§

    source§

    impl DefVar

    Implementations§

    source§

    impl DefVar

    source

    fn operation( context: &mut Context<'_>, index: usize -) -> JsResult<CompletionType>

    Trait Implementations§

    source§

    impl Clone for DefVar

    source§

    fn clone(&self) -> DefVar

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DefVar

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Operation for DefVar

    source§

    const NAME: &'static str = "DefVar"

    source§

    const INSTRUCTION: &'static str = "INST - DefVar"

    source§

    const COST: u8 = 3u8

    source§

    fn execute(context: &mut Context<'_>) -> JsResult<CompletionType>

    Execute opcode with VaryingOperandKind::U8 sized VaryingOperands.
    source§

    fn execute_with_u16_operands( +) -> JsResult<CompletionType>

    Trait Implementations§

    source§

    impl Clone for DefVar

    source§

    fn clone(&self) -> DefVar

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DefVar

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Operation for DefVar

    source§

    const NAME: &'static str = "DefVar"

    source§

    const INSTRUCTION: &'static str = "INST - DefVar"

    source§

    const COST: u8 = 3u8

    source§

    fn execute(context: &mut Context<'_>) -> JsResult<CompletionType>

    Execute opcode with VaryingOperandKind::U8 sized VaryingOperands.
    source§

    fn execute_with_u16_operands( context: &mut Context<'_> -) -> JsResult<CompletionType>

    source§

    fn execute_with_u32_operands( +) -> JsResult<CompletionType>

    source§

    fn execute_with_u32_operands( context: &mut Context<'_> ) -> JsResult<CompletionType>

    source§

    fn spend_budget_and_execute( context: &mut Context<'_>, diff --git a/doc/boa_engine/vm/opcode/define/struct.PutLexicalValue.html b/doc/boa_engine/vm/opcode/define/struct.PutLexicalValue.html index d26de2226f2..c7b5e2b77e1 100644 --- a/doc/boa_engine/vm/opcode/define/struct.PutLexicalValue.html +++ b/doc/boa_engine/vm/opcode/define/struct.PutLexicalValue.html @@ -1,19 +1,19 @@ -PutLexicalValue in boa_engine::vm::opcode::define - Rust
    pub(crate) struct PutLexicalValue;
    Expand description

    PutLexicalValue implements the Opcode Operation for Opcode::PutLexicalValue

    +PutLexicalValue in boa_engine::vm::opcode::define - Rust
    pub(crate) struct PutLexicalValue;
    Expand description

    PutLexicalValue implements the Opcode Operation for Opcode::PutLexicalValue

    Operation:

    • Initialize a lexical binding.
    -

    Implementations§

    source§

    impl PutLexicalValue

    Implementations§

    Trait Implementations§

    source§

    impl Clone for PutLexicalValue

    source§

    fn clone(&self) -> PutLexicalValue

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PutLexicalValue

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Operation for PutLexicalValue

    source§

    const NAME: &'static str = "PutLexicalValue"

    source§

    const INSTRUCTION: &'static str = "INST - PutLexicalValue"

    source§

    const COST: u8 = 3u8

    source§

    fn execute(context: &mut Context<'_>) -> JsResult<CompletionType>

    Execute opcode with VaryingOperandKind::U8 sized VaryingOperands.
    source§

    fn execute_with_u16_operands( +) -> JsResult<CompletionType>

    Trait Implementations§

    source§

    impl Clone for PutLexicalValue

    source§

    fn clone(&self) -> PutLexicalValue

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PutLexicalValue

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Operation for PutLexicalValue

    source§

    const NAME: &'static str = "PutLexicalValue"

    source§

    const INSTRUCTION: &'static str = "INST - PutLexicalValue"

    source§

    const COST: u8 = 3u8

    source§

    fn execute(context: &mut Context<'_>) -> JsResult<CompletionType>

    Execute opcode with VaryingOperandKind::U8 sized VaryingOperands.
    source§

    fn execute_with_u16_operands( context: &mut Context<'_> -) -> JsResult<CompletionType>

    source§

    fn execute_with_u32_operands( +) -> JsResult<CompletionType>

    source§

    fn execute_with_u32_operands( context: &mut Context<'_> ) -> JsResult<CompletionType>

    source§

    fn spend_budget_and_execute( context: &mut Context<'_>, budget: &mut u32 -) -> JsResult<CompletionType>

    Spends the cost of this operation into budget and runs execute.
    source§

    impl Copy for PutLexicalValue

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +) -> JsResult<CompletionType>

    Spends the cost of this operation into budget and runs execute.
    source§

    impl Copy for PutLexicalValue

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Conv for T

    §

    fn conv<T>(self) -> Twhere diff --git a/doc/boa_engine/vm/opcode/trait.Operation.html b/doc/boa_engine/vm/opcode/trait.Operation.html index f645e1ab992..3f42801f441 100644 --- a/doc/boa_engine/vm/opcode/trait.Operation.html +++ b/doc/boa_engine/vm/opcode/trait.Operation.html @@ -34,4 +34,4 @@ context: &mut Context<'_>, budget: &mut u32 ) -> JsResult<CompletionType>

    Spends the cost of this operation into budget and runs execute.

    -

    Implementors§

    source§

    impl Operation for CreateMappedArgumentsObject

    source§

    const NAME: &'static str = "CreateMappedArgumentsObject"

    source§

    const INSTRUCTION: &'static str = "INST - CreateMappedArgumentsObject"

    source§

    const COST: u8 = 8u8

    source§

    impl Operation for CreateUnmappedArgumentsObject

    source§

    const NAME: &'static str = "CreateUnmappedArgumentsObject"

    source§

    const INSTRUCTION: &'static str = "INST - CreateUnmappedArgumentsObject"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for Await

    source§

    const NAME: &'static str = "Await"

    source§

    const INSTRUCTION: &'static str = "INST - Await"

    source§

    const COST: u8 = 5u8

    source§

    impl Operation for CompletePromiseCapability

    source§

    const NAME: &'static str = "CompletePromiseCapability"

    source§

    const INSTRUCTION: &'static str = "INST - CompletePromiseCapability"

    source§

    const COST: u8 = 8u8

    source§

    impl Operation for CreatePromiseCapability

    source§

    const NAME: &'static str = "CreatePromiseCapability"

    source§

    const INSTRUCTION: &'static str = "INST - CreatePromiseCapability"

    source§

    const COST: u8 = 8u8

    source§

    impl Operation for Coalesce

    source§

    const NAME: &'static str = "Coalesce"

    source§

    const INSTRUCTION: &'static str = "INST - Coalesce"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for LogicalAnd

    source§

    const NAME: &'static str = "LogicalAnd"

    source§

    const INSTRUCTION: &'static str = "INST - LogicalAnd"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for LogicalOr

    source§

    const NAME: &'static str = "LogicalOr"

    source§

    const INSTRUCTION: &'static str = "INST - LogicalOr"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for Add

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for BitAnd

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for BitOr

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for BitXor

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for Div

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for Eq

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for GreaterThan

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for GreaterThanOrEq

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for LessThan

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for LessThanOrEq

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for Mod

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for Mul

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for Pow

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for ShiftLeft

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for ShiftRight

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for Sub

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for UnsignedShiftRight

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for In

    source§

    const NAME: &'static str = "In"

    source§

    const INSTRUCTION: &'static str = "INST - In"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for InPrivate

    source§

    const NAME: &'static str = "InPrivate"

    source§

    const INSTRUCTION: &'static str = "INST - InPrivate"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for InstanceOf

    source§

    const NAME: &'static str = "InstanceOf"

    source§

    const INSTRUCTION: &'static str = "INST - InstanceOf"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for NotEq

    source§

    const NAME: &'static str = "NotEq"

    source§

    const INSTRUCTION: &'static str = "INST - NotEq"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for StrictEq

    source§

    const NAME: &'static str = "StrictEq"

    source§

    const INSTRUCTION: &'static str = "INST - StrictEq"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for StrictNotEq

    source§

    const NAME: &'static str = "StrictNotEq"

    source§

    const INSTRUCTION: &'static str = "INST - StrictNotEq"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for Call

    source§

    const NAME: &'static str = "Call"

    source§

    const INSTRUCTION: &'static str = "INST - Call"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for CallEval

    source§

    const NAME: &'static str = "CallEval"

    source§

    const INSTRUCTION: &'static str = "INST - CallEval"

    source§

    const COST: u8 = 5u8

    source§

    impl Operation for CallEvalSpread

    source§

    const NAME: &'static str = "CallEvalSpread"

    source§

    const INSTRUCTION: &'static str = "INST - CallEvalSpread"

    source§

    const COST: u8 = 5u8

    source§

    impl Operation for CallSpread

    source§

    const NAME: &'static str = "CallSpread"

    source§

    const INSTRUCTION: &'static str = "INST - CallSpread"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for ImportCall

    source§

    const NAME: &'static str = "ImportCall"

    source§

    const INSTRUCTION: &'static str = "INST - ImportCall"

    source§

    const COST: u8 = 15u8

    source§

    impl Operation for ConcatToString

    source§

    const NAME: &'static str = "ConcatToString"

    source§

    const INSTRUCTION: &'static str = "INST - ConcatToString"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for Jump

    source§

    const NAME: &'static str = "Jump"

    source§

    const INSTRUCTION: &'static str = "INST - Jump"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for JumpIfFalse

    source§

    const NAME: &'static str = "JumpIfFalse"

    source§

    const INSTRUCTION: &'static str = "INST - JumpIfFalse"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for JumpIfNotUndefined

    source§

    const NAME: &'static str = "JumpIfNotUndefined"

    source§

    const INSTRUCTION: &'static str = "INST - JumpIfNotUndefined"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for JumpIfNullOrUndefined

    source§

    const NAME: &'static str = "JumpIfNullOrUndefined"

    source§

    const INSTRUCTION: &'static str = "INST - JumpIfNullOrUndefined"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for JumpIfTrue

    source§

    const NAME: &'static str = "JumpIfTrue"

    source§

    const INSTRUCTION: &'static str = "INST - JumpIfTrue"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for JumpTable

    source§

    const NAME: &'static str = "JumpTable"

    source§

    const INSTRUCTION: &'static str = "INST - JumpTable"

    source§

    const COST: u8 = 5u8

    source§

    impl Operation for CheckReturn

    source§

    const NAME: &'static str = "CheckReturn"

    source§

    const INSTRUCTION: &'static str = "INST - CheckReturn"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for GetReturnValue

    source§

    const NAME: &'static str = "GetReturnValue"

    source§

    const INSTRUCTION: &'static str = "INST - GetReturnValue"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for Return

    source§

    const NAME: &'static str = "Return"

    source§

    const INSTRUCTION: &'static str = "INST - Return"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetReturnValue

    source§

    const NAME: &'static str = "SetReturnValue"

    source§

    const INSTRUCTION: &'static str = "INST - SetReturnValue"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for Exception

    source§

    const NAME: &'static str = "Exception"

    source§

    const INSTRUCTION: &'static str = "INST - Exception"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for MaybeException

    source§

    const NAME: &'static str = "MaybeException"

    source§

    const INSTRUCTION: &'static str = "INST - MaybeException"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for ReThrow

    source§

    const NAME: &'static str = "ReThrow"

    source§

    const INSTRUCTION: &'static str = "INST - ReThrow"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for Throw

    source§

    const NAME: &'static str = "Throw"

    source§

    const INSTRUCTION: &'static str = "INST - Throw"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for ThrowNewTypeError

    source§

    const NAME: &'static str = "ThrowNewTypeError"

    source§

    const INSTRUCTION: &'static str = "INST - ThrowNewTypeError"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for CopyDataProperties

    source§

    const NAME: &'static str = "CopyDataProperties"

    source§

    const INSTRUCTION: &'static str = "INST - CopyDataProperties"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for DefineClassGetterByName

    source§

    const NAME: &'static str = "DefineClassGetterByName"

    source§

    const INSTRUCTION: &'static str = "INST - DefineClassGetterByName"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for DefineClassGetterByValue

    source§

    const NAME: &'static str = "DefineClassGetterByValue"

    source§

    const INSTRUCTION: &'static str = "INST - DefineClassGetterByValue"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for DefineClassStaticGetterByName

    source§

    const NAME: &'static str = "DefineClassStaticGetterByName"

    source§

    const INSTRUCTION: &'static str = "INST - DefineClassStaticGetterByName"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for DefineClassStaticGetterByValue

    source§

    const NAME: &'static str = "DefineClassStaticGetterByValue"

    source§

    const INSTRUCTION: &'static str = "INST - DefineClassStaticGetterByValue"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for DefineClassMethodByName

    source§

    const NAME: &'static str = "DefineClassMethodByName"

    source§

    const INSTRUCTION: &'static str = "INST - DefineClassMethodByName"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for DefineClassMethodByValue

    source§

    const NAME: &'static str = "DefineClassMethodByValue"

    source§

    const INSTRUCTION: &'static str = "INST - DefineClassMethodByValue"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for DefineClassStaticMethodByName

    source§

    const NAME: &'static str = "DefineClassStaticMethodByName"

    source§

    const INSTRUCTION: &'static str = "INST - DefineClassStaticMethodByName"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for DefineClassStaticMethodByValue

    source§

    const NAME: &'static str = "DefineClassStaticMethodByValue"

    source§

    const INSTRUCTION: &'static str = "INST - DefineClassStaticMethodByValue"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for DefineClassSetterByName

    source§

    const NAME: &'static str = "DefineClassSetterByName"

    source§

    const INSTRUCTION: &'static str = "INST - DefineClassSetterByName"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for DefineClassSetterByValue

    source§

    const NAME: &'static str = "DefineClassSetterByValue"

    source§

    const INSTRUCTION: &'static str = "INST - DefineClassSetterByValue"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for DefineClassStaticSetterByName

    source§

    const NAME: &'static str = "DefineClassStaticSetterByName"

    source§

    const INSTRUCTION: &'static str = "INST - DefineClassStaticSetterByName"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for DefineClassStaticSetterByValue

    source§

    const NAME: &'static str = "DefineClassStaticSetterByValue"

    source§

    const INSTRUCTION: &'static str = "INST - DefineClassStaticSetterByValue"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for DefineOwnPropertyByName

    source§

    const NAME: &'static str = "DefineOwnPropertyByName"

    source§

    const INSTRUCTION: &'static str = "INST - DefineOwnPropertyByName"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for DefineOwnPropertyByValue

    source§

    const NAME: &'static str = "DefineOwnPropertyByValue"

    source§

    const INSTRUCTION: &'static str = "INST - DefineOwnPropertyByValue"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for CreateGlobalFunctionBinding

    source§

    const NAME: &'static str = "CreateGlobalFunctionBinding"

    source§

    const INSTRUCTION: &'static str = "INST - CreateGlobalFunctionBinding"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for DefInitVar

    source§

    const NAME: &'static str = "DefInitVar"

    source§

    const INSTRUCTION: &'static str = "INST - DefInitVar"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for DefVar

    source§

    const NAME: &'static str = "DefVar"

    source§

    const INSTRUCTION: &'static str = "INST - DefVar"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for PutLexicalValue

    source§

    const NAME: &'static str = "PutLexicalValue"

    source§

    const INSTRUCTION: &'static str = "INST - PutLexicalValue"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for DeleteName

    source§

    const NAME: &'static str = "DeleteName"

    source§

    const INSTRUCTION: &'static str = "INST - DeleteName"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for DeletePropertyByName

    source§

    const NAME: &'static str = "DeletePropertyByName"

    source§

    const INSTRUCTION: &'static str = "INST - DeletePropertyByName"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for DeletePropertyByValue

    source§

    const NAME: &'static str = "DeletePropertyByValue"

    source§

    const INSTRUCTION: &'static str = "INST - DeletePropertyByValue"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for DeleteSuperThrow

    source§

    const NAME: &'static str = "DeleteSuperThrow"

    source§

    const INSTRUCTION: &'static str = "INST - DeleteSuperThrow"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for Dup

    source§

    const NAME: &'static str = "Dup"

    source§

    const INSTRUCTION: &'static str = "INST - Dup"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for BindThisValue

    source§

    const NAME: &'static str = "BindThisValue"

    source§

    const INSTRUCTION: &'static str = "INST - BindThisValue"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for Super

    source§

    const NAME: &'static str = "Super"

    source§

    const INSTRUCTION: &'static str = "INST - Super"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for SuperCall

    source§

    const NAME: &'static str = "SuperCall"

    source§

    const INSTRUCTION: &'static str = "INST - SuperCall"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for SuperCallDerived

    source§

    const NAME: &'static str = "SuperCallDerived"

    source§

    const INSTRUCTION: &'static str = "INST - SuperCallDerived"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for SuperCallPrepare

    source§

    const NAME: &'static str = "SuperCallPrepare"

    source§

    const INSTRUCTION: &'static str = "INST - SuperCallPrepare"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for SuperCallSpread

    source§

    const NAME: &'static str = "SuperCallSpread"

    source§

    const INSTRUCTION: &'static str = "INST - SuperCallSpread"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for This

    source§

    const NAME: &'static str = "This"

    source§

    const INSTRUCTION: &'static str = "INST - This"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for AsyncGeneratorClose

    source§

    const NAME: &'static str = "AsyncGeneratorClose"

    source§

    const INSTRUCTION: &'static str = "INST - AsyncGeneratorClose"

    source§

    const COST: u8 = 8u8

    source§

    impl Operation for Generator

    source§

    const NAME: &'static str = "Generator"

    source§

    const INSTRUCTION: &'static str = "INST - Generator"

    source§

    const COST: u8 = 8u8

    source§

    impl Operation for GeneratorDelegateNext

    source§

    const NAME: &'static str = "GeneratorDelegateNext"

    source§

    const INSTRUCTION: &'static str = "INST - GeneratorDelegateNext"

    source§

    const COST: u8 = 18u8

    source§

    impl Operation for GeneratorDelegateResume

    source§

    const NAME: &'static str = "GeneratorDelegateResume"

    source§

    const INSTRUCTION: &'static str = "INST - GeneratorDelegateResume"

    source§

    const COST: u8 = 7u8

    source§

    impl Operation for GeneratorNext

    source§

    const NAME: &'static str = "GeneratorNext"

    source§

    const INSTRUCTION: &'static str = "INST - GeneratorNext"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for JumpIfNotResumeKind

    source§

    const NAME: &'static str = "JumpIfNotResumeKind"

    source§

    const INSTRUCTION: &'static str = "INST - JumpIfNotResumeKind"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for AsyncGeneratorYield

    source§

    const NAME: &'static str = "AsyncGeneratorYield"

    source§

    const INSTRUCTION: &'static str = "INST - AsyncGeneratorYield"

    source§

    const COST: u8 = 8u8

    source§

    impl Operation for GeneratorYield

    source§

    const NAME: &'static str = "GeneratorYield"

    source§

    const INSTRUCTION: &'static str = "INST - GeneratorYield"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for GetArgument

    source§

    const NAME: &'static str = "GetArgument"

    source§

    const INSTRUCTION: &'static str = "INST - GetArgument"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for GetFunction

    source§

    const NAME: &'static str = "GetFunction"

    source§

    const INSTRUCTION: &'static str = "INST - GetFunction"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for GetLocator

    source§

    const NAME: &'static str = "GetLocator"

    source§

    const INSTRUCTION: &'static str = "INST - GetLocator"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for GetName

    source§

    const NAME: &'static str = "GetName"

    source§

    const INSTRUCTION: &'static str = "INST - GetName"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for GetNameAndLocator

    source§

    const NAME: &'static str = "GetNameAndLocator"

    source§

    const INSTRUCTION: &'static str = "INST - GetNameAndLocator"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for GetNameOrUndefined

    source§

    const NAME: &'static str = "GetNameOrUndefined"

    source§

    const INSTRUCTION: &'static str = "INST - GetNameOrUndefined"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for GetPrivateField

    source§

    const NAME: &'static str = "GetPrivateField"

    source§

    const INSTRUCTION: &'static str = "INST - GetPrivateField"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for GetPropertyByName

    source§

    const NAME: &'static str = "GetPropertyByName"

    source§

    const INSTRUCTION: &'static str = "INST - GetPropertyByName"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for GetPropertyByValue

    source§

    const NAME: &'static str = "GetPropertyByValue"

    source§

    const INSTRUCTION: &'static str = "INST - GetPropertyByValue"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for GetPropertyByValuePush

    source§

    const NAME: &'static str = "GetPropertyByValuePush"

    source§

    const INSTRUCTION: &'static str = "INST - GetPropertyByValuePush"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for CreateForInIterator

    source§

    const NAME: &'static str = "CreateForInIterator"

    source§

    const INSTRUCTION: &'static str = "INST - CreateForInIterator"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for GetAsyncIterator

    source§

    const NAME: &'static str = "GetAsyncIterator"

    source§

    const INSTRUCTION: &'static str = "INST - GetAsyncIterator"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for GetIterator

    source§

    const NAME: &'static str = "GetIterator"

    source§

    const INSTRUCTION: &'static str = "INST - GetIterator"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for CreateIteratorResult

    source§

    const NAME: &'static str = "CreateIteratorResult"

    source§

    const INSTRUCTION: &'static str = "INST - CreateIteratorResult"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for IteratorDone

    source§

    const NAME: &'static str = "IteratorDone"

    source§

    const INSTRUCTION: &'static str = "INST - IteratorDone"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for IteratorFinishAsyncNext

    source§

    const NAME: &'static str = "IteratorFinishAsyncNext"

    source§

    const INSTRUCTION: &'static str = "INST - IteratorFinishAsyncNext"

    source§

    const COST: u8 = 5u8

    source§

    impl Operation for IteratorNext

    source§

    const NAME: &'static str = "IteratorNext"

    source§

    const INSTRUCTION: &'static str = "INST - IteratorNext"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for IteratorNextWithoutPop

    source§

    const NAME: &'static str = "IteratorNextWithoutPop"

    source§

    const INSTRUCTION: &'static str = "INST - IteratorNextWithoutPop"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for IteratorPop

    source§

    const NAME: &'static str = "IteratorPop"

    source§

    const INSTRUCTION: &'static str = "INST - IteratorPop"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for IteratorResult

    source§

    const NAME: &'static str = "IteratorResult"

    source§

    const INSTRUCTION: &'static str = "INST - IteratorResult"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for IteratorReturn

    source§

    const NAME: &'static str = "IteratorReturn"

    source§

    const INSTRUCTION: &'static str = "INST - IteratorReturn"

    source§

    const COST: u8 = 8u8

    source§

    impl Operation for IteratorStackEmpty

    source§

    const NAME: &'static str = "IteratorStackEmpty"

    source§

    const INSTRUCTION: &'static str = "INST - IteratorStackEmpty"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for IteratorToArray

    source§

    const NAME: &'static str = "IteratorToArray"

    source§

    const INSTRUCTION: &'static str = "INST - IteratorToArray"

    source§

    const COST: u8 = 8u8

    source§

    impl Operation for IteratorValue

    source§

    const NAME: &'static str = "IteratorValue"

    source§

    const INSTRUCTION: &'static str = "INST - IteratorValue"

    source§

    const COST: u8 = 5u8

    source§

    impl Operation for IteratorValueWithoutPop

    source§

    const NAME: &'static str = "IteratorValueWithoutPop"

    source§

    const INSTRUCTION: &'static str = "INST - IteratorValueWithoutPop"

    source§

    const COST: u8 = 5u8

    source§

    impl Operation for IncrementLoopIteration

    source§

    const NAME: &'static str = "IncrementLoopIteration"

    source§

    const INSTRUCTION: &'static str = "INST - IncrementLoopIteration"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for ImportMeta

    source§

    const NAME: &'static str = "ImportMeta"

    source§

    const INSTRUCTION: &'static str = "INST - ImportMeta"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for NewTarget

    source§

    const NAME: &'static str = "NewTarget"

    source§

    const INSTRUCTION: &'static str = "INST - NewTarget"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for U16Operands

    source§

    const NAME: &'static str = "U16Operands"

    source§

    const INSTRUCTION: &'static str = "INST - U16Operands"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for U32Operands

    source§

    const NAME: &'static str = "U32Operands"

    source§

    const INSTRUCTION: &'static str = "INST - U32Operands"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for New

    source§

    const NAME: &'static str = "New"

    source§

    const INSTRUCTION: &'static str = "INST - New"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for NewSpread

    source§

    const NAME: &'static str = "NewSpread"

    source§

    const INSTRUCTION: &'static str = "INST - NewSpread"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for Nop

    source§

    const NAME: &'static str = "Nop"

    source§

    const INSTRUCTION: &'static str = "INST - Nop"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for Reserved

    source§

    const NAME: &'static str = "Reserved"

    source§

    const INSTRUCTION: &'static str = "INST - Reserved"

    source§

    const COST: u8 = 0u8

    source§

    impl Operation for Pop

    source§

    const NAME: &'static str = "Pop"

    source§

    const INSTRUCTION: &'static str = "INST - Pop"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PopEnvironment

    source§

    const NAME: &'static str = "PopEnvironment"

    source§

    const INSTRUCTION: &'static str = "INST - PopEnvironment"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushElisionToArray

    source§

    const NAME: &'static str = "PushElisionToArray"

    source§

    const INSTRUCTION: &'static str = "INST - PushElisionToArray"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for PushIteratorToArray

    source§

    const NAME: &'static str = "PushIteratorToArray"

    source§

    const INSTRUCTION: &'static str = "INST - PushIteratorToArray"

    source§

    const COST: u8 = 8u8

    source§

    impl Operation for PushNewArray

    source§

    const NAME: &'static str = "PushNewArray"

    source§

    const INSTRUCTION: &'static str = "INST - PushNewArray"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for PushValueToArray

    source§

    const NAME: &'static str = "PushValueToArray"

    source§

    const INSTRUCTION: &'static str = "INST - PushValueToArray"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for PushClassField

    source§

    const NAME: &'static str = "PushClassField"

    source§

    const INSTRUCTION: &'static str = "INST - PushClassField"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for PushClassFieldPrivate

    source§

    const NAME: &'static str = "PushClassFieldPrivate"

    source§

    const INSTRUCTION: &'static str = "INST - PushClassFieldPrivate"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for PushClassPrivateGetter

    source§

    const NAME: &'static str = "PushClassPrivateGetter"

    source§

    const INSTRUCTION: &'static str = "INST - PushClassPrivateGetter"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for PushClassPrivateMethod

    source§

    const NAME: &'static str = "PushClassPrivateMethod"

    source§

    const INSTRUCTION: &'static str = "INST - PushClassPrivateMethod"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for PushClassPrivateSetter

    source§

    const NAME: &'static str = "PushClassPrivateSetter"

    source§

    const INSTRUCTION: &'static str = "INST - PushClassPrivateSetter"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for PushClassPrototype

    source§

    const NAME: &'static str = "PushClassPrototype"

    source§

    const INSTRUCTION: &'static str = "INST - PushClassPrototype"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for PopPrivateEnvironment

    source§

    const NAME: &'static str = "PopPrivateEnvironment"

    source§

    const INSTRUCTION: &'static str = "INST - PopPrivateEnvironment"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushDeclarativeEnvironment

    source§

    const NAME: &'static str = "PushDeclarativeEnvironment"

    source§

    const INSTRUCTION: &'static str = "INST - PushDeclarativeEnvironment"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for PushObjectEnvironment

    source§

    const NAME: &'static str = "PushObjectEnvironment"

    source§

    const INSTRUCTION: &'static str = "INST - PushObjectEnvironment"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for PushPrivateEnvironment

    source§

    const NAME: &'static str = "PushPrivateEnvironment"

    source§

    const INSTRUCTION: &'static str = "INST - PushPrivateEnvironment"

    source§

    const COST: u8 = 5u8

    source§

    impl Operation for PushLiteral

    source§

    const NAME: &'static str = "PushLiteral"

    source§

    const INSTRUCTION: &'static str = "INST - PushLiteral"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushRegExp

    source§

    const NAME: &'static str = "PushRegExp"

    source§

    const INSTRUCTION: &'static str = "INST - PushRegExp"

    source§

    const COST: u8 = 5u8

    source§

    impl Operation for PushDouble

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushFloat

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushInt8

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushInt16

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushInt32

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushEmptyObject

    source§

    const NAME: &'static str = "PushEmptyObject"

    source§

    const INSTRUCTION: &'static str = "INST - PushEmptyObject"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushFalse

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushNaN

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushNegativeInfinity

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushNull

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushOne

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushPositiveInfinity

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushTrue

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushUndefined

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushZero

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for RequireObjectCoercible

    source§

    const NAME: &'static str = "RequireObjectCoercible"

    source§

    const INSTRUCTION: &'static str = "INST - RequireObjectCoercible"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for RestParameterInit

    source§

    const NAME: &'static str = "RestParameterInit"

    source§

    const INSTRUCTION: &'static str = "INST - RestParameterInit"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for SetClassPrototype

    source§

    const NAME: &'static str = "SetClassPrototype"

    source§

    const INSTRUCTION: &'static str = "INST - SetClassPrototype"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for SetHomeObject

    source§

    const NAME: &'static str = "SetHomeObject"

    source§

    const INSTRUCTION: &'static str = "INST - SetHomeObject"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetName

    source§

    const NAME: &'static str = "SetName"

    source§

    const INSTRUCTION: &'static str = "INST - SetName"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetNameByLocator

    source§

    const NAME: &'static str = "SetNameByLocator"

    source§

    const INSTRUCTION: &'static str = "INST - SetNameByLocator"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for ThrowMutateImmutable

    source§

    const NAME: &'static str = "ThrowMutateImmutable"

    source§

    const INSTRUCTION: &'static str = "INST - ThrowMutateImmutable"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for DefinePrivateField

    source§

    const NAME: &'static str = "DefinePrivateField"

    source§

    const INSTRUCTION: &'static str = "INST - DefinePrivateField"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetPrivateField

    source§

    const NAME: &'static str = "SetPrivateField"

    source§

    const INSTRUCTION: &'static str = "INST - SetPrivateField"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetPrivateGetter

    source§

    const NAME: &'static str = "SetPrivateGetter"

    source§

    const INSTRUCTION: &'static str = "INST - SetPrivateGetter"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetPrivateMethod

    source§

    const NAME: &'static str = "SetPrivateMethod"

    source§

    const INSTRUCTION: &'static str = "INST - SetPrivateMethod"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetPrivateSetter

    source§

    const NAME: &'static str = "SetPrivateSetter"

    source§

    const INSTRUCTION: &'static str = "INST - SetPrivateSetter"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetFunctionName

    source§

    const NAME: &'static str = "SetFunctionName"

    source§

    const INSTRUCTION: &'static str = "INST - SetFunctionName"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetPropertyByName

    source§

    const NAME: &'static str = "SetPropertyByName"

    source§

    const INSTRUCTION: &'static str = "INST - SetPropertyByName"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetPropertyByValue

    source§

    const NAME: &'static str = "SetPropertyByValue"

    source§

    const INSTRUCTION: &'static str = "INST - SetPropertyByValue"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetPropertyGetterByName

    source§

    const NAME: &'static str = "SetPropertyGetterByName"

    source§

    const INSTRUCTION: &'static str = "INST - SetPropertyGetterByName"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetPropertyGetterByValue

    source§

    const NAME: &'static str = "SetPropertyGetterByValue"

    source§

    const INSTRUCTION: &'static str = "INST - SetPropertyGetterByValue"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetPropertySetterByName

    source§

    const NAME: &'static str = "SetPropertySetterByName"

    source§

    const INSTRUCTION: &'static str = "INST - SetPropertySetterByName"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetPropertySetterByValue

    source§

    const NAME: &'static str = "SetPropertySetterByValue"

    source§

    const INSTRUCTION: &'static str = "INST - SetPropertySetterByValue"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetPrototype

    source§

    const NAME: &'static str = "SetPrototype"

    source§

    const INSTRUCTION: &'static str = "INST - SetPrototype"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for RotateLeft

    source§

    const NAME: &'static str = "RotateLeft"

    source§

    const INSTRUCTION: &'static str = "INST - RotateLeft"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for RotateRight

    source§

    const NAME: &'static str = "RotateRight"

    source§

    const INSTRUCTION: &'static str = "INST - RotateRight"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for Swap

    source§

    const NAME: &'static str = "Swap"

    source§

    const INSTRUCTION: &'static str = "INST - Swap"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for Case

    source§

    const NAME: &'static str = "Case"

    source§

    const INSTRUCTION: &'static str = "INST - Case"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for Default

    source§

    const NAME: &'static str = "Default"

    source§

    const INSTRUCTION: &'static str = "INST - Default"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for TemplateCreate

    source§

    const NAME: &'static str = "TemplateCreate"

    source§

    const INSTRUCTION: &'static str = "INST - TemplateCreate"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for TemplateLookup

    source§

    const NAME: &'static str = "TemplateLookup"

    source§

    const INSTRUCTION: &'static str = "INST - TemplateLookup"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for ToBoolean

    source§

    const NAME: &'static str = "ToBoolean"

    source§

    const INSTRUCTION: &'static str = "INST - ToBoolean"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for ToPropertyKey

    source§

    const NAME: &'static str = "ToPropertyKey"

    source§

    const INSTRUCTION: &'static str = "INST - ToPropertyKey"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for Dec

    source§

    const NAME: &'static str = "Dec"

    source§

    const INSTRUCTION: &'static str = "INST - Dec"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for DecPost

    source§

    const NAME: &'static str = "DecPost"

    source§

    const INSTRUCTION: &'static str = "INST - DecPost"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for Inc

    source§

    const NAME: &'static str = "Inc"

    source§

    const INSTRUCTION: &'static str = "INST - Inc"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for IncPost

    source§

    const NAME: &'static str = "IncPost"

    source§

    const INSTRUCTION: &'static str = "INST - IncPost"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for LogicalNot

    source§

    const NAME: &'static str = "LogicalNot"

    source§

    const INSTRUCTION: &'static str = "INST - LogicalNot"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for BitNot

    source§

    const NAME: &'static str = "BitNot"

    source§

    const INSTRUCTION: &'static str = "INST - BitNot"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for Neg

    source§

    const NAME: &'static str = "Neg"

    source§

    const INSTRUCTION: &'static str = "INST - Neg"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for Pos

    source§

    const NAME: &'static str = "Pos"

    source§

    const INSTRUCTION: &'static str = "INST - Pos"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for TypeOf

    source§

    const NAME: &'static str = "TypeOf"

    source§

    const INSTRUCTION: &'static str = "INST - TypeOf"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for Void

    source§

    const NAME: &'static str = "Void"

    source§

    const INSTRUCTION: &'static str = "INST - Void"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for IsObject

    source§

    const NAME: &'static str = "IsObject"

    source§

    const INSTRUCTION: &'static str = "INST - IsObject"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for ValueNotNullOrUndefined

    source§

    const NAME: &'static str = "ValueNotNullOrUndefined"

    source§

    const INSTRUCTION: &'static str = "INST - ValueNotNullOrUndefined"

    source§

    const COST: u8 = 2u8

    \ No newline at end of file +

    Implementors§

    source§

    impl Operation for CreateMappedArgumentsObject

    source§

    const NAME: &'static str = "CreateMappedArgumentsObject"

    source§

    const INSTRUCTION: &'static str = "INST - CreateMappedArgumentsObject"

    source§

    const COST: u8 = 8u8

    source§

    impl Operation for CreateUnmappedArgumentsObject

    source§

    const NAME: &'static str = "CreateUnmappedArgumentsObject"

    source§

    const INSTRUCTION: &'static str = "INST - CreateUnmappedArgumentsObject"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for Await

    source§

    const NAME: &'static str = "Await"

    source§

    const INSTRUCTION: &'static str = "INST - Await"

    source§

    const COST: u8 = 5u8

    source§

    impl Operation for CompletePromiseCapability

    source§

    const NAME: &'static str = "CompletePromiseCapability"

    source§

    const INSTRUCTION: &'static str = "INST - CompletePromiseCapability"

    source§

    const COST: u8 = 8u8

    source§

    impl Operation for CreatePromiseCapability

    source§

    const NAME: &'static str = "CreatePromiseCapability"

    source§

    const INSTRUCTION: &'static str = "INST - CreatePromiseCapability"

    source§

    const COST: u8 = 8u8

    source§

    impl Operation for Coalesce

    source§

    const NAME: &'static str = "Coalesce"

    source§

    const INSTRUCTION: &'static str = "INST - Coalesce"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for LogicalAnd

    source§

    const NAME: &'static str = "LogicalAnd"

    source§

    const INSTRUCTION: &'static str = "INST - LogicalAnd"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for LogicalOr

    source§

    const NAME: &'static str = "LogicalOr"

    source§

    const INSTRUCTION: &'static str = "INST - LogicalOr"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for Add

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for BitAnd

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for BitOr

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for BitXor

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for Div

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for Eq

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for GreaterThan

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for GreaterThanOrEq

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for LessThan

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for LessThanOrEq

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for Mod

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for Mul

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for Pow

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for ShiftLeft

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for ShiftRight

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for Sub

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for UnsignedShiftRight

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for In

    source§

    const NAME: &'static str = "In"

    source§

    const INSTRUCTION: &'static str = "INST - In"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for InPrivate

    source§

    const NAME: &'static str = "InPrivate"

    source§

    const INSTRUCTION: &'static str = "INST - InPrivate"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for InstanceOf

    source§

    const NAME: &'static str = "InstanceOf"

    source§

    const INSTRUCTION: &'static str = "INST - InstanceOf"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for NotEq

    source§

    const NAME: &'static str = "NotEq"

    source§

    const INSTRUCTION: &'static str = "INST - NotEq"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for StrictEq

    source§

    const NAME: &'static str = "StrictEq"

    source§

    const INSTRUCTION: &'static str = "INST - StrictEq"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for StrictNotEq

    source§

    const NAME: &'static str = "StrictNotEq"

    source§

    const INSTRUCTION: &'static str = "INST - StrictNotEq"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for Call

    source§

    const NAME: &'static str = "Call"

    source§

    const INSTRUCTION: &'static str = "INST - Call"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for CallEval

    source§

    const NAME: &'static str = "CallEval"

    source§

    const INSTRUCTION: &'static str = "INST - CallEval"

    source§

    const COST: u8 = 5u8

    source§

    impl Operation for CallEvalSpread

    source§

    const NAME: &'static str = "CallEvalSpread"

    source§

    const INSTRUCTION: &'static str = "INST - CallEvalSpread"

    source§

    const COST: u8 = 5u8

    source§

    impl Operation for CallSpread

    source§

    const NAME: &'static str = "CallSpread"

    source§

    const INSTRUCTION: &'static str = "INST - CallSpread"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for ImportCall

    source§

    const NAME: &'static str = "ImportCall"

    source§

    const INSTRUCTION: &'static str = "INST - ImportCall"

    source§

    const COST: u8 = 15u8

    source§

    impl Operation for ConcatToString

    source§

    const NAME: &'static str = "ConcatToString"

    source§

    const INSTRUCTION: &'static str = "INST - ConcatToString"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for Jump

    source§

    const NAME: &'static str = "Jump"

    source§

    const INSTRUCTION: &'static str = "INST - Jump"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for JumpIfFalse

    source§

    const NAME: &'static str = "JumpIfFalse"

    source§

    const INSTRUCTION: &'static str = "INST - JumpIfFalse"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for JumpIfNotUndefined

    source§

    const NAME: &'static str = "JumpIfNotUndefined"

    source§

    const INSTRUCTION: &'static str = "INST - JumpIfNotUndefined"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for JumpIfNullOrUndefined

    source§

    const NAME: &'static str = "JumpIfNullOrUndefined"

    source§

    const INSTRUCTION: &'static str = "INST - JumpIfNullOrUndefined"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for JumpIfTrue

    source§

    const NAME: &'static str = "JumpIfTrue"

    source§

    const INSTRUCTION: &'static str = "INST - JumpIfTrue"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for JumpTable

    source§

    const NAME: &'static str = "JumpTable"

    source§

    const INSTRUCTION: &'static str = "INST - JumpTable"

    source§

    const COST: u8 = 5u8

    source§

    impl Operation for CheckReturn

    source§

    const NAME: &'static str = "CheckReturn"

    source§

    const INSTRUCTION: &'static str = "INST - CheckReturn"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for GetReturnValue

    source§

    const NAME: &'static str = "GetReturnValue"

    source§

    const INSTRUCTION: &'static str = "INST - GetReturnValue"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for Return

    source§

    const NAME: &'static str = "Return"

    source§

    const INSTRUCTION: &'static str = "INST - Return"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetReturnValue

    source§

    const NAME: &'static str = "SetReturnValue"

    source§

    const INSTRUCTION: &'static str = "INST - SetReturnValue"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for Exception

    source§

    const NAME: &'static str = "Exception"

    source§

    const INSTRUCTION: &'static str = "INST - Exception"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for MaybeException

    source§

    const NAME: &'static str = "MaybeException"

    source§

    const INSTRUCTION: &'static str = "INST - MaybeException"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for ReThrow

    source§

    const NAME: &'static str = "ReThrow"

    source§

    const INSTRUCTION: &'static str = "INST - ReThrow"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for Throw

    source§

    const NAME: &'static str = "Throw"

    source§

    const INSTRUCTION: &'static str = "INST - Throw"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for ThrowNewTypeError

    source§

    const NAME: &'static str = "ThrowNewTypeError"

    source§

    const INSTRUCTION: &'static str = "INST - ThrowNewTypeError"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for CopyDataProperties

    source§

    const NAME: &'static str = "CopyDataProperties"

    source§

    const INSTRUCTION: &'static str = "INST - CopyDataProperties"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for DefineClassGetterByName

    source§

    const NAME: &'static str = "DefineClassGetterByName"

    source§

    const INSTRUCTION: &'static str = "INST - DefineClassGetterByName"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for DefineClassGetterByValue

    source§

    const NAME: &'static str = "DefineClassGetterByValue"

    source§

    const INSTRUCTION: &'static str = "INST - DefineClassGetterByValue"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for DefineClassStaticGetterByName

    source§

    const NAME: &'static str = "DefineClassStaticGetterByName"

    source§

    const INSTRUCTION: &'static str = "INST - DefineClassStaticGetterByName"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for DefineClassStaticGetterByValue

    source§

    const NAME: &'static str = "DefineClassStaticGetterByValue"

    source§

    const INSTRUCTION: &'static str = "INST - DefineClassStaticGetterByValue"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for DefineClassMethodByName

    source§

    const NAME: &'static str = "DefineClassMethodByName"

    source§

    const INSTRUCTION: &'static str = "INST - DefineClassMethodByName"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for DefineClassMethodByValue

    source§

    const NAME: &'static str = "DefineClassMethodByValue"

    source§

    const INSTRUCTION: &'static str = "INST - DefineClassMethodByValue"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for DefineClassStaticMethodByName

    source§

    const NAME: &'static str = "DefineClassStaticMethodByName"

    source§

    const INSTRUCTION: &'static str = "INST - DefineClassStaticMethodByName"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for DefineClassStaticMethodByValue

    source§

    const NAME: &'static str = "DefineClassStaticMethodByValue"

    source§

    const INSTRUCTION: &'static str = "INST - DefineClassStaticMethodByValue"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for DefineClassSetterByName

    source§

    const NAME: &'static str = "DefineClassSetterByName"

    source§

    const INSTRUCTION: &'static str = "INST - DefineClassSetterByName"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for DefineClassSetterByValue

    source§

    const NAME: &'static str = "DefineClassSetterByValue"

    source§

    const INSTRUCTION: &'static str = "INST - DefineClassSetterByValue"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for DefineClassStaticSetterByName

    source§

    const NAME: &'static str = "DefineClassStaticSetterByName"

    source§

    const INSTRUCTION: &'static str = "INST - DefineClassStaticSetterByName"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for DefineClassStaticSetterByValue

    source§

    const NAME: &'static str = "DefineClassStaticSetterByValue"

    source§

    const INSTRUCTION: &'static str = "INST - DefineClassStaticSetterByValue"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for DefineOwnPropertyByName

    source§

    const NAME: &'static str = "DefineOwnPropertyByName"

    source§

    const INSTRUCTION: &'static str = "INST - DefineOwnPropertyByName"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for DefineOwnPropertyByValue

    source§

    const NAME: &'static str = "DefineOwnPropertyByValue"

    source§

    const INSTRUCTION: &'static str = "INST - DefineOwnPropertyByValue"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for CreateGlobalFunctionBinding

    source§

    const NAME: &'static str = "CreateGlobalFunctionBinding"

    source§

    const INSTRUCTION: &'static str = "INST - CreateGlobalFunctionBinding"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for DefInitVar

    source§

    const NAME: &'static str = "DefInitVar"

    source§

    const INSTRUCTION: &'static str = "INST - DefInitVar"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for DefVar

    source§

    const NAME: &'static str = "DefVar"

    source§

    const INSTRUCTION: &'static str = "INST - DefVar"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for PutLexicalValue

    source§

    const NAME: &'static str = "PutLexicalValue"

    source§

    const INSTRUCTION: &'static str = "INST - PutLexicalValue"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for DeleteName

    source§

    const NAME: &'static str = "DeleteName"

    source§

    const INSTRUCTION: &'static str = "INST - DeleteName"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for DeletePropertyByName

    source§

    const NAME: &'static str = "DeletePropertyByName"

    source§

    const INSTRUCTION: &'static str = "INST - DeletePropertyByName"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for DeletePropertyByValue

    source§

    const NAME: &'static str = "DeletePropertyByValue"

    source§

    const INSTRUCTION: &'static str = "INST - DeletePropertyByValue"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for DeleteSuperThrow

    source§

    const NAME: &'static str = "DeleteSuperThrow"

    source§

    const INSTRUCTION: &'static str = "INST - DeleteSuperThrow"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for Dup

    source§

    const NAME: &'static str = "Dup"

    source§

    const INSTRUCTION: &'static str = "INST - Dup"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for BindThisValue

    source§

    const NAME: &'static str = "BindThisValue"

    source§

    const INSTRUCTION: &'static str = "INST - BindThisValue"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for Super

    source§

    const NAME: &'static str = "Super"

    source§

    const INSTRUCTION: &'static str = "INST - Super"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for SuperCall

    source§

    const NAME: &'static str = "SuperCall"

    source§

    const INSTRUCTION: &'static str = "INST - SuperCall"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for SuperCallDerived

    source§

    const NAME: &'static str = "SuperCallDerived"

    source§

    const INSTRUCTION: &'static str = "INST - SuperCallDerived"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for SuperCallPrepare

    source§

    const NAME: &'static str = "SuperCallPrepare"

    source§

    const INSTRUCTION: &'static str = "INST - SuperCallPrepare"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for SuperCallSpread

    source§

    const NAME: &'static str = "SuperCallSpread"

    source§

    const INSTRUCTION: &'static str = "INST - SuperCallSpread"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for This

    source§

    const NAME: &'static str = "This"

    source§

    const INSTRUCTION: &'static str = "INST - This"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for AsyncGeneratorClose

    source§

    const NAME: &'static str = "AsyncGeneratorClose"

    source§

    const INSTRUCTION: &'static str = "INST - AsyncGeneratorClose"

    source§

    const COST: u8 = 8u8

    source§

    impl Operation for Generator

    source§

    const NAME: &'static str = "Generator"

    source§

    const INSTRUCTION: &'static str = "INST - Generator"

    source§

    const COST: u8 = 8u8

    source§

    impl Operation for GeneratorDelegateNext

    source§

    const NAME: &'static str = "GeneratorDelegateNext"

    source§

    const INSTRUCTION: &'static str = "INST - GeneratorDelegateNext"

    source§

    const COST: u8 = 18u8

    source§

    impl Operation for GeneratorDelegateResume

    source§

    const NAME: &'static str = "GeneratorDelegateResume"

    source§

    const INSTRUCTION: &'static str = "INST - GeneratorDelegateResume"

    source§

    const COST: u8 = 7u8

    source§

    impl Operation for GeneratorNext

    source§

    const NAME: &'static str = "GeneratorNext"

    source§

    const INSTRUCTION: &'static str = "INST - GeneratorNext"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for JumpIfNotResumeKind

    source§

    const NAME: &'static str = "JumpIfNotResumeKind"

    source§

    const INSTRUCTION: &'static str = "INST - JumpIfNotResumeKind"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for AsyncGeneratorYield

    source§

    const NAME: &'static str = "AsyncGeneratorYield"

    source§

    const INSTRUCTION: &'static str = "INST - AsyncGeneratorYield"

    source§

    const COST: u8 = 8u8

    source§

    impl Operation for GeneratorYield

    source§

    const NAME: &'static str = "GeneratorYield"

    source§

    const INSTRUCTION: &'static str = "INST - GeneratorYield"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for GetArgument

    source§

    const NAME: &'static str = "GetArgument"

    source§

    const INSTRUCTION: &'static str = "INST - GetArgument"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for GetFunction

    source§

    const NAME: &'static str = "GetFunction"

    source§

    const INSTRUCTION: &'static str = "INST - GetFunction"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for GetLocator

    source§

    const NAME: &'static str = "GetLocator"

    source§

    const INSTRUCTION: &'static str = "INST - GetLocator"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for GetName

    source§

    const NAME: &'static str = "GetName"

    source§

    const INSTRUCTION: &'static str = "INST - GetName"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for GetNameAndLocator

    source§

    const NAME: &'static str = "GetNameAndLocator"

    source§

    const INSTRUCTION: &'static str = "INST - GetNameAndLocator"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for GetNameOrUndefined

    source§

    const NAME: &'static str = "GetNameOrUndefined"

    source§

    const INSTRUCTION: &'static str = "INST - GetNameOrUndefined"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for GetPrivateField

    source§

    const NAME: &'static str = "GetPrivateField"

    source§

    const INSTRUCTION: &'static str = "INST - GetPrivateField"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for GetPropertyByName

    source§

    const NAME: &'static str = "GetPropertyByName"

    source§

    const INSTRUCTION: &'static str = "INST - GetPropertyByName"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for GetPropertyByValue

    source§

    const NAME: &'static str = "GetPropertyByValue"

    source§

    const INSTRUCTION: &'static str = "INST - GetPropertyByValue"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for GetPropertyByValuePush

    source§

    const NAME: &'static str = "GetPropertyByValuePush"

    source§

    const INSTRUCTION: &'static str = "INST - GetPropertyByValuePush"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for CreateForInIterator

    source§

    const NAME: &'static str = "CreateForInIterator"

    source§

    const INSTRUCTION: &'static str = "INST - CreateForInIterator"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for GetAsyncIterator

    source§

    const NAME: &'static str = "GetAsyncIterator"

    source§

    const INSTRUCTION: &'static str = "INST - GetAsyncIterator"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for GetIterator

    source§

    const NAME: &'static str = "GetIterator"

    source§

    const INSTRUCTION: &'static str = "INST - GetIterator"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for CreateIteratorResult

    source§

    const NAME: &'static str = "CreateIteratorResult"

    source§

    const INSTRUCTION: &'static str = "INST - CreateIteratorResult"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for IteratorDone

    source§

    const NAME: &'static str = "IteratorDone"

    source§

    const INSTRUCTION: &'static str = "INST - IteratorDone"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for IteratorFinishAsyncNext

    source§

    const NAME: &'static str = "IteratorFinishAsyncNext"

    source§

    const INSTRUCTION: &'static str = "INST - IteratorFinishAsyncNext"

    source§

    const COST: u8 = 5u8

    source§

    impl Operation for IteratorNext

    source§

    const NAME: &'static str = "IteratorNext"

    source§

    const INSTRUCTION: &'static str = "INST - IteratorNext"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for IteratorNextWithoutPop

    source§

    const NAME: &'static str = "IteratorNextWithoutPop"

    source§

    const INSTRUCTION: &'static str = "INST - IteratorNextWithoutPop"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for IteratorPop

    source§

    const NAME: &'static str = "IteratorPop"

    source§

    const INSTRUCTION: &'static str = "INST - IteratorPop"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for IteratorResult

    source§

    const NAME: &'static str = "IteratorResult"

    source§

    const INSTRUCTION: &'static str = "INST - IteratorResult"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for IteratorReturn

    source§

    const NAME: &'static str = "IteratorReturn"

    source§

    const INSTRUCTION: &'static str = "INST - IteratorReturn"

    source§

    const COST: u8 = 8u8

    source§

    impl Operation for IteratorStackEmpty

    source§

    const NAME: &'static str = "IteratorStackEmpty"

    source§

    const INSTRUCTION: &'static str = "INST - IteratorStackEmpty"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for IteratorToArray

    source§

    const NAME: &'static str = "IteratorToArray"

    source§

    const INSTRUCTION: &'static str = "INST - IteratorToArray"

    source§

    const COST: u8 = 8u8

    source§

    impl Operation for IteratorValue

    source§

    const NAME: &'static str = "IteratorValue"

    source§

    const INSTRUCTION: &'static str = "INST - IteratorValue"

    source§

    const COST: u8 = 5u8

    source§

    impl Operation for IteratorValueWithoutPop

    source§

    const NAME: &'static str = "IteratorValueWithoutPop"

    source§

    const INSTRUCTION: &'static str = "INST - IteratorValueWithoutPop"

    source§

    const COST: u8 = 5u8

    source§

    impl Operation for IncrementLoopIteration

    source§

    const NAME: &'static str = "IncrementLoopIteration"

    source§

    const INSTRUCTION: &'static str = "INST - IncrementLoopIteration"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for ImportMeta

    source§

    const NAME: &'static str = "ImportMeta"

    source§

    const INSTRUCTION: &'static str = "INST - ImportMeta"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for NewTarget

    source§

    const NAME: &'static str = "NewTarget"

    source§

    const INSTRUCTION: &'static str = "INST - NewTarget"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for U16Operands

    source§

    const NAME: &'static str = "U16Operands"

    source§

    const INSTRUCTION: &'static str = "INST - U16Operands"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for U32Operands

    source§

    const NAME: &'static str = "U32Operands"

    source§

    const INSTRUCTION: &'static str = "INST - U32Operands"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for New

    source§

    const NAME: &'static str = "New"

    source§

    const INSTRUCTION: &'static str = "INST - New"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for NewSpread

    source§

    const NAME: &'static str = "NewSpread"

    source§

    const INSTRUCTION: &'static str = "INST - NewSpread"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for Nop

    source§

    const NAME: &'static str = "Nop"

    source§

    const INSTRUCTION: &'static str = "INST - Nop"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for Reserved

    source§

    const NAME: &'static str = "Reserved"

    source§

    const INSTRUCTION: &'static str = "INST - Reserved"

    source§

    const COST: u8 = 0u8

    source§

    impl Operation for Pop

    source§

    const NAME: &'static str = "Pop"

    source§

    const INSTRUCTION: &'static str = "INST - Pop"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PopEnvironment

    source§

    const NAME: &'static str = "PopEnvironment"

    source§

    const INSTRUCTION: &'static str = "INST - PopEnvironment"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushElisionToArray

    source§

    const NAME: &'static str = "PushElisionToArray"

    source§

    const INSTRUCTION: &'static str = "INST - PushElisionToArray"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for PushIteratorToArray

    source§

    const NAME: &'static str = "PushIteratorToArray"

    source§

    const INSTRUCTION: &'static str = "INST - PushIteratorToArray"

    source§

    const COST: u8 = 8u8

    source§

    impl Operation for PushNewArray

    source§

    const NAME: &'static str = "PushNewArray"

    source§

    const INSTRUCTION: &'static str = "INST - PushNewArray"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for PushValueToArray

    source§

    const NAME: &'static str = "PushValueToArray"

    source§

    const INSTRUCTION: &'static str = "INST - PushValueToArray"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for PushClassField

    source§

    const NAME: &'static str = "PushClassField"

    source§

    const INSTRUCTION: &'static str = "INST - PushClassField"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for PushClassFieldPrivate

    source§

    const NAME: &'static str = "PushClassFieldPrivate"

    source§

    const INSTRUCTION: &'static str = "INST - PushClassFieldPrivate"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for PushClassPrivateGetter

    source§

    const NAME: &'static str = "PushClassPrivateGetter"

    source§

    const INSTRUCTION: &'static str = "INST - PushClassPrivateGetter"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for PushClassPrivateMethod

    source§

    const NAME: &'static str = "PushClassPrivateMethod"

    source§

    const INSTRUCTION: &'static str = "INST - PushClassPrivateMethod"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for PushClassPrivateSetter

    source§

    const NAME: &'static str = "PushClassPrivateSetter"

    source§

    const INSTRUCTION: &'static str = "INST - PushClassPrivateSetter"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for PushClassPrototype

    source§

    const NAME: &'static str = "PushClassPrototype"

    source§

    const INSTRUCTION: &'static str = "INST - PushClassPrototype"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for PopPrivateEnvironment

    source§

    const NAME: &'static str = "PopPrivateEnvironment"

    source§

    const INSTRUCTION: &'static str = "INST - PopPrivateEnvironment"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushDeclarativeEnvironment

    source§

    const NAME: &'static str = "PushDeclarativeEnvironment"

    source§

    const INSTRUCTION: &'static str = "INST - PushDeclarativeEnvironment"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for PushObjectEnvironment

    source§

    const NAME: &'static str = "PushObjectEnvironment"

    source§

    const INSTRUCTION: &'static str = "INST - PushObjectEnvironment"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for PushPrivateEnvironment

    source§

    const NAME: &'static str = "PushPrivateEnvironment"

    source§

    const INSTRUCTION: &'static str = "INST - PushPrivateEnvironment"

    source§

    const COST: u8 = 5u8

    source§

    impl Operation for PushLiteral

    source§

    const NAME: &'static str = "PushLiteral"

    source§

    const INSTRUCTION: &'static str = "INST - PushLiteral"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushRegExp

    source§

    const NAME: &'static str = "PushRegExp"

    source§

    const INSTRUCTION: &'static str = "INST - PushRegExp"

    source§

    const COST: u8 = 5u8

    source§

    impl Operation for PushDouble

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushFloat

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushInt8

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushInt16

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushInt32

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushEmptyObject

    source§

    const NAME: &'static str = "PushEmptyObject"

    source§

    const INSTRUCTION: &'static str = "INST - PushEmptyObject"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushFalse

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushNaN

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushNegativeInfinity

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushNull

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushOne

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushPositiveInfinity

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushTrue

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushUndefined

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for PushZero

    source§

    const NAME: &'static str = _

    source§

    const INSTRUCTION: &'static str = _

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for RequireObjectCoercible

    source§

    const NAME: &'static str = "RequireObjectCoercible"

    source§

    const INSTRUCTION: &'static str = "INST - RequireObjectCoercible"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for RestParameterInit

    source§

    const NAME: &'static str = "RestParameterInit"

    source§

    const INSTRUCTION: &'static str = "INST - RestParameterInit"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for SetClassPrototype

    source§

    const NAME: &'static str = "SetClassPrototype"

    source§

    const INSTRUCTION: &'static str = "INST - SetClassPrototype"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for SetHomeObject

    source§

    const NAME: &'static str = "SetHomeObject"

    source§

    const INSTRUCTION: &'static str = "INST - SetHomeObject"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetName

    source§

    const NAME: &'static str = "SetName"

    source§

    const INSTRUCTION: &'static str = "INST - SetName"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetNameByLocator

    source§

    const NAME: &'static str = "SetNameByLocator"

    source§

    const INSTRUCTION: &'static str = "INST - SetNameByLocator"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for ThrowMutateImmutable

    source§

    const NAME: &'static str = "ThrowMutateImmutable"

    source§

    const INSTRUCTION: &'static str = "INST - ThrowMutateImmutable"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for DefinePrivateField

    source§

    const NAME: &'static str = "DefinePrivateField"

    source§

    const INSTRUCTION: &'static str = "INST - DefinePrivateField"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetPrivateField

    source§

    const NAME: &'static str = "SetPrivateField"

    source§

    const INSTRUCTION: &'static str = "INST - SetPrivateField"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetPrivateGetter

    source§

    const NAME: &'static str = "SetPrivateGetter"

    source§

    const INSTRUCTION: &'static str = "INST - SetPrivateGetter"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetPrivateMethod

    source§

    const NAME: &'static str = "SetPrivateMethod"

    source§

    const INSTRUCTION: &'static str = "INST - SetPrivateMethod"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetPrivateSetter

    source§

    const NAME: &'static str = "SetPrivateSetter"

    source§

    const INSTRUCTION: &'static str = "INST - SetPrivateSetter"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetFunctionName

    source§

    const NAME: &'static str = "SetFunctionName"

    source§

    const INSTRUCTION: &'static str = "INST - SetFunctionName"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetPropertyByName

    source§

    const NAME: &'static str = "SetPropertyByName"

    source§

    const INSTRUCTION: &'static str = "INST - SetPropertyByName"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetPropertyByValue

    source§

    const NAME: &'static str = "SetPropertyByValue"

    source§

    const INSTRUCTION: &'static str = "INST - SetPropertyByValue"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetPropertyGetterByName

    source§

    const NAME: &'static str = "SetPropertyGetterByName"

    source§

    const INSTRUCTION: &'static str = "INST - SetPropertyGetterByName"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetPropertyGetterByValue

    source§

    const NAME: &'static str = "SetPropertyGetterByValue"

    source§

    const INSTRUCTION: &'static str = "INST - SetPropertyGetterByValue"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetPropertySetterByName

    source§

    const NAME: &'static str = "SetPropertySetterByName"

    source§

    const INSTRUCTION: &'static str = "INST - SetPropertySetterByName"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetPropertySetterByValue

    source§

    const NAME: &'static str = "SetPropertySetterByValue"

    source§

    const INSTRUCTION: &'static str = "INST - SetPropertySetterByValue"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for SetPrototype

    source§

    const NAME: &'static str = "SetPrototype"

    source§

    const INSTRUCTION: &'static str = "INST - SetPrototype"

    source§

    const COST: u8 = 4u8

    source§

    impl Operation for RotateLeft

    source§

    const NAME: &'static str = "RotateLeft"

    source§

    const INSTRUCTION: &'static str = "INST - RotateLeft"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for RotateRight

    source§

    const NAME: &'static str = "RotateRight"

    source§

    const INSTRUCTION: &'static str = "INST - RotateRight"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for Swap

    source§

    const NAME: &'static str = "Swap"

    source§

    const INSTRUCTION: &'static str = "INST - Swap"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for Case

    source§

    const NAME: &'static str = "Case"

    source§

    const INSTRUCTION: &'static str = "INST - Case"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for Default

    source§

    const NAME: &'static str = "Default"

    source§

    const INSTRUCTION: &'static str = "INST - Default"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for TemplateCreate

    source§

    const NAME: &'static str = "TemplateCreate"

    source§

    const INSTRUCTION: &'static str = "INST - TemplateCreate"

    source§

    const COST: u8 = 6u8

    source§

    impl Operation for TemplateLookup

    source§

    const NAME: &'static str = "TemplateLookup"

    source§

    const INSTRUCTION: &'static str = "INST - TemplateLookup"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for ToBoolean

    source§

    const NAME: &'static str = "ToBoolean"

    source§

    const INSTRUCTION: &'static str = "INST - ToBoolean"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for ToPropertyKey

    source§

    const NAME: &'static str = "ToPropertyKey"

    source§

    const INSTRUCTION: &'static str = "INST - ToPropertyKey"

    source§

    const COST: u8 = 2u8

    source§

    impl Operation for Dec

    source§

    const NAME: &'static str = "Dec"

    source§

    const INSTRUCTION: &'static str = "INST - Dec"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for DecPost

    source§

    const NAME: &'static str = "DecPost"

    source§

    const INSTRUCTION: &'static str = "INST - DecPost"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for Inc

    source§

    const NAME: &'static str = "Inc"

    source§

    const INSTRUCTION: &'static str = "INST - Inc"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for IncPost

    source§

    const NAME: &'static str = "IncPost"

    source§

    const INSTRUCTION: &'static str = "INST - IncPost"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for LogicalNot

    source§

    const NAME: &'static str = "LogicalNot"

    source§

    const INSTRUCTION: &'static str = "INST - LogicalNot"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for BitNot

    source§

    const NAME: &'static str = "BitNot"

    source§

    const INSTRUCTION: &'static str = "INST - BitNot"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for Neg

    source§

    const NAME: &'static str = "Neg"

    source§

    const INSTRUCTION: &'static str = "INST - Neg"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for Pos

    source§

    const NAME: &'static str = "Pos"

    source§

    const INSTRUCTION: &'static str = "INST - Pos"

    source§

    const COST: u8 = 3u8

    source§

    impl Operation for TypeOf

    source§

    const NAME: &'static str = "TypeOf"

    source§

    const INSTRUCTION: &'static str = "INST - TypeOf"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for Void

    source§

    const NAME: &'static str = "Void"

    source§

    const INSTRUCTION: &'static str = "INST - Void"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for IsObject

    source§

    const NAME: &'static str = "IsObject"

    source§

    const INSTRUCTION: &'static str = "INST - IsObject"

    source§

    const COST: u8 = 1u8

    source§

    impl Operation for ValueNotNullOrUndefined

    source§

    const NAME: &'static str = "ValueNotNullOrUndefined"

    source§

    const INSTRUCTION: &'static str = "INST - ValueNotNullOrUndefined"

    source§

    const COST: u8 = 2u8

    \ No newline at end of file diff --git a/doc/boa_gc/derive.Finalize.html b/doc/boa_gc/derive.Finalize.html index 5e7c7bf178e..a6bccbe367b 100644 --- a/doc/boa_gc/derive.Finalize.html +++ b/doc/boa_gc/derive.Finalize.html @@ -1,2 +1,2 @@ -Finalize in boa_gc - Rust

    Derive Macro boa_gc::Finalize

    source ·
    #[derive(Finalize)]
    Expand description

    Derive the Finalize trait.

    +Finalize in boa_gc - Rust

    Derive Macro boa_gc::Finalize

    #[derive(Finalize)]
    Expand description

    Derive the Finalize trait.

    \ No newline at end of file diff --git a/doc/boa_gc/derive.Trace.html b/doc/boa_gc/derive.Trace.html index cbecf978ba8..ef52d163155 100644 --- a/doc/boa_gc/derive.Trace.html +++ b/doc/boa_gc/derive.Trace.html @@ -1,4 +1,4 @@ -Trace in boa_gc - Rust

    Derive Macro boa_gc::Trace

    source ·
    #[derive(Trace)]
    +Trace in boa_gc - Rust

    Derive Macro boa_gc::Trace

    #[derive(Trace)]
     {
         // Attributes available to this derive:
         #[unsafe_ignore_trace]
    diff --git a/doc/boa_runtime/console/fn.formatter.html b/doc/boa_runtime/console/fn.formatter.html
    index 6c617831613..8480ba82eaa 100644
    --- a/doc/boa_runtime/console/fn.formatter.html
    +++ b/doc/boa_runtime/console/fn.formatter.html
    @@ -1,2 +1,2 @@
    -formatter in boa_runtime::console - Rust

    Function boa_runtime::console::formatter

    source ·
    fn formatter(data: &[JsValue], context: &mut Context<'_>) -> JsResult<String>
    Expand description

    This represents the console formatter.

    +formatter in boa_runtime::console - Rust

    Function boa_runtime::console::formatter

    source ·
    fn formatter(data: &[JsValue], context: &mut Context<'_>) -> JsResult<String>
    Expand description

    This represents the console formatter.

    \ No newline at end of file diff --git a/doc/boa_runtime/console/struct.Console.html b/doc/boa_runtime/console/struct.Console.html index 14829dca612..35db5207e90 100644 --- a/doc/boa_runtime/console/struct.Console.html +++ b/doc/boa_runtime/console/struct.Console.html @@ -1,16 +1,16 @@ Console in boa_runtime::console - Rust
    pub struct Console {
    -    count_map: FxHashMap<JsString, u32>,
    -    timer_map: FxHashMap<JsString, u128>,
    +    count_map: FxHashMap<JsString, u32>,
    +    timer_map: FxHashMap<JsString, u128>,
         groups: Vec<String>,
     }
    Expand description

    This is the internal console object state.

    -

    Fields§

    §count_map: FxHashMap<JsString, u32>§timer_map: FxHashMap<JsString, u128>§groups: Vec<String>

    Implementations§

    source§

    impl Console

    source

    pub const NAME: &'static str = "console"

    Name of the built-in console property.

    -
    source

    pub fn init(context: &mut Context<'_>) -> JsObject

    Initializes the console built-in object.

    +

    Fields§

    §count_map: FxHashMap<JsString, u32>§timer_map: FxHashMap<JsString, u128>§groups: Vec<String>

    Implementations§

    source§

    impl Console

    source

    pub const NAME: &'static str = "console"

    Name of the built-in console property.

    +
    source

    pub fn init(context: &mut Context<'_>) -> JsObject

    Initializes the console built-in object.

    source

    fn assert( - _: &JsValue, - args: &[JsValue], + _: &JsValue, + args: &[JsValue], console: &Self, - context: &mut Context<'_> -) -> JsResult<JsValue>

    console.assert(condition, ...data)

    + context: &mut Context<'_> +) -> JsResult<JsValue>

    console.assert(condition, ...data)

    Prints a JavaScript value to the standard error if first argument evaluates to false or there were no arguments.

    More information:

    @@ -19,11 +19,11 @@
  • WHATWG console specification
  • source

    fn clear( - _: &JsValue, - _: &[JsValue], + _: &JsValue, + _: &[JsValue], console: &mut Self, - _: &mut Context<'_> -) -> JsResult<JsValue>

    console.clear()

    + _: &mut Context<'_> +) -> JsResult<JsValue>

    console.clear()

    Removes all groups and clears console if possible.

    More information:

    source

    fn debug( - _: &JsValue, - args: &[JsValue], + _: &JsValue, + args: &[JsValue], console: &Self, - context: &mut Context<'_> -) -> JsResult<JsValue>

    console.debug(...data)

    + context: &mut Context<'_> +) -> JsResult<JsValue>

    console.debug(...data)

    Prints a JavaScript values with “debug” logLevel.

    More information:

    source

    fn error( - _: &JsValue, - args: &[JsValue], + _: &JsValue, + args: &[JsValue], console: &Self, - context: &mut Context<'_> -) -> JsResult<JsValue>

    console.error(...data)

    + context: &mut Context<'_> +) -> JsResult<JsValue>

    console.error(...data)

    Prints a JavaScript values with “error” logLevel.

    More information:

    source

    fn info( - _: &JsValue, - args: &[JsValue], + _: &JsValue, + args: &[JsValue], console: &Self, - context: &mut Context<'_> -) -> JsResult<JsValue>

    console.info(...data)

    + context: &mut Context<'_> +) -> JsResult<JsValue>

    console.info(...data)

    Prints a JavaScript values with “info” logLevel.

    More information:

    source

    fn log( - _: &JsValue, - args: &[JsValue], + _: &JsValue, + args: &[JsValue], console: &Self, - context: &mut Context<'_> -) -> JsResult<JsValue>

    console.log(...data)

    + context: &mut Context<'_> +) -> JsResult<JsValue>

    console.log(...data)

    Prints a JavaScript values with “log” logLevel.

    More information:

    source

    fn trace( - _: &JsValue, - args: &[JsValue], + _: &JsValue, + args: &[JsValue], console: &Self, - context: &mut Context<'_> -) -> JsResult<JsValue>

    console.trace(...data)

    + context: &mut Context<'_> +) -> JsResult<JsValue>

    console.trace(...data)

    Prints a stack trace with “trace” logLevel, optionally labelled by data.

    More information:

    source

    fn warn( - _: &JsValue, - args: &[JsValue], + _: &JsValue, + args: &[JsValue], console: &Self, - context: &mut Context<'_> -) -> JsResult<JsValue>

    console.warn(...data)

    + context: &mut Context<'_> +) -> JsResult<JsValue>

    console.warn(...data)

    Prints a JavaScript values with “warn” logLevel.

    More information:

    source

    fn count( - _: &JsValue, - args: &[JsValue], + _: &JsValue, + args: &[JsValue], console: &mut Self, - context: &mut Context<'_> -) -> JsResult<JsValue>

    console.count(label)

    + context: &mut Context<'_> +) -> JsResult<JsValue>

    console.count(label)

    Prints number of times the function was called with that particular label.

    More information:

    source

    fn count_reset( - _: &JsValue, - args: &[JsValue], + _: &JsValue, + args: &[JsValue], console: &mut Self, - context: &mut Context<'_> -) -> JsResult<JsValue>

    console.countReset(label)

    + context: &mut Context<'_> +) -> JsResult<JsValue>

    console.countReset(label)

    Resets the counter for label.

    More information:

      @@ -128,11 +128,11 @@
    source

    fn system_time_in_ms() -> u128

    Returns current system time in ms.

    source

    fn time( - _: &JsValue, - args: &[JsValue], + _: &JsValue, + args: &[JsValue], console: &mut Self, - context: &mut Context<'_> -) -> JsResult<JsValue>

    console.time(label)

    + context: &mut Context<'_> +) -> JsResult<JsValue>

    console.time(label)

    Starts the timer for given label.

    More information:

    source

    fn time_log( - _: &JsValue, - args: &[JsValue], + _: &JsValue, + args: &[JsValue], console: &Self, - context: &mut Context<'_> -) -> JsResult<JsValue>

    console.timeLog(label, ...data)

    + context: &mut Context<'_> +) -> JsResult<JsValue>

    console.timeLog(label, ...data)

    Prints elapsed time for timer with given label.

    More information:

    source

    fn time_end( - _: &JsValue, - args: &[JsValue], + _: &JsValue, + args: &[JsValue], console: &mut Self, - context: &mut Context<'_> -) -> JsResult<JsValue>

    console.timeEnd(label)

    + context: &mut Context<'_> +) -> JsResult<JsValue>

    console.timeEnd(label)

    Removes the timer with given label.

    More information:

    source

    fn group( - _: &JsValue, - args: &[JsValue], + _: &JsValue, + args: &[JsValue], console: &mut Self, - context: &mut Context<'_> -) -> JsResult<JsValue>

    console.group(...data)

    + context: &mut Context<'_> +) -> JsResult<JsValue>

    console.group(...data)

    Adds new group with name from formatted data to stack.

    More information:

    source

    fn group_end( - _: &JsValue, - _: &[JsValue], + _: &JsValue, + _: &[JsValue], console: &mut Self, - _: &mut Context<'_> -) -> JsResult<JsValue>

    console.groupEnd(label)

    + _: &mut Context<'_> +) -> JsResult<JsValue>

    console.groupEnd(label)

    Removes the last group from the stack.

    More information:

    source

    fn dir( - _: &JsValue, - args: &[JsValue], + _: &JsValue, + args: &[JsValue], console: &Self, - _: &mut Context<'_> -) -> JsResult<JsValue>

    console.dir(item, options)

    + _: &mut Context<'_> +) -> JsResult<JsValue>

    console.dir(item, options)

    Prints info about item

    More information:

      @@ -212,8 +212,8 @@ U: From<T>,
      source§

      fn into(self) -> U

      Calls U::from(self).

      That is, this conversion is whatever the implementation of From<T> for U chooses to do.

      -
    §

    impl<T> NativeObject for Twhere - T: Any + Trace,

    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert the Rust type which implements NativeObject to a &dyn Any.
    §

    fn as_mut_any(&mut self) -> &mut (dyn Any + 'static)

    Convert the Rust type which implements NativeObject to a &mut dyn Any.
    §

    impl<T> Pipe for Twhere +

    source§

    impl<T> NativeObject for Twhere + T: Any + Trace,

    source§

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert the Rust type which implements NativeObject to a &dyn Any.
    source§

    fn as_mut_any(&mut self) -> &mut (dyn Any + 'static)

    Convert the Rust type which implements NativeObject to a &mut dyn Any.
    §

    impl<T> Pipe for Twhere T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere Self: Sized,

    Pipes by value. This is generally the method you want to use. Read more
    §

    fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere R: 'a,

    Borrows self and passes that borrow into the pipe function. Read more
    §

    fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere diff --git a/doc/boa_runtime/struct.Console.html b/doc/boa_runtime/struct.Console.html index 3a9411b0ef2..67e5066fe7e 100644 --- a/doc/boa_runtime/struct.Console.html +++ b/doc/boa_runtime/struct.Console.html @@ -1,16 +1,16 @@ Console in boa_runtime - Rust

    Struct boa_runtime::Console

    source ·
    pub struct Console {
    -    count_map: FxHashMap<JsString, u32>,
    -    timer_map: FxHashMap<JsString, u128>,
    +    count_map: FxHashMap<JsString, u32>,
    +    timer_map: FxHashMap<JsString, u128>,
         groups: Vec<String>,
     }
    Expand description

    This is the internal console object state.

    -

    Fields§

    §count_map: FxHashMap<JsString, u32>§timer_map: FxHashMap<JsString, u128>§groups: Vec<String>

    Implementations§

    source§

    impl Console

    source

    pub const NAME: &'static str = "console"

    Name of the built-in console property.

    -
    source

    pub fn init(context: &mut Context<'_>) -> JsObject

    Initializes the console built-in object.

    +

    Fields§

    §count_map: FxHashMap<JsString, u32>§timer_map: FxHashMap<JsString, u128>§groups: Vec<String>

    Implementations§

    source§

    impl Console

    source

    pub const NAME: &'static str = "console"

    Name of the built-in console property.

    +
    source

    pub fn init(context: &mut Context<'_>) -> JsObject

    Initializes the console built-in object.

    source

    fn assert( - _: &JsValue, - args: &[JsValue], + _: &JsValue, + args: &[JsValue], console: &Self, - context: &mut Context<'_> -) -> JsResult<JsValue>

    console.assert(condition, ...data)

    + context: &mut Context<'_> +) -> JsResult<JsValue>

    console.assert(condition, ...data)

    Prints a JavaScript value to the standard error if first argument evaluates to false or there were no arguments.

    More information:

    @@ -19,11 +19,11 @@
  • WHATWG console specification
  • source

    fn clear( - _: &JsValue, - _: &[JsValue], + _: &JsValue, + _: &[JsValue], console: &mut Self, - _: &mut Context<'_> -) -> JsResult<JsValue>

    console.clear()

    + _: &mut Context<'_> +) -> JsResult<JsValue>

    console.clear()

    Removes all groups and clears console if possible.

    More information:

    source

    fn debug( - _: &JsValue, - args: &[JsValue], + _: &JsValue, + args: &[JsValue], console: &Self, - context: &mut Context<'_> -) -> JsResult<JsValue>

    console.debug(...data)

    + context: &mut Context<'_> +) -> JsResult<JsValue>

    console.debug(...data)

    Prints a JavaScript values with “debug” logLevel.

    More information:

    source

    fn error( - _: &JsValue, - args: &[JsValue], + _: &JsValue, + args: &[JsValue], console: &Self, - context: &mut Context<'_> -) -> JsResult<JsValue>

    console.error(...data)

    + context: &mut Context<'_> +) -> JsResult<JsValue>

    console.error(...data)

    Prints a JavaScript values with “error” logLevel.

    More information:

    source

    fn info( - _: &JsValue, - args: &[JsValue], + _: &JsValue, + args: &[JsValue], console: &Self, - context: &mut Context<'_> -) -> JsResult<JsValue>

    console.info(...data)

    + context: &mut Context<'_> +) -> JsResult<JsValue>

    console.info(...data)

    Prints a JavaScript values with “info” logLevel.

    More information:

    source

    fn log( - _: &JsValue, - args: &[JsValue], + _: &JsValue, + args: &[JsValue], console: &Self, - context: &mut Context<'_> -) -> JsResult<JsValue>

    console.log(...data)

    + context: &mut Context<'_> +) -> JsResult<JsValue>

    console.log(...data)

    Prints a JavaScript values with “log” logLevel.

    More information:

    source

    fn trace( - _: &JsValue, - args: &[JsValue], + _: &JsValue, + args: &[JsValue], console: &Self, - context: &mut Context<'_> -) -> JsResult<JsValue>

    console.trace(...data)

    + context: &mut Context<'_> +) -> JsResult<JsValue>

    console.trace(...data)

    Prints a stack trace with “trace” logLevel, optionally labelled by data.

    More information:

    source

    fn warn( - _: &JsValue, - args: &[JsValue], + _: &JsValue, + args: &[JsValue], console: &Self, - context: &mut Context<'_> -) -> JsResult<JsValue>

    console.warn(...data)

    + context: &mut Context<'_> +) -> JsResult<JsValue>

    console.warn(...data)

    Prints a JavaScript values with “warn” logLevel.

    More information:

    source

    fn count( - _: &JsValue, - args: &[JsValue], + _: &JsValue, + args: &[JsValue], console: &mut Self, - context: &mut Context<'_> -) -> JsResult<JsValue>

    console.count(label)

    + context: &mut Context<'_> +) -> JsResult<JsValue>

    console.count(label)

    Prints number of times the function was called with that particular label.

    More information:

    source

    fn count_reset( - _: &JsValue, - args: &[JsValue], + _: &JsValue, + args: &[JsValue], console: &mut Self, - context: &mut Context<'_> -) -> JsResult<JsValue>

    console.countReset(label)

    + context: &mut Context<'_> +) -> JsResult<JsValue>

    console.countReset(label)

    Resets the counter for label.

    More information:

      @@ -128,11 +128,11 @@
    source

    fn system_time_in_ms() -> u128

    Returns current system time in ms.

    source

    fn time( - _: &JsValue, - args: &[JsValue], + _: &JsValue, + args: &[JsValue], console: &mut Self, - context: &mut Context<'_> -) -> JsResult<JsValue>

    console.time(label)

    + context: &mut Context<'_> +) -> JsResult<JsValue>

    console.time(label)

    Starts the timer for given label.

    More information:

    source

    fn time_log( - _: &JsValue, - args: &[JsValue], + _: &JsValue, + args: &[JsValue], console: &Self, - context: &mut Context<'_> -) -> JsResult<JsValue>

    console.timeLog(label, ...data)

    + context: &mut Context<'_> +) -> JsResult<JsValue>

    console.timeLog(label, ...data)

    Prints elapsed time for timer with given label.

    More information:

    source

    fn time_end( - _: &JsValue, - args: &[JsValue], + _: &JsValue, + args: &[JsValue], console: &mut Self, - context: &mut Context<'_> -) -> JsResult<JsValue>

    console.timeEnd(label)

    + context: &mut Context<'_> +) -> JsResult<JsValue>

    console.timeEnd(label)

    Removes the timer with given label.

    More information:

    source

    fn group( - _: &JsValue, - args: &[JsValue], + _: &JsValue, + args: &[JsValue], console: &mut Self, - context: &mut Context<'_> -) -> JsResult<JsValue>

    console.group(...data)

    + context: &mut Context<'_> +) -> JsResult<JsValue>

    console.group(...data)

    Adds new group with name from formatted data to stack.

    More information:

    source

    fn group_end( - _: &JsValue, - _: &[JsValue], + _: &JsValue, + _: &[JsValue], console: &mut Self, - _: &mut Context<'_> -) -> JsResult<JsValue>

    console.groupEnd(label)

    + _: &mut Context<'_> +) -> JsResult<JsValue>

    console.groupEnd(label)

    Removes the last group from the stack.

    More information:

    source

    fn dir( - _: &JsValue, - args: &[JsValue], + _: &JsValue, + args: &[JsValue], console: &Self, - _: &mut Context<'_> -) -> JsResult<JsValue>

    console.dir(item, options)

    + _: &mut Context<'_> +) -> JsResult<JsValue>

    console.dir(item, options)

    Prints info about item

    More information:

      @@ -212,8 +212,8 @@ U: From<T>,
      source§

      fn into(self) -> U

      Calls U::from(self).

      That is, this conversion is whatever the implementation of From<T> for U chooses to do.

      -
    §

    impl<T> NativeObject for Twhere - T: Any + Trace,

    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert the Rust type which implements NativeObject to a &dyn Any.
    §

    fn as_mut_any(&mut self) -> &mut (dyn Any + 'static)

    Convert the Rust type which implements NativeObject to a &mut dyn Any.
    §

    impl<T> Pipe for Twhere +

    source§

    impl<T> NativeObject for Twhere + T: Any + Trace,

    source§

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert the Rust type which implements NativeObject to a &dyn Any.
    source§

    fn as_mut_any(&mut self) -> &mut (dyn Any + 'static)

    Convert the Rust type which implements NativeObject to a &mut dyn Any.
    §

    impl<T> Pipe for Twhere T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere Self: Sized,

    Pipes by value. This is generally the method you want to use. Read more
    §

    fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere R: 'a,

    Borrows self and passes that borrow into the pipe function. Read more
    §

    fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere diff --git a/doc/boa_tester/exec/fn.is_error_type.html b/doc/boa_tester/exec/fn.is_error_type.html index 3b5a112d3bc..4df58a3e269 100644 --- a/doc/boa_tester/exec/fn.is_error_type.html +++ b/doc/boa_tester/exec/fn.is_error_type.html @@ -1,6 +1,6 @@ is_error_type in boa_tester::exec - Rust

    Function boa_tester::exec::is_error_type

    source ·
    fn is_error_type(
    -    error: &JsError,
    +    error: &JsError,
         target_type: ErrorType,
    -    context: &mut Context<'_>
    +    context: &mut Context<'_>
     ) -> bool
    Expand description

    Returns true if error is a target_type error.

    \ No newline at end of file diff --git a/doc/boa_tester/exec/fn.register_print_fn.html b/doc/boa_tester/exec/fn.register_print_fn.html index a9a17b644b8..c7be5754799 100644 --- a/doc/boa_tester/exec/fn.register_print_fn.html +++ b/doc/boa_tester/exec/fn.register_print_fn.html @@ -1,2 +1,2 @@ -register_print_fn in boa_tester::exec - Rust
    fn register_print_fn(context: &mut Context<'_>, async_result: AsyncResult)
    Expand description

    Registers the print function in the context.

    +register_print_fn in boa_tester::exec - Rust
    fn register_print_fn(context: &mut Context<'_>, async_result: AsyncResult)
    Expand description

    Registers the print function in the context.

    \ No newline at end of file diff --git a/doc/boa_tester/exec/js262/fn.agent_obj.html b/doc/boa_tester/exec/js262/fn.agent_obj.html index fb51e3c0ec9..f572be3c1eb 100644 --- a/doc/boa_tester/exec/js262/fn.agent_obj.html +++ b/doc/boa_tester/exec/js262/fn.agent_obj.html @@ -1,2 +1,2 @@ -agent_obj in boa_tester::exec::js262 - Rust

    Function boa_tester::exec::js262::agent_obj

    source ·
    fn agent_obj(handles: WorkerHandles, context: &mut Context<'_>) -> JsObject
    Expand description

    Initializes the $262.agent object in the main agent.

    +agent_obj in boa_tester::exec::js262 - Rust

    Function boa_tester::exec::js262::agent_obj

    source ·
    fn agent_obj(handles: WorkerHandles, context: &mut Context<'_>) -> JsObject
    Expand description

    Initializes the $262.agent object in the main agent.

    \ No newline at end of file diff --git a/doc/boa_tester/exec/js262/fn.create_realm.html b/doc/boa_tester/exec/js262/fn.create_realm.html index 34fde340b73..35ed85b63ff 100644 --- a/doc/boa_tester/exec/js262/fn.create_realm.html +++ b/doc/boa_tester/exec/js262/fn.create_realm.html @@ -1,8 +1,8 @@ create_realm in boa_tester::exec::js262 - Rust
    fn create_realm(
    -    _: &JsValue,
    -    _: &[JsValue],
    -    _: &mut Context<'_>
    -) -> JsResult<JsValue>
    Expand description

    The $262.createRealm() function.

    + _: &JsValue, + _: &[JsValue], + _: &mut Context<'_> +) -> JsResult<JsValue>
    Expand description

    The $262.createRealm() function.

    Creates a new ECMAScript Realm, defines this API on the new realm’s global object, and returns the $262 property of the new realm’s global object.

    \ No newline at end of file diff --git a/doc/boa_tester/exec/js262/fn.detach_array_buffer.html b/doc/boa_tester/exec/js262/fn.detach_array_buffer.html index 818682c5658..cc50b0d2fb2 100644 --- a/doc/boa_tester/exec/js262/fn.detach_array_buffer.html +++ b/doc/boa_tester/exec/js262/fn.detach_array_buffer.html @@ -1,7 +1,7 @@ detach_array_buffer in boa_tester::exec::js262 - Rust
    fn detach_array_buffer(
    -    _: &JsValue,
    -    args: &[JsValue],
    -    _: &mut Context<'_>
    -) -> JsResult<JsValue>
    Expand description

    The $262.detachArrayBuffer() function.

    + _: &JsValue, + args: &[JsValue], + _: &mut Context<'_> +) -> JsResult<JsValue>
    Expand description

    The $262.detachArrayBuffer() function.

    Implements the DetachArrayBuffer abstract operation.

    \ No newline at end of file diff --git a/doc/boa_tester/exec/js262/fn.eval_script.html b/doc/boa_tester/exec/js262/fn.eval_script.html index eafe39ccbc2..5f346fd3060 100644 --- a/doc/boa_tester/exec/js262/fn.eval_script.html +++ b/doc/boa_tester/exec/js262/fn.eval_script.html @@ -1,7 +1,7 @@ eval_script in boa_tester::exec::js262 - Rust

    Function boa_tester::exec::js262::eval_script

    source ·
    fn eval_script(
    -    _this: &JsValue,
    -    args: &[JsValue],
    -    context: &mut Context<'_>
    -) -> JsResult<JsValue>
    Expand description

    The $262.evalScript() function.

    + _this: &JsValue, + args: &[JsValue], + context: &mut Context<'_> +) -> JsResult<JsValue>
    Expand description

    The $262.evalScript() function.

    Accepts a string value as its first argument and executes it as an ECMAScript script.

    \ No newline at end of file diff --git a/doc/boa_tester/exec/js262/fn.gc.html b/doc/boa_tester/exec/js262/fn.gc.html index c665b7b9d12..7e6187813c5 100644 --- a/doc/boa_tester/exec/js262/fn.gc.html +++ b/doc/boa_tester/exec/js262/fn.gc.html @@ -1,8 +1,8 @@ gc in boa_tester::exec::js262 - Rust

    Function boa_tester::exec::js262::gc

    source ·
    fn gc(
    -    _this: &JsValue,
    -    _: &[JsValue],
    -    _context: &mut Context<'_>
    -) -> JsResult<JsValue>
    Expand description

    The $262.gc() function.

    + _this: &JsValue, + _: &[JsValue], + _context: &mut Context<'_> +) -> JsResult<JsValue>
    Expand description

    The $262.gc() function.

    Wraps the host’s garbage collection invocation mechanism, if such a capability exists. Must throw an exception if no capability exists. This is necessary for testing the semantics of any feature that relies on garbage collection, e.g. the WeakRef API.

    diff --git a/doc/boa_tester/exec/js262/fn.monotonic_now.html b/doc/boa_tester/exec/js262/fn.monotonic_now.html index 288f1e95e5a..8ef994a647e 100644 --- a/doc/boa_tester/exec/js262/fn.monotonic_now.html +++ b/doc/boa_tester/exec/js262/fn.monotonic_now.html @@ -1,6 +1,6 @@ monotonic_now in boa_tester::exec::js262 - Rust
    fn monotonic_now(
    -    _: &JsValue,
    -    _: &[JsValue],
    -    _: &mut Context<'_>
    -) -> JsResult<JsValue>
    Expand description

    The $262.agent.monotonicNow() function.

    + _: &JsValue, + _: &[JsValue], + _: &mut Context<'_> +) -> JsResult<JsValue>
    Expand description

    The $262.agent.monotonicNow() function.

    \ No newline at end of file diff --git a/doc/boa_tester/exec/js262/fn.register_js262.html b/doc/boa_tester/exec/js262/fn.register_js262.html index cd830f45f35..11c7ab11cd7 100644 --- a/doc/boa_tester/exec/js262/fn.register_js262.html +++ b/doc/boa_tester/exec/js262/fn.register_js262.html @@ -1,5 +1,5 @@ register_js262 in boa_tester::exec::js262 - Rust
    pub(super) fn register_js262(
         handles: WorkerHandles,
    -    context: &mut Context<'_>
    -) -> JsObject
    Expand description

    Creates the object $262 in the context.

    + context: &mut Context<'_> +) -> JsObject
    Expand description

    Creates the object $262 in the context.

    \ No newline at end of file diff --git a/doc/boa_tester/exec/js262/fn.register_js262_worker.html b/doc/boa_tester/exec/js262/fn.register_js262_worker.html index b6db28feba0..f118856ee3d 100644 --- a/doc/boa_tester/exec/js262/fn.register_js262_worker.html +++ b/doc/boa_tester/exec/js262/fn.register_js262_worker.html @@ -1,6 +1,6 @@ register_js262_worker in boa_tester::exec::js262 - Rust
    fn register_js262_worker(
    -    rx: BusReader<SharedArrayBuffer>,
    +    rx: BusReader<SharedArrayBuffer>,
         tx: Sender<Vec<u16>>,
    -    context: &mut Context<'_>
    +    context: &mut Context<'_>
     )
    Expand description

    Initializes the $262 object in a worker agent.

    \ No newline at end of file diff --git a/doc/boa_tester/exec/js262/fn.sleep.html b/doc/boa_tester/exec/js262/fn.sleep.html index 30b905df45f..3b67465fe65 100644 --- a/doc/boa_tester/exec/js262/fn.sleep.html +++ b/doc/boa_tester/exec/js262/fn.sleep.html @@ -1,6 +1,6 @@ sleep in boa_tester::exec::js262 - Rust

    Function boa_tester::exec::js262::sleep

    source ·
    fn sleep(
    -    _: &JsValue,
    -    args: &[JsValue],
    -    context: &mut Context<'_>
    -) -> JsResult<JsValue>
    Expand description

    The $262.agent.sleep() function.

    + _: &JsValue, + args: &[JsValue], + context: &mut Context<'_> +) -> JsResult<JsValue>
    Expand description

    The $262.agent.sleep() function.

    \ No newline at end of file diff --git a/doc/boa_tester/fn.run_test_suite.html b/doc/boa_tester/fn.run_test_suite.html index 6aa28bae889..791cccf582f 100644 --- a/doc/boa_tester/fn.run_test_suite.html +++ b/doc/boa_tester/fn.run_test_suite.html @@ -7,7 +7,7 @@ output: Option<&Path>, edition: SpecEdition, versioned: bool, - optimizer_options: OptimizerOptions, + optimizer_options: OptimizerOptions, console: bool ) -> Result<()>
    Expand description

    Runs the full test suite.

    \ No newline at end of file diff --git a/doc/boa_tester/struct.Test.html b/doc/boa_tester/struct.Test.html index 8f7086a5492..2021fa87faf 100644 --- a/doc/boa_tester/struct.Test.html +++ b/doc/boa_tester/struct.Test.html @@ -16,7 +16,7 @@ &self, harness: &Harness, verbose: u8, - optimizer_options: OptimizerOptions, + optimizer_options: OptimizerOptions, console: bool ) -> Vec<TestResult>

    Runs the test.

    source

    fn run_once( @@ -24,13 +24,13 @@ harness: &Harness, strict: bool, verbose: u8, - optimizer_options: OptimizerOptions, + optimizer_options: OptimizerOptions, console: bool ) -> TestResult

    Runs the test once, in strict or non-strict mode

    source

    fn set_up_env( &self, harness: &Harness, - context: &mut Context<'_>, + context: &mut Context<'_>, async_result: AsyncResult, handles: WorkerHandles, console: bool diff --git a/doc/boa_tester/struct.TestSuite.html b/doc/boa_tester/struct.TestSuite.html index 63d77686b72..4264d1a3fa7 100644 --- a/doc/boa_tester/struct.TestSuite.html +++ b/doc/boa_tester/struct.TestSuite.html @@ -10,7 +10,7 @@ verbose: u8, parallel: bool, max_edition: SpecEdition, - optimizer_options: OptimizerOptions, + optimizer_options: OptimizerOptions, console: bool ) -> SuiteResult

    Runs the test suite.

    Trait Implementations§

    source§

    impl Clone for TestSuite

    source§

    fn clone(&self) -> TestSuite

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TestSuite

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for TestSuite

    §

    impl Send for TestSuite

    §

    impl Sync for TestSuite

    §

    impl Unpin for TestSuite

    §

    impl UnwindSafe for TestSuite

    Blanket Implementations§

    source§

    impl<T> Any for Twhere diff --git a/doc/implementors/boa_interner/trait.ToIndentedString.js b/doc/implementors/boa_interner/trait.ToIndentedString.js index c5813326374..d828431aac8 100644 --- a/doc/implementors/boa_interner/trait.ToIndentedString.js +++ b/doc/implementors/boa_interner/trait.ToIndentedString.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"boa_ast":[["impl ToIndentedString for AsyncFunction"],["impl ToIndentedString for DoWhileLoop"],["impl ToIndentedString for AsyncArrowFunction"],["impl ToIndentedString for ForOfLoop"],["impl ToIndentedString for Block"],["impl ToIndentedString for Finally"],["impl ToIndentedString for Class"],["impl ToIndentedString for Expression"],["impl ToIndentedString for Generator"],["impl ToIndentedString for Switch"],["impl ToIndentedString for StatementListItem"],["impl ToIndentedString for WhileLoop"],["impl ToIndentedString for ForInLoop"],["impl ToIndentedString for Function"],["impl ToIndentedString for StatementList"],["impl ToIndentedString for ObjectLiteral"],["impl ToIndentedString for ArrowFunction"],["impl ToIndentedString for Declaration"],["impl ToIndentedString for If"],["impl ToIndentedString for Try"],["impl ToIndentedString for ForLoop"],["impl ToIndentedString for Statement"],["impl ToIndentedString for Catch"],["impl ToIndentedString for Script"],["impl ToIndentedString for AsyncGenerator"]] +"boa_ast":[["impl ToIndentedString for AsyncFunction"],["impl ToIndentedString for DoWhileLoop"],["impl ToIndentedString for AsyncArrowFunction"],["impl ToIndentedString for ForOfLoop"],["impl ToIndentedString for Block"],["impl ToIndentedString for Finally"],["impl ToIndentedString for Class"],["impl ToIndentedString for Expression"],["impl ToIndentedString for Generator"],["impl ToIndentedString for Switch"],["impl ToIndentedString for StatementListItem"],["impl ToIndentedString for WhileLoop"],["impl ToIndentedString for ForInLoop"],["impl ToIndentedString for Function"],["impl ToIndentedString for StatementList"],["impl ToIndentedString for ObjectLiteral"],["impl ToIndentedString for ArrowFunction"],["impl ToIndentedString for Declaration"],["impl ToIndentedString for If"],["impl ToIndentedString for Try"],["impl ToIndentedString for ForLoop"],["impl ToIndentedString for Statement"],["impl ToIndentedString for Catch"],["impl ToIndentedString for Script"],["impl ToIndentedString for AsyncGenerator"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/boa_interner/trait.ToInternedString.js b/doc/implementors/boa_interner/trait.ToInternedString.js index 32fdd3850eb..ebc7d31bdb6 100644 --- a/doc/implementors/boa_interner/trait.ToInternedString.js +++ b/doc/implementors/boa_interner/trait.ToInternedString.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"boa_ast":[["impl ToInternedString for Yield"],["impl ToInternedString for LexicalDeclaration"],["impl ToInternedString for FormalParameter"],["impl ToInternedString for Conditional"],["impl ToInternedString for Assign"],["impl ToInternedString for Unary"],["impl ToInternedString for Update"],["impl ToInternedString for VarDeclaration"],["impl ToInternedString for Variable"],["impl ToInternedString for BinaryInPrivate"],["impl ToInternedString for New"],["impl ToInternedString for SimplePropertyAccess"],["impl ToInternedString for ObjectPatternElement"],["impl ToInternedString for Return"],["impl ToInternedString for SuperPropertyAccess"],["impl ToInternedString for Call"],["impl ToInternedString for Binary"],["impl ToInternedString for Throw"],["impl ToInternedString for VariableList"],["impl ToInternedString for Break"],["impl ToInternedString for RegExpLiteral"],["impl ToInternedString for PropertyAccess"],["impl ToInternedString for Await"],["impl ToInternedString for Binding"],["impl ToInternedString for Spread"],["impl ToInternedString for Continue"],["impl ToInternedString for With"],["impl ToInternedString for SuperCall"],["impl ToInternedString for OptionalOperation"],["impl ToInternedString for ObjectPattern"],["impl ToInternedString for AssignTarget"],["impl ToInternedString for ForLoopInitializer"],["impl ToInternedString for UpdateTarget"],["impl ToInternedString for ArrayLiteral"],["impl ToInternedString for PrivatePropertyAccess"],["impl ToInternedString for Literal"],["impl ToInternedString for Optional"],["impl ToInternedString for Identifier"],["impl ToInternedString for TaggedTemplate"],["impl ToInternedString for IterableLoopInitializer"],["impl ToInternedString for ImportCall"],["impl ToInternedString for Parenthesized"],["impl ToInternedString for PropertyName"],["impl ToInternedString for TemplateLiteral"],["impl ToInternedString for ArrayPatternElement"],["impl ToInternedString for LabelledItem"],["impl ToInternedString for Pattern"],["impl ToInternedString for Labelled"],["impl ToInternedString for ArrayPattern"]], +"boa_ast":[["impl ToInternedString for Yield"],["impl ToInternedString for LexicalDeclaration"],["impl ToInternedString for FormalParameter"],["impl ToInternedString for Conditional"],["impl ToInternedString for Assign"],["impl ToInternedString for Unary"],["impl ToInternedString for Update"],["impl ToInternedString for VarDeclaration"],["impl ToInternedString for Variable"],["impl ToInternedString for BinaryInPrivate"],["impl ToInternedString for New"],["impl ToInternedString for SimplePropertyAccess"],["impl ToInternedString for ObjectPatternElement"],["impl ToInternedString for Return"],["impl ToInternedString for SuperPropertyAccess"],["impl ToInternedString for Call"],["impl ToInternedString for Binary"],["impl ToInternedString for Throw"],["impl ToInternedString for VariableList"],["impl ToInternedString for Break"],["impl ToInternedString for RegExpLiteral"],["impl ToInternedString for PropertyAccess"],["impl ToInternedString for Await"],["impl ToInternedString for Binding"],["impl ToInternedString for Spread"],["impl ToInternedString for Continue"],["impl ToInternedString for With"],["impl ToInternedString for SuperCall"],["impl ToInternedString for OptionalOperation"],["impl ToInternedString for ObjectPattern"],["impl ToInternedString for AssignTarget"],["impl ToInternedString for ForLoopInitializer"],["impl ToInternedString for UpdateTarget"],["impl ToInternedString for ArrayLiteral"],["impl ToInternedString for PrivatePropertyAccess"],["impl ToInternedString for Literal"],["impl ToInternedString for Optional"],["impl ToInternedString for Identifier"],["impl ToInternedString for TaggedTemplate"],["impl ToInternedString for IterableLoopInitializer"],["impl ToInternedString for ImportCall"],["impl ToInternedString for Parenthesized"],["impl ToInternedString for PropertyName"],["impl ToInternedString for TemplateLiteral"],["impl ToInternedString for ArrayPatternElement"],["impl ToInternedString for LabelledItem"],["impl ToInternedString for Pattern"],["impl ToInternedString for Labelled"],["impl ToInternedString for ArrayPattern"]], "boa_engine":[["impl ToInternedString for CodeBlock"]], "boa_interner":[] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/core/cmp/trait.PartialEq.js b/doc/implementors/core/cmp/trait.PartialEq.js index f1761635ae3..41d98e13538 100644 --- a/doc/implementors/core/cmp/trait.PartialEq.js +++ b/doc/implementors/core/cmp/trait.PartialEq.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"boa_ast":[["impl PartialEq<Position> for Position"],["impl PartialEq<Module> for Module"],["impl PartialEq<PrivateName> for PrivateName"],["impl PartialEq<ImportKind> for ImportKind"],["impl PartialEq<AsyncGenerator> for AsyncGenerator"],["impl PartialEq<RelationalOp> for RelationalOp"],["impl PartialEq<Statement> for Statement"],["impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess"],["impl PartialEq<RegExpLiteral> for RegExpLiteral"],["impl PartialEq<ModuleItem> for ModuleItem"],["impl PartialEq<Unary> for Unary"],["impl PartialEq<Spread> for Spread"],["impl PartialEq<UpdateOp> for UpdateOp"],["impl PartialEq<OptionalOperation> for OptionalOperation"],["impl PartialEq<Block> for Block"],["impl PartialEq<Literal> for Literal"],["impl PartialEq<Variable> for Variable"],["impl PartialEq<Generator> for Generator"],["impl PartialEq<InnerForLoop> for InnerForLoop"],["impl PartialEq<StatementList> for StatementList"],["impl PartialEq<WhileLoop> for WhileLoop"],["impl PartialEq<TaggedTemplate> for TaggedTemplate"],["impl PartialEq<TryFromVariableListError> for TryFromVariableListError"],["impl PartialEq<Yield> for Yield"],["impl PartialEq<AsyncFunction> for AsyncFunction"],["impl PartialEq<ForOfLoop> for ForOfLoop"],["impl PartialEq<SuperCall> for SuperCall"],["impl PartialEq<Assign> for Assign"],["impl PartialEq<AssignTarget> for AssignTarget"],["impl PartialEq<PropertyDefinition> for PropertyDefinition"],["impl PartialEq<Optional> for Optional"],["impl PartialEq<ImportDeclaration> for ImportDeclaration"],["impl PartialEq<VariableList> for VariableList"],["impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess"],["impl PartialEq<Throw> for Throw"],["impl PartialEq<ForInLoop> for ForInLoop"],["impl PartialEq<Return> for Return"],["impl PartialEq<Span> for Span"],["impl PartialEq<TemplateLiteral> for TemplateLiteral"],["impl PartialEq<ExportDeclaration> for ExportDeclaration"],["impl PartialEq<ClassElement> for ClassElement"],["impl PartialEq<BitwiseOp> for BitwiseOp"],["impl PartialEq<PropertyName> for PropertyName"],["impl PartialEq<Parenthesized> for Parenthesized"],["impl PartialEq<ForLoopInitializer> for ForLoopInitializer"],["impl PartialEq<Binding> for Binding"],["impl PartialEq<FormalParameterList> for FormalParameterList"],["impl PartialEq<OptionalOperationKind> for OptionalOperationKind"],["impl PartialEq<With> for With"],["impl PartialEq<ObjectPattern> for ObjectPattern"],["impl PartialEq<ModuleSpecifier> for ModuleSpecifier"],["impl PartialEq<LexicalDeclaration> for LexicalDeclaration"],["impl PartialEq<ModuleItemList> for ModuleItemList"],["impl PartialEq<ArithmeticOp> for ArithmeticOp"],["impl PartialEq<Call> for Call"],["impl PartialEq<UpdateTarget> for UpdateTarget"],["impl PartialEq<Case> for Case"],["impl PartialEq<Declaration> for Declaration"],["impl PartialEq<Update> for Update"],["impl PartialEq<ObjectPatternElement> for ObjectPatternElement"],["impl PartialEq<Finally> for Finally"],["impl PartialEq<IterableLoopInitializer> for IterableLoopInitializer"],["impl PartialEq<ArrowFunction> for ArrowFunction"],["impl PartialEq<If> for If"],["impl PartialEq<Conditional> for Conditional"],["impl PartialEq<LabelledItem> for LabelledItem"],["impl PartialEq<PropertyAccess> for PropertyAccess"],["impl PartialEq<TemplateElement> for TemplateElement"],["impl PartialEq<Labelled> for Labelled"],["impl PartialEq<LogicalOp> for LogicalOp"],["impl PartialEq<FormalParameter> for FormalParameter"],["impl PartialEq<Sym> for Identifier"],["impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess"],["impl PartialEq<ImportCall> for ImportCall"],["impl PartialEq<Await> for Await"],["impl PartialEq<StatementListItem> for StatementListItem"],["impl PartialEq<Continue> for Continue"],["impl PartialEq<Switch> for Switch"],["impl PartialEq<Pattern> for Pattern"],["impl PartialEq<VarDeclaration> for VarDeclaration"],["impl PartialEq<Keyword> for Keyword"],["impl PartialEq<AsyncArrowFunction> for AsyncArrowFunction"],["impl PartialEq<ErrorHandler> for ErrorHandler"],["impl PartialEq<ContainsSymbol> for ContainsSymbol"],["impl PartialEq<MethodDefinition> for MethodDefinition"],["impl PartialEq<BinaryInPrivate> for BinaryInPrivate"],["impl PartialEq<ClassElementName> for ClassElementName"],["impl PartialEq<Break> for Break"],["impl PartialEq<Punctuator> for Punctuator"],["impl PartialEq<PropertyAccessField> for PropertyAccessField"],["impl PartialEq<UnaryOp> for UnaryOp"],["impl PartialEq<New> for New"],["impl PartialEq<Identifier> for Sym"],["impl PartialEq<Identifier> for Identifier"],["impl PartialEq<Class> for Class"],["impl PartialEq<DoWhileLoop> for DoWhileLoop"],["impl PartialEq<ExportSpecifier> for ExportSpecifier"],["impl PartialEq<ImportSpecifier> for ImportSpecifier"],["impl PartialEq<BinaryOp> for BinaryOp"],["impl PartialEq<Function> for Function"],["impl PartialEq<Expression> for Expression"],["impl PartialEq<ArrayLiteral> for ArrayLiteral"],["impl PartialEq<ArrayPattern> for ArrayPattern"],["impl PartialEq<Try> for Try"],["impl PartialEq<FormalParameterListFlags> for FormalParameterListFlags"],["impl PartialEq<ArrayPatternElement> for ArrayPatternElement"],["impl PartialEq<Catch> for Catch"],["impl PartialEq<Binary> for Binary"],["impl PartialEq<AssignOp> for AssignOp"],["impl PartialEq<Script> for Script"],["impl PartialEq<ReExportKind> for ReExportKind"],["impl PartialEq<ObjectLiteral> for ObjectLiteral"],["impl PartialEq<ForLoop> for ForLoop"]], +"boa_ast":[["impl PartialEq<Position> for Position"],["impl PartialEq<Module> for Module"],["impl PartialEq<PrivateName> for PrivateName"],["impl PartialEq<ImportKind> for ImportKind"],["impl PartialEq<AsyncGenerator> for AsyncGenerator"],["impl PartialEq<RelationalOp> for RelationalOp"],["impl PartialEq<Statement> for Statement"],["impl PartialEq<SimplePropertyAccess> for SimplePropertyAccess"],["impl PartialEq<RegExpLiteral> for RegExpLiteral"],["impl PartialEq<ModuleItem> for ModuleItem"],["impl PartialEq<Unary> for Unary"],["impl PartialEq<Spread> for Spread"],["impl PartialEq<UpdateOp> for UpdateOp"],["impl PartialEq<OptionalOperation> for OptionalOperation"],["impl PartialEq<Block> for Block"],["impl PartialEq<Literal> for Literal"],["impl PartialEq<Variable> for Variable"],["impl PartialEq<Generator> for Generator"],["impl PartialEq<InnerForLoop> for InnerForLoop"],["impl PartialEq<StatementList> for StatementList"],["impl PartialEq<WhileLoop> for WhileLoop"],["impl PartialEq<TaggedTemplate> for TaggedTemplate"],["impl PartialEq<TryFromVariableListError> for TryFromVariableListError"],["impl PartialEq<Yield> for Yield"],["impl PartialEq<AsyncFunction> for AsyncFunction"],["impl PartialEq<ForOfLoop> for ForOfLoop"],["impl PartialEq<SuperCall> for SuperCall"],["impl PartialEq<Assign> for Assign"],["impl PartialEq<AssignTarget> for AssignTarget"],["impl PartialEq<PropertyDefinition> for PropertyDefinition"],["impl PartialEq<Optional> for Optional"],["impl PartialEq<ImportDeclaration> for ImportDeclaration"],["impl PartialEq<VariableList> for VariableList"],["impl PartialEq<SuperPropertyAccess> for SuperPropertyAccess"],["impl PartialEq<Throw> for Throw"],["impl PartialEq<ForInLoop> for ForInLoop"],["impl PartialEq<Return> for Return"],["impl PartialEq<Span> for Span"],["impl PartialEq<TemplateLiteral> for TemplateLiteral"],["impl PartialEq<ExportDeclaration> for ExportDeclaration"],["impl PartialEq<ClassElement> for ClassElement"],["impl PartialEq<BitwiseOp> for BitwiseOp"],["impl PartialEq<PropertyName> for PropertyName"],["impl PartialEq<Parenthesized> for Parenthesized"],["impl PartialEq<ForLoopInitializer> for ForLoopInitializer"],["impl PartialEq<Binding> for Binding"],["impl PartialEq<FormalParameterList> for FormalParameterList"],["impl PartialEq<OptionalOperationKind> for OptionalOperationKind"],["impl PartialEq<With> for With"],["impl PartialEq<ObjectPattern> for ObjectPattern"],["impl PartialEq<ModuleSpecifier> for ModuleSpecifier"],["impl PartialEq<LexicalDeclaration> for LexicalDeclaration"],["impl PartialEq<ModuleItemList> for ModuleItemList"],["impl PartialEq<ArithmeticOp> for ArithmeticOp"],["impl PartialEq<Call> for Call"],["impl PartialEq<UpdateTarget> for UpdateTarget"],["impl PartialEq<Case> for Case"],["impl PartialEq<Declaration> for Declaration"],["impl PartialEq<Update> for Update"],["impl PartialEq<ObjectPatternElement> for ObjectPatternElement"],["impl PartialEq<Finally> for Finally"],["impl PartialEq<IterableLoopInitializer> for IterableLoopInitializer"],["impl PartialEq<ArrowFunction> for ArrowFunction"],["impl PartialEq<If> for If"],["impl PartialEq<Conditional> for Conditional"],["impl PartialEq<LabelledItem> for LabelledItem"],["impl PartialEq<PropertyAccess> for PropertyAccess"],["impl PartialEq<TemplateElement> for TemplateElement"],["impl PartialEq<Labelled> for Labelled"],["impl PartialEq<LogicalOp> for LogicalOp"],["impl PartialEq<FormalParameter> for FormalParameter"],["impl PartialEq<Sym> for Identifier"],["impl PartialEq<PrivatePropertyAccess> for PrivatePropertyAccess"],["impl PartialEq<ImportCall> for ImportCall"],["impl PartialEq<Await> for Await"],["impl PartialEq<StatementListItem> for StatementListItem"],["impl PartialEq<Continue> for Continue"],["impl PartialEq<Switch> for Switch"],["impl PartialEq<Pattern> for Pattern"],["impl PartialEq<VarDeclaration> for VarDeclaration"],["impl PartialEq<Keyword> for Keyword"],["impl PartialEq<AsyncArrowFunction> for AsyncArrowFunction"],["impl PartialEq<ErrorHandler> for ErrorHandler"],["impl PartialEq<ContainsSymbol> for ContainsSymbol"],["impl PartialEq<MethodDefinition> for MethodDefinition"],["impl PartialEq<BinaryInPrivate> for BinaryInPrivate"],["impl PartialEq<ClassElementName> for ClassElementName"],["impl PartialEq<Break> for Break"],["impl PartialEq<Punctuator> for Punctuator"],["impl PartialEq<PropertyAccessField> for PropertyAccessField"],["impl PartialEq<UnaryOp> for UnaryOp"],["impl PartialEq<New> for New"],["impl PartialEq<Identifier> for Sym"],["impl PartialEq<Identifier> for Identifier"],["impl PartialEq<Class> for Class"],["impl PartialEq<DoWhileLoop> for DoWhileLoop"],["impl PartialEq<ExportSpecifier> for ExportSpecifier"],["impl PartialEq<ImportSpecifier> for ImportSpecifier"],["impl PartialEq<BinaryOp> for BinaryOp"],["impl PartialEq<Function> for Function"],["impl PartialEq<Expression> for Expression"],["impl PartialEq<ArrayLiteral> for ArrayLiteral"],["impl PartialEq<ArrayPattern> for ArrayPattern"],["impl PartialEq<Try> for Try"],["impl PartialEq<FormalParameterListFlags> for FormalParameterListFlags"],["impl PartialEq<ArrayPatternElement> for ArrayPatternElement"],["impl PartialEq<Catch> for Catch"],["impl PartialEq<Binary> for Binary"],["impl PartialEq<AssignOp> for AssignOp"],["impl PartialEq<Script> for Script"],["impl PartialEq<ReExportKind> for ReExportKind"],["impl PartialEq<ObjectLiteral> for ObjectLiteral"],["impl PartialEq<ForLoop> for ForLoop"]], "boa_engine":[["impl PartialEq<AbstractRelation> for AbstractRelation"],["impl PartialEq<ShapeFlags> for ShapeFlags"],["impl PartialEq<PreferredType> for PreferredType"],["impl PartialEq<RoundingPriority> for RoundingPriority"],["impl PartialEq<IntegrityLevel> for IntegrityLevel"],["impl PartialEq<VaryingOperand> for VaryingOperand"],["impl PartialEq<NonMaxU32> for NonMaxU32"],["impl PartialEq<JsBigInt> for JsBigInt"],["impl PartialEq<JsNativeError> for JsNativeError"],["impl<'a> PartialEq<FunctionSpec<'a>> for FunctionSpec<'a>"],["impl PartialEq<Json> for Json"],["impl PartialEq<RationalHashable> for RationalHashable"],["impl PartialEq<CodePoint> for CodePoint"],["impl PartialEq<JsErasedError> for JsErasedError"],["impl PartialEq<PromiseState> for PromiseState"],["impl PartialEq<ErasedRepr> for ErasedRepr"],["impl<'a, T: PartialEq + ?Sized> PartialEq<MaybeShared<'a, T>> for MaybeShared<'a, T>"],["impl PartialEq<Intl> for Intl"],["impl PartialEq<TryFromF64Error> for TryFromF64Error"],["impl PartialEq<i32> for JsBigInt"],["impl PartialEq<JsString> for str"],["impl PartialEq<JsNativeErrorKind> for JsNativeErrorKind"],["impl PartialEq<Math> for Math"],["impl PartialEq<Atomics> for Atomics"],["impl<const N: usize> PartialEq<[u16; N]> for JsString"],["impl PartialEq<Instruction> for Instruction"],["impl PartialEq<Literal> for Literal"],["impl PartialEq<PropertyKey> for PropertyKey"],["impl PartialEq<JsErasedNativeError> for JsErasedNativeError"],["impl PartialEq<FunctionKind> for FunctionKind"],["impl PartialEq<NodeKind> for NodeKind"],["impl PartialEq<BindingLocator> for BindingLocator"],["impl PartialEq<str> for JsString"],["impl PartialEq<JsErasedNativeErrorKind> for JsErasedNativeErrorKind"],["impl PartialEq<UndefinedHashable> for UndefinedHashable"],["impl PartialEq<BorrowError> for BorrowError"],["impl PartialEq<ClampedU8> for ClampedU8"],["impl PartialEq<JsString> for [u16]"],["impl PartialEq<Repr> for Repr"],["impl PartialEq<AsyncGeneratorState> for AsyncGeneratorState"],["impl PartialEq<[u16]> for PropertyKey"],["impl PartialEq<OperationType> for OperationType"],["impl PartialEq<Module> for Module"],["impl PartialEq<[u16]> for JsString"],["impl PartialEq<Usage> for Usage"],["impl PartialEq<IntegerOrInfinity> for i64"],["impl PartialEq<Reflect> for Reflect"],["impl PartialEq<NullHashable> for NullHashable"],["impl PartialEq<JsBigInt> for i32"],["impl PartialEq<Placement> for Placement"],["impl PartialEq<Direction> for Direction"],["impl PartialEq<Temporal> for Temporal"],["impl PartialEq<RecursionValueState> for RecursionValueState"],["impl PartialEq<JsObject> for JsObject"],["impl PartialEq<IteratorHint> for IteratorHint"],["impl PartialEq<Date> for Date"],["impl PartialEq<LocaleMatcher> for LocaleMatcher"],["impl PartialEq<PrivateName> for PrivateName"],["impl PartialEq<JsValue> for JsValue"],["impl PartialEq<TemporalUnit> for TemporalUnit"],["impl PartialEq<i64> for IntegerOrInfinity"],["impl PartialEq<ErrorKind> for ErrorKind"],["impl PartialEq<TrailingZeroDisplay> for TrailingZeroDisplay"],["impl PartialEq<TypedArrayKind> for TypedArrayKind"],["impl PartialEq<ArithmeticOverflow> for ArithmeticOverflow"],["impl PartialEq<f64> for JsBigInt"],["impl PartialEq<JsError> for JsError"],["impl PartialEq<BorrowMutError> for BorrowMutError"],["impl PartialEq<ErrorKind> for JsNativeErrorKind"],["impl PartialEq<DateTimeReqs> for DateTimeReqs"],["impl PartialEq<IntegerOrInfinity> for IntegerOrInfinity"],["impl PartialEq<TypedArrayElement> for TypedArrayElement"],["impl PartialEq<Notation> for Notation"],["impl PartialEq<Label> for Label"],["impl PartialEq<MapKey> for MapKey"],["impl PartialEq<IntegerOrNan> for IntegerOrNan"],["impl PartialEq<SourceTextModule> for SourceTextModule"],["impl PartialEq<Opcode> for Opcode"],["impl<K: PartialEq + Ord, V: PartialEq, const LHS_SIZE: usize, const RHS_SIZE: usize> PartialEq<SmallMap<K, V, RHS_SIZE>> for SmallMap<K, V, LHS_SIZE>"],["impl PartialEq<Color> for Color"],["impl PartialEq<Attribute> for Attribute"],["impl PartialEq<CompletionType> for CompletionType"],["impl PartialEq<JumpRecordKind> for JumpRecordKind"],["impl PartialEq<Slot> for Slot"],["impl PartialEq<FieldMap> for FieldMap"],["impl PartialEq<UnsignedRoundingMode> for UnsignedRoundingMode"],["impl PartialEq<ConstructorKind> for ConstructorKind"],["impl PartialEq<Numeric> for Numeric"],["impl PartialEq<JsSymbol> for JsSymbol"],["impl PartialEq<JsString> for JsString"],["impl PartialEq<Now> for Now"],["impl PartialEq<JsBigInt> for f64"],["impl PartialEq<ThisMode> for ThisMode"],["impl PartialEq<GeneratorResumeKind> for GeneratorResumeKind"],["impl<const N: usize> PartialEq<JsString> for [u16; N]"],["impl PartialEq<ContentType> for ContentType"],["impl PartialEq<SlotAttributes> for SlotAttributes"],["impl PartialEq<TransitionKey> for TransitionKey"],["impl PartialEq<OptimizerOptions> for OptimizerOptions"],["impl PartialEq<Type> for Type"],["impl PartialEq<Realm> for Realm"]], "boa_gc":[["impl<T: Trace + ?Sized + PartialEq> PartialEq<Gc<T>> for Gc<T>"],["impl PartialEq<BorrowState> for BorrowState"],["impl PartialEq<BorrowError> for BorrowError"],["impl PartialEq<BorrowMutError> for BorrowMutError"],["impl<T: Trace + ?Sized + PartialEq> PartialEq<GcRefCell<T>> for GcRefCell<T>"],["impl<T: Trace> PartialEq<WeakGc<T>> for WeakGc<T>"]], "boa_interner":[["impl<'a, 'b> PartialEq<JSInternedStrRef<'a, 'b>> for JSInternedStrRef<'a, 'b>"],["impl<'a> PartialEq<JStrRef<'a>> for JStrRef<'a>"],["impl PartialEq<Sym> for Sym"],["impl<Char> PartialEq<InternedStr<Char>> for InternedStr<Char>where\n Char: PartialEq,"]], diff --git a/doc/implementors/core/convert/trait.From.js b/doc/implementors/core/convert/trait.From.js index 5be9a454e45..376f4b069a9 100644 --- a/doc/implementors/core/convert/trait.From.js +++ b/doc/implementors/core/convert/trait.From.js @@ -1,6 +1,6 @@ (function() {var implementors = { -"boa_ast":[["impl<'a> From<&'a mut PropertyDefinition> for NodeRefMut<'a>"],["impl<'a> From<&'a FormalParameterList> for NodeRef<'a>"],["impl<'a> From<&'a mut Statement> for NodeRefMut<'a>"],["impl<'a> From<&'a Pattern> for NodeRef<'a>"],["impl<'a> From<&'a mut Block> for NodeRefMut<'a>"],["impl<'a> From<&'a Yield> for NodeRef<'a>"],["impl<'a> From<&'a mut Pattern> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Assign> for NodeRefMut<'a>"],["impl<'a> From<&'a MethodDefinition> for NodeRef<'a>"],["impl<'a> From<&'a WhileLoop> for NodeRef<'a>"],["impl<'a> From<&'a mut Throw> for NodeRefMut<'a>"],["impl<'a> From<&'a Await> for NodeRef<'a>"],["impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>"],["impl<'ast> From<&'ast Declaration> for LexicallyScopedDeclaration<'ast>"],["impl<'a> From<&'a mut ObjectPatternElement> for NodeRefMut<'a>"],["impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>"],["impl<'a> From<&'a mut ArrayPattern> for NodeRefMut<'a>"],["impl<'a> From<&'a Literal> for NodeRef<'a>"],["impl<'a> From<&'a mut AssignTarget> for NodeRefMut<'a>"],["impl From<Declaration> for StatementListItem"],["impl From<ForInLoop> for Statement"],["impl<'a> From<&'a mut New> for NodeRefMut<'a>"],["impl From<Identifier> for Binding"],["impl From<Box<[StatementListItem], Global>> for StatementList"],["impl From<BigInt> for Literal"],["impl From<PropertyAccess> for Expression"],["impl<'a> From<&'a AsyncArrowFunction> for NodeRef<'a>"],["impl From<Optional> for Expression"],["impl<'a> From<&'a ExportDeclaration> for NodeRef<'a>"],["impl<'a> From<&'a mut IterableLoopInitializer> for NodeRefMut<'a>"],["impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>"],["impl<'a> From<&'a SuperCall> for NodeRef<'a>"],["impl From<RegExpLiteral> for Expression"],["impl<'a> From<&'a mut ArrayLiteral> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Try> for NodeRefMut<'a>"],["impl From<SuperCall> for Expression"],["impl From<PrivatePropertyAccess> for PropertyAccess"],["impl<'a> From<&'a mut Call> for NodeRefMut<'a>"],["impl<'a> From<&'a mut With> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Return> for NodeRefMut<'a>"],["impl<'a> From<&'a mut ForOfLoop> for NodeRefMut<'a>"],["impl<'a> From<&'a Return> for NodeRef<'a>"],["impl From<ObjectLiteral> for Expression"],["impl<T> From<T> for ArrayLiteralwhere\n T: Into<Box<[Option<Expression>]>>,"],["impl<'a> From<&'a mut Binding> for NodeRefMut<'a>"],["impl<'a> From<&'a PropertyAccess> for NodeRef<'a>"],["impl From<LogicalOp> for BinaryOp"],["impl From<AsyncGenerator> for Expression"],["impl From<Try> for Statement"],["impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>"],["impl<'a> From<&'a Expression> for NodeRef<'a>"],["impl<'a> From<&'a Sym> for NodeRef<'a>"],["impl From<SuperPropertyAccess> for PropertyAccess"],["impl From<Update> for Expression"],["impl<'a> From<&'a PropertyDefinition> for NodeRef<'a>"],["impl<T> From<T> for ModuleItemListwhere\n T: Into<Box<[ModuleItem]>>,"],["impl<'a> From<&'a mut Labelled> for NodeRefMut<'a>"],["impl From<RelationalOp> for BinaryOp"],["impl<'a> From<&'a Call> for NodeRef<'a>"],["impl From<Function> for LabelledItem"],["impl<'a> From<&'a Update> for NodeRef<'a>"],["impl<'a> From<&'a mut Finally> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Class> for NodeRefMut<'a>"],["impl<'a> From<&'a ModuleItem> for NodeRef<'a>"],["impl From<Return> for Statement"],["impl<'a> From<&'a mut ModuleItem> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Parenthesized> for NodeRefMut<'a>"],["impl<'a> From<&'a Script> for NodeRef<'a>"],["impl<'a> From<&'a Labelled> for NodeRef<'a>"],["impl From<Vec<ArrayPatternElement, Global>> for ArrayPattern"],["impl From<ArithmeticOp> for BinaryOp"],["impl<'a> From<&'a mut ObjectLiteral> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Sym> for NodeRefMut<'a>"],["impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>"],["impl<'a> From<&'a ArrayPattern> for NodeRef<'a>"],["impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>"],["impl From<LocalExportEntry> for ExportEntry"],["impl From<Literal> for Expression"],["impl<'a> From<&'a Switch> for NodeRef<'a>"],["impl<'a> From<&'a mut Update> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Await> for NodeRefMut<'a>"],["impl<'a> From<&'a AssignTarget> for NodeRef<'a>"],["impl<'a> From<&'a mut ForInLoop> for NodeRefMut<'a>"],["impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>"],["impl<'a> From<&'a mut Continue> for NodeRefMut<'a>"],["impl From<ForLoop> for Statement"],["impl From<Block> for Finally"],["impl<'a> From<&'a RegExpLiteral> for NodeRef<'a>"],["impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Script> for NodeRefMut<'a>"],["impl From<AsyncGenerator> for Declaration"],["impl<'a> From<&'a mut ObjectPattern> for NodeRefMut<'a>"],["impl From<bool> for Literal"],["impl From<ForOfLoop> for Statement"],["impl<'a> From<&'a Conditional> for NodeRef<'a>"],["impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>"],["impl<'a> From<&'a VariableList> for NodeRef<'a>"],["impl<'a> From<&'a ForLoopInitializer> for NodeRef<'a>"],["impl From<Spread> for Expression"],["impl<'a> From<&'a AsyncGenerator> for NodeRef<'a>"],["impl<'a> From<&'a TaggedTemplate> for NodeRef<'a>"],["impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>"],["impl<'a> From<&'a mut TaggedTemplate> for NodeRefMut<'a>"],["impl<'a> From<&'a mut OptionalOperation> for NodeRefMut<'a>"],["impl From<ImportCall> for Expression"],["impl From<Box<BigInt, Global>> for Literal"],["impl From<Generator> for Expression"],["impl<'a> From<&'a ArrayLiteral> for NodeRef<'a>"],["impl From<VarDeclaration> for Statement"],["impl From<LexicalDeclaration> for ForLoopInitializer"],["impl<'a> From<&'a Binary> for NodeRef<'a>"],["impl<T> From<T> for Awaitwhere\n T: Into<Box<Expression>>,"],["impl<'a> From<&'a Optional> for NodeRef<'a>"],["impl From<Call> for Expression"],["impl<'a> From<&'a ImportCall> for NodeRef<'a>"],["impl<'a> From<&'a BinaryInPrivate> for NodeRef<'a>"],["impl<'a> From<&'a mut Case> for NodeRefMut<'a>"],["impl From<Assign> for Expression"],["impl<'a> From<&'a ExportSpecifier> for NodeRef<'a>"],["impl From<Vec<ArrayPatternElement, Global>> for Pattern"],["impl From<Generator> for Declaration"],["impl<'a> From<&'a ClassElement> for NodeRef<'a>"],["impl<'a> From<&'a mut TemplateElement> for NodeRefMut<'a>"],["impl<'a> From<&'a New> for NodeRef<'a>"],["impl<'a> From<&'a mut ArrayPatternElement> for NodeRefMut<'a>"],["impl From<Vec<ObjectPatternElement, Global>> for ObjectPattern"],["impl From<Class> for Declaration"],["impl<'a> From<&'a ObjectPatternElement> for NodeRef<'a>"],["impl<'a> From<&'a mut Module> for NodeRefMut<'a>"],["impl<'a> From<&'a mut ReExportKind> for NodeRefMut<'a>"],["impl<'a> From<&'a LabelledItem> for NodeRef<'a>"],["impl<'a> From<&'a mut LabelledItem> for NodeRefMut<'a>"],["impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>"],["impl From<ArrowFunction> for Expression"],["impl<'a> From<&'a mut StatementList> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Optional> for NodeRefMut<'a>"],["impl From<Expression> for ForLoopInitializer"],["impl<'a> From<&'a Assign> for NodeRef<'a>"],["impl From<With> for Statement"],["impl From<Expression> for PropertyName"],["impl From<Unary> for Expression"],["impl<'a> From<&'a mut ForLoop> for NodeRefMut<'a>"],["impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>"],["impl<'a> From<&'a Binding> for NodeRef<'a>"],["impl<T> From<T> for Blockwhere\n T: Into<StatementList>,"],["impl<'a> From<&'a Declaration> for NodeRef<'a>"],["impl<'a> From<&'a ObjectPattern> for NodeRef<'a>"],["impl From<IndirectExportEntry> for ExportEntry"],["impl<'a> From<&'a mut FormalParameter> for NodeRefMut<'a>"],["impl From<Position> for Span"],["impl<'a> From<&'a mut ExportSpecifier> for NodeRefMut<'a>"],["impl From<Block> for Statement"],["impl From<BitwiseOp> for BinaryOp"],["impl From<TemplateLiteral> for Expression"],["impl<'a> From<&'a mut FormalParameterList> for NodeRefMut<'a>"],["impl<'a> From<&'a Statement> for NodeRef<'a>"],["impl<'a> From<&'a FormalParameter> for NodeRef<'a>"],["impl<'a> From<&'a mut Break> for NodeRefMut<'a>"],["impl From<Expression> for Statement"],["impl<'a> From<&'a mut Yield> for NodeRefMut<'a>"],["impl From<Parenthesized> for Expression"],["impl From<Call> for New"],["impl<'a> From<&'a StatementListItem> for NodeRef<'a>"],["impl<'a> From<&'a mut ClassElement> for NodeRefMut<'a>"],["impl From<Vec<ObjectPatternElement, Global>> for Pattern"],["impl<'a> From<&'a mut TemplateLiteral> for NodeRefMut<'a>"],["impl<'a> From<&'a mut MethodDefinition> for NodeRefMut<'a>"],["impl From<VarDeclaration> for ForLoopInitializer"],["impl From<Vec<StatementListItem, Global>> for StatementList"],["impl<'a> From<&'a Parenthesized> for NodeRef<'a>"],["impl<'a> From<&'a Identifier> for NodeRef<'a>"],["impl<'a> From<&'a OptionalOperationKind> for NodeRef<'a>"],["impl<'a> From<&'a Finally> for NodeRef<'a>"],["impl From<ObjectPattern> for Pattern"],["impl From<Statement> for StatementListItem"],["impl From<ArrayLiteral> for Expression"],["impl<'a> From<&'a Break> for NodeRef<'a>"],["impl From<Sym> for ModuleSpecifier"],["impl<'a> From<&'a Continue> for NodeRef<'a>"],["impl<'a> From<&'a Throw> for NodeRef<'a>"],["impl<'a> From<&'a Variable> for NodeRef<'a>"],["impl<'a> From<&'a ForInLoop> for NodeRef<'a>"],["impl From<AsyncFunction> for Declaration"],["impl From<Pattern> for Binding"],["impl<'a> From<&'a mut DoWhileLoop> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Declaration> for NodeRefMut<'a>"],["impl<'a> From<&'a With> for NodeRef<'a>"],["impl From<Sym> for Identifier"],["impl<'a> From<&'a ForLoop> for NodeRef<'a>"],["impl<'a> From<&'a Try> for NodeRef<'a>"],["impl From<ArrayPattern> for Pattern"],["impl<'a> From<&'a Unary> for NodeRef<'a>"],["impl<'a> From<&'a TemplateLiteral> for NodeRef<'a>"],["impl From<DoWhileLoop> for Statement"],["impl<'a> From<&'a Spread> for NodeRef<'a>"],["impl<'a> From<&'a mut WhileLoop> for NodeRefMut<'a>"],["impl<'a> From<&'a VarDeclaration> for NodeRef<'a>"],["impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>"],["impl From<Vec<FormalParameter, Global>> for FormalParameterList"],["impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>"],["impl<'a> From<&'a mut ForLoopInitializer> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Conditional> for NodeRefMut<'a>"],["impl<'a> From<&'a TemplateElement> for NodeRef<'a>"],["impl From<AsyncFunction> for Expression"],["impl<'a> From<&'a mut Spread> for NodeRefMut<'a>"],["impl<'a> From<&'a mut BinaryInPrivate> for NodeRefMut<'a>"],["impl From<Conditional> for Expression"],["impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>"],["impl From<New> for Expression"],["impl From<Switch> for Statement"],["impl From<f64> for Literal"],["impl<'a> From<&'a Case> for NodeRef<'a>"],["impl From<BinaryInPrivate> for Expression"],["impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>"],["impl<T> From<T> for ObjectLiteralwhere\n T: Into<Box<[PropertyDefinition]>>,"],["impl<'a> From<&'a mut ExportDeclaration> for NodeRefMut<'a>"],["impl From<Punctuator> for Box<str>"],["impl<'a> From<&'a PropertyName> for NodeRef<'a>"],["impl<'a> From<&'a Module> for NodeRef<'a>"],["impl From<Throw> for Statement"],["impl From<LexicalDeclaration> for Declaration"],["impl From<Class> for Expression"],["impl From<Binary> for Expression"],["impl From<TaggedTemplate> for Expression"],["impl<'a> From<&'a mut Binary> for NodeRefMut<'a>"],["impl From<Continue> for Statement"],["impl From<SimplePropertyAccess> for PropertyAccess"],["impl<'a> From<&'a mut Generator> for NodeRefMut<'a>"],["impl<'a> From<&'a ObjectLiteral> for NodeRef<'a>"],["impl<'a> From<&'a Block> for NodeRef<'a>"],["impl<'a> From<&'a mut PrivateName> for NodeRefMut<'a>"],["impl<'a> From<&'a DoWhileLoop> for NodeRef<'a>"],["impl<'a> From<&'a If> for NodeRef<'a>"],["impl<'a> From<&'a mut Catch> for NodeRefMut<'a>"],["impl From<Function> for Declaration"],["impl<'a> From<&'a mut ModuleItemList> for NodeRefMut<'a>"],["impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>"],["impl<'a> From<&'a OptionalOperation> for NodeRef<'a>"],["impl<'a> From<&'a Function> for NodeRef<'a>"],["impl<'a> From<&'a Generator> for NodeRef<'a>"],["impl From<WhileLoop> for Statement"],["impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>"],["impl<'a> From<&'a ImportKind> for NodeRef<'a>"],["impl<'a> From<&'a mut If> for NodeRefMut<'a>"],["impl From<Statement> for LabelledItem"],["impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>"],["impl<'a> From<&'a PropertyAccessField> for NodeRef<'a>"],["impl From<Sym> for Literal"],["impl<'a> From<&'a mut ArrowFunction> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Variable> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Expression> for NodeRefMut<'a>"],["impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>"],["impl<'a> From<&'a mut Function> for NodeRefMut<'a>"],["impl From<Yield> for Expression"],["impl<'a> From<&'a mut AsyncFunction> for NodeRefMut<'a>"],["impl<'a> From<&'a Catch> for NodeRef<'a>"],["impl From<Sym> for PropertyAccessField"],["impl From<Break> for Statement"],["impl<'a> From<&'a ReExportKind> for NodeRef<'a>"],["impl<'a> From<&'a ForOfLoop> for NodeRef<'a>"],["impl From<Sym> for PropertyName"],["impl<'a> From<&'a IterableLoopInitializer> for NodeRef<'a>"],["impl<'a> From<&'a mut AsyncArrowFunction> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Unary> for NodeRefMut<'a>"],["impl<'a> From<&'a mut OptionalOperationKind> for NodeRefMut<'a>"],["impl From<i32> for Literal"],["impl<'a> From<&'a Class> for NodeRef<'a>"],["impl<'a> From<&'a ModuleItemList> for NodeRef<'a>"],["impl<'a> From<&'a ArrowFunction> for NodeRef<'a>"],["impl From<Identifier> for Expression"],["impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>"],["impl<'a> From<&'a mut PropertyName> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Switch> for NodeRefMut<'a>"],["impl<'a> From<&'a mut RegExpLiteral> for NodeRefMut<'a>"],["impl<'a> From<&'a AsyncFunction> for NodeRef<'a>"],["impl From<Await> for Expression"],["impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>"],["impl From<Labelled> for Statement"],["impl<'a> From<&'a StatementList> for NodeRef<'a>"],["impl<'a> From<&'a PrivateName> for NodeRef<'a>"],["impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>"],["impl From<If> for Statement"],["impl<'a> From<&'a mut Literal> for NodeRefMut<'a>"],["impl<'a> From<&'a mut AsyncGenerator> for NodeRefMut<'a>"],["impl From<Expression> for PropertyAccessField"],["impl From<Identifier> for AssignTarget"],["impl From<Function> for Expression"],["impl From<AsyncArrowFunction> for Expression"],["impl<'a> From<&'a ArrayPatternElement> for NodeRef<'a>"],["impl From<FormalParameter> for FormalParameterList"]], -"boa_engine":[["impl<T: ?Sized> From<Rc<T, Global>> for MaybeShared<'static, T>"],["impl From<JsSymbol> for PropertyKey"],["impl From<JsFloat64Array> for JsObject"],["impl From<ClampedU8> for Numeric"],["impl From<Error> for JsError"],["impl From<u64> for PropertyKey"],["impl From<i32> for JsValue"],["impl From<i64> for JsValue"],["impl From<NormalizerError> for IcuError"],["impl From<JsMapIterator> for JsObject"],["impl From<i8> for TypedArrayElement"],["impl From<u8> for TypedArrayElement"],["impl<'a> From<&'a AsyncFunction> for FunctionSpec<'a>"],["impl From<u32> for TypedArrayElement"],["impl From<JsUint8Array> for JsValue"],["impl From<ActiveRunnable> for Referrer"],["impl From<JsUint32Array> for JsValue"],["impl<'a> From<&'a [AtomicU8]> for SliceRefMut<'a>"],["impl From<u16> for JsBigInt"],["impl<'a> From<&'a AsyncArrowFunction> for FunctionSpec<'a>"],["impl<'a, T: ?Sized> From<&'a T> for MaybeShared<'a, T>"],["impl From<Gc<VTableObject>> for JsObject"],["impl From<JsFunction> for JsObject"],["impl From<String> for JsString"],["impl From<usize> for JsValue"],["impl From<i128> for JsBigInt"],["impl From<JsSet> for JsValue"],["impl From<bool> for JsValue"],["impl<B, N> From<(B, N)> for FunctionBindingwhere\n B: Into<PropertyKey>,\n N: Into<JsString>,"],["impl From<f64> for PropertyKey"],["impl From<DataError> for IcuError"],["impl From<u64> for Numeric"],["impl From<i8> for JsValue"],["impl From<&PropertyKey> for JsValue"],["impl<'a> From<&'a AsyncGenerator> for FunctionSpec<'a>"],["impl From<u64> for JsBigInt"],["impl From<i32> for Numeric"],["impl From<isize> for PropertyKey"],["impl From<JsInt16Array> for JsValue"],["impl From<JsUint8Array> for JsObject"],["impl From<u32> for JsBigInt"],["impl From<JsDate> for JsValue"],["impl From<&[JsString]> for FieldsType"],["impl From<JsGenerator> for JsObject"],["impl From<JsMap> for JsObject"],["impl From<u32> for PropertyKey"],["impl<'a> From<&'a [AtomicU8]> for SliceRef<'a>"],["impl From<JsRegExp> for JsValue"],["impl From<JsSetIterator> for JsObject"],["impl From<f64> for Numeric"],["impl From<u8> for JsValue"],["impl From<JsInt32Array> for JsValue"],["impl From<JsUint16Array> for JsValue"],["impl From<i8> for Numeric"],["impl From<i64> for Numeric"],["impl From<i32> for PropertyKey"],["impl From<f64> for TypedArrayElement"],["impl From<JsString> for PropertyKey"],["impl From<u8> for PropertyKey"],["impl From<JsGenerator> for JsValue"],["impl From<BigInt> for JsBigInt"],["impl From<JsProxy> for JsObject"],["impl From<JsSet> for JsObject"],["impl From<&[u16]> for JsString"],["impl From<JsArray> for JsObject"],["impl From<JsTypedArray> for JsValue"],["impl From<JsArray> for JsValue"],["impl From<i8> for JsBigInt"],["impl From<u16> for JsValue"],["impl From<JsPromise> for JsValue"],["impl From<JsSymbol> for JsValue"],["impl From<JsPromise> for JsObject"],["impl From<PropertyKey> for JsValue"],["impl From<JsFloat64Array> for JsValue"],["impl From<u64> for JsValue"],["impl From<IntegerOrInfinity> for IntegerOrNan"],["impl<'a> From<&'a [u8]> for SliceRef<'a>"],["impl From<JsArrayBuffer> for JsObject"],["impl From<JsProxy> for JsValue"],["impl From<i32> for JsBigInt"],["impl From<WellKnown> for u8"],["impl From<JsSymbol> for FunctionBinding"],["impl From<()> for JsValue"],["impl From<f64> for IntegerOrInfinity"],["impl From<JsString> for JsValue"],["impl From<SharedShape> for Shape"],["impl<'a> From<&'a ArrowFunction> for FunctionSpec<'a>"],["impl From<JsTypedArray> for JsObject"],["impl From<JsInt16Array> for JsObject"],["impl From<usize> for PropertyKey"],["impl From<GeneratorResumeKind> for JsValue"],["impl From<u8> for Opcode"],["impl From<JsRegExp> for JsObject"],["impl From<char> for JsValue"],["impl From<i16> for Numeric"],["impl From<isize> for JsBigInt"],["impl From<i32> for TypedArrayElement"],["impl From<JsArrayBuffer> for JsValue"],["impl From<i64> for JsBigInt"],["impl From<u128> for JsBigInt"],["impl From<&[u16]> for PropertyKey"],["impl From<&str> for JsString"],["impl From<i16> for TypedArrayElement"],["impl From<JsNativeError> for JsError"],["impl From<usize> for JsBigInt"],["impl From<i64> for PropertyKey"],["impl From<JsObject> for JsValue"],["impl From<Vec<u16, Global>> for JsString"],["impl<'a> From<&'a mut [u8]> for SliceRefMut<'a>"],["impl From<u32> for Numeric"],["impl From<ClampedU8> for TypedArrayElement"],["impl From<u32> for JsValue"],["impl From<u16> for Numeric"],["impl From<f64> for JsValue"],["impl From<JsMapIterator> for JsValue"],["impl From<JsSharedArrayBuffer> for JsObject"],["impl From<JsDataView> for JsValue"],["impl From<i16> for JsValue"],["impl From<PropertyDescriptorBuilder> for PropertyDescriptor"],["impl From<bool> for AbstractRelation"],["impl From<JsBigInt> for JsValue"],["impl From<JsMap> for JsValue"],["impl From<Error> for JsNativeError"],["impl From<f32> for JsValue"],["impl From<JsUint32Array> for JsObject"],["impl From<JsSharedArrayBuffer> for JsValue"],["impl From<JsDataView> for JsObject"],["impl From<JsInt8Array> for JsObject"],["impl From<i64> for TypedArrayElement"],["impl From<i16> for JsBigInt"],["impl From<JsUint16Array> for JsObject"],["impl<'a> From<&'a Generator> for FunctionSpec<'a>"],["impl From<u16> for TypedArrayElement"],["impl From<Box<BigInt, Global>> for JsBigInt"],["impl<const N: usize> From<&[u16; N]> for JsString"],["impl From<TypedArrayElement> for JsValue"],["impl From<JsDate> for JsObject"],["impl From<JsInt32Array> for JsObject"],["impl From<LocaleTransformError> for IcuError"],["impl From<u8> for JsBigInt"],["impl From<UniqueShape> for Shape"],["impl From<JsSetIterator> for JsValue"],["impl From<f32> for Numeric"],["impl From<JsBigInt> for Numeric"],["impl From<JsInt8Array> for JsValue"],["impl From<JsFunction> for JsValue"],["impl From<u8> for Numeric"],["impl From<u64> for TypedArrayElement"],["impl From<JsFloat32Array> for JsValue"],["impl From<u16> for PropertyKey"],["impl From<f32> for TypedArrayElement"],["impl<'a> From<&'a Function> for FunctionSpec<'a>"],["impl From<JsFloat32Array> for JsObject"],["impl From<JsString> for FunctionBinding"],["impl From<Numeric> for JsValue"]], +"boa_ast":[["impl<'a> From<&'a mut PropertyDefinition> for NodeRefMut<'a>"],["impl<'a> From<&'a FormalParameterList> for NodeRef<'a>"],["impl<'a> From<&'a mut Statement> for NodeRefMut<'a>"],["impl<'a> From<&'a Pattern> for NodeRef<'a>"],["impl<'a> From<&'a mut Block> for NodeRefMut<'a>"],["impl<'a> From<&'a Yield> for NodeRef<'a>"],["impl<'a> From<&'a mut Pattern> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Assign> for NodeRefMut<'a>"],["impl<'a> From<&'a MethodDefinition> for NodeRef<'a>"],["impl<'a> From<&'a WhileLoop> for NodeRef<'a>"],["impl<'a> From<&'a mut Throw> for NodeRefMut<'a>"],["impl<'a> From<&'a Await> for NodeRef<'a>"],["impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>"],["impl<'ast> From<&'ast Declaration> for LexicallyScopedDeclaration<'ast>"],["impl<'a> From<&'a mut ObjectPatternElement> for NodeRefMut<'a>"],["impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>"],["impl<'a> From<&'a mut ArrayPattern> for NodeRefMut<'a>"],["impl<'a> From<&'a Literal> for NodeRef<'a>"],["impl<'a> From<&'a mut AssignTarget> for NodeRefMut<'a>"],["impl From<Declaration> for StatementListItem"],["impl From<ForInLoop> for Statement"],["impl<'a> From<&'a mut New> for NodeRefMut<'a>"],["impl From<Identifier> for Binding"],["impl From<Box<[StatementListItem], Global>> for StatementList"],["impl From<BigInt> for Literal"],["impl From<PropertyAccess> for Expression"],["impl<'a> From<&'a AsyncArrowFunction> for NodeRef<'a>"],["impl From<Optional> for Expression"],["impl<'a> From<&'a ExportDeclaration> for NodeRef<'a>"],["impl<'a> From<&'a mut IterableLoopInitializer> for NodeRefMut<'a>"],["impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>"],["impl<'a> From<&'a SuperCall> for NodeRef<'a>"],["impl From<RegExpLiteral> for Expression"],["impl<'a> From<&'a mut ArrayLiteral> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Try> for NodeRefMut<'a>"],["impl From<SuperCall> for Expression"],["impl From<PrivatePropertyAccess> for PropertyAccess"],["impl<'a> From<&'a mut Call> for NodeRefMut<'a>"],["impl<'a> From<&'a mut With> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Return> for NodeRefMut<'a>"],["impl<'a> From<&'a mut ForOfLoop> for NodeRefMut<'a>"],["impl<'a> From<&'a Return> for NodeRef<'a>"],["impl From<ObjectLiteral> for Expression"],["impl<T> From<T> for ArrayLiteralwhere\n T: Into<Box<[Option<Expression>]>>,"],["impl<'a> From<&'a mut Binding> for NodeRefMut<'a>"],["impl<'a> From<&'a PropertyAccess> for NodeRef<'a>"],["impl From<LogicalOp> for BinaryOp"],["impl From<AsyncGenerator> for Expression"],["impl From<Try> for Statement"],["impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>"],["impl<'a> From<&'a Expression> for NodeRef<'a>"],["impl<'a> From<&'a Sym> for NodeRef<'a>"],["impl From<SuperPropertyAccess> for PropertyAccess"],["impl From<Update> for Expression"],["impl<'a> From<&'a PropertyDefinition> for NodeRef<'a>"],["impl<T> From<T> for ModuleItemListwhere\n T: Into<Box<[ModuleItem]>>,"],["impl<'a> From<&'a mut Labelled> for NodeRefMut<'a>"],["impl From<RelationalOp> for BinaryOp"],["impl<'a> From<&'a Call> for NodeRef<'a>"],["impl From<Function> for LabelledItem"],["impl<'a> From<&'a Update> for NodeRef<'a>"],["impl<'a> From<&'a mut Finally> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Class> for NodeRefMut<'a>"],["impl<'a> From<&'a ModuleItem> for NodeRef<'a>"],["impl From<Return> for Statement"],["impl<'a> From<&'a mut ModuleItem> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Parenthesized> for NodeRefMut<'a>"],["impl<'a> From<&'a Script> for NodeRef<'a>"],["impl<'a> From<&'a Labelled> for NodeRef<'a>"],["impl From<Vec<ArrayPatternElement, Global>> for ArrayPattern"],["impl From<ArithmeticOp> for BinaryOp"],["impl<'a> From<&'a mut ObjectLiteral> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Sym> for NodeRefMut<'a>"],["impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>"],["impl<'a> From<&'a ArrayPattern> for NodeRef<'a>"],["impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>"],["impl From<LocalExportEntry> for ExportEntry"],["impl From<Literal> for Expression"],["impl<'a> From<&'a Switch> for NodeRef<'a>"],["impl<'a> From<&'a mut Update> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Await> for NodeRefMut<'a>"],["impl<'a> From<&'a AssignTarget> for NodeRef<'a>"],["impl<'a> From<&'a mut ForInLoop> for NodeRefMut<'a>"],["impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>"],["impl<'a> From<&'a mut Continue> for NodeRefMut<'a>"],["impl From<ForLoop> for Statement"],["impl From<Block> for Finally"],["impl<'a> From<&'a RegExpLiteral> for NodeRef<'a>"],["impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Script> for NodeRefMut<'a>"],["impl From<AsyncGenerator> for Declaration"],["impl<'a> From<&'a mut ObjectPattern> for NodeRefMut<'a>"],["impl From<bool> for Literal"],["impl From<ForOfLoop> for Statement"],["impl<'a> From<&'a Conditional> for NodeRef<'a>"],["impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>"],["impl<'a> From<&'a VariableList> for NodeRef<'a>"],["impl<'a> From<&'a ForLoopInitializer> for NodeRef<'a>"],["impl From<Spread> for Expression"],["impl<'a> From<&'a AsyncGenerator> for NodeRef<'a>"],["impl<'a> From<&'a TaggedTemplate> for NodeRef<'a>"],["impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>"],["impl<'a> From<&'a mut TaggedTemplate> for NodeRefMut<'a>"],["impl<'a> From<&'a mut OptionalOperation> for NodeRefMut<'a>"],["impl From<ImportCall> for Expression"],["impl From<Box<BigInt, Global>> for Literal"],["impl From<Generator> for Expression"],["impl<'a> From<&'a ArrayLiteral> for NodeRef<'a>"],["impl From<VarDeclaration> for Statement"],["impl From<LexicalDeclaration> for ForLoopInitializer"],["impl<'a> From<&'a Binary> for NodeRef<'a>"],["impl<T> From<T> for Awaitwhere\n T: Into<Box<Expression>>,"],["impl<'a> From<&'a Optional> for NodeRef<'a>"],["impl From<Call> for Expression"],["impl<'a> From<&'a ImportCall> for NodeRef<'a>"],["impl<'a> From<&'a BinaryInPrivate> for NodeRef<'a>"],["impl<'a> From<&'a mut Case> for NodeRefMut<'a>"],["impl From<Assign> for Expression"],["impl<'a> From<&'a ExportSpecifier> for NodeRef<'a>"],["impl From<Vec<ArrayPatternElement, Global>> for Pattern"],["impl From<Generator> for Declaration"],["impl<'a> From<&'a ClassElement> for NodeRef<'a>"],["impl<'a> From<&'a mut TemplateElement> for NodeRefMut<'a>"],["impl<'a> From<&'a New> for NodeRef<'a>"],["impl<'a> From<&'a mut ArrayPatternElement> for NodeRefMut<'a>"],["impl From<Vec<ObjectPatternElement, Global>> for ObjectPattern"],["impl From<Class> for Declaration"],["impl<'a> From<&'a ObjectPatternElement> for NodeRef<'a>"],["impl<'a> From<&'a mut Module> for NodeRefMut<'a>"],["impl<'a> From<&'a mut ReExportKind> for NodeRefMut<'a>"],["impl<'a> From<&'a LabelledItem> for NodeRef<'a>"],["impl<'a> From<&'a mut LabelledItem> for NodeRefMut<'a>"],["impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>"],["impl From<ArrowFunction> for Expression"],["impl<'a> From<&'a mut StatementList> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Optional> for NodeRefMut<'a>"],["impl From<Expression> for ForLoopInitializer"],["impl<'a> From<&'a Assign> for NodeRef<'a>"],["impl From<With> for Statement"],["impl From<Expression> for PropertyName"],["impl From<Unary> for Expression"],["impl<'a> From<&'a mut ForLoop> for NodeRefMut<'a>"],["impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>"],["impl<'a> From<&'a Binding> for NodeRef<'a>"],["impl<T> From<T> for Blockwhere\n T: Into<StatementList>,"],["impl<'a> From<&'a Declaration> for NodeRef<'a>"],["impl<'a> From<&'a ObjectPattern> for NodeRef<'a>"],["impl From<IndirectExportEntry> for ExportEntry"],["impl<'a> From<&'a mut FormalParameter> for NodeRefMut<'a>"],["impl From<Position> for Span"],["impl<'a> From<&'a mut ExportSpecifier> for NodeRefMut<'a>"],["impl From<Block> for Statement"],["impl From<BitwiseOp> for BinaryOp"],["impl From<TemplateLiteral> for Expression"],["impl<'a> From<&'a mut FormalParameterList> for NodeRefMut<'a>"],["impl<'a> From<&'a Statement> for NodeRef<'a>"],["impl<'a> From<&'a FormalParameter> for NodeRef<'a>"],["impl<'a> From<&'a mut Break> for NodeRefMut<'a>"],["impl From<Expression> for Statement"],["impl<'a> From<&'a mut Yield> for NodeRefMut<'a>"],["impl From<Parenthesized> for Expression"],["impl From<Call> for New"],["impl<'a> From<&'a StatementListItem> for NodeRef<'a>"],["impl<'a> From<&'a mut ClassElement> for NodeRefMut<'a>"],["impl From<Vec<ObjectPatternElement, Global>> for Pattern"],["impl<'a> From<&'a mut TemplateLiteral> for NodeRefMut<'a>"],["impl<'a> From<&'a mut MethodDefinition> for NodeRefMut<'a>"],["impl From<VarDeclaration> for ForLoopInitializer"],["impl From<Vec<StatementListItem, Global>> for StatementList"],["impl<'a> From<&'a Parenthesized> for NodeRef<'a>"],["impl<'a> From<&'a Identifier> for NodeRef<'a>"],["impl<'a> From<&'a OptionalOperationKind> for NodeRef<'a>"],["impl<'a> From<&'a Finally> for NodeRef<'a>"],["impl From<ObjectPattern> for Pattern"],["impl From<Statement> for StatementListItem"],["impl From<ArrayLiteral> for Expression"],["impl<'a> From<&'a Break> for NodeRef<'a>"],["impl From<Sym> for ModuleSpecifier"],["impl<'a> From<&'a Continue> for NodeRef<'a>"],["impl<'a> From<&'a Throw> for NodeRef<'a>"],["impl<'a> From<&'a Variable> for NodeRef<'a>"],["impl<'a> From<&'a ForInLoop> for NodeRef<'a>"],["impl From<AsyncFunction> for Declaration"],["impl From<Pattern> for Binding"],["impl<'a> From<&'a mut DoWhileLoop> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Declaration> for NodeRefMut<'a>"],["impl<'a> From<&'a With> for NodeRef<'a>"],["impl From<Sym> for Identifier"],["impl<'a> From<&'a ForLoop> for NodeRef<'a>"],["impl<'a> From<&'a Try> for NodeRef<'a>"],["impl From<ArrayPattern> for Pattern"],["impl<'a> From<&'a Unary> for NodeRef<'a>"],["impl<'a> From<&'a TemplateLiteral> for NodeRef<'a>"],["impl From<DoWhileLoop> for Statement"],["impl<'a> From<&'a Spread> for NodeRef<'a>"],["impl<'a> From<&'a mut WhileLoop> for NodeRefMut<'a>"],["impl<'a> From<&'a VarDeclaration> for NodeRef<'a>"],["impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>"],["impl From<Vec<FormalParameter, Global>> for FormalParameterList"],["impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>"],["impl<'a> From<&'a mut ForLoopInitializer> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Conditional> for NodeRefMut<'a>"],["impl<'a> From<&'a TemplateElement> for NodeRef<'a>"],["impl From<AsyncFunction> for Expression"],["impl<'a> From<&'a mut Spread> for NodeRefMut<'a>"],["impl<'a> From<&'a mut BinaryInPrivate> for NodeRefMut<'a>"],["impl From<Conditional> for Expression"],["impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>"],["impl From<New> for Expression"],["impl From<Switch> for Statement"],["impl From<f64> for Literal"],["impl<'a> From<&'a Case> for NodeRef<'a>"],["impl From<BinaryInPrivate> for Expression"],["impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>"],["impl<T> From<T> for ObjectLiteralwhere\n T: Into<Box<[PropertyDefinition]>>,"],["impl<'a> From<&'a mut ExportDeclaration> for NodeRefMut<'a>"],["impl From<Punctuator> for Box<str>"],["impl<'a> From<&'a PropertyName> for NodeRef<'a>"],["impl<'a> From<&'a Module> for NodeRef<'a>"],["impl From<Throw> for Statement"],["impl From<LexicalDeclaration> for Declaration"],["impl From<Class> for Expression"],["impl From<Binary> for Expression"],["impl From<TaggedTemplate> for Expression"],["impl<'a> From<&'a mut Binary> for NodeRefMut<'a>"],["impl From<Continue> for Statement"],["impl From<SimplePropertyAccess> for PropertyAccess"],["impl<'a> From<&'a mut Generator> for NodeRefMut<'a>"],["impl<'a> From<&'a ObjectLiteral> for NodeRef<'a>"],["impl<'a> From<&'a Block> for NodeRef<'a>"],["impl<'a> From<&'a mut PrivateName> for NodeRefMut<'a>"],["impl<'a> From<&'a DoWhileLoop> for NodeRef<'a>"],["impl<'a> From<&'a If> for NodeRef<'a>"],["impl<'a> From<&'a mut Catch> for NodeRefMut<'a>"],["impl From<Function> for Declaration"],["impl<'a> From<&'a mut ModuleItemList> for NodeRefMut<'a>"],["impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>"],["impl<'a> From<&'a OptionalOperation> for NodeRef<'a>"],["impl<'a> From<&'a Function> for NodeRef<'a>"],["impl<'a> From<&'a Generator> for NodeRef<'a>"],["impl From<WhileLoop> for Statement"],["impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>"],["impl<'a> From<&'a ImportKind> for NodeRef<'a>"],["impl<'a> From<&'a mut If> for NodeRefMut<'a>"],["impl From<Statement> for LabelledItem"],["impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>"],["impl<'a> From<&'a PropertyAccessField> for NodeRef<'a>"],["impl From<Sym> for Literal"],["impl<'a> From<&'a mut ArrowFunction> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Variable> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Expression> for NodeRefMut<'a>"],["impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>"],["impl<'a> From<&'a mut Function> for NodeRefMut<'a>"],["impl From<Yield> for Expression"],["impl<'a> From<&'a mut AsyncFunction> for NodeRefMut<'a>"],["impl<'a> From<&'a Catch> for NodeRef<'a>"],["impl From<Sym> for PropertyAccessField"],["impl From<Break> for Statement"],["impl<'a> From<&'a ReExportKind> for NodeRef<'a>"],["impl<'a> From<&'a ForOfLoop> for NodeRef<'a>"],["impl From<Sym> for PropertyName"],["impl<'a> From<&'a IterableLoopInitializer> for NodeRef<'a>"],["impl<'a> From<&'a mut AsyncArrowFunction> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Unary> for NodeRefMut<'a>"],["impl<'a> From<&'a mut OptionalOperationKind> for NodeRefMut<'a>"],["impl From<i32> for Literal"],["impl<'a> From<&'a Class> for NodeRef<'a>"],["impl<'a> From<&'a ModuleItemList> for NodeRef<'a>"],["impl<'a> From<&'a ArrowFunction> for NodeRef<'a>"],["impl From<Identifier> for Expression"],["impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>"],["impl<'a> From<&'a mut PropertyName> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Switch> for NodeRefMut<'a>"],["impl<'a> From<&'a mut RegExpLiteral> for NodeRefMut<'a>"],["impl<'a> From<&'a AsyncFunction> for NodeRef<'a>"],["impl From<Await> for Expression"],["impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>"],["impl From<Labelled> for Statement"],["impl<'a> From<&'a StatementList> for NodeRef<'a>"],["impl<'a> From<&'a PrivateName> for NodeRef<'a>"],["impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>"],["impl From<If> for Statement"],["impl<'a> From<&'a mut Literal> for NodeRefMut<'a>"],["impl<'a> From<&'a mut AsyncGenerator> for NodeRefMut<'a>"],["impl From<Expression> for PropertyAccessField"],["impl From<Identifier> for AssignTarget"],["impl From<Function> for Expression"],["impl From<AsyncArrowFunction> for Expression"],["impl<'a> From<&'a ArrayPatternElement> for NodeRef<'a>"],["impl From<FormalParameter> for FormalParameterList"]], +"boa_engine":[["impl<T: ?Sized> From<Rc<T, Global>> for MaybeShared<'static, T>"],["impl From<JsSymbol> for PropertyKey"],["impl From<JsFloat64Array> for JsObject"],["impl From<ClampedU8> for Numeric"],["impl From<Error> for JsError"],["impl From<u64> for PropertyKey"],["impl From<i32> for JsValue"],["impl From<i64> for JsValue"],["impl From<NormalizerError> for IcuError"],["impl From<JsMapIterator> for JsObject"],["impl From<i8> for TypedArrayElement"],["impl From<u8> for TypedArrayElement"],["impl<'a> From<&'a AsyncFunction> for FunctionSpec<'a>"],["impl From<u32> for TypedArrayElement"],["impl From<JsUint8Array> for JsValue"],["impl From<ActiveRunnable> for Referrer"],["impl From<JsUint32Array> for JsValue"],["impl<'a> From<&'a [AtomicU8]> for SliceRefMut<'a>"],["impl From<u16> for JsBigInt"],["impl<'a> From<&'a AsyncArrowFunction> for FunctionSpec<'a>"],["impl<'a, T: ?Sized> From<&'a T> for MaybeShared<'a, T>"],["impl From<Gc<VTableObject>> for JsObject"],["impl From<JsFunction> for JsObject"],["impl From<String> for JsString"],["impl From<usize> for JsValue"],["impl From<i128> for JsBigInt"],["impl From<JsSet> for JsValue"],["impl From<bool> for JsValue"],["impl<B, N> From<(B, N)> for FunctionBindingwhere\n B: Into<PropertyKey>,\n N: Into<JsString>,"],["impl From<f64> for PropertyKey"],["impl From<DataError> for IcuError"],["impl From<u64> for Numeric"],["impl From<i8> for JsValue"],["impl From<&PropertyKey> for JsValue"],["impl<'a> From<&'a AsyncGenerator> for FunctionSpec<'a>"],["impl From<u64> for JsBigInt"],["impl From<i32> for Numeric"],["impl From<isize> for PropertyKey"],["impl From<JsInt16Array> for JsValue"],["impl From<JsUint8Array> for JsObject"],["impl From<u32> for JsBigInt"],["impl From<JsDate> for JsValue"],["impl From<&[JsString]> for FieldsType"],["impl From<JsGenerator> for JsObject"],["impl From<JsMap> for JsObject"],["impl From<u32> for PropertyKey"],["impl<'a> From<&'a [AtomicU8]> for SliceRef<'a>"],["impl From<JsRegExp> for JsValue"],["impl From<JsSetIterator> for JsObject"],["impl From<f64> for Numeric"],["impl From<u8> for JsValue"],["impl From<JsInt32Array> for JsValue"],["impl From<JsUint16Array> for JsValue"],["impl From<i8> for Numeric"],["impl From<i64> for Numeric"],["impl From<i32> for PropertyKey"],["impl From<f64> for TypedArrayElement"],["impl From<JsString> for PropertyKey"],["impl From<u8> for PropertyKey"],["impl From<JsGenerator> for JsValue"],["impl From<BigInt> for JsBigInt"],["impl From<JsProxy> for JsObject"],["impl From<JsSet> for JsObject"],["impl From<&[u16]> for JsString"],["impl From<JsArray> for JsObject"],["impl From<JsTypedArray> for JsValue"],["impl From<JsArray> for JsValue"],["impl From<i8> for JsBigInt"],["impl From<u16> for JsValue"],["impl From<JsPromise> for JsValue"],["impl From<JsSymbol> for JsValue"],["impl From<JsPromise> for JsObject"],["impl From<PropertyKey> for JsValue"],["impl From<JsFloat64Array> for JsValue"],["impl From<u64> for JsValue"],["impl From<IntegerOrInfinity> for IntegerOrNan"],["impl<'a> From<&'a [u8]> for SliceRef<'a>"],["impl From<JsArrayBuffer> for JsObject"],["impl From<JsProxy> for JsValue"],["impl From<i32> for JsBigInt"],["impl From<WellKnown> for u8"],["impl From<JsSymbol> for FunctionBinding"],["impl From<()> for JsValue"],["impl From<f64> for IntegerOrInfinity"],["impl From<JsString> for JsValue"],["impl From<SharedShape> for Shape"],["impl<'a> From<&'a ArrowFunction> for FunctionSpec<'a>"],["impl From<JsTypedArray> for JsObject"],["impl From<JsInt16Array> for JsObject"],["impl From<usize> for PropertyKey"],["impl From<GeneratorResumeKind> for JsValue"],["impl From<u8> for Opcode"],["impl From<JsRegExp> for JsObject"],["impl From<char> for JsValue"],["impl From<i16> for Numeric"],["impl From<isize> for JsBigInt"],["impl From<i32> for TypedArrayElement"],["impl From<JsArrayBuffer> for JsValue"],["impl From<i64> for JsBigInt"],["impl From<u128> for JsBigInt"],["impl From<&[u16]> for PropertyKey"],["impl From<&str> for JsString"],["impl From<i16> for TypedArrayElement"],["impl From<JsNativeError> for JsError"],["impl From<usize> for JsBigInt"],["impl From<i64> for PropertyKey"],["impl From<JsObject> for JsValue"],["impl From<Vec<u16, Global>> for JsString"],["impl<'a> From<&'a mut [u8]> for SliceRefMut<'a>"],["impl From<u32> for Numeric"],["impl From<ClampedU8> for TypedArrayElement"],["impl From<u32> for JsValue"],["impl From<u16> for Numeric"],["impl From<f64> for JsValue"],["impl From<JsMapIterator> for JsValue"],["impl From<JsSharedArrayBuffer> for JsObject"],["impl From<JsDataView> for JsValue"],["impl From<i16> for JsValue"],["impl From<PropertyDescriptorBuilder> for PropertyDescriptor"],["impl From<bool> for AbstractRelation"],["impl From<JsBigInt> for JsValue"],["impl From<JsMap> for JsValue"],["impl From<Error> for JsNativeError"],["impl From<f32> for JsValue"],["impl From<JsUint32Array> for JsObject"],["impl From<JsSharedArrayBuffer> for JsValue"],["impl From<JsDataView> for JsObject"],["impl From<JsInt8Array> for JsObject"],["impl From<i64> for TypedArrayElement"],["impl From<i16> for JsBigInt"],["impl From<JsUint16Array> for JsObject"],["impl<'a> From<&'a Generator> for FunctionSpec<'a>"],["impl From<u16> for TypedArrayElement"],["impl From<Box<BigInt, Global>> for JsBigInt"],["impl<const N: usize> From<&[u16; N]> for JsString"],["impl From<TypedArrayElement> for JsValue"],["impl From<JsDate> for JsObject"],["impl From<JsInt32Array> for JsObject"],["impl From<LocaleTransformError> for IcuError"],["impl From<u8> for JsBigInt"],["impl From<UniqueShape> for Shape"],["impl From<JsSetIterator> for JsValue"],["impl From<f32> for Numeric"],["impl From<JsBigInt> for Numeric"],["impl From<JsInt8Array> for JsValue"],["impl From<JsFunction> for JsValue"],["impl From<u8> for Numeric"],["impl From<u64> for TypedArrayElement"],["impl From<JsFloat32Array> for JsValue"],["impl From<u16> for PropertyKey"],["impl From<f32> for TypedArrayElement"],["impl<'a> From<&'a Function> for FunctionSpec<'a>"],["impl From<JsFloat32Array> for JsObject"],["impl From<JsString> for FunctionBinding"],["impl From<Numeric> for JsValue"]], "boa_gc":[["impl<T: Trace> From<Ephemeron<T, Gc<T>>> for WeakGc<T>"]], "boa_interner":[["impl<'a> From<&'a str> for JStrRef<'a>"],["impl<'a, const N: usize> From<&'a [u16; N]> for JStrRef<'a>"],["impl<'a> From<&'a [u16]> for JStrRef<'a>"]], "boa_parser":[["impl From<bool> for AllowAwait"],["impl From<Numeric> for TokenKind"],["impl From<Error> for Error"],["impl From<bool> for AllowYield"],["impl From<BigInt> for Numeric"],["impl From<i32> for Numeric"],["impl From<bool> for AllowDefault"],["impl From<f64> for Numeric"],["impl From<bool> for TokenKind"],["impl<R> From<R> for BufferedLexer<R>where\n R: Read,"],["impl From<bool> for AllowIn"],["impl From<RegExpFlags> for Flags"],["impl From<Punctuator> for TokenKind"],["impl From<bool> for AllowReturn"],["impl From<(Keyword, bool)> for TokenKind"],["impl<R> From<Lexer<R>> for BufferedLexer<R>where\n R: Read,"],["impl From<Error> for Error"]], diff --git a/doc/src/boa_engine/bytecompiler/mod.rs.html b/doc/src/boa_engine/bytecompiler/mod.rs.html index ef1569df7fa..6d47629cb36 100644 --- a/doc/src/boa_engine/bytecompiler/mod.rs.html +++ b/doc/src/boa_engine/bytecompiler/mod.rs.html @@ -1477,6 +1477,8 @@ 1477 1478 1479 +1480 +1481

    //! This module contains the bytecode compiler.
     
     mod class;
    @@ -1886,8 +1888,10 @@
             match opcode {
                 BindingOpcode::Var => {
                     let binding = self.variable_environment.get_identifier_reference(name);
    -                let index = self.get_or_insert_binding(binding.locator());
    -                self.emit_with_varying_operand(Opcode::DefVar, index);
    +                if !binding.locator().is_global() {
    +                    let index = self.get_or_insert_binding(binding.locator());
    +                    self.emit_with_varying_operand(Opcode::DefVar, index);
    +                }
                 }
                 BindingOpcode::InitVar => match self.lexical_environment.set_mutable_binding(name) {
                     Ok(binding) => {
    diff --git a/doc/src/boa_engine/vm/opcode/define/mod.rs.html b/doc/src/boa_engine/vm/opcode/define/mod.rs.html
    index eeecc1d87fb..a0928c285a7 100644
    --- a/doc/src/boa_engine/vm/opcode/define/mod.rs.html
    +++ b/doc/src/boa_engine/vm/opcode/define/mod.rs.html
    @@ -190,10 +190,6 @@
     190
     191
     192
    -193
    -194
    -195
    -196
     
    use crate::{
         vm::{opcode::Operation, CompletionType},
         Context, JsResult, JsValue,
    @@ -218,15 +214,11 @@
             // TODO: spec specifies to return `empty` on empty vars, but we're trying to initialize.
             let binding_locator = context.vm.frame().code_block.bindings[index];
     
    -        if binding_locator.is_global() {
    -            // already initialized at compile time
    -        } else {
    -            context.vm.environments.put_value_if_uninitialized(
    -                binding_locator.environment_index(),
    -                binding_locator.binding_index(),
    -                JsValue::undefined(),
    -            );
    -        }
    +        context.vm.environments.put_value_if_uninitialized(
    +            binding_locator.environment_index(),
    +            binding_locator.binding_index(),
    +            JsValue::undefined(),
    +        );
             Ok(CompletionType::Normal)
         }
     }