This commit is contained in:
edg-l 2024-03-13 10:14:30 +00:00
parent a23d015fda
commit 5a7d0a0e65
69 changed files with 145037 additions and 102500 deletions

View file

@ -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="API documentation for the Rust `main` fn in crate `edb`."><title>main in edb - 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/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="edb" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../edb/index.html">edb</a><span class="version">0.0.1-alpha.14</span></h2></div><div class="sidebar-elems"></div></nav><div class="sidebar-resizer"></div> <!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="API documentation for the Rust `main` fn in crate `edb`."><title>main in edb - 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/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="edb" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../edb/index.html">edb</a><span class="version">0.0.1-alpha.14</span></h2></div><div class="sidebar-elems"></div></nav><div class="sidebar-resizer"></div>
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../edb/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../help.html" title="help">?</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>Function <a href="index.html">edb</a>::<wbr><a class="fn" href="#">main</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/edb/main.rs.html#53-294">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub(crate) fn main() -&gt; <a class="type" href="../anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>&gt;</code></pre></section></div></main></body></html> <main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../edb/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../help.html" title="help">?</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>Function <a href="index.html">edb</a>::<wbr><a class="fn" href="#">main</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/edb/main.rs.html#53-282">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub(crate) fn main() -&gt; <a class="type" href="../anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>&gt;</code></pre></section></div></main></body></html>

View file

@ -1,3 +1,3 @@
<!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="API documentation for the Rust `edb` crate."><title>edb - 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/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="edb" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod crate"><!--[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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../edb/index.html">edb</a><span class="version">0.0.1-alpha.14</span></h2></div><div class="sidebar-elems"><ul class="block"> <!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="API documentation for the Rust `edb` crate."><title>edb - 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/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="edb" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod crate"><!--[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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../edb/index.html">edb</a><span class="version">0.0.1-alpha.14</span></h2></div><div class="sidebar-elems"><ul class="block">
<li><a id="all-types" href="all.html">All Items</a></li></ul><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><li><a href="#functions">Functions</a></li></ul></section></div></nav><div class="sidebar-resizer"></div> <li><a id="all-types" href="all.html">All Items</a></li></ul><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><li><a href="#functions">Functions</a></li></ul></section></div></nav><div class="sidebar-resizer"></div>
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../edb/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../help.html" title="help">?</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>Crate <a class="mod" href="#">edb</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/edb/main.rs.html#1-294">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><h2 id="modules" class="section-header"><a href="#modules">Modules</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="config/index.html" title="mod edb::config">config</a><span title="Restricted Visibility">&nbsp;🔒</span> </div></li></ul><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.Cli.html" title="struct edb::Cli">Cli</a></div></li></ul><h2 id="enums" class="section-header"><a href="#enums">Enums</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.Commands.html" title="enum edb::Commands">Commands</a><span title="Restricted Visibility">&nbsp;🔒</span> </div></li></ul><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.main.html" title="fn edb::main">main</a><span title="Restricted Visibility">&nbsp;🔒</span> </div></li></ul></section></div></main></body></html> <main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../edb/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../help.html" title="help">?</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>Crate <a class="mod" href="#">edb</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/edb/main.rs.html#1-282">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><h2 id="modules" class="section-header"><a href="#modules">Modules</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="config/index.html" title="mod edb::config">config</a><span title="Restricted Visibility">&nbsp;🔒</span> </div></li></ul><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.Cli.html" title="struct edb::Cli">Cli</a></div></li></ul><h2 id="enums" class="section-header"><a href="#enums">Enums</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.Commands.html" title="enum edb::Commands">Commands</a><span title="Restricted Visibility">&nbsp;🔒</span> </div></li></ul><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.main.html" title="fn edb::main">main</a><span title="Restricted Visibility">&nbsp;🔒</span> </div></li></ul></section></div></main></body></html>

View file

@ -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="API documentation for the Rust `compile` fn in crate `edlang_driver`."><title>compile in edlang_driver - 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/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="edlang_driver" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../edlang_driver/index.html">edlang_driver</a><span class="version">0.0.1-alpha.14</span></h2></div><div class="sidebar-elems"></div></nav><div class="sidebar-resizer"></div> <!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="API documentation for the Rust `compile` fn in crate `edlang_driver`."><title>compile in edlang_driver - 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/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="edlang_driver" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../edlang_driver/index.html">edlang_driver</a><span class="version">0.0.1-alpha.14</span></h2></div><div class="sidebar-elems"></div></nav><div class="sidebar-resizer"></div>
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../edlang_driver/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../help.html" title="help">?</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>Function <a href="index.html">edlang_driver</a>::<wbr><a class="fn" href="#">compile</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/edlang_driver/lib.rs.html#80-187">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn compile(args: &amp;<a class="struct" href="struct.CompilerArgs.html" title="struct edlang_driver::CompilerArgs">CompilerArgs</a>) -&gt; <a class="type" href="../anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.76.0/std/path/struct.PathBuf.html" title="struct std::path::PathBuf">PathBuf</a>&gt;</code></pre></section></div></main></body></html> <main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../edlang_driver/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../help.html" title="help">?</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>Function <a href="index.html">edlang_driver</a>::<wbr><a class="fn" href="#">compile</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/edlang_driver/lib.rs.html#80-190">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn compile(args: &amp;<a class="struct" href="struct.CompilerArgs.html" title="struct edlang_driver::CompilerArgs">CompilerArgs</a>) -&gt; <a class="type" href="../anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.76.0/std/path/struct.PathBuf.html" title="struct std::path::PathBuf">PathBuf</a>&gt;</code></pre></section></div></main></body></html>

View file

