-
-
Notifications
You must be signed in to change notification settings - Fork 413
Commit
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="This module contains the bytecode compiler."><title>boa_engine::bytecompiler - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-cb6f1f67f1bcd037.css" id="mainThemeStyle"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="boa_engine" data-themes="" data-resource-suffix="" data-rustdoc-version="1.73.0 (cc66ad468 2023-10-03)" data-channel="1.73.0" data-search-js="search-6dfdfced5eff6596.js" data-settings-js="settings-de11bff964e9d4e5.js" data-settings-css="settings-8c76f75bfb6bd192.css" data-theme-light-css="light-1596385f77d47ef2.css" data-theme-dark-css="dark-0a43001d3fc2282c.css" data-theme-ayu-css="ayu-fd19013d6ce078bf.css" ><script src="../../static.files/storage-db41da1a38ea3cb8.js"></script><script defer src="../../static.files/main-0795b7d26be81095.js"></script><noscript><link rel="stylesheet" media="(prefers-color-scheme:light)" href="../../static.files/light-1596385f77d47ef2.css"><link rel="stylesheet" media="(prefers-color-scheme:dark)" href="../../static.files/dark-0a43001d3fc2282c.css"><link rel="stylesheet" href="../../static.files/noscript-cffde32267a19fd6.css"></noscript><link rel="icon" href="https://raw.githubusercontent.com/boa-dev/boa/main/assets/logo.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="logo-container" href="../../boa_engine/index.html"><img src="https://raw.githubusercontent.com/boa-dev/boa/main/assets/logo.svg" alt="logo"></a><h2></h2></nav><nav class="sidebar"><a class="logo-container" href="../../boa_engine/index.html"><img src="https://raw.githubusercontent.com/boa-dev/boa/main/assets/logo.svg" alt="logo"></a><h2 class="location"><a href="#">Module bytecompiler</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li></ul></section></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../index.html">boa_engine</a>::<wbr><a class="mod" href="#">bytecompiler</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/boa_engine/bytecompiler/mod.rs.html#1-1481">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>This module contains the bytecode compiler.</p> | ||
</div></details><h2 id="modules" class="small-section-header"><a href="#modules">Modules</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="class/index.html" title="mod boa_engine::bytecompiler::class">class</a><span title="Restricted Visibility"> 🔒</span> </div></li><li><div class="item-name"><a class="mod" href="declaration/index.html" title="mod boa_engine::bytecompiler::declaration">declaration</a><span title="Restricted Visibility"> 🔒</span> </div></li><li><div class="item-name"><a class="mod" href="declarations/index.html" title="mod boa_engine::bytecompiler::declarations">declarations</a><span title="Restricted Visibility"> 🔒</span> </div></li><li><div class="item-name"><a class="mod" href="env/index.html" title="mod boa_engine::bytecompiler::env">env</a><span title="Restricted Visibility"> 🔒</span> </div></li><li><div class="item-name"><a class="mod" href="expression/index.html" title="mod boa_engine::bytecompiler::expression">expression</a><span title="Restricted Visibility"> 🔒</span> </div></li><li><div class="item-name"><a class="mod" href="function/index.html" title="mod boa_engine::bytecompiler::function">function</a><span title="Restricted Visibility"> 🔒</span> </div></li><li><div class="item-name"><a class="mod" href="jump_control/index.html" title="mod boa_engine::bytecompiler::jump_control">jump_control</a><span title="Restricted Visibility"> 🔒</span> </div><div class="desc docblock-short"><code>JumpControlInfo</code> tracks relevant jump information used during compilation.</div></li><li><div class="item-name"><a class="mod" href="module/index.html" title="mod boa_engine::bytecompiler::module">module</a><span title="Restricted Visibility"> 🔒</span> </div></li><li><div class="item-name"><a class="mod" href="statement/index.html" title="mod boa_engine::bytecompiler::statement">statement</a><span title="Restricted Visibility"> 🔒</span> </div></li><li><div class="item-name"><a class="mod" href="utils/index.html" title="mod boa_engine::bytecompiler::utils">utils</a><span title="Restricted Visibility"> 🔒</span> </div></li></ul><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.ByteCompiler.html" title="struct boa_engine::bytecompiler::ByteCompiler">ByteCompiler</a></div><div class="desc docblock-short">The <a href="struct.ByteCompiler.html" title="struct boa_engine::bytecompiler::ByteCompiler"><code>ByteCompiler</code></a> is used to compile ECMAScript AST from <a href="../../boa_ast/index.html" title="mod boa_ast"><code>boa_ast</code></a> to bytecode.</div></li><li><div class="item-name"><a class="struct" href="struct.FunctionSpec.html" title="struct boa_engine::bytecompiler::FunctionSpec">FunctionSpec</a><span title="Restricted Visibility"> 🔒</span> </div><div class="desc docblock-short">Describes the complete specification of a function node.</div></li><li><div class="item-name"><a class="struct" href="struct.Label.html" title="struct boa_engine::bytecompiler::Label">Label</a><span title="Restricted Visibility"> 🔒</span> </div></li></ul><h2 id="enums" class="small-section-header"><a href="#enums">Enums</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.Access.html" title="enum boa_engine::bytecompiler::Access">Access</a><span title="Restricted Visibility"> 🔒</span> </div></li><li><div class="item-name"><a class="enum" href="enum.Callable.html" title="enum boa_engine::bytecompiler::Callable">Callable</a><span title="Restricted Visibility"> 🔒</span> </div><div class="desc docblock-short">Represents a callable expression, like <code>f()</code> or <code>new Cl()</code></div></li><li><div class="item-name"><a class="enum" href="enum.FunctionKind.html" title="enum boa_engine::bytecompiler::FunctionKind">FunctionKind</a><span title="Restricted Visibility"> 🔒</span> </div><div class="desc docblock-short">Describes the type of a function.</div></li><li><div class="item-name"><a class="enum" href="enum.Literal.html" title="enum boa_engine::bytecompiler::Literal">Literal</a><span title="Restricted Visibility"> 🔒</span> </div></li><li><div class="item-name"><a class="enum" href="enum.NodeKind.html" title="enum boa_engine::bytecompiler::NodeKind">NodeKind</a><span title="Restricted Visibility"> 🔒</span> </div><div class="desc docblock-short">Describes how a node has been defined in the source code.</div></li><li><div class="item-name"><a class="enum" href="enum.Operand.html" title="enum boa_engine::bytecompiler::Operand">Operand</a><span title="Restricted Visibility"> 🔒</span> </div><div class="desc docblock-short">An opcode operand.</div></li></ul></section></div></main></body></html> | ||
</div></details><h2 id="modules" class="small-section-header"><a href="#modules">Modules</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="class/index.html" title="mod boa_engine::bytecompiler::class">class</a><span title="Restricted Visibility"> 🔒</span> </div></li><li><div class="item-name"><a class="mod" href="declaration/index.html" title="mod boa_engine::bytecompiler::declaration">declaration</a><span title="Restricted Visibility"> 🔒</span> </div></li><li><div class="item-name"><a class="mod" href="declarations/index.html" title="mod boa_engine::bytecompiler::declarations">declarations</a><span title="Restricted Visibility"> 🔒</span> </div></li><li><div class="item-name"><a class="mod" href="env/index.html" title="mod boa_engine::bytecompiler::env">env</a><span title="Restricted Visibility"> 🔒</span> </div></li><li><div class="item-name"><a class="mod" href="expression/index.html" title="mod boa_engine::bytecompiler::expression">expression</a><span title="Restricted Visibility"> 🔒</span> </div></li><li><div class="item-name"><a class="mod" href="function/index.html" title="mod boa_engine::bytecompiler::function">function</a><span title="Restricted Visibility"> 🔒</span> </div></li><li><div class="item-name"><a class="mod" href="jump_control/index.html" title="mod boa_engine::bytecompiler::jump_control">jump_control</a><span title="Restricted Visibility"> 🔒</span> </div><div class="desc docblock-short"><code>JumpControlInfo</code> tracks relevant jump information used during compilation.</div></li><li><div class="item-name"><a class="mod" href="module/index.html" title="mod boa_engine::bytecompiler::module">module</a><span title="Restricted Visibility"> 🔒</span> </div></li><li><div class="item-name"><a class="mod" href="statement/index.html" title="mod boa_engine::bytecompiler::statement">statement</a><span title="Restricted Visibility"> 🔒</span> </div></li><li><div class="item-name"><a class="mod" href="utils/index.html" title="mod boa_engine::bytecompiler::utils">utils</a><span title="Restricted Visibility"> 🔒</span> </div></li></ul><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.ByteCompiler.html" title="struct boa_engine::bytecompiler::ByteCompiler">ByteCompiler</a></div><div class="desc docblock-short">The <a href="struct.ByteCompiler.html" title="struct boa_engine::bytecompiler::ByteCompiler"><code>ByteCompiler</code></a> is used to compile ECMAScript AST from [<code>boa_ast</code>] to bytecode.</div></li><li><div class="item-name"><a class="struct" href="struct.FunctionSpec.html" title="struct boa_engine::bytecompiler::FunctionSpec">FunctionSpec</a><span title="Restricted Visibility"> 🔒</span> </div><div class="desc docblock-short">Describes the complete specification of a function node.</div></li><li><div class="item-name"><a class="struct" href="struct.Label.html" title="struct boa_engine::bytecompiler::Label">Label</a><span title="Restricted Visibility"> 🔒</span> </div></li></ul><h2 id="enums" class="small-section-header"><a href="#enums">Enums</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.Access.html" title="enum boa_engine::bytecompiler::Access">Access</a><span title="Restricted Visibility"> 🔒</span> </div></li><li><div class="item-name"><a class="enum" href="enum.Callable.html" title="enum boa_engine::bytecompiler::Callable">Callable</a><span title="Restricted Visibility"> 🔒</span> </div><div class="desc docblock-short">Represents a callable expression, like <code>f()</code> or <code>new Cl()</code></div></li><li><div class="item-name"><a class="enum" href="enum.FunctionKind.html" title="enum boa_engine::bytecompiler::FunctionKind">FunctionKind</a><span title="Restricted Visibility"> 🔒</span> </div><div class="desc docblock-short">Describes the type of a function.</div></li><li><div class="item-name"><a class="enum" href="enum.Literal.html" title="enum boa_engine::bytecompiler::Literal">Literal</a><span title="Restricted Visibility"> 🔒</span> </div></li><li><div class="item-name"><a class="enum" href="enum.NodeKind.html" title="enum boa_engine::bytecompiler::NodeKind">NodeKind</a><span title="Restricted Visibility"> 🔒</span> </div><div class="desc docblock-short">Describes how a node has been defined in the source code.</div></li><li><div class="item-name"><a class="enum" href="enum.Operand.html" title="enum boa_engine::bytecompiler::Operand">Operand</a><span title="Restricted Visibility"> 🔒</span> </div><div class="desc docblock-short">An opcode operand.</div></li></ul></section></div></main></body></html> |