@ -1,3 +1,3 @@
<!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="API documentation for the Rust `edlang_driver` crate."><title>edlang_driver - 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/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="edlang_driver" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod crate"><!--[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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../edlang_driver/index.html">edlang_driver</a><span class="version">0.0.1-alpha.14</span></h2></div><div class="sidebar-elems"><ul class="block"> <!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="API documentation for the Rust `edlang_driver` crate."><title>edlang_driver - 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/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="edlang_driver" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod crate"><!--[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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../edlang_driver/index.html">edlang_driver</a><span class="version">0.0.1-alpha.14</span></h2></div><div class="sidebar-elems"><ul class="block">
<li><a id="all-types" href="all.html">All Items</a></li></ul><section><ul class="block"><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#functions">Functions</a></li></ul></section></div></nav><div class="sidebar-resizer"></div> <li><a id="all-types" href="all.html">All Items</a></li></ul><section><ul class="block"><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#functions">Functions</a></li></ul></section></div></nav><div class="sidebar-resizer"></div>
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../edlang_driver/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../help.html" title="help">?</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>Crate <a class="mod" href="#">edlang_driver</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/edlang_driver/lib.rs.html#1-187">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><h2 id="modules" class="section-header"><a href="#modules">Modules</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="linker/index.html" title="mod edlang_driver::linker">linker</a></div></li></ul><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.CompilerArgs.html" title="struct edlang_driver::CompilerArgs">CompilerArgs</a></div></li></ul><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.compile.html" title="fn edlang_driver::compile">compile</a></div></li><li><div class="item-name"><a class="fn" href="fn.main.html" title="fn edlang_driver::main">main</a></div></li></ul></section></div></main></body></html> <main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../edlang_driver/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../help.html" title="help">?</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>Crate <a class="mod" href="#">edlang_driver</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/edlang_driver/lib.rs.html#1-190">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><h2 id="modules" class="section-header"><a href="#modules">Modules</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="linker/index.html" title="mod edlang_driver::linker">linker</a></div></li></ul><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.CompilerArgs.html" title="struct edlang_driver::CompilerArgs">CompilerArgs</a></div></li></ul><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.compile.html" title="fn edlang_driver::compile">compile</a></div></li><li><div class="item-name"><a class="fn" href="fn.main.html" title="fn edlang_driver::main">main</a></div></li></ul></section></div></main></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,4 +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="API documentation for the Rust `lower_modules` fn in crate `edlang_lowering`."><title>lower_modules in edlang_lowering - 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/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="edlang_lowering" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../edlang_lowering/index.html">edlang_lowering</a><span class="version">0.0.1-alpha.14</span></h2></div><div class="sidebar-elems"></div></nav><div class="sidebar-resizer"></div> <!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="API documentation for the Rust `lower_modules` fn in crate `edlang_lowering`."><title>lower_modules in edlang_lowering - 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/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="edlang_lowering" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../edlang_lowering/index.html">edlang_lowering</a><span class="version">0.0.1-alpha.14</span></h2></div><div class="sidebar-elems"></div></nav><div class="sidebar-resizer"></div>
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../edlang_lowering/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../help.html" title="help">?</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>Function <a href="index.html">edlang_lowering</a>::<wbr><a class="fn" href="#">lower_modules</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/edlang_lowering/lib.rs.html#18-48">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn lower_modules( <main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../edlang_lowering/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../help.html" title="help">?</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>Function <a href="index.html">edlang_lowering</a>::<wbr><a class="fn" href="#">lower_modules</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/edlang_lowering/lib.rs.html#18-42">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn lower_modules(modules: &amp;[<a class="struct" href="../edlang_ast/struct.Module.html" title="struct edlang_ast::Module">Module</a>]) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../edlang_ir/struct.ProgramBody.html" title="struct edlang_ir::ProgramBody">ProgramBody</a>, <a class="enum" href="errors/enum.LoweringError.html" title="enum edlang_lowering::errors::LoweringError">LoweringError</a>&gt;</code></pre></section></div></main></body></html>
modules: &amp;[<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../edlang_ast/struct.Module.html" title="struct edlang_ast::Module">Module</a>&gt;]
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../edlang_ir/struct.ProgramBody.html" title="struct edlang_ir::ProgramBody">ProgramBody</a>, <a class="enum" href="errors/enum.LoweringError.html" title="enum edlang_lowering::errors::LoweringError">LoweringError</a>&gt;</code></pre></section></div></main></body></html>

View file

@ -1,5 +1,5 @@
<!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="API documentation for the Rust `lower_type` fn in crate `edlang_lowering`."><title>lower_type in edlang_lowering - 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/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="edlang_lowering" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../edlang_lowering/index.html">edlang_lowering</a><span class="version">0.0.1-alpha.14</span></h2></div><div class="sidebar-elems"></div></nav><div class="sidebar-resizer"></div> <!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="API documentation for the Rust `lower_type` fn in crate `edlang_lowering`."><title>lower_type in edlang_lowering - 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/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="edlang_lowering" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../edlang_lowering/index.html">edlang_lowering</a><span class="version">0.0.1-alpha.14</span></h2></div><div class="sidebar-elems"></div></nav><div class="sidebar-resizer"></div>
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../edlang_lowering/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../help.html" title="help">?</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>Function <a href="index.html">edlang_lowering</a>::<wbr><a class="fn" href="#">lower_type</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/edlang_lowering/lib.rs.html#1222-1317">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn lower_type( <main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../edlang_lowering/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../help.html" title="help">?</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>Function <a href="index.html">edlang_lowering</a>::<wbr><a class="fn" href="#">lower_type</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/edlang_lowering/lib.rs.html#1216-1311">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn lower_type(
ctx: &amp;BuildCtx, ctx: &amp;BuildCtx,
t: &amp;<a class="struct" href="../edlang_ast/struct.Type.html" title="struct edlang_ast::Type">Type</a>, t: &amp;<a class="struct" href="../edlang_ast/struct.Type.html" title="struct edlang_ast::Type">Type</a>,
module_id: <a class="struct" href="../edlang_ir/struct.DefId.html" title="struct edlang_ir::DefId">DefId</a> module_id: <a class="struct" href="../edlang_ir/struct.DefId.html" title="struct edlang_ir::DefId">DefId</a>

View file

@ -1,3 +1,3 @@
<!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="API documentation for the Rust `edlang_lowering` crate."><title>edlang_lowering - 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/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="edlang_lowering" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod crate"><!--[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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../edlang_lowering/index.html">edlang_lowering</a><span class="version">0.0.1-alpha.14</span></h2></div><div class="sidebar-elems"><ul class="block"> <!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="API documentation for the Rust `edlang_lowering` crate."><title>edlang_lowering - 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/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="edlang_lowering" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod crate"><!--[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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../edlang_lowering/index.html">edlang_lowering</a><span class="version">0.0.1-alpha.14</span></h2></div><div class="sidebar-elems"><ul class="block">
<li><a id="all-types" href="all.html">All Items</a></li></ul><section><ul class="block"><li><a href="#modules">Modules</a></li><li><a href="#functions">Functions</a></li></ul></section></div></nav><div class="sidebar-resizer"></div> <li><a id="all-types" href="all.html">All Items</a></li></ul><section><ul class="block"><li><a href="#modules">Modules</a></li><li><a href="#functions">Functions</a></li></ul></section></div></nav><div class="sidebar-resizer"></div>
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../edlang_lowering/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../help.html" title="help">?</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>Crate <a class="mod" href="#">edlang_lowering</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/edlang_lowering/lib.rs.html#1-1317">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><h2 id="modules" class="section-header"><a href="#modules">Modules</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="errors/index.html" title="mod edlang_lowering::errors">errors</a></div></li></ul><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.lower_modules.html" title="fn edlang_lowering::lower_modules">lower_modules</a></div></li><li><div class="item-name"><a class="fn" href="fn.lower_type.html" title="fn edlang_lowering::lower_type">lower_type</a></div></li></ul></section></div></main></body></html> <main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../edlang_lowering/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../help.html" title="help">?</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>Crate <a class="mod" href="#">edlang_lowering</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/edlang_lowering/lib.rs.html#1-1311">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><h2 id="modules" class="section-header"><a href="#modules">Modules</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="errors/index.html" title="mod edlang_lowering::errors">errors</a></div></li></ul><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.lower_modules.html" title="fn edlang_lowering::lower_modules">lower_modules</a></div></li><li><div class="item-name"><a class="fn" href="fn.lower_type.html" title="fn edlang_lowering::lower_type">lower_type</a></div></li></ul></section></div></main></body></html>

View file

@ -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="List of all items in this crate"><title>List of all items in this crate</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/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="edlang_parser" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod sys"><!--[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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../edlang_parser/index.html">edlang_parser</a><span class="version">0.0.1-alpha.14</span></h2></div><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#traits">Traits</a></li><li><a href="#functions">Functions</a></li><li><a href="#types">Type Aliases</a></li></ul></section></div></nav><div class="sidebar-resizer"></div> <!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="List of all items in this crate"><title>List of all items in this crate</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/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="edlang_parser" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod sys"><!--[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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../edlang_parser/index.html">edlang_parser</a><span class="version">0.0.1-alpha.14</span></h2></div><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#traits">Traits</a></li><li><a href="#functions">Functions</a></li><li><a href="#types">Type Aliases</a></li></ul></section></div></nav><div class="sidebar-resizer"></div>
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../edlang_parser/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../help.html" title="help">?</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"><h1>List of all items</h1><h3 id="structs">Structs</h3><ul class="all-items"><li><a href="grammar/grammar/struct.BinaryFirstLvlOpParser.html">grammar::grammar::BinaryFirstLvlOpParser</a></li><li><a href="grammar/grammar/struct.BinarySecondLvlOpParser.html">grammar::grammar::BinarySecondLvlOpParser</a></li><li><a href="grammar/grammar/struct.BinaryThirdLvlOpParser.html">grammar::grammar::BinaryThirdLvlOpParser</a></li><li><a href="grammar/grammar/struct.ModuleParser.html">grammar::grammar::ModuleParser</a></li><li><a href="grammar/grammar/struct.ModulesParser.html">grammar::grammar::ModulesParser</a></li><li><a href="grammar/grammar/struct.PathSegmentsParser.html">grammar::grammar::PathSegmentsParser</a></li><li><a href="grammar/grammar/struct.UnaryOpParser.html">grammar::grammar::UnaryOpParser</a></li><li><a href="lexer/struct.Lexer.html">lexer::Lexer</a></li></ul><h3 id="enums">Enums</h3><ul class="all-items"><li><a href="lexer/enum.LexicalError.html">lexer::LexicalError</a></li><li><a href="tokens/enum.LexingError.html">tokens::LexingError</a></li><li><a href="tokens/enum.Token.html">tokens::Token</a></li></ul><h3 id="traits">Traits</h3><ul class="all-items"><li><a href="grammar/grammar/trait.__ToTriple.html">grammar::grammar::__ToTriple</a></li></ul><h3 id="functions">Functions</h3><ul class="all-items"><li><a href="fn.error_to_report.html">error_to_report</a></li><li><a href="fn.parse_ast.html">parse_ast</a></li><li><a href="fn.print_report.html">print_report</a></li></ul><h3 id="types">Type Aliases</h3><ul class="all-items"><li><a href="error/type.Error.html">error::Error</a></li><li><a href="lexer/type.Spanned.html">lexer::Spanned</a></li></ul></section></div></main></body></html> <main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../edlang_parser/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../help.html" title="help">?</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"><h1>List of all items</h1><h3 id="structs">Structs</h3><ul class="all-items"><li><a href="grammar/grammar/struct.BinaryFirstLvlOpParser.html">grammar::grammar::BinaryFirstLvlOpParser</a></li><li><a href="grammar/grammar/struct.BinarySecondLvlOpParser.html">grammar::grammar::BinarySecondLvlOpParser</a></li><li><a href="grammar/grammar/struct.BinaryThirdLvlOpParser.html">grammar::grammar::BinaryThirdLvlOpParser</a></li><li><a href="grammar/grammar/struct.ModuleParser.html">grammar::grammar::ModuleParser</a></li><li><a href="grammar/grammar/struct.PathSegmentsParser.html">grammar::grammar::PathSegmentsParser</a></li><li><a href="grammar/grammar/struct.TopLevelModuleParser.html">grammar::grammar::TopLevelModuleParser</a></li><li><a href="grammar/grammar/struct.UnaryOpParser.html">grammar::grammar::UnaryOpParser</a></li><li><a href="lexer/struct.Lexer.html">lexer::Lexer</a></li></ul><h3 id="enums">Enums</h3><ul class="all-items"><li><a href="lexer/enum.LexicalError.html">lexer::LexicalError</a></li><li><a href="tokens/enum.LexingError.html">tokens::LexingError</a></li><li><a href="tokens/enum.Token.html">tokens::Token</a></li></ul><h3 id="traits">Traits</h3><ul class="all-items"><li><a href="grammar/grammar/trait.__ToTriple.html">grammar::grammar::__ToTriple</a></li></ul><h3 id="functions">Functions</h3><ul class="all-items"><li><a href="fn.error_to_report.html">error_to_report</a></li><li><a href="fn.parse_ast.html">parse_ast</a></li><li><a href="fn.print_report.html">print_report</a></li></ul><h3 id="types">Type Aliases</h3><ul class="all-items"><li><a href="error/type.Error.html">error::Error</a></li><li><a href="lexer/type.Spanned.html">lexer::Spanned</a></li></ul></section></div></main></body></html>

View file

@ -1,5 +1,5 @@
<!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="API documentation for the Rust `error_to_report` fn in crate `edlang_parser`."><title>error_to_report in edlang_parser - 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/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="edlang_parser" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../edlang_parser/index.html">edlang_parser</a><span class="version">0.0.1-alpha.14</span></h2></div><div class="sidebar-elems"></div></nav><div class="sidebar-resizer"></div> <!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="API documentation for the Rust `error_to_report` fn in crate `edlang_parser`."><title>error_to_report in edlang_parser - 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/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="edlang_parser" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../edlang_parser/index.html">edlang_parser</a><span class="version">0.0.1-alpha.14</span></h2></div><div class="sidebar-elems"></div></nav><div class="sidebar-resizer"></div>
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../edlang_parser/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../help.html" title="help">?</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>Function <a href="index.html">edlang_parser</a>::<wbr><a class="fn" href="#">error_to_report</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/edlang_parser/lib.rs.html#40-120">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn error_to_report&lt;'a&gt;( <main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../edlang_parser/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../help.html" title="help">?</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>Function <a href="index.html">edlang_parser</a>::<wbr><a class="fn" href="#">error_to_report</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/edlang_parser/lib.rs.html#41-121">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn error_to_report&lt;'a&gt;(
path: &amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>, path: &amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>,
error: &amp;<a class="type" href="error/type.Error.html" title="type edlang_parser::error::Error">Error</a> error: &amp;<a class="type" href="error/type.Error.html" title="type edlang_parser::error::Error">Error</a>
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../ariadne/struct.Report.html" title="struct ariadne::Report">Report</a>&lt;'static, (&amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>, <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>&gt;)&gt;, <a class="struct" href="https://doc.rust-lang.org/1.76.0/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>&gt;</code></pre></section></div></main></body></html> ) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../ariadne/struct.Report.html" title="struct ariadne::Report">Report</a>&lt;'static, (&amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>, <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>&gt;)&gt;, <a class="struct" href="https://doc.rust-lang.org/1.76.0/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>&gt;</code></pre></section></div></main></body></html>

View file

@ -1,4 +1,5 @@
<!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="API documentation for the Rust `parse_ast` fn in crate `edlang_parser`."><title>parse_ast in edlang_parser - 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/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="edlang_parser" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../edlang_parser/index.html">edlang_parser</a><span class="version">0.0.1-alpha.14</span></h2></div><div class="sidebar-elems"></div></nav><div class="sidebar-resizer"></div> <!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="API documentation for the Rust `parse_ast` fn in crate `edlang_parser`."><title>parse_ast in edlang_parser - 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/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="edlang_parser" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../edlang_parser/index.html">edlang_parser</a><span class="version">0.0.1-alpha.14</span></h2></div><div class="sidebar-elems"></div></nav><div class="sidebar-resizer"></div>
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../edlang_parser/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../help.html" title="help">?</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>Function <a href="index.html">edlang_parser</a>::<wbr><a class="fn" href="#">parse_ast</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/edlang_parser/lib.rs.html#23-29">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn parse_ast( <main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../edlang_parser/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../help.html" title="help">?</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>Function <a href="index.html">edlang_parser</a>::<wbr><a class="fn" href="#">parse_ast</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/edlang_parser/lib.rs.html#23-30">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn parse_ast(
source: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a> source: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../edlang_ast/struct.Module.html" title="struct edlang_ast::Module">Module</a>&gt;, <a class="enum" href="../lalrpop_util/enum.ParseError.html" title="enum lalrpop_util::ParseError">ParseError</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>, <a class="enum" href="tokens/enum.Token.html" title="enum edlang_parser::tokens::Token">Token</a>, <a class="enum" href="lexer/enum.LexicalError.html" title="enum edlang_parser::lexer::LexicalError">LexicalError</a>&gt;&gt;</code></pre></section></div></main></body></html> module_name: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../edlang_ast/struct.Module.html" title="struct edlang_ast::Module">Module</a>, <a class="enum" href="../lalrpop_util/enum.ParseError.html" title="enum lalrpop_util::ParseError">ParseError</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>, <a class="enum" href="tokens/enum.Token.html" title="enum edlang_parser::tokens::Token">Token</a>, <a class="enum" href="lexer/enum.LexicalError.html" title="enum edlang_parser::lexer::LexicalError">LexicalError</a>&gt;&gt;</code></pre></section></div></main></body></html>

View file

@ -1,5 +1,5 @@
<!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="API documentation for the Rust `print_report` fn in crate `edlang_parser`."><title>print_report in edlang_parser - 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/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="edlang_parser" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../edlang_parser/index.html">edlang_parser</a><span class="version">0.0.1-alpha.14</span></h2></div><div class="sidebar-elems"></div></nav><div class="sidebar-resizer"></div> <!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="API documentation for the Rust `print_report` fn in crate `edlang_parser`."><title>print_report in edlang_parser - 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/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="edlang_parser" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../edlang_parser/index.html">edlang_parser</a><span class="version">0.0.1-alpha.14</span></h2></div><div class="sidebar-elems"></div></nav><div class="sidebar-resizer"></div>
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../edlang_parser/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../help.html" title="help">?</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>Function <a href="index.html">edlang_parser</a>::<wbr><a class="fn" href="#">print_report</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/edlang_parser/lib.rs.html#31-38">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn print_report&lt;'a&gt;( <main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../edlang_parser/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../help.html" title="help">?</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>Function <a href="index.html">edlang_parser</a>::<wbr><a class="fn" href="#">print_report</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/edlang_parser/lib.rs.html#32-39">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn print_report&lt;'a&gt;(
path: &amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>, path: &amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>,
source: &amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>, source: &amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>,
report: <a class="struct" href="../ariadne/struct.Report.html" title="struct ariadne::Report">Report</a>&lt;'static, (&amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>, <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>&gt;)&gt; report: <a class="struct" href="../ariadne/struct.Report.html" title="struct ariadne::Report">Report</a>&lt;'static, (&amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.str.html">str</a>, <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>&gt;)&gt;

View file

@ -1,11 +1,11 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta http-equiv="refresh" content="0;URL=../../../../edlang_parser/grammar/grammar/struct.ModulesParser.html"> <meta http-equiv="refresh" content="0;URL=../../../../edlang_parser/grammar/grammar/struct.TopLevelModuleParser.html">
<title>Redirection</title> <title>Redirection</title>
</head> </head>
<body> <body>
<p>Redirecting to <a href="../../../../edlang_parser/grammar/grammar/struct.ModulesParser.html">../../../../edlang_parser/grammar/grammar/struct.ModulesParser.html</a>...</p> <p>Redirecting to <a href="../../../../edlang_parser/grammar/grammar/struct.TopLevelModuleParser.html">../../../../edlang_parser/grammar/grammar/struct.TopLevelModuleParser.html</a>...</p>
<script>location.replace("../../../../edlang_parser/grammar/grammar/struct.ModulesParser.html" + location.search + location.hash);</script> <script>location.replace("../../../../edlang_parser/grammar/grammar/struct.TopLevelModuleParser.html" + location.search + location.hash);</script>
</body> </body>
</html> </html>

View file

@ -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="API documentation for the Rust `grammar` mod in crate `edlang_parser`."><title>edlang_parser::grammar::grammar - 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/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="edlang_parser" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../edlang_parser/index.html">edlang_parser</a><span class="version">0.0.1-alpha.14</span></h2></div><h2 class="location"><a href="#">Module grammar</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#traits">Traits</a></li></ul></section><h2><a href="../index.html">In edlang_parser::grammar</a></h2></div></nav><div class="sidebar-resizer"></div> <!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="API documentation for the Rust `grammar` mod in crate `edlang_parser`."><title>edlang_parser::grammar::grammar - 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/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="edlang_parser" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../edlang_parser/index.html">edlang_parser</a><span class="version">0.0.1-alpha.14</span></h2></div><h2 class="location"><a href="#">Module grammar</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#traits">Traits</a></li></ul></section><h2><a href="../index.html">In edlang_parser::grammar</a></h2></div></nav><div class="sidebar-resizer"></div>
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../edlang_parser/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../../../help.html" title="help">?</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">edlang_parser</a>::<wbr><a href="../index.html">grammar</a>::<wbr><a class="mod" href="#">grammar</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/edlang_parser/lib.rs.html#20">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.BinaryFirstLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryFirstLvlOpParser">BinaryFirstLvlOpParser</a></div></li><li><div class="item-name"><a class="struct" href="struct.BinarySecondLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinarySecondLvlOpParser">BinarySecondLvlOpParser</a></div></li><li><div class="item-name"><a class="struct" href="struct.BinaryThirdLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryThirdLvlOpParser">BinaryThirdLvlOpParser</a></div></li><li><div class="item-name"><a class="struct" href="struct.ModuleParser.html" title="struct edlang_parser::grammar::grammar::ModuleParser">ModuleParser</a></div></li><li><div class="item-name"><a class="struct" href="struct.ModulesParser.html" title="struct edlang_parser::grammar::grammar::ModulesParser">ModulesParser</a></div></li><li><div class="item-name"><a class="struct" href="struct.PathSegmentsParser.html" title="struct edlang_parser::grammar::grammar::PathSegmentsParser">PathSegmentsParser</a></div></li><li><div class="item-name"><a class="struct" href="struct.UnaryOpParser.html" title="struct edlang_parser::grammar::grammar::UnaryOpParser">UnaryOpParser</a></div></li></ul><h2 id="traits" class="section-header"><a href="#traits">Traits</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.__ToTriple.html" title="trait edlang_parser::grammar::grammar::__ToTriple">__ToTriple</a></div></li></ul></section></div></main></body></html> <main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../edlang_parser/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../../../help.html" title="help">?</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">edlang_parser</a>::<wbr><a href="../index.html">grammar</a>::<wbr><a class="mod" href="#">grammar</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/edlang_parser/lib.rs.html#20">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.BinaryFirstLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryFirstLvlOpParser">BinaryFirstLvlOpParser</a></div></li><li><div class="item-name"><a class="struct" href="struct.BinarySecondLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinarySecondLvlOpParser">BinarySecondLvlOpParser</a></div></li><li><div class="item-name"><a class="struct" href="struct.BinaryThirdLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryThirdLvlOpParser">BinaryThirdLvlOpParser</a></div></li><li><div class="item-name"><a class="struct" href="struct.ModuleParser.html" title="struct edlang_parser::grammar::grammar::ModuleParser">ModuleParser</a></div></li><li><div class="item-name"><a class="struct" href="struct.PathSegmentsParser.html" title="struct edlang_parser::grammar::grammar::PathSegmentsParser">PathSegmentsParser</a></div></li><li><div class="item-name"><a class="struct" href="struct.TopLevelModuleParser.html" title="struct edlang_parser::grammar::grammar::TopLevelModuleParser">TopLevelModuleParser</a></div></li><li><div class="item-name"><a class="struct" href="struct.UnaryOpParser.html" title="struct edlang_parser::grammar::grammar::UnaryOpParser">UnaryOpParser</a></div></li></ul><h2 id="traits" class="section-header"><a href="#traits">Traits</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.__ToTriple.html" title="trait edlang_parser::grammar::grammar::__ToTriple">__ToTriple</a></div></li></ul></section></div></main></body></html>

View file

@ -1 +1 @@
window.SIDEBAR_ITEMS = {"struct":["BinaryFirstLvlOpParser","BinarySecondLvlOpParser","BinaryThirdLvlOpParser","ModuleParser","ModulesParser","PathSegmentsParser","UnaryOpParser"],"trait":["__ToTriple"]}; window.SIDEBAR_ITEMS = {"struct":["BinaryFirstLvlOpParser","BinarySecondLvlOpParser","BinaryThirdLvlOpParser","ModuleParser","PathSegmentsParser","TopLevelModuleParser","UnaryOpParser"],"trait":["__ToTriple"]};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,13 +1,13 @@
<!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="API documentation for the Rust `__ToTriple` trait in crate `edlang_parser`."><title>__ToTriple in edlang_parser::grammar::grammar - 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/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="edlang_parser" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../edlang_parser/index.html">edlang_parser</a><span class="version">0.0.1-alpha.14</span></h2></div><h2 class="location"><a href="#">__ToTriple</a></h2><div class="sidebar-elems"><section><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.to_triple">to_triple</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-__ToTriple-for-(usize,+Token,+usize)">(usize, Token, usize)</a></li><li><a href="#impl-__ToTriple-for-Result%3C(usize,+Token,+usize),+LexicalError%3E">Result&lt;(usize, Token, usize), LexicalError&gt;</a></li></ul><h3><a href="#object-safety">Object Safety</a></h3><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In edlang_parser::grammar::grammar</a></h2></div></nav><div class="sidebar-resizer"></div> <!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="API documentation for the Rust `__ToTriple` trait in crate `edlang_parser`."><title>__ToTriple in edlang_parser::grammar::grammar - 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/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="edlang_parser" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../edlang_parser/index.html">edlang_parser</a><span class="version">0.0.1-alpha.14</span></h2></div><h2 class="location"><a href="#">__ToTriple</a></h2><div class="sidebar-elems"><section><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.to_triple">to_triple</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-__ToTriple%3C'module_name%3E-for-(usize,+Token,+usize)">(usize, Token, usize)</a></li><li><a href="#impl-__ToTriple%3C'module_name%3E-for-Result%3C(usize,+Token,+usize),+LexicalError%3E">Result&lt;(usize, Token, usize), LexicalError&gt;</a></li></ul><h3><a href="#object-safety">Object Safety</a></h3><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In edlang_parser::grammar::grammar</a></h2></div></nav><div class="sidebar-resizer"></div>
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../edlang_parser/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../../../help.html" title="help">?</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>Trait <a href="../../index.html">edlang_parser</a>::<wbr><a href="../index.html">grammar</a>::<wbr><a href="index.html">grammar</a>::<wbr><a class="trait" href="#">__ToTriple</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/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-a380a731733183eb/out/grammar.rs.html#335850-335853">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub trait __ToTriple { <main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../edlang_parser/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../../../help.html" title="help">?</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>Trait <a href="../../index.html">edlang_parser</a>::<wbr><a href="../index.html">grammar</a>::<wbr><a href="index.html">grammar</a>::<wbr><a class="trait" href="#">__ToTriple</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/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-a380a731733183eb/out/grammar.rs.html#357128-357131">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub trait __ToTriple&lt;'module_name&gt; {
// Required method // Required method
fn <a href="#tymethod.to_triple" class="fn">to_triple</a>( fn <a href="#tymethod.to_triple" class="fn">to_triple</a>(
value: Self value: Self
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;(<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>, <a class="enum" href="../../tokens/enum.Token.html" title="enum edlang_parser::tokens::Token">Token</a>, <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>), <a class="enum" href="../../../lalrpop_util/enum.ParseError.html" title="enum lalrpop_util::ParseError">ParseError</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>, <a class="enum" href="../../tokens/enum.Token.html" title="enum edlang_parser::tokens::Token">Token</a>, <a class="enum" href="../../lexer/enum.LexicalError.html" title="enum edlang_parser::lexer::LexicalError">LexicalError</a>&gt;&gt;; ) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;(<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>, <a class="enum" href="../../tokens/enum.Token.html" title="enum edlang_parser::tokens::Token">Token</a>, <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>), <a class="enum" href="../../../lalrpop_util/enum.ParseError.html" title="enum lalrpop_util::ParseError">ParseError</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>, <a class="enum" href="../../tokens/enum.Token.html" title="enum edlang_parser::tokens::Token">Token</a>, <a class="enum" href="../../lexer/enum.LexicalError.html" title="enum edlang_parser::lexer::LexicalError">LexicalError</a>&gt;&gt;;
}</code></pre><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.to_triple" class="method"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-a380a731733183eb/out/grammar.rs.html#335852">source</a><h4 class="code-header">fn <a href="#tymethod.to_triple" class="fn">to_triple</a>( }</code></pre><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.to_triple" class="method"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-a380a731733183eb/out/grammar.rs.html#357130">source</a><h4 class="code-header">fn <a href="#tymethod.to_triple" class="fn">to_triple</a>(
value: Self value: Self
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;(<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>, <a class="enum" href="../../tokens/enum.Token.html" title="enum edlang_parser::tokens::Token">Token</a>, <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>), <a class="enum" href="../../../lalrpop_util/enum.ParseError.html" title="enum lalrpop_util::ParseError">ParseError</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>, <a class="enum" href="../../tokens/enum.Token.html" title="enum edlang_parser::tokens::Token">Token</a>, <a class="enum" href="../../lexer/enum.LexicalError.html" title="enum edlang_parser::lexer::LexicalError">LexicalError</a>&gt;&gt;</h4></section></div><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/1.76.0/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-__ToTriple-for-(usize,+Token,+usize)" class="impl"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-a380a731733183eb/out/grammar.rs.html#335855-335860">source</a><a href="#impl-__ToTriple-for-(usize,+Token,+usize)" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.__ToTriple.html" title="trait edlang_parser::grammar::grammar::__ToTriple">__ToTriple</a> for (<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>, <a class="enum" href="../../tokens/enum.Token.html" title="enum edlang_parser::tokens::Token">Token</a>, <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>)</h3></section></summary><div class="impl-items"><section id="method.to_triple" class="method trait-impl"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-a380a731733183eb/out/grammar.rs.html#335857-335859">source</a><a href="#method.to_triple" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.to_triple" class="fn">to_triple</a>( ) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;(<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>, <a class="enum" href="../../tokens/enum.Token.html" title="enum edlang_parser::tokens::Token">Token</a>, <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>), <a class="enum" href="../../../lalrpop_util/enum.ParseError.html" title="enum lalrpop_util::ParseError">ParseError</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>, <a class="enum" href="../../tokens/enum.Token.html" title="enum edlang_parser::tokens::Token">Token</a>, <a class="enum" href="../../lexer/enum.LexicalError.html" title="enum edlang_parser::lexer::LexicalError">LexicalError</a>&gt;&gt;</h4></section></div><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/1.76.0/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-__ToTriple%3C'module_name%3E-for-(usize,+Token,+usize)" class="impl"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-a380a731733183eb/out/grammar.rs.html#357133-357138">source</a><a href="#impl-__ToTriple%3C'module_name%3E-for-(usize,+Token,+usize)" class="anchor">§</a><h3 class="code-header">impl&lt;'module_name&gt; <a class="trait" href="trait.__ToTriple.html" title="trait edlang_parser::grammar::grammar::__ToTriple">__ToTriple</a>&lt;'module_name&gt; for (<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>, <a class="enum" href="../../tokens/enum.Token.html" title="enum edlang_parser::tokens::Token">Token</a>, <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>)</h3></section></summary><div class="impl-items"><section id="method.to_triple" class="method trait-impl"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-a380a731733183eb/out/grammar.rs.html#357135-357137">source</a><a href="#method.to_triple" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.to_triple" class="fn">to_triple</a>(
value: Self value: Self
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;(<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>, <a class="enum" href="../../tokens/enum.Token.html" title="enum edlang_parser::tokens::Token">Token</a>, <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>), <a class="enum" href="../../../lalrpop_util/enum.ParseError.html" title="enum lalrpop_util::ParseError">ParseError</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>, <a class="enum" href="../../tokens/enum.Token.html" title="enum edlang_parser::tokens::Token">Token</a>, <a class="enum" href="../../lexer/enum.LexicalError.html" title="enum edlang_parser::lexer::LexicalError">LexicalError</a>&gt;&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-__ToTriple-for-Result%3C(usize,+Token,+usize),+LexicalError%3E" class="impl"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-a380a731733183eb/out/grammar.rs.html#335861-335869">source</a><a href="#impl-__ToTriple-for-Result%3C(usize,+Token,+usize),+LexicalError%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.__ToTriple.html" title="trait edlang_parser::grammar::grammar::__ToTriple">__ToTriple</a> for <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;(<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>, <a class="enum" href="../../tokens/enum.Token.html" title="enum edlang_parser::tokens::Token">Token</a>, <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>), <a class="enum" href="../../lexer/enum.LexicalError.html" title="enum edlang_parser::lexer::LexicalError">LexicalError</a>&gt;</h3></section></summary><div class="impl-items"><section id="method.to_triple-1" class="method trait-impl"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-a380a731733183eb/out/grammar.rs.html#335863-335868">source</a><a href="#method.to_triple-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.to_triple" class="fn">to_triple</a>( ) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;(<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>, <a class="enum" href="../../tokens/enum.Token.html" title="enum edlang_parser::tokens::Token">Token</a>, <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>), <a class="enum" href="../../../lalrpop_util/enum.ParseError.html" title="enum lalrpop_util::ParseError">ParseError</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>, <a class="enum" href="../../tokens/enum.Token.html" title="enum edlang_parser::tokens::Token">Token</a>, <a class="enum" href="../../lexer/enum.LexicalError.html" title="enum edlang_parser::lexer::LexicalError">LexicalError</a>&gt;&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-__ToTriple%3C'module_name%3E-for-Result%3C(usize,+Token,+usize),+LexicalError%3E" class="impl"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-a380a731733183eb/out/grammar.rs.html#357139-357147">source</a><a href="#impl-__ToTriple%3C'module_name%3E-for-Result%3C(usize,+Token,+usize),+LexicalError%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'module_name&gt; <a class="trait" href="trait.__ToTriple.html" title="trait edlang_parser::grammar::grammar::__ToTriple">__ToTriple</a>&lt;'module_name&gt; for <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;(<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>, <a class="enum" href="../../tokens/enum.Token.html" title="enum edlang_parser::tokens::Token">Token</a>, <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>), <a class="enum" href="../../lexer/enum.LexicalError.html" title="enum edlang_parser::lexer::LexicalError">LexicalError</a>&gt;</h3></section></summary><div class="impl-items"><section id="method.to_triple-1" class="method trait-impl"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-a380a731733183eb/out/grammar.rs.html#357141-357146">source</a><a href="#method.to_triple-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.to_triple" class="fn">to_triple</a>(
value: Self value: Self
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;(<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>, <a class="enum" href="../../tokens/enum.Token.html" title="enum edlang_parser::tokens::Token">Token</a>, <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>), <a class="enum" href="../../../lalrpop_util/enum.ParseError.html" title="enum lalrpop_util::ParseError">ParseError</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>, <a class="enum" href="../../tokens/enum.Token.html" title="enum edlang_parser::tokens::Token">Token</a>, <a class="enum" href="../../lexer/enum.LexicalError.html" title="enum edlang_parser::lexer::LexicalError">LexicalError</a>&gt;&gt;</h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../../trait.impl/edlang_parser/grammar/grammar/trait.__ToTriple.js" data-ignore-extern-crates="std,core" async></script></section></div></main></body></html> ) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;(<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>, <a class="enum" href="../../tokens/enum.Token.html" title="enum edlang_parser::tokens::Token">Token</a>, <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>), <a class="enum" href="../../../lalrpop_util/enum.ParseError.html" title="enum lalrpop_util::ParseError">ParseError</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.usize.html">usize</a>, <a class="enum" href="../../tokens/enum.Token.html" title="enum edlang_parser::tokens::Token">Token</a>, <a class="enum" href="../../lexer/enum.LexicalError.html" title="enum edlang_parser::lexer::LexicalError">LexicalError</a>&gt;&gt;</h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../../trait.impl/edlang_parser/grammar/grammar/trait.__ToTriple.js" data-ignore-extern-crates="std,core" async></script></section></div></main></body></html>

View file

@ -1,3 +1,3 @@
<!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="API documentation for the Rust `edlang_parser` crate."><title>edlang_parser - 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/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="edlang_parser" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod crate"><!--[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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../edlang_parser/index.html">edlang_parser</a><span class="version">0.0.1-alpha.14</span></h2></div><div class="sidebar-elems"><ul class="block"> <!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="API documentation for the Rust `edlang_parser` crate."><title>edlang_parser - 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/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="edlang_parser" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod crate"><!--[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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../edlang_parser/index.html">edlang_parser</a><span class="version">0.0.1-alpha.14</span></h2></div><div class="sidebar-elems"><ul class="block">
<li><a id="all-types" href="all.html">All Items</a></li></ul><section><ul class="block"><li><a href="#modules">Modules</a></li><li><a href="#functions">Functions</a></li></ul></section></div></nav><div class="sidebar-resizer"></div> <li><a id="all-types" href="all.html">All Items</a></li></ul><section><ul class="block"><li><a href="#modules">Modules</a></li><li><a href="#functions">Functions</a></li></ul></section></div></nav><div class="sidebar-resizer"></div>
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../edlang_parser/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../help.html" title="help">?</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>Crate <a class="mod" href="#">edlang_parser</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/edlang_parser/lib.rs.html#1-123">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><h2 id="modules" class="section-header"><a href="#modules">Modules</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="error/index.html" title="mod edlang_parser::error">error</a></div></li><li><div class="item-name"><a class="mod" href="grammar/index.html" title="mod edlang_parser::grammar">grammar</a></div></li><li><div class="item-name"><a class="mod" href="lexer/index.html" title="mod edlang_parser::lexer">lexer</a></div></li><li><div class="item-name"><a class="mod" href="tokens/index.html" title="mod edlang_parser::tokens">tokens</a></div></li></ul><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.error_to_report.html" title="fn edlang_parser::error_to_report">error_to_report</a></div></li><li><div class="item-name"><a class="fn" href="fn.parse_ast.html" title="fn edlang_parser::parse_ast">parse_ast</a></div></li><li><div class="item-name"><a class="fn" href="fn.print_report.html" title="fn edlang_parser::print_report">print_report</a></div></li></ul></section></div></main></body></html> <main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../edlang_parser/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../help.html" title="help">?</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>Crate <a class="mod" href="#">edlang_parser</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/edlang_parser/lib.rs.html#1-124">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><h2 id="modules" class="section-header"><a href="#modules">Modules</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="error/index.html" title="mod edlang_parser::error">error</a></div></li><li><div class="item-name"><a class="mod" href="grammar/index.html" title="mod edlang_parser::grammar">grammar</a></div></li><li><div class="item-name"><a class="mod" href="lexer/index.html" title="mod edlang_parser::lexer">lexer</a></div></li><li><div class="item-name"><a class="mod" href="tokens/index.html" title="mod edlang_parser::tokens">tokens</a></div></li></ul><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.error_to_report.html" title="fn edlang_parser::error_to_report">error_to_report</a></div></li><li><div class="item-name"><a class="fn" href="fn.parse_ast.html" title="fn edlang_parser::parse_ast">parse_ast</a></div></li><li><div class="item-name"><a class="fn" href="fn.print_report.html" title="fn edlang_parser::print_report">print_report</a></div></li></ul></section></div></main></body></html>

File diff suppressed because one or more lines are too long

View file

@ -281,18 +281,6 @@
<a href="#280" id="280">280</a> <a href="#280" id="280">280</a>
<a href="#281" id="281">281</a> <a href="#281" id="281">281</a>
<a href="#282" id="282">282</a> <a href="#282" id="282">282</a>
<a href="#283" id="283">283</a>
<a href="#284" id="284">284</a>
<a href="#285" id="285">285</a>
<a href="#286" id="286">286</a>
<a href="#287" id="287">287</a>
<a href="#288" id="288">288</a>
<a href="#289" id="289">289</a>
<a href="#290" id="290">290</a>
<a href="#291" id="291">291</a>
<a href="#292" id="292">292</a>
<a href="#293" id="293">293</a>
<a href="#294" id="294">294</a>
</pre></div><pre class="rust"><code><span class="kw">use </span>std::{collections::HashMap, fs::File, io::Read, path::PathBuf, time::Instant}; </pre></div><pre class="rust"><code><span class="kw">use </span>std::{collections::HashMap, fs::File, io::Read, path::PathBuf, time::Instant};
<span class="kw">use </span>anyhow::{bail, Context, <span class="prelude-ty">Result</span>}; <span class="kw">use </span>anyhow::{bail, Context, <span class="prelude-ty">Result</span>};
@ -401,7 +389,7 @@
std::fs::write(config_path, toml::to_string_pretty(<span class="kw-2">&amp;</span>config)<span class="question-mark">?</span>) std::fs::write(config_path, toml::to_string_pretty(<span class="kw-2">&amp;</span>config)<span class="question-mark">?</span>)
.context(<span class="string">"failed to write Ed.toml"</span>)<span class="question-mark">?</span>; .context(<span class="string">"failed to write Ed.toml"</span>)<span class="question-mark">?</span>;
std::fs::write(path.join(<span class="string">".gitignore"</span>), <span class="string">"/target-ed\n"</span>) std::fs::write(path.join(<span class="string">".gitignore"</span>), <span class="string">"/build\n"</span>)
.context(<span class="string">"failed to write .gitignore"</span>)<span class="question-mark">?</span>; .context(<span class="string">"failed to write .gitignore"</span>)<span class="question-mark">?</span>;
std::fs::write(path.join(<span class="string">".gitattributes"</span>), <span class="string">"*.ed linguist-language=Rust\n"</span>) std::fs::write(path.join(<span class="string">".gitattributes"</span>), <span class="string">"*.ed linguist-language=Rust\n"</span>)
.context(<span class="string">"failed to write .gitattributes"</span>)<span class="question-mark">?</span>; .context(<span class="string">"failed to write .gitattributes"</span>)<span class="question-mark">?</span>;
@ -409,30 +397,18 @@
<span class="kw">if </span>bin { <span class="kw">if </span>bin {
std::fs::write( std::fs::write(
path.join(<span class="string">"src"</span>).join(<span class="string">"main.ed"</span>), path.join(<span class="string">"src"</span>).join(<span class="string">"main.ed"</span>),
<span class="macro">format!</span>( <span class="string">r#"pub fn main() -&gt; i32 {{
<span class="string">r#" return 0;
mod {} {{ }"#</span>,
pub fn main() -&gt; i32 {{
return 0;
}}
}}"#</span>,
name
),
)<span class="question-mark">?</span>; )<span class="question-mark">?</span>;
} }
<span class="kw">if </span>lib { <span class="kw">if </span>lib {
std::fs::write( std::fs::write(
path.join(<span class="string">"src"</span>).join(<span class="string">"lib.ed"</span>), path.join(<span class="string">"src"</span>).join(<span class="string">"lib.ed"</span>),
<span class="macro">format!</span>( <span class="string">r#"pub fn main() -&gt; i32 {{
<span class="string">r#" return 0;
mod {} {{ }"#</span>,
pub fn hello_world() -&gt; i32 {{
return 0;
}}
}}"#</span>,
name
),
)<span class="question-mark">?</span>; )<span class="question-mark">?</span>;
} }
@ -502,7 +478,7 @@ mod {} {{
); );
<span class="kw">let </span>src_dir = base_dir.join(<span class="string">"src"</span>); <span class="kw">let </span>src_dir = base_dir.join(<span class="string">"src"</span>);
<span class="kw">let </span>target_dir = base_dir.join(<span class="string">"target-ed"</span>); <span class="kw">let </span>target_dir = base_dir.join(<span class="string">"build"</span>);
<span class="kw">if </span>!target_dir.exists() { <span class="kw">if </span>!target_dir.exists() {
std::fs::create_dir_all(<span class="kw-2">&amp;</span>target_dir)<span class="question-mark">?</span>; std::fs::create_dir_all(<span class="kw-2">&amp;</span>target_dir)<span class="question-mark">?</span>;

View file

@ -186,6 +186,9 @@
<a href="#185" id="185">185</a> <a href="#185" id="185">185</a>
<a href="#186" id="186">186</a> <a href="#186" id="186">186</a>
<a href="#187" id="187">187</a> <a href="#187" id="187">187</a>
<a href="#188" id="188">188</a>
<a href="#189" id="189">189</a>
<a href="#190" id="190">190</a>
</pre></div><pre class="rust"><code><span class="kw">use </span>std::{path::PathBuf, time::Instant}; </pre></div><pre class="rust"><code><span class="kw">use </span>std::{path::PathBuf, time::Instant};
<span class="kw">use </span>anyhow::Result; <span class="kw">use </span>anyhow::Result;
@ -267,7 +270,7 @@
<span class="kw">pub fn </span>compile(args: <span class="kw-2">&amp;</span>CompilerArgs) -&gt; <span class="prelude-ty">Result</span>&lt;PathBuf&gt; { <span class="kw">pub fn </span>compile(args: <span class="kw-2">&amp;</span>CompilerArgs) -&gt; <span class="prelude-ty">Result</span>&lt;PathBuf&gt; {
<span class="kw">let </span><span class="kw-2">mut </span>files = Vec::new(); <span class="kw">let </span><span class="kw-2">mut </span>files = Vec::new();
<span class="kw">for </span>entry <span class="kw">in </span>WalkDir::new(<span class="kw-2">&amp;</span>args.input) { <span class="kw">for </span>entry <span class="kw">in </span>WalkDir::new(<span class="kw-2">&amp;</span>args.input).sort_by_file_name() {
<span class="kw">let </span>entry = entry<span class="question-mark">?</span>; <span class="kw">let </span>entry = entry<span class="question-mark">?</span>;
<span class="kw">if let </span><span class="prelude-val">Some</span>(ext) = entry.path().extension() { <span class="kw">if let </span><span class="prelude-val">Some</span>(ext) = entry.path().extension() {
<span class="kw">if </span>ext.eq_ignore_ascii_case(<span class="string">"ed"</span>) { <span class="kw">if </span>ext.eq_ignore_ascii_case(<span class="string">"ed"</span>) {
@ -287,10 +290,13 @@
<span class="kw">for </span>path <span class="kw">in </span>files { <span class="kw">for </span>path <span class="kw">in </span>files {
<span class="kw">let </span>source = std::fs::read_to_string(<span class="kw-2">&amp;</span>path)<span class="question-mark">?</span>; <span class="kw">let </span>source = std::fs::read_to_string(<span class="kw-2">&amp;</span>path)<span class="question-mark">?</span>;
<span class="kw">let </span>modules_ast = edlang_parser::parse_ast(<span class="kw-2">&amp;</span>source); <span class="kw">let </span>module_ast = edlang_parser::parse_ast(
<span class="kw-2">&amp;</span>source,
<span class="kw-2">&amp;</span>path.file_stem().expect(<span class="string">"no file stem"</span>).to_string_lossy(),
);
<span class="kw">let </span>modules_temp = <span class="kw">match </span>modules_ast { <span class="kw">let </span>module_temp = <span class="kw">match </span>module_ast {
<span class="prelude-val">Ok</span>(modules) =&gt; modules, <span class="prelude-val">Ok</span>(module) =&gt; module,
<span class="prelude-val">Err</span>(error) =&gt; { <span class="prelude-val">Err</span>(error) =&gt; {
<span class="kw">let </span>path = path.display().to_string(); <span class="kw">let </span>path = path.display().to_string();
<span class="kw">let </span>report = edlang_parser::error_to_report(<span class="kw-2">&amp;</span>path, <span class="kw-2">&amp;</span>error)<span class="question-mark">?</span>; <span class="kw">let </span>report = edlang_parser::error_to_report(<span class="kw-2">&amp;</span>path, <span class="kw-2">&amp;</span>error)<span class="question-mark">?</span>;
@ -298,7 +304,7 @@
std::process::exit(<span class="number">1</span>) std::process::exit(<span class="number">1</span>)
} }
}; };
modules.push((path, source, modules_temp)); modules.push((path, source, module_temp));
} }
<span class="kw">let </span>session = Session { <span class="kw">let </span>session = Session {

View file

@ -553,6 +553,7 @@
<a href="#552" id="552">552</a> <a href="#552" id="552">552</a>
<a href="#553" id="553">553</a> <a href="#553" id="553">553</a>
<a href="#554" id="554">554</a> <a href="#554" id="554">554</a>
<a href="#555" id="555">555</a>
</pre></div><pre class="rust"><code><span class="comment">// Based on a cfg </pre></div><pre class="rust"><code><span class="comment">// Based on a cfg
</span><span class="kw">use </span>std::{ </span><span class="kw">use </span>std::{
@ -588,6 +589,7 @@
<span class="kw">pub </span>structs: BTreeMap&lt;DefId, AdtBody&gt;, <span class="kw">pub </span>structs: BTreeMap&lt;DefId, AdtBody&gt;,
<span class="doccomment">/// The function signatures. <span class="doccomment">/// The function signatures.
</span><span class="kw">pub </span>function_signatures: BTreeMap&lt;DefId, (Vec&lt;TypeInfo&gt;, TypeInfo)&gt;, </span><span class="kw">pub </span>function_signatures: BTreeMap&lt;DefId, (Vec&lt;TypeInfo&gt;, TypeInfo)&gt;,
<span class="kw">pub </span>file_names: BTreeMap&lt;usize, String&gt;,
} }
<span class="attr">#[derive(Debug, Clone)] <span class="attr">#[derive(Debug, Clone)]

View file

@ -1310,12 +1310,6 @@
<a href="#1309" id="1309">1309</a> <a href="#1309" id="1309">1309</a>
<a href="#1310" id="1310">1310</a> <a href="#1310" id="1310">1310</a>
<a href="#1311" id="1311">1311</a> <a href="#1311" id="1311">1311</a>
<a href="#1312" id="1312">1312</a>
<a href="#1313" id="1313">1313</a>
<a href="#1314" id="1314">1314</a>
<a href="#1315" id="1315">1315</a>
<a href="#1316" id="1316">1316</a>
<a href="#1317" id="1317">1317</a>
</pre></div><pre class="rust"><code><span class="kw">use </span>std::collections::HashMap; </pre></div><pre class="rust"><code><span class="kw">use </span>std::collections::HashMap;
<span class="kw">use </span>ast::{BinaryOp, ModuleStatement, Span, WhileStmt}; <span class="kw">use </span>ast::{BinaryOp, ModuleStatement, Span, WhileStmt};
@ -1333,33 +1327,27 @@
<span class="kw">pub mod </span>errors; <span class="kw">pub mod </span>errors;
<span class="kw">mod </span>prepass; <span class="kw">mod </span>prepass;
<span class="kw">pub fn </span>lower_modules(modules: <span class="kw-2">&amp;</span>[Vec&lt;ast::Module&gt;]) -&gt; <span class="prelude-ty">Result</span>&lt;ProgramBody, LoweringError&gt; { <span class="kw">pub fn </span>lower_modules(modules: <span class="kw-2">&amp;</span>[ast::Module]) -&gt; <span class="prelude-ty">Result</span>&lt;ProgramBody, LoweringError&gt; {
<span class="kw">let </span><span class="kw-2">mut </span>ctx = BuildCtx::default(); <span class="kw">let </span><span class="kw-2">mut </span>ctx = BuildCtx::default();
<span class="comment">// resolve symbols <span class="comment">// resolve symbols
</span><span class="kw">for </span>(file_id, modules) <span class="kw">in </span>modules.iter().enumerate() { </span><span class="kw">for </span>(file_id, module) <span class="kw">in </span>modules.iter().enumerate() {
<span class="kw">for </span>module <span class="kw">in </span>modules { ctx = prepass::prepass_module(ctx, module, file_id)<span class="question-mark">?</span>;
ctx = prepass::prepass_module(ctx, module, file_id)<span class="question-mark">?</span>;
}
} }
<span class="comment">// resolve imports <span class="comment">// resolve imports
</span><span class="kw">for </span>(file_id, modules) <span class="kw">in </span>modules.iter().enumerate() { </span><span class="kw">for </span>(file_id, module) <span class="kw">in </span>modules.iter().enumerate() {
<span class="kw">for </span>module <span class="kw">in </span>modules { ctx = prepass::prepass_imports(ctx, module, file_id)<span class="question-mark">?</span>;
ctx = prepass::prepass_imports(ctx, module, file_id)<span class="question-mark">?</span>;
}
} }
<span class="kw">for </span>modules <span class="kw">in </span>modules { <span class="kw">for </span>mod_def <span class="kw">in </span>modules {
<span class="kw">for </span>mod_def <span class="kw">in </span>modules { <span class="kw">let </span>id = <span class="kw-2">*</span>ctx
<span class="kw">let </span>id = <span class="kw-2">*</span>ctx .body
.body .top_level_module_names
.top_level_module_names .get(<span class="kw-2">&amp;</span>mod_def.name.name)
.get(<span class="kw-2">&amp;</span>mod_def.name.name) .expect(<span class="string">"module should exist"</span>);
.expect(<span class="string">"module should exist"</span>);
ctx = lower_module(ctx, mod_def, id)<span class="question-mark">?</span>; ctx = lower_module(ctx, mod_def, id)<span class="question-mark">?</span>;
}
} }
<span class="prelude-val">Ok</span>(ctx.body) <span class="prelude-val">Ok</span>(ctx.body)

View file

@ -122,6 +122,7 @@
<a href="#121" id="121">121</a> <a href="#121" id="121">121</a>
<a href="#122" id="122">122</a> <a href="#122" id="122">122</a>
<a href="#123" id="123">123</a> <a href="#123" id="123">123</a>
<a href="#124" id="124">124</a>
</pre></div><pre class="rust"><code><span class="kw">use </span>std::ops::Range; </pre></div><pre class="rust"><code><span class="kw">use </span>std::ops::Range;
<span class="kw">use </span><span class="kw">crate</span>::error::Error; <span class="kw">use </span><span class="kw">crate</span>::error::Error;
@ -146,10 +147,11 @@
<span class="kw">pub fn </span>parse_ast( <span class="kw">pub fn </span>parse_ast(
source: <span class="kw-2">&amp;</span>str, source: <span class="kw-2">&amp;</span>str,
) -&gt; <span class="prelude-ty">Result</span>&lt;Vec&lt;edlang_ast::Module&gt;, ParseError&lt;usize, Token, LexicalError&gt;&gt; { module_name: <span class="kw-2">&amp;</span>str,
) -&gt; <span class="prelude-ty">Result</span>&lt;edlang_ast::Module, ParseError&lt;usize, Token, LexicalError&gt;&gt; {
<span class="kw">let </span>lexer = Lexer::new(source); <span class="kw">let </span>lexer = Lexer::new(source);
<span class="kw">let </span>parser = grammar::ModulesParser::new(); <span class="kw">let </span>parser = grammar::TopLevelModuleParser::new();
parser.parse(lexer) parser.parse(module_name, lexer)
} }
<span class="kw">pub fn </span>print_report&lt;<span class="lifetime">'a</span>&gt;( <span class="kw">pub fn </span>print_report&lt;<span class="lifetime">'a</span>&gt;(
@ -170,7 +172,7 @@
ParseError::InvalidToken { location } =&gt; { ParseError::InvalidToken { location } =&gt; {
<span class="kw">let </span>loc = <span class="kw-2">*</span>location; <span class="kw">let </span>loc = <span class="kw-2">*</span>location;
Report::build(ReportKind::Error, path, loc) Report::build(ReportKind::Error, path, loc)
.with_code(<span class="string">"P1"</span>) .with_code(<span class="string">"InvalidToken"</span>)
.with_label( .with_label(
Label::new((path, loc..(loc + <span class="number">1</span>))) Label::new((path, loc..(loc + <span class="number">1</span>)))
.with_color(colors.next()) .with_color(colors.next())
@ -181,7 +183,7 @@
ParseError::UnrecognizedEof { location, expected } =&gt; { ParseError::UnrecognizedEof { location, expected } =&gt; {
<span class="kw">let </span>loc = <span class="kw-2">*</span>location; <span class="kw">let </span>loc = <span class="kw-2">*</span>location;
Report::build(ReportKind::Error, path, loc) Report::build(ReportKind::Error, path, loc)
.with_code(<span class="string">"P2"</span>) .with_code(<span class="string">"UnrecognizedEof"</span>)
.with_label( .with_label(
Label::new((path, loc..(loc + <span class="number">1</span>))) Label::new((path, loc..(loc + <span class="number">1</span>)))
.with_message(<span class="macro">format!</span>( .with_message(<span class="macro">format!</span>(
@ -194,7 +196,7 @@
} }
ParseError::UnrecognizedToken { token, expected } =&gt; { ParseError::UnrecognizedToken { token, expected } =&gt; {
Report::build(ReportKind::Error, path, token.<span class="number">0</span>) Report::build(ReportKind::Error, path, token.<span class="number">0</span>)
.with_code(<span class="number">3</span>) .with_code(<span class="string">"UnrecognizedToken"</span>)
.with_label( .with_label(
Label::new((path, token.<span class="number">0</span>..token.<span class="number">2</span>)) Label::new((path, token.<span class="number">0</span>..token.<span class="number">2</span>))
.with_message(<span class="macro">format!</span>( .with_message(<span class="macro">format!</span>(
@ -207,7 +209,7 @@
.finish() .finish()
} }
ParseError::ExtraToken { token } =&gt; Report::build(ReportKind::Error, path, token.<span class="number">0</span>) ParseError::ExtraToken { token } =&gt; Report::build(ReportKind::Error, path, token.<span class="number">0</span>)
.with_code(<span class="string">"P3"</span>) .with_code(<span class="string">"ExtraToken"</span>)
.with_message(<span class="string">"Extra token"</span>) .with_message(<span class="string">"Extra token"</span>)
.with_label( .with_label(
Label::new((path, token.<span class="number">0</span>..token.<span class="number">2</span>)) Label::new((path, token.<span class="number">0</span>..token.<span class="number">2</span>))
@ -218,7 +220,7 @@
LexicalError::InvalidToken(err, range) =&gt; <span class="kw">match </span>err { LexicalError::InvalidToken(err, range) =&gt; <span class="kw">match </span>err {
tokens::LexingError::NumberParseError =&gt; { tokens::LexingError::NumberParseError =&gt; {
Report::build(ReportKind::Error, path, range.start) Report::build(ReportKind::Error, path, range.start)
.with_code(<span class="number">4</span>) .with_code(<span class="string">"InvalidToken"</span>)
.with_message(<span class="string">"Error parsing literal number"</span>) .with_message(<span class="string">"Error parsing literal number"</span>)
.with_label( .with_label(
Label::new((path, range.start..range.end)) Label::new((path, range.start..range.end))
@ -228,7 +230,7 @@
.finish() .finish()
} }
tokens::LexingError::Other =&gt; Report::build(ReportKind::Error, path, range.start) tokens::LexingError::Other =&gt; Report::build(ReportKind::Error, path, range.start)
.with_code(<span class="number">4</span>) .with_code(<span class="string">"Other"</span>)
.with_message(<span class="string">"Other error"</span>) .with_message(<span class="string">"Other error"</span>)
.with_label( .with_label(
Label::new((path, range.start..range.end)) Label::new((path, range.start..range.end))

File diff suppressed because one or more lines are too long

View file

@ -16,7 +16,7 @@
"edlang_driver":[["impl Freeze for <a class=\"struct\" href=\"edlang_driver/struct.CompilerArgs.html\" title=\"struct edlang_driver::CompilerArgs\">CompilerArgs</a>",1,["edlang_driver::CompilerArgs"]]], "edlang_driver":[["impl Freeze for <a class=\"struct\" href=\"edlang_driver/struct.CompilerArgs.html\" title=\"struct edlang_driver::CompilerArgs\">CompilerArgs</a>",1,["edlang_driver::CompilerArgs"]]],
"edlang_ir":[["impl Freeze for <a class=\"struct\" href=\"edlang_ir/scalar_int/struct.ScalarInt.html\" title=\"struct edlang_ir::scalar_int::ScalarInt\">ScalarInt</a>",1,["edlang_ir::scalar_int::ScalarInt"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.SymbolTable.html\" title=\"struct edlang_ir::SymbolTable\">SymbolTable</a>",1,["edlang_ir::SymbolTable"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.ProgramBody.html\" title=\"struct edlang_ir::ProgramBody\">ProgramBody</a>",1,["edlang_ir::ProgramBody"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.ModuleBody.html\" title=\"struct edlang_ir::ModuleBody\">ModuleBody</a>",1,["edlang_ir::ModuleBody"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.DefId.html\" title=\"struct edlang_ir::DefId\">DefId</a>",1,["edlang_ir::DefId"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.Body.html\" title=\"struct edlang_ir::Body\">Body</a>",1,["edlang_ir::Body"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.AdtBody.html\" title=\"struct edlang_ir::AdtBody\">AdtBody</a>",1,["edlang_ir::AdtBody"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.AdtVariant.html\" title=\"struct edlang_ir::AdtVariant\">AdtVariant</a>",1,["edlang_ir::AdtVariant"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.DebugInfo.html\" title=\"struct edlang_ir::DebugInfo\">DebugInfo</a>",1,["edlang_ir::DebugInfo"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.BasicBlock.html\" title=\"struct edlang_ir::BasicBlock\">BasicBlock</a>",1,["edlang_ir::BasicBlock"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.Local.html\" title=\"struct edlang_ir::Local\">Local</a>",1,["edlang_ir::Local"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.LocalKind.html\" title=\"enum edlang_ir::LocalKind\">LocalKind</a>",1,["edlang_ir::LocalKind"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.Statement.html\" title=\"struct edlang_ir::Statement\">Statement</a>",1,["edlang_ir::Statement"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.StatementKind.html\" title=\"enum edlang_ir::StatementKind\">StatementKind</a>",1,["edlang_ir::StatementKind"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.Terminator.html\" title=\"enum edlang_ir::Terminator\">Terminator</a>",1,["edlang_ir::Terminator"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.SwitchTarget.html\" title=\"struct edlang_ir::SwitchTarget\">SwitchTarget</a>",1,["edlang_ir::SwitchTarget"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.TypeInfo.html\" title=\"struct edlang_ir::TypeInfo\">TypeInfo</a>",1,["edlang_ir::TypeInfo"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.TypeKind.html\" title=\"enum edlang_ir::TypeKind\">TypeKind</a>",1,["edlang_ir::TypeKind"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.IntTy.html\" title=\"enum edlang_ir::IntTy\">IntTy</a>",1,["edlang_ir::IntTy"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.UintTy.html\" title=\"enum edlang_ir::UintTy\">UintTy</a>",1,["edlang_ir::UintTy"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.FloatTy.html\" title=\"enum edlang_ir::FloatTy\">FloatTy</a>",1,["edlang_ir::FloatTy"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.ConstData.html\" title=\"struct edlang_ir::ConstData\">ConstData</a>",1,["edlang_ir::ConstData"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.ConstKind.html\" title=\"enum edlang_ir::ConstKind\">ConstKind</a>",1,["edlang_ir::ConstKind"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.ValueTree.html\" title=\"enum edlang_ir::ValueTree\">ValueTree</a>",1,["edlang_ir::ValueTree"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.RValue.html\" title=\"enum edlang_ir::RValue\">RValue</a>",1,["edlang_ir::RValue"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.Operand.html\" title=\"enum edlang_ir::Operand\">Operand</a>",1,["edlang_ir::Operand"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.Place.html\" title=\"struct edlang_ir::Place\">Place</a>",1,["edlang_ir::Place"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.PlaceElem.html\" title=\"enum edlang_ir::PlaceElem\">PlaceElem</a>",1,["edlang_ir::PlaceElem"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.BinOp.html\" title=\"enum edlang_ir::BinOp\">BinOp</a>",1,["edlang_ir::BinOp"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.LogicalOp.html\" title=\"enum edlang_ir::LogicalOp\">LogicalOp</a>",1,["edlang_ir::LogicalOp"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.UnOp.html\" title=\"enum edlang_ir::UnOp\">UnOp</a>",1,["edlang_ir::UnOp"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.ConstValue.html\" title=\"enum edlang_ir::ConstValue\">ConstValue</a>",1,["edlang_ir::ConstValue"]]], "edlang_ir":[["impl Freeze for <a class=\"struct\" href=\"edlang_ir/scalar_int/struct.ScalarInt.html\" title=\"struct edlang_ir::scalar_int::ScalarInt\">ScalarInt</a>",1,["edlang_ir::scalar_int::ScalarInt"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.SymbolTable.html\" title=\"struct edlang_ir::SymbolTable\">SymbolTable</a>",1,["edlang_ir::SymbolTable"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.ProgramBody.html\" title=\"struct edlang_ir::ProgramBody\">ProgramBody</a>",1,["edlang_ir::ProgramBody"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.ModuleBody.html\" title=\"struct edlang_ir::ModuleBody\">ModuleBody</a>",1,["edlang_ir::ModuleBody"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.DefId.html\" title=\"struct edlang_ir::DefId\">DefId</a>",1,["edlang_ir::DefId"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.Body.html\" title=\"struct edlang_ir::Body\">Body</a>",1,["edlang_ir::Body"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.AdtBody.html\" title=\"struct edlang_ir::AdtBody\">AdtBody</a>",1,["edlang_ir::AdtBody"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.AdtVariant.html\" title=\"struct edlang_ir::AdtVariant\">AdtVariant</a>",1,["edlang_ir::AdtVariant"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.DebugInfo.html\" title=\"struct edlang_ir::DebugInfo\">DebugInfo</a>",1,["edlang_ir::DebugInfo"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.BasicBlock.html\" title=\"struct edlang_ir::BasicBlock\">BasicBlock</a>",1,["edlang_ir::BasicBlock"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.Local.html\" title=\"struct edlang_ir::Local\">Local</a>",1,["edlang_ir::Local"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.LocalKind.html\" title=\"enum edlang_ir::LocalKind\">LocalKind</a>",1,["edlang_ir::LocalKind"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.Statement.html\" title=\"struct edlang_ir::Statement\">Statement</a>",1,["edlang_ir::Statement"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.StatementKind.html\" title=\"enum edlang_ir::StatementKind\">StatementKind</a>",1,["edlang_ir::StatementKind"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.Terminator.html\" title=\"enum edlang_ir::Terminator\">Terminator</a>",1,["edlang_ir::Terminator"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.SwitchTarget.html\" title=\"struct edlang_ir::SwitchTarget\">SwitchTarget</a>",1,["edlang_ir::SwitchTarget"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.TypeInfo.html\" title=\"struct edlang_ir::TypeInfo\">TypeInfo</a>",1,["edlang_ir::TypeInfo"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.TypeKind.html\" title=\"enum edlang_ir::TypeKind\">TypeKind</a>",1,["edlang_ir::TypeKind"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.IntTy.html\" title=\"enum edlang_ir::IntTy\">IntTy</a>",1,["edlang_ir::IntTy"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.UintTy.html\" title=\"enum edlang_ir::UintTy\">UintTy</a>",1,["edlang_ir::UintTy"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.FloatTy.html\" title=\"enum edlang_ir::FloatTy\">FloatTy</a>",1,["edlang_ir::FloatTy"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.ConstData.html\" title=\"struct edlang_ir::ConstData\">ConstData</a>",1,["edlang_ir::ConstData"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.ConstKind.html\" title=\"enum edlang_ir::ConstKind\">ConstKind</a>",1,["edlang_ir::ConstKind"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.ValueTree.html\" title=\"enum edlang_ir::ValueTree\">ValueTree</a>",1,["edlang_ir::ValueTree"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.RValue.html\" title=\"enum edlang_ir::RValue\">RValue</a>",1,["edlang_ir::RValue"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.Operand.html\" title=\"enum edlang_ir::Operand\">Operand</a>",1,["edlang_ir::Operand"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ir/struct.Place.html\" title=\"struct edlang_ir::Place\">Place</a>",1,["edlang_ir::Place"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.PlaceElem.html\" title=\"enum edlang_ir::PlaceElem\">PlaceElem</a>",1,["edlang_ir::PlaceElem"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.BinOp.html\" title=\"enum edlang_ir::BinOp\">BinOp</a>",1,["edlang_ir::BinOp"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.LogicalOp.html\" title=\"enum edlang_ir::LogicalOp\">LogicalOp</a>",1,["edlang_ir::LogicalOp"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.UnOp.html\" title=\"enum edlang_ir::UnOp\">UnOp</a>",1,["edlang_ir::UnOp"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ir/enum.ConstValue.html\" title=\"enum edlang_ir::ConstValue\">ConstValue</a>",1,["edlang_ir::ConstValue"]]],
"edlang_lowering":[["impl Freeze for <a class=\"enum\" href=\"edlang_lowering/errors/enum.LoweringError.html\" title=\"enum edlang_lowering::errors::LoweringError\">LoweringError</a>",1,["edlang_lowering::errors::LoweringError"]]], "edlang_lowering":[["impl Freeze for <a class=\"enum\" href=\"edlang_lowering/errors/enum.LoweringError.html\" title=\"enum edlang_lowering::errors::LoweringError\">LoweringError</a>",1,["edlang_lowering::errors::LoweringError"]]],
"edlang_parser":[["impl Freeze for <a class=\"enum\" href=\"edlang_parser/lexer/enum.LexicalError.html\" title=\"enum edlang_parser::lexer::LexicalError\">LexicalError</a>",1,["edlang_parser::lexer::LexicalError"]],["impl&lt;'input&gt; Freeze for <a class=\"struct\" href=\"edlang_parser/lexer/struct.Lexer.html\" title=\"struct edlang_parser::lexer::Lexer\">Lexer</a>&lt;'input&gt;",1,["edlang_parser::lexer::Lexer"]],["impl Freeze for <a class=\"enum\" href=\"edlang_parser/tokens/enum.LexingError.html\" title=\"enum edlang_parser::tokens::LexingError\">LexingError</a>",1,["edlang_parser::tokens::LexingError"]],["impl Freeze for <a class=\"enum\" href=\"edlang_parser/tokens/enum.Token.html\" title=\"enum edlang_parser::tokens::Token\">Token</a>",1,["edlang_parser::tokens::Token"]],["impl Freeze for <a class=\"struct\" href=\"edlang_parser/grammar/grammar/struct.BinaryFirstLvlOpParser.html\" title=\"struct edlang_parser::grammar::grammar::BinaryFirstLvlOpParser\">BinaryFirstLvlOpParser</a>",1,["edlang_parser::grammar::grammar::__parse__BinaryFirstLvlOp::BinaryFirstLvlOpParser"]],["impl Freeze for <a class=\"struct\" href=\"edlang_parser/grammar/grammar/struct.BinarySecondLvlOpParser.html\" title=\"struct edlang_parser::grammar::grammar::BinarySecondLvlOpParser\">BinarySecondLvlOpParser</a>",1,["edlang_parser::grammar::grammar::__parse__BinarySecondLvlOp::BinarySecondLvlOpParser"]],["impl Freeze for <a class=\"struct\" href=\"edlang_parser/grammar/grammar/struct.BinaryThirdLvlOpParser.html\" title=\"struct edlang_parser::grammar::grammar::BinaryThirdLvlOpParser\">BinaryThirdLvlOpParser</a>",1,["edlang_parser::grammar::grammar::__parse__BinaryThirdLvlOp::BinaryThirdLvlOpParser"]],["impl Freeze for <a class=\"struct\" href=\"edlang_parser/grammar/grammar/struct.ModuleParser.html\" title=\"struct edlang_parser::grammar::grammar::ModuleParser\">ModuleParser</a>",1,["edlang_parser::grammar::grammar::__parse__Module::ModuleParser"]],["impl Freeze for <a class=\"struct\" href=\"edlang_parser/grammar/grammar/struct.ModulesParser.html\" title=\"struct edlang_parser::grammar::grammar::ModulesParser\">ModulesParser</a>",1,["edlang_parser::grammar::grammar::__parse__Modules::ModulesParser"]],["impl Freeze for <a class=\"struct\" href=\"edlang_parser/grammar/grammar/struct.PathSegmentsParser.html\" title=\"struct edlang_parser::grammar::grammar::PathSegmentsParser\">PathSegmentsParser</a>",1,["edlang_parser::grammar::grammar::__parse__PathSegments::PathSegmentsParser"]],["impl Freeze for <a class=\"struct\" href=\"edlang_parser/grammar/grammar/struct.UnaryOpParser.html\" title=\"struct edlang_parser::grammar::grammar::UnaryOpParser\">UnaryOpParser</a>",1,["edlang_parser::grammar::grammar::__parse__UnaryOp::UnaryOpParser"]]], "edlang_parser":[["impl Freeze for <a class=\"enum\" href=\"edlang_parser/lexer/enum.LexicalError.html\" title=\"enum edlang_parser::lexer::LexicalError\">LexicalError</a>",1,["edlang_parser::lexer::LexicalError"]],["impl&lt;'input&gt; Freeze for <a class=\"struct\" href=\"edlang_parser/lexer/struct.Lexer.html\" title=\"struct edlang_parser::lexer::Lexer\">Lexer</a>&lt;'input&gt;",1,["edlang_parser::lexer::Lexer"]],["impl Freeze for <a class=\"enum\" href=\"edlang_parser/tokens/enum.LexingError.html\" title=\"enum edlang_parser::tokens::LexingError\">LexingError</a>",1,["edlang_parser::tokens::LexingError"]],["impl Freeze for <a class=\"enum\" href=\"edlang_parser/tokens/enum.Token.html\" title=\"enum edlang_parser::tokens::Token\">Token</a>",1,["edlang_parser::tokens::Token"]],["impl Freeze for <a class=\"struct\" href=\"edlang_parser/grammar/grammar/struct.BinaryFirstLvlOpParser.html\" title=\"struct edlang_parser::grammar::grammar::BinaryFirstLvlOpParser\">BinaryFirstLvlOpParser</a>",1,["edlang_parser::grammar::grammar::__parse__BinaryFirstLvlOp::BinaryFirstLvlOpParser"]],["impl Freeze for <a class=\"struct\" href=\"edlang_parser/grammar/grammar/struct.BinarySecondLvlOpParser.html\" title=\"struct edlang_parser::grammar::grammar::BinarySecondLvlOpParser\">BinarySecondLvlOpParser</a>",1,["edlang_parser::grammar::grammar::__parse__BinarySecondLvlOp::BinarySecondLvlOpParser"]],["impl Freeze for <a class=\"struct\" href=\"edlang_parser/grammar/grammar/struct.BinaryThirdLvlOpParser.html\" title=\"struct edlang_parser::grammar::grammar::BinaryThirdLvlOpParser\">BinaryThirdLvlOpParser</a>",1,["edlang_parser::grammar::grammar::__parse__BinaryThirdLvlOp::BinaryThirdLvlOpParser"]],["impl Freeze for <a class=\"struct\" href=\"edlang_parser/grammar/grammar/struct.ModuleParser.html\" title=\"struct edlang_parser::grammar::grammar::ModuleParser\">ModuleParser</a>",1,["edlang_parser::grammar::grammar::__parse__Module::ModuleParser"]],["impl Freeze for <a class=\"struct\" href=\"edlang_parser/grammar/grammar/struct.PathSegmentsParser.html\" title=\"struct edlang_parser::grammar::grammar::PathSegmentsParser\">PathSegmentsParser</a>",1,["edlang_parser::grammar::grammar::__parse__PathSegments::PathSegmentsParser"]],["impl Freeze for <a class=\"struct\" href=\"edlang_parser/grammar/grammar/struct.TopLevelModuleParser.html\" title=\"struct edlang_parser::grammar::grammar::TopLevelModuleParser\">TopLevelModuleParser</a>",1,["edlang_parser::grammar::grammar::__parse__TopLevelModule::TopLevelModuleParser"]],["impl Freeze for <a class=\"struct\" href=\"edlang_parser/grammar/grammar/struct.UnaryOpParser.html\" title=\"struct edlang_parser::grammar::grammar::UnaryOpParser\">UnaryOpParser</a>",1,["edlang_parser::grammar::grammar::__parse__UnaryOp::UnaryOpParser"]]],
"edlang_session":[["impl Freeze for <a class=\"struct\" href=\"edlang_session/struct.Session.html\" title=\"struct edlang_session::Session\">Session</a>",1,["edlang_session::Session"]],["impl Freeze for <a class=\"enum\" href=\"edlang_session/enum.OptLevel.html\" title=\"enum edlang_session::OptLevel\">OptLevel</a>",1,["edlang_session::OptLevel"]],["impl Freeze for <a class=\"enum\" href=\"edlang_session/enum.DebugInfo.html\" title=\"enum edlang_session::DebugInfo\">DebugInfo</a>",1,["edlang_session::DebugInfo"]]], "edlang_session":[["impl Freeze for <a class=\"struct\" href=\"edlang_session/struct.Session.html\" title=\"struct edlang_session::Session\">Session</a>",1,["edlang_session::Session"]],["impl Freeze for <a class=\"enum\" href=\"edlang_session/enum.OptLevel.html\" title=\"enum edlang_session::OptLevel\">OptLevel</a>",1,["edlang_session::OptLevel"]],["impl Freeze for <a class=\"enum\" href=\"edlang_session/enum.DebugInfo.html\" title=\"enum edlang_session::DebugInfo\">DebugInfo</a>",1,["edlang_session::DebugInfo"]]],
"edlang_span":[["impl Freeze for <a class=\"struct\" href=\"edlang_span/struct.Span.html\" title=\"struct edlang_span::Span\">Span</a>",1,["edlang_span::Span"]]], "edlang_span":[["impl Freeze for <a class=\"struct\" href=\"edlang_span/struct.Span.html\" title=\"struct edlang_span::Span\">Span</a>",1,["edlang_span::Span"]]],
"either":[["impl&lt;L, R&gt; Freeze for <a class=\"struct\" href=\"either/struct.IterEither.html\" title=\"struct either::IterEither\">IterEither</a>&lt;L, R&gt;<div class=\"where\">where\n L: Freeze,\n R: Freeze,</div>",1,["either::iterator::IterEither"]],["impl&lt;L, R&gt; Freeze for <a class=\"enum\" href=\"either/enum.Either.html\" title=\"enum either::Either\">Either</a>&lt;L, R&gt;<div class=\"where\">where\n L: Freeze,\n R: Freeze,</div>",1,["either::Either"]]], "either":[["impl&lt;L, R&gt; Freeze for <a class=\"struct\" href=\"either/struct.IterEither.html\" title=\"struct either::IterEither\">IterEither</a>&lt;L, R&gt;<div class=\"where\">where\n L: Freeze,\n R: Freeze,</div>",1,["either::iterator::IterEither"]],["impl&lt;L, R&gt; Freeze for <a class=\"enum\" href=\"either/enum.Either.html\" title=\"enum either::Either\">Either</a>&lt;L, R&gt;<div class=\"where\">where\n L: Freeze,\n R: Freeze,</div>",1,["either::Either"]]],

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long