This commit is contained in:
edg-l 2024-02-17 16:21:13 +00:00
parent a477697bfd
commit 8361e56864
79 changed files with 146939 additions and 68298 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="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_ast" 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_ast/index.html">edlang_ast</a><span class="version">0.0.1-alpha.6</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></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_ast" 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_ast/index.html">edlang_ast</a><span class="version">0.0.1-alpha.6</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></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_ast/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="struct.AssignStmt.html">AssignStmt</a></li><li><a href="struct.Block.html">Block</a></li><li><a href="struct.Constant.html">Constant</a></li><li><a href="struct.FnCallExpr.html">FnCallExpr</a></li><li><a href="struct.FnParam.html">FnParam</a></li><li><a href="struct.ForStmt.html">ForStmt</a></li><li><a href="struct.Function.html">Function</a></li><li><a href="struct.Ident.html">Ident</a></li><li><a href="struct.IfStmt.html">IfStmt</a></li><li><a href="struct.Import.html">Import</a></li><li><a href="struct.LetStmt.html">LetStmt</a></li><li><a href="struct.Module.html">Module</a></li><li><a href="struct.PathExpr.html">PathExpr</a></li><li><a href="struct.ReturnStmt.html">ReturnStmt</a></li><li><a href="struct.Span.html">Span</a></li><li><a href="struct.Struct.html">Struct</a></li><li><a href="struct.StructField.html">StructField</a></li><li><a href="struct.Type.html">Type</a></li><li><a href="struct.WhileStmt.html">WhileStmt</a></li></ul><h3 id="enums">Enums</h3><ul class="all-items"><li><a href="enum.ArithOp.html">ArithOp</a></li><li><a href="enum.BinaryOp.html">BinaryOp</a></li><li><a href="enum.BitwiseOp.html">BitwiseOp</a></li><li><a href="enum.CmpOp.html">CmpOp</a></li><li><a href="enum.Expression.html">Expression</a></li><li><a href="enum.LogicOp.html">LogicOp</a></li><li><a href="enum.ModuleStatement.html">ModuleStatement</a></li><li><a href="enum.PathSegment.html">PathSegment</a></li><li><a href="enum.Statement.html">Statement</a></li><li><a href="enum.UnaryOp.html">UnaryOp</a></li><li><a href="enum.ValueExpr.html">ValueExpr</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_ast/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="struct.AssignStmt.html">AssignStmt</a></li><li><a href="struct.Block.html">Block</a></li><li><a href="struct.Constant.html">Constant</a></li><li><a href="struct.FnCallExpr.html">FnCallExpr</a></li><li><a href="struct.FnParam.html">FnParam</a></li><li><a href="struct.ForStmt.html">ForStmt</a></li><li><a href="struct.Function.html">Function</a></li><li><a href="struct.Ident.html">Ident</a></li><li><a href="struct.IfStmt.html">IfStmt</a></li><li><a href="struct.Import.html">Import</a></li><li><a href="struct.LetStmt.html">LetStmt</a></li><li><a href="struct.Module.html">Module</a></li><li><a href="struct.PathExpr.html">PathExpr</a></li><li><a href="struct.ReturnStmt.html">ReturnStmt</a></li><li><a href="struct.Span.html">Span</a></li><li><a href="struct.Struct.html">Struct</a></li><li><a href="struct.StructField.html">StructField</a></li><li><a href="struct.Type.html">Type</a></li><li><a href="struct.WhileStmt.html">WhileStmt</a></li></ul><h3 id="enums">Enums</h3><ul class="all-items"><li><a href="enum.ArithOp.html">ArithOp</a></li><li><a href="enum.BinaryOp.html">BinaryOp</a></li><li><a href="enum.BitwiseOp.html">BitwiseOp</a></li><li><a href="enum.CmpOp.html">CmpOp</a></li><li><a href="enum.Expression.html">Expression</a></li><li><a href="enum.LogicOp.html">LogicOp</a></li><li><a href="enum.ModuleStatement.html">ModuleStatement</a></li><li><a href="enum.PathSegment.html">PathSegment</a></li><li><a href="enum.RefType.html">RefType</a></li><li><a href="enum.Statement.html">Statement</a></li><li><a href="enum.UnaryOp.html">UnaryOp</a></li><li><a href="enum.ValueExpr.html">ValueExpr</a></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

View file

@ -1 +1 @@
window.SIDEBAR_ITEMS = {"enum":["ArithOp","BinaryOp","BitwiseOp","CmpOp","Expression","LogicOp","ModuleStatement","PathSegment","Statement","UnaryOp","ValueExpr"],"struct":["AssignStmt","Block","Constant","FnCallExpr","FnParam","ForStmt","Function","Ident","IfStmt","Import","LetStmt","Module","PathExpr","ReturnStmt","Span","Struct","StructField","Type","WhileStmt"]}; window.SIDEBAR_ITEMS = {"enum":["ArithOp","BinaryOp","BitwiseOp","CmpOp","Expression","LogicOp","ModuleStatement","PathSegment","RefType","Statement","UnaryOp","ValueExpr"],"struct":["AssignStmt","Block","Constant","FnCallExpr","FnParam","ForStmt","Function","Ident","IfStmt","Import","LetStmt","Module","PathExpr","ReturnStmt","Span","Struct","StructField","Type","WhileStmt"]};

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,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 `codegen` mod in crate `edlang_codegen_llvm`."><title>edlang_codegen_llvm::codegen - 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_codegen_llvm" 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_codegen_llvm/index.html">edlang_codegen_llvm</a><span class="version">0.0.1-alpha.6</span></h2></div><h2 class="location"><a href="#">Module codegen</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#functions">Functions</a></li></ul></section><h2><a href="../index.html">In crate edlang_codegen_llvm</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 `codegen` mod in crate `edlang_codegen_llvm`."><title>edlang_codegen_llvm::codegen - 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_codegen_llvm" 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_codegen_llvm/index.html">edlang_codegen_llvm</a><span class="version">0.0.1-alpha.6</span></h2></div><h2 class="location"><a href="#">Module codegen</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#functions">Functions</a></li></ul></section><h2><a href="../index.html">In crate edlang_codegen_llvm</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_codegen_llvm/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_codegen_llvm</a>::<wbr><a class="mod" href="#">codegen</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_codegen_llvm/codegen.rs.html#1-1198">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><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_codegen_llvm::codegen::compile">compile</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_codegen_llvm/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_codegen_llvm</a>::<wbr><a class="mod" href="#">codegen</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_codegen_llvm/codegen.rs.html#1-1281">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><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_codegen_llvm::codegen::compile">compile</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

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 `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.6</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.6</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#804-864">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, t: &amp;<a class="struct" href="../edlang_ast/struct.Type.html" title="struct edlang_ast::Type">Type</a>) -&gt; <a class="struct" href="../edlang_ir/struct.TypeInfo.html" title="struct edlang_ir::TypeInfo">TypeInfo</a></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_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#898-972">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, t: &amp;<a class="struct" href="../edlang_ast/struct.Type.html" title="struct edlang_ast::Type">Type</a>) -&gt; <a class="struct" href="../edlang_ir/struct.TypeInfo.html" title="struct edlang_ir::TypeInfo">TypeInfo</a></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_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.6</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.6</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="#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="#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-864">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><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-972">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><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,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 `BinaryFirstLvlOpParser` struct in crate `edlang_parser`."><title>BinaryFirstLvlOpParser 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 struct"><!--[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.6</span></h2></div><h2 class="location"><a href="#">BinaryFirstLvlOpParser</a></h2><div class="sidebar-elems"><section><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.new">new</a></li><li><a href="#method.parse">parse</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-RefUnwindSafe-for-BinaryFirstLvlOpParser">RefUnwindSafe</a></li><li><a href="#impl-Send-for-BinaryFirstLvlOpParser">Send</a></li><li><a href="#impl-Sync-for-BinaryFirstLvlOpParser">Sync</a></li><li><a href="#impl-Unpin-for-BinaryFirstLvlOpParser">Unpin</a></li><li><a href="#impl-UnwindSafe-for-BinaryFirstLvlOpParser">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></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 `BinaryFirstLvlOpParser` struct in crate `edlang_parser`."><title>BinaryFirstLvlOpParser 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 struct"><!--[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.6</span></h2></div><h2 class="location"><a href="#">BinaryFirstLvlOpParser</a></h2><div class="sidebar-elems"><section><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.new">new</a></li><li><a href="#method.parse">parse</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-RefUnwindSafe-for-BinaryFirstLvlOpParser">RefUnwindSafe</a></li><li><a href="#impl-Send-for-BinaryFirstLvlOpParser">Send</a></li><li><a href="#impl-Sync-for-BinaryFirstLvlOpParser">Sync</a></li><li><a href="#impl-Unpin-for-BinaryFirstLvlOpParser">Unpin</a></li><li><a href="#impl-UnwindSafe-for-BinaryFirstLvlOpParser">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></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>Struct <a href="../../index.html">edlang_parser</a>::<wbr><a href="../index.html">grammar</a>::<wbr><a href="index.html">grammar</a>::<wbr><a class="struct" href="#">BinaryFirstLvlOpParser</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-712816e50ec9978f/out/grammar.rs.html#8206-8208">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct BinaryFirstLvlOpParser { <span class="comment">/* private fields */</span> }</code></pre><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-BinaryFirstLvlOpParser" class="impl"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#8210-8235">source</a><a href="#impl-BinaryFirstLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.BinaryFirstLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryFirstLvlOpParser">BinaryFirstLvlOpParser</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#8211-8215">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>() -&gt; <a class="struct" href="struct.BinaryFirstLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryFirstLvlOpParser">BinaryFirstLvlOpParser</a></h4></section><section id="method.parse" class="method"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#8218-8234">source</a><h4 class="code-header">pub fn <a href="#method.parse" class="fn">parse</a>&lt;__TOKEN: <a class="trait" href="trait.__ToTriple.html" title="trait edlang_parser::grammar::grammar::__ToTriple">__ToTriple</a>, __TOKENS: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item = __TOKEN&gt;&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>Struct <a href="../../index.html">edlang_parser</a>::<wbr><a href="../index.html">grammar</a>::<wbr><a href="index.html">grammar</a>::<wbr><a class="struct" href="#">BinaryFirstLvlOpParser</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-712816e50ec9978f/out/grammar.rs.html#8896-8898">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct BinaryFirstLvlOpParser { <span class="comment">/* private fields */</span> }</code></pre><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-BinaryFirstLvlOpParser" class="impl"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#8900-8925">source</a><a href="#impl-BinaryFirstLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.BinaryFirstLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryFirstLvlOpParser">BinaryFirstLvlOpParser</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#8901-8905">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>() -&gt; <a class="struct" href="struct.BinaryFirstLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryFirstLvlOpParser">BinaryFirstLvlOpParser</a></h4></section><section id="method.parse" class="method"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#8908-8924">source</a><h4 class="code-header">pub fn <a href="#method.parse" class="fn">parse</a>&lt;__TOKEN: <a class="trait" href="trait.__ToTriple.html" title="trait edlang_parser::grammar::grammar::__ToTriple">__ToTriple</a>, __TOKENS: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item = __TOKEN&gt;&gt;(
&amp;self, &amp;self,
__tokens0: __TOKENS __tokens0: __TOKENS
) -&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="enum" href="../../../edlang_ast/enum.BinaryOp.html" title="enum edlang_ast::BinaryOp">BinaryOp</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></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe-for-BinaryFirstLvlOpParser" class="impl"><a href="#impl-RefUnwindSafe-for-BinaryFirstLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.BinaryFirstLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryFirstLvlOpParser">BinaryFirstLvlOpParser</a></h3></section><section id="impl-Send-for-BinaryFirstLvlOpParser" class="impl"><a href="#impl-Send-for-BinaryFirstLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.BinaryFirstLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryFirstLvlOpParser">BinaryFirstLvlOpParser</a></h3></section><section id="impl-Sync-for-BinaryFirstLvlOpParser" class="impl"><a href="#impl-Sync-for-BinaryFirstLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.BinaryFirstLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryFirstLvlOpParser">BinaryFirstLvlOpParser</a></h3></section><section id="impl-Unpin-for-BinaryFirstLvlOpParser" class="impl"><a href="#impl-Unpin-for-BinaryFirstLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.BinaryFirstLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryFirstLvlOpParser">BinaryFirstLvlOpParser</a></h3></section><section id="impl-UnwindSafe-for-BinaryFirstLvlOpParser" class="impl"><a href="#impl-UnwindSafe-for-BinaryFirstLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.BinaryFirstLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryFirstLvlOpParser">BinaryFirstLvlOpParser</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where ) -&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="enum" href="../../../edlang_ast/enum.BinaryOp.html" title="enum edlang_ast::BinaryOp">BinaryOp</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></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe-for-BinaryFirstLvlOpParser" class="impl"><a href="#impl-RefUnwindSafe-for-BinaryFirstLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.BinaryFirstLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryFirstLvlOpParser">BinaryFirstLvlOpParser</a></h3></section><section id="impl-Send-for-BinaryFirstLvlOpParser" class="impl"><a href="#impl-Send-for-BinaryFirstLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.BinaryFirstLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryFirstLvlOpParser">BinaryFirstLvlOpParser</a></h3></section><section id="impl-Sync-for-BinaryFirstLvlOpParser" class="impl"><a href="#impl-Sync-for-BinaryFirstLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.BinaryFirstLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryFirstLvlOpParser">BinaryFirstLvlOpParser</a></h3></section><section id="impl-Unpin-for-BinaryFirstLvlOpParser" class="impl"><a href="#impl-Unpin-for-BinaryFirstLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.BinaryFirstLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryFirstLvlOpParser">BinaryFirstLvlOpParser</a></h3></section><section id="impl-UnwindSafe-for-BinaryFirstLvlOpParser" class="impl"><a href="#impl-UnwindSafe-for-BinaryFirstLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.BinaryFirstLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryFirstLvlOpParser">BinaryFirstLvlOpParser</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where

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 `BinarySecondLvlOpParser` struct in crate `edlang_parser`."><title>BinarySecondLvlOpParser 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 struct"><!--[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.6</span></h2></div><h2 class="location"><a href="#">BinarySecondLvlOpParser</a></h2><div class="sidebar-elems"><section><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.new">new</a></li><li><a href="#method.parse">parse</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-RefUnwindSafe-for-BinarySecondLvlOpParser">RefUnwindSafe</a></li><li><a href="#impl-Send-for-BinarySecondLvlOpParser">Send</a></li><li><a href="#impl-Sync-for-BinarySecondLvlOpParser">Sync</a></li><li><a href="#impl-Unpin-for-BinarySecondLvlOpParser">Unpin</a></li><li><a href="#impl-UnwindSafe-for-BinarySecondLvlOpParser">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></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 `BinarySecondLvlOpParser` struct in crate `edlang_parser`."><title>BinarySecondLvlOpParser 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 struct"><!--[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.6</span></h2></div><h2 class="location"><a href="#">BinarySecondLvlOpParser</a></h2><div class="sidebar-elems"><section><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.new">new</a></li><li><a href="#method.parse">parse</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-RefUnwindSafe-for-BinarySecondLvlOpParser">RefUnwindSafe</a></li><li><a href="#impl-Send-for-BinarySecondLvlOpParser">Send</a></li><li><a href="#impl-Sync-for-BinarySecondLvlOpParser">Sync</a></li><li><a href="#impl-Unpin-for-BinarySecondLvlOpParser">Unpin</a></li><li><a href="#impl-UnwindSafe-for-BinarySecondLvlOpParser">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></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>Struct <a href="../../index.html">edlang_parser</a>::<wbr><a href="../index.html">grammar</a>::<wbr><a href="index.html">grammar</a>::<wbr><a class="struct" href="#">BinarySecondLvlOpParser</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-712816e50ec9978f/out/grammar.rs.html#14470-14472">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct BinarySecondLvlOpParser { <span class="comment">/* private fields */</span> }</code></pre><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-BinarySecondLvlOpParser" class="impl"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#14474-14499">source</a><a href="#impl-BinarySecondLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.BinarySecondLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinarySecondLvlOpParser">BinarySecondLvlOpParser</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#14475-14479">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>() -&gt; <a class="struct" href="struct.BinarySecondLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinarySecondLvlOpParser">BinarySecondLvlOpParser</a></h4></section><section id="method.parse" class="method"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#14482-14498">source</a><h4 class="code-header">pub fn <a href="#method.parse" class="fn">parse</a>&lt;__TOKEN: <a class="trait" href="trait.__ToTriple.html" title="trait edlang_parser::grammar::grammar::__ToTriple">__ToTriple</a>, __TOKENS: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item = __TOKEN&gt;&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>Struct <a href="../../index.html">edlang_parser</a>::<wbr><a href="../index.html">grammar</a>::<wbr><a href="index.html">grammar</a>::<wbr><a class="struct" href="#">BinarySecondLvlOpParser</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-712816e50ec9978f/out/grammar.rs.html#15669-15671">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct BinarySecondLvlOpParser { <span class="comment">/* private fields */</span> }</code></pre><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-BinarySecondLvlOpParser" class="impl"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#15673-15698">source</a><a href="#impl-BinarySecondLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.BinarySecondLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinarySecondLvlOpParser">BinarySecondLvlOpParser</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#15674-15678">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>() -&gt; <a class="struct" href="struct.BinarySecondLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinarySecondLvlOpParser">BinarySecondLvlOpParser</a></h4></section><section id="method.parse" class="method"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#15681-15697">source</a><h4 class="code-header">pub fn <a href="#method.parse" class="fn">parse</a>&lt;__TOKEN: <a class="trait" href="trait.__ToTriple.html" title="trait edlang_parser::grammar::grammar::__ToTriple">__ToTriple</a>, __TOKENS: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item = __TOKEN&gt;&gt;(
&amp;self, &amp;self,
__tokens0: __TOKENS __tokens0: __TOKENS
) -&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="enum" href="../../../edlang_ast/enum.BinaryOp.html" title="enum edlang_ast::BinaryOp">BinaryOp</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></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe-for-BinarySecondLvlOpParser" class="impl"><a href="#impl-RefUnwindSafe-for-BinarySecondLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.BinarySecondLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinarySecondLvlOpParser">BinarySecondLvlOpParser</a></h3></section><section id="impl-Send-for-BinarySecondLvlOpParser" class="impl"><a href="#impl-Send-for-BinarySecondLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.BinarySecondLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinarySecondLvlOpParser">BinarySecondLvlOpParser</a></h3></section><section id="impl-Sync-for-BinarySecondLvlOpParser" class="impl"><a href="#impl-Sync-for-BinarySecondLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.BinarySecondLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinarySecondLvlOpParser">BinarySecondLvlOpParser</a></h3></section><section id="impl-Unpin-for-BinarySecondLvlOpParser" class="impl"><a href="#impl-Unpin-for-BinarySecondLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.BinarySecondLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinarySecondLvlOpParser">BinarySecondLvlOpParser</a></h3></section><section id="impl-UnwindSafe-for-BinarySecondLvlOpParser" class="impl"><a href="#impl-UnwindSafe-for-BinarySecondLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.BinarySecondLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinarySecondLvlOpParser">BinarySecondLvlOpParser</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where ) -&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="enum" href="../../../edlang_ast/enum.BinaryOp.html" title="enum edlang_ast::BinaryOp">BinaryOp</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></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe-for-BinarySecondLvlOpParser" class="impl"><a href="#impl-RefUnwindSafe-for-BinarySecondLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.BinarySecondLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinarySecondLvlOpParser">BinarySecondLvlOpParser</a></h3></section><section id="impl-Send-for-BinarySecondLvlOpParser" class="impl"><a href="#impl-Send-for-BinarySecondLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.BinarySecondLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinarySecondLvlOpParser">BinarySecondLvlOpParser</a></h3></section><section id="impl-Sync-for-BinarySecondLvlOpParser" class="impl"><a href="#impl-Sync-for-BinarySecondLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.BinarySecondLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinarySecondLvlOpParser">BinarySecondLvlOpParser</a></h3></section><section id="impl-Unpin-for-BinarySecondLvlOpParser" class="impl"><a href="#impl-Unpin-for-BinarySecondLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.BinarySecondLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinarySecondLvlOpParser">BinarySecondLvlOpParser</a></h3></section><section id="impl-UnwindSafe-for-BinarySecondLvlOpParser" class="impl"><a href="#impl-UnwindSafe-for-BinarySecondLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.BinarySecondLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinarySecondLvlOpParser">BinarySecondLvlOpParser</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where

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 `BinaryThirdLvlOpParser` struct in crate `edlang_parser`."><title>BinaryThirdLvlOpParser 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 struct"><!--[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.6</span></h2></div><h2 class="location"><a href="#">BinaryThirdLvlOpParser</a></h2><div class="sidebar-elems"><section><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.new">new</a></li><li><a href="#method.parse">parse</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-RefUnwindSafe-for-BinaryThirdLvlOpParser">RefUnwindSafe</a></li><li><a href="#impl-Send-for-BinaryThirdLvlOpParser">Send</a></li><li><a href="#impl-Sync-for-BinaryThirdLvlOpParser">Sync</a></li><li><a href="#impl-Unpin-for-BinaryThirdLvlOpParser">Unpin</a></li><li><a href="#impl-UnwindSafe-for-BinaryThirdLvlOpParser">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></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 `BinaryThirdLvlOpParser` struct in crate `edlang_parser`."><title>BinaryThirdLvlOpParser 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 struct"><!--[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.6</span></h2></div><h2 class="location"><a href="#">BinaryThirdLvlOpParser</a></h2><div class="sidebar-elems"><section><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.new">new</a></li><li><a href="#method.parse">parse</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-RefUnwindSafe-for-BinaryThirdLvlOpParser">RefUnwindSafe</a></li><li><a href="#impl-Send-for-BinaryThirdLvlOpParser">Send</a></li><li><a href="#impl-Sync-for-BinaryThirdLvlOpParser">Sync</a></li><li><a href="#impl-Unpin-for-BinaryThirdLvlOpParser">Unpin</a></li><li><a href="#impl-UnwindSafe-for-BinaryThirdLvlOpParser">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></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>Struct <a href="../../index.html">edlang_parser</a>::<wbr><a href="../index.html">grammar</a>::<wbr><a href="index.html">grammar</a>::<wbr><a class="struct" href="#">BinaryThirdLvlOpParser</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-712816e50ec9978f/out/grammar.rs.html#20742-20744">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct BinaryThirdLvlOpParser { <span class="comment">/* private fields */</span> }</code></pre><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-BinaryThirdLvlOpParser" class="impl"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#20746-20771">source</a><a href="#impl-BinaryThirdLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.BinaryThirdLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryThirdLvlOpParser">BinaryThirdLvlOpParser</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#20747-20751">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>() -&gt; <a class="struct" href="struct.BinaryThirdLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryThirdLvlOpParser">BinaryThirdLvlOpParser</a></h4></section><section id="method.parse" class="method"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#20754-20770">source</a><h4 class="code-header">pub fn <a href="#method.parse" class="fn">parse</a>&lt;__TOKEN: <a class="trait" href="trait.__ToTriple.html" title="trait edlang_parser::grammar::grammar::__ToTriple">__ToTriple</a>, __TOKENS: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item = __TOKEN&gt;&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>Struct <a href="../../index.html">edlang_parser</a>::<wbr><a href="../index.html">grammar</a>::<wbr><a href="index.html">grammar</a>::<wbr><a class="struct" href="#">BinaryThirdLvlOpParser</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-712816e50ec9978f/out/grammar.rs.html#22450-22452">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct BinaryThirdLvlOpParser { <span class="comment">/* private fields */</span> }</code></pre><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-BinaryThirdLvlOpParser" class="impl"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#22454-22479">source</a><a href="#impl-BinaryThirdLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.BinaryThirdLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryThirdLvlOpParser">BinaryThirdLvlOpParser</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#22455-22459">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>() -&gt; <a class="struct" href="struct.BinaryThirdLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryThirdLvlOpParser">BinaryThirdLvlOpParser</a></h4></section><section id="method.parse" class="method"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#22462-22478">source</a><h4 class="code-header">pub fn <a href="#method.parse" class="fn">parse</a>&lt;__TOKEN: <a class="trait" href="trait.__ToTriple.html" title="trait edlang_parser::grammar::grammar::__ToTriple">__ToTriple</a>, __TOKENS: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item = __TOKEN&gt;&gt;(
&amp;self, &amp;self,
__tokens0: __TOKENS __tokens0: __TOKENS
) -&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="enum" href="../../../edlang_ast/enum.BinaryOp.html" title="enum edlang_ast::BinaryOp">BinaryOp</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></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe-for-BinaryThirdLvlOpParser" class="impl"><a href="#impl-RefUnwindSafe-for-BinaryThirdLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.BinaryThirdLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryThirdLvlOpParser">BinaryThirdLvlOpParser</a></h3></section><section id="impl-Send-for-BinaryThirdLvlOpParser" class="impl"><a href="#impl-Send-for-BinaryThirdLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.BinaryThirdLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryThirdLvlOpParser">BinaryThirdLvlOpParser</a></h3></section><section id="impl-Sync-for-BinaryThirdLvlOpParser" class="impl"><a href="#impl-Sync-for-BinaryThirdLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.BinaryThirdLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryThirdLvlOpParser">BinaryThirdLvlOpParser</a></h3></section><section id="impl-Unpin-for-BinaryThirdLvlOpParser" class="impl"><a href="#impl-Unpin-for-BinaryThirdLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.BinaryThirdLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryThirdLvlOpParser">BinaryThirdLvlOpParser</a></h3></section><section id="impl-UnwindSafe-for-BinaryThirdLvlOpParser" class="impl"><a href="#impl-UnwindSafe-for-BinaryThirdLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.BinaryThirdLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryThirdLvlOpParser">BinaryThirdLvlOpParser</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where ) -&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="enum" href="../../../edlang_ast/enum.BinaryOp.html" title="enum edlang_ast::BinaryOp">BinaryOp</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></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe-for-BinaryThirdLvlOpParser" class="impl"><a href="#impl-RefUnwindSafe-for-BinaryThirdLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.BinaryThirdLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryThirdLvlOpParser">BinaryThirdLvlOpParser</a></h3></section><section id="impl-Send-for-BinaryThirdLvlOpParser" class="impl"><a href="#impl-Send-for-BinaryThirdLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.BinaryThirdLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryThirdLvlOpParser">BinaryThirdLvlOpParser</a></h3></section><section id="impl-Sync-for-BinaryThirdLvlOpParser" class="impl"><a href="#impl-Sync-for-BinaryThirdLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.BinaryThirdLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryThirdLvlOpParser">BinaryThirdLvlOpParser</a></h3></section><section id="impl-Unpin-for-BinaryThirdLvlOpParser" class="impl"><a href="#impl-Unpin-for-BinaryThirdLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.BinaryThirdLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryThirdLvlOpParser">BinaryThirdLvlOpParser</a></h3></section><section id="impl-UnwindSafe-for-BinaryThirdLvlOpParser" class="impl"><a href="#impl-UnwindSafe-for-BinaryThirdLvlOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.BinaryThirdLvlOpParser.html" title="struct edlang_parser::grammar::grammar::BinaryThirdLvlOpParser">BinaryThirdLvlOpParser</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where

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 `ModuleParser` struct in crate `edlang_parser`."><title>ModuleParser 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 struct"><!--[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.6</span></h2></div><h2 class="location"><a href="#">ModuleParser</a></h2><div class="sidebar-elems"><section><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.new">new</a></li><li><a href="#method.parse">parse</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-RefUnwindSafe-for-ModuleParser">RefUnwindSafe</a></li><li><a href="#impl-Send-for-ModuleParser">Send</a></li><li><a href="#impl-Sync-for-ModuleParser">Sync</a></li><li><a href="#impl-Unpin-for-ModuleParser">Unpin</a></li><li><a href="#impl-UnwindSafe-for-ModuleParser">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></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 `ModuleParser` struct in crate `edlang_parser`."><title>ModuleParser 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 struct"><!--[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.6</span></h2></div><h2 class="location"><a href="#">ModuleParser</a></h2><div class="sidebar-elems"><section><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.new">new</a></li><li><a href="#method.parse">parse</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-RefUnwindSafe-for-ModuleParser">RefUnwindSafe</a></li><li><a href="#impl-Send-for-ModuleParser">Send</a></li><li><a href="#impl-Sync-for-ModuleParser">Sync</a></li><li><a href="#impl-Unpin-for-ModuleParser">Unpin</a></li><li><a href="#impl-UnwindSafe-for-ModuleParser">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></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>Struct <a href="../../index.html">edlang_parser</a>::<wbr><a href="../index.html">grammar</a>::<wbr><a href="index.html">grammar</a>::<wbr><a class="struct" href="#">ModuleParser</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-712816e50ec9978f/out/grammar.rs.html#120189-120191">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct ModuleParser { <span class="comment">/* private fields */</span> }</code></pre><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-ModuleParser" class="impl"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#120193-120218">source</a><a href="#impl-ModuleParser" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.ModuleParser.html" title="struct edlang_parser::grammar::grammar::ModuleParser">ModuleParser</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#120194-120198">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>() -&gt; <a class="struct" href="struct.ModuleParser.html" title="struct edlang_parser::grammar::grammar::ModuleParser">ModuleParser</a></h4></section><section id="method.parse" class="method"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#120201-120217">source</a><h4 class="code-header">pub fn <a href="#method.parse" class="fn">parse</a>&lt;__TOKEN: <a class="trait" href="trait.__ToTriple.html" title="trait edlang_parser::grammar::grammar::__ToTriple">__ToTriple</a>, __TOKENS: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item = __TOKEN&gt;&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>Struct <a href="../../index.html">edlang_parser</a>::<wbr><a href="../index.html">grammar</a>::<wbr><a href="index.html">grammar</a>::<wbr><a class="struct" href="#">ModuleParser</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-712816e50ec9978f/out/grammar.rs.html#137468-137470">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct ModuleParser { <span class="comment">/* private fields */</span> }</code></pre><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-ModuleParser" class="impl"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#137472-137497">source</a><a href="#impl-ModuleParser" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.ModuleParser.html" title="struct edlang_parser::grammar::grammar::ModuleParser">ModuleParser</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#137473-137477">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>() -&gt; <a class="struct" href="struct.ModuleParser.html" title="struct edlang_parser::grammar::grammar::ModuleParser">ModuleParser</a></h4></section><section id="method.parse" class="method"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#137480-137496">source</a><h4 class="code-header">pub fn <a href="#method.parse" class="fn">parse</a>&lt;__TOKEN: <a class="trait" href="trait.__ToTriple.html" title="trait edlang_parser::grammar::grammar::__ToTriple">__ToTriple</a>, __TOKENS: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item = __TOKEN&gt;&gt;(
&amp;self, &amp;self,
__tokens0: __TOKENS __tokens0: __TOKENS
) -&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;</h4></section></div></details></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe-for-ModuleParser" class="impl"><a href="#impl-RefUnwindSafe-for-ModuleParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.ModuleParser.html" title="struct edlang_parser::grammar::grammar::ModuleParser">ModuleParser</a></h3></section><section id="impl-Send-for-ModuleParser" class="impl"><a href="#impl-Send-for-ModuleParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.ModuleParser.html" title="struct edlang_parser::grammar::grammar::ModuleParser">ModuleParser</a></h3></section><section id="impl-Sync-for-ModuleParser" class="impl"><a href="#impl-Sync-for-ModuleParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.ModuleParser.html" title="struct edlang_parser::grammar::grammar::ModuleParser">ModuleParser</a></h3></section><section id="impl-Unpin-for-ModuleParser" class="impl"><a href="#impl-Unpin-for-ModuleParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.ModuleParser.html" title="struct edlang_parser::grammar::grammar::ModuleParser">ModuleParser</a></h3></section><section id="impl-UnwindSafe-for-ModuleParser" class="impl"><a href="#impl-UnwindSafe-for-ModuleParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.ModuleParser.html" title="struct edlang_parser::grammar::grammar::ModuleParser">ModuleParser</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where ) -&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;</h4></section></div></details></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe-for-ModuleParser" class="impl"><a href="#impl-RefUnwindSafe-for-ModuleParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.ModuleParser.html" title="struct edlang_parser::grammar::grammar::ModuleParser">ModuleParser</a></h3></section><section id="impl-Send-for-ModuleParser" class="impl"><a href="#impl-Send-for-ModuleParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.ModuleParser.html" title="struct edlang_parser::grammar::grammar::ModuleParser">ModuleParser</a></h3></section><section id="impl-Sync-for-ModuleParser" class="impl"><a href="#impl-Sync-for-ModuleParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.ModuleParser.html" title="struct edlang_parser::grammar::grammar::ModuleParser">ModuleParser</a></h3></section><section id="impl-Unpin-for-ModuleParser" class="impl"><a href="#impl-Unpin-for-ModuleParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.ModuleParser.html" title="struct edlang_parser::grammar::grammar::ModuleParser">ModuleParser</a></h3></section><section id="impl-UnwindSafe-for-ModuleParser" class="impl"><a href="#impl-UnwindSafe-for-ModuleParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.ModuleParser.html" title="struct edlang_parser::grammar::grammar::ModuleParser">ModuleParser</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where

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 `PathSegmentsParser` struct in crate `edlang_parser`."><title>PathSegmentsParser 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 struct"><!--[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.6</span></h2></div><h2 class="location"><a href="#">PathSegmentsParser</a></h2><div class="sidebar-elems"><section><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.new">new</a></li><li><a href="#method.parse">parse</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-RefUnwindSafe-for-PathSegmentsParser">RefUnwindSafe</a></li><li><a href="#impl-Send-for-PathSegmentsParser">Send</a></li><li><a href="#impl-Sync-for-PathSegmentsParser">Sync</a></li><li><a href="#impl-Unpin-for-PathSegmentsParser">Unpin</a></li><li><a href="#impl-UnwindSafe-for-PathSegmentsParser">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></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 `PathSegmentsParser` struct in crate `edlang_parser`."><title>PathSegmentsParser 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 struct"><!--[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.6</span></h2></div><h2 class="location"><a href="#">PathSegmentsParser</a></h2><div class="sidebar-elems"><section><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.new">new</a></li><li><a href="#method.parse">parse</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-RefUnwindSafe-for-PathSegmentsParser">RefUnwindSafe</a></li><li><a href="#impl-Send-for-PathSegmentsParser">Send</a></li><li><a href="#impl-Sync-for-PathSegmentsParser">Sync</a></li><li><a href="#impl-Unpin-for-PathSegmentsParser">Unpin</a></li><li><a href="#impl-UnwindSafe-for-PathSegmentsParser">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></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>Struct <a href="../../index.html">edlang_parser</a>::<wbr><a href="../index.html">grammar</a>::<wbr><a href="index.html">grammar</a>::<wbr><a class="struct" href="#">PathSegmentsParser</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-712816e50ec9978f/out/grammar.rs.html#147059-147061">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct PathSegmentsParser { <span class="comment">/* private fields */</span> }</code></pre><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-PathSegmentsParser" class="impl"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#147063-147088">source</a><a href="#impl-PathSegmentsParser" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.PathSegmentsParser.html" title="struct edlang_parser::grammar::grammar::PathSegmentsParser">PathSegmentsParser</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#147064-147068">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>() -&gt; <a class="struct" href="struct.PathSegmentsParser.html" title="struct edlang_parser::grammar::grammar::PathSegmentsParser">PathSegmentsParser</a></h4></section><section id="method.parse" class="method"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#147071-147087">source</a><h4 class="code-header">pub fn <a href="#method.parse" class="fn">parse</a>&lt;__TOKEN: <a class="trait" href="trait.__ToTriple.html" title="trait edlang_parser::grammar::grammar::__ToTriple">__ToTriple</a>, __TOKENS: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item = __TOKEN&gt;&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>Struct <a href="../../index.html">edlang_parser</a>::<wbr><a href="../index.html">grammar</a>::<wbr><a href="index.html">grammar</a>::<wbr><a class="struct" href="#">PathSegmentsParser</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-712816e50ec9978f/out/grammar.rs.html#166585-166587">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct PathSegmentsParser { <span class="comment">/* private fields */</span> }</code></pre><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-PathSegmentsParser" class="impl"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#166589-166614">source</a><a href="#impl-PathSegmentsParser" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.PathSegmentsParser.html" title="struct edlang_parser::grammar::grammar::PathSegmentsParser">PathSegmentsParser</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#166590-166594">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>() -&gt; <a class="struct" href="struct.PathSegmentsParser.html" title="struct edlang_parser::grammar::grammar::PathSegmentsParser">PathSegmentsParser</a></h4></section><section id="method.parse" class="method"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#166597-166613">source</a><h4 class="code-header">pub fn <a href="#method.parse" class="fn">parse</a>&lt;__TOKEN: <a class="trait" href="trait.__ToTriple.html" title="trait edlang_parser::grammar::grammar::__ToTriple">__ToTriple</a>, __TOKENS: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item = __TOKEN&gt;&gt;(
&amp;self, &amp;self,
__tokens0: __TOKENS __tokens0: __TOKENS
) -&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="enum" href="../../../edlang_ast/enum.PathSegment.html" title="enum edlang_ast::PathSegment">PathSegment</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;</h4></section></div></details></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe-for-PathSegmentsParser" class="impl"><a href="#impl-RefUnwindSafe-for-PathSegmentsParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.PathSegmentsParser.html" title="struct edlang_parser::grammar::grammar::PathSegmentsParser">PathSegmentsParser</a></h3></section><section id="impl-Send-for-PathSegmentsParser" class="impl"><a href="#impl-Send-for-PathSegmentsParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.PathSegmentsParser.html" title="struct edlang_parser::grammar::grammar::PathSegmentsParser">PathSegmentsParser</a></h3></section><section id="impl-Sync-for-PathSegmentsParser" class="impl"><a href="#impl-Sync-for-PathSegmentsParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.PathSegmentsParser.html" title="struct edlang_parser::grammar::grammar::PathSegmentsParser">PathSegmentsParser</a></h3></section><section id="impl-Unpin-for-PathSegmentsParser" class="impl"><a href="#impl-Unpin-for-PathSegmentsParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.PathSegmentsParser.html" title="struct edlang_parser::grammar::grammar::PathSegmentsParser">PathSegmentsParser</a></h3></section><section id="impl-UnwindSafe-for-PathSegmentsParser" class="impl"><a href="#impl-UnwindSafe-for-PathSegmentsParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.PathSegmentsParser.html" title="struct edlang_parser::grammar::grammar::PathSegmentsParser">PathSegmentsParser</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where ) -&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="enum" href="../../../edlang_ast/enum.PathSegment.html" title="enum edlang_ast::PathSegment">PathSegment</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;</h4></section></div></details></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe-for-PathSegmentsParser" class="impl"><a href="#impl-RefUnwindSafe-for-PathSegmentsParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.PathSegmentsParser.html" title="struct edlang_parser::grammar::grammar::PathSegmentsParser">PathSegmentsParser</a></h3></section><section id="impl-Send-for-PathSegmentsParser" class="impl"><a href="#impl-Send-for-PathSegmentsParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.PathSegmentsParser.html" title="struct edlang_parser::grammar::grammar::PathSegmentsParser">PathSegmentsParser</a></h3></section><section id="impl-Sync-for-PathSegmentsParser" class="impl"><a href="#impl-Sync-for-PathSegmentsParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.PathSegmentsParser.html" title="struct edlang_parser::grammar::grammar::PathSegmentsParser">PathSegmentsParser</a></h3></section><section id="impl-Unpin-for-PathSegmentsParser" class="impl"><a href="#impl-Unpin-for-PathSegmentsParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.PathSegmentsParser.html" title="struct edlang_parser::grammar::grammar::PathSegmentsParser">PathSegmentsParser</a></h3></section><section id="impl-UnwindSafe-for-PathSegmentsParser" class="impl"><a href="#impl-UnwindSafe-for-PathSegmentsParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.PathSegmentsParser.html" title="struct edlang_parser::grammar::grammar::PathSegmentsParser">PathSegmentsParser</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where

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 `UnaryOpParser` struct in crate `edlang_parser`."><title>UnaryOpParser 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 struct"><!--[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.6</span></h2></div><h2 class="location"><a href="#">UnaryOpParser</a></h2><div class="sidebar-elems"><section><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.new">new</a></li><li><a href="#method.parse">parse</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-RefUnwindSafe-for-UnaryOpParser">RefUnwindSafe</a></li><li><a href="#impl-Send-for-UnaryOpParser">Send</a></li><li><a href="#impl-Sync-for-UnaryOpParser">Sync</a></li><li><a href="#impl-Unpin-for-UnaryOpParser">Unpin</a></li><li><a href="#impl-UnwindSafe-for-UnaryOpParser">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></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 `UnaryOpParser` struct in crate `edlang_parser`."><title>UnaryOpParser 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 struct"><!--[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.6</span></h2></div><h2 class="location"><a href="#">UnaryOpParser</a></h2><div class="sidebar-elems"><section><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.new">new</a></li><li><a href="#method.parse">parse</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-RefUnwindSafe-for-UnaryOpParser">RefUnwindSafe</a></li><li><a href="#impl-Send-for-UnaryOpParser">Send</a></li><li><a href="#impl-Sync-for-UnaryOpParser">Sync</a></li><li><a href="#impl-Unpin-for-UnaryOpParser">Unpin</a></li><li><a href="#impl-UnwindSafe-for-UnaryOpParser">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></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>Struct <a href="../../index.html">edlang_parser</a>::<wbr><a href="../index.html">grammar</a>::<wbr><a href="index.html">grammar</a>::<wbr><a class="struct" href="#">UnaryOpParser</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-712816e50ec9978f/out/grammar.rs.html#192182-192184">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct UnaryOpParser { <span class="comment">/* private fields */</span> }</code></pre><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-UnaryOpParser" class="impl"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#192186-192211">source</a><a href="#impl-UnaryOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.UnaryOpParser.html" title="struct edlang_parser::grammar::grammar::UnaryOpParser">UnaryOpParser</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#192187-192191">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>() -&gt; <a class="struct" href="struct.UnaryOpParser.html" title="struct edlang_parser::grammar::grammar::UnaryOpParser">UnaryOpParser</a></h4></section><section id="method.parse" class="method"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#192194-192210">source</a><h4 class="code-header">pub fn <a href="#method.parse" class="fn">parse</a>&lt;__TOKEN: <a class="trait" href="trait.__ToTriple.html" title="trait edlang_parser::grammar::grammar::__ToTriple">__ToTriple</a>, __TOKENS: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item = __TOKEN&gt;&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>Struct <a href="../../index.html">edlang_parser</a>::<wbr><a href="../index.html">grammar</a>::<wbr><a href="index.html">grammar</a>::<wbr><a class="struct" href="#">UnaryOpParser</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-712816e50ec9978f/out/grammar.rs.html#229385-229387">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct UnaryOpParser { <span class="comment">/* private fields */</span> }</code></pre><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-UnaryOpParser" class="impl"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#229389-229414">source</a><a href="#impl-UnaryOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.UnaryOpParser.html" title="struct edlang_parser::grammar::grammar::UnaryOpParser">UnaryOpParser</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#229390-229394">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>() -&gt; <a class="struct" href="struct.UnaryOpParser.html" title="struct edlang_parser::grammar::grammar::UnaryOpParser">UnaryOpParser</a></h4></section><section id="method.parse" class="method"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#229397-229413">source</a><h4 class="code-header">pub fn <a href="#method.parse" class="fn">parse</a>&lt;__TOKEN: <a class="trait" href="trait.__ToTriple.html" title="trait edlang_parser::grammar::grammar::__ToTriple">__ToTriple</a>, __TOKENS: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item = __TOKEN&gt;&gt;(
&amp;self, &amp;self,
__tokens0: __TOKENS __tokens0: __TOKENS
) -&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="enum" href="../../../edlang_ast/enum.UnaryOp.html" title="enum edlang_ast::UnaryOp">UnaryOp</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></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe-for-UnaryOpParser" class="impl"><a href="#impl-RefUnwindSafe-for-UnaryOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.UnaryOpParser.html" title="struct edlang_parser::grammar::grammar::UnaryOpParser">UnaryOpParser</a></h3></section><section id="impl-Send-for-UnaryOpParser" class="impl"><a href="#impl-Send-for-UnaryOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.UnaryOpParser.html" title="struct edlang_parser::grammar::grammar::UnaryOpParser">UnaryOpParser</a></h3></section><section id="impl-Sync-for-UnaryOpParser" class="impl"><a href="#impl-Sync-for-UnaryOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.UnaryOpParser.html" title="struct edlang_parser::grammar::grammar::UnaryOpParser">UnaryOpParser</a></h3></section><section id="impl-Unpin-for-UnaryOpParser" class="impl"><a href="#impl-Unpin-for-UnaryOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.UnaryOpParser.html" title="struct edlang_parser::grammar::grammar::UnaryOpParser">UnaryOpParser</a></h3></section><section id="impl-UnwindSafe-for-UnaryOpParser" class="impl"><a href="#impl-UnwindSafe-for-UnaryOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.UnaryOpParser.html" title="struct edlang_parser::grammar::grammar::UnaryOpParser">UnaryOpParser</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where ) -&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="enum" href="../../../edlang_ast/enum.UnaryOp.html" title="enum edlang_ast::UnaryOp">UnaryOp</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></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe-for-UnaryOpParser" class="impl"><a href="#impl-RefUnwindSafe-for-UnaryOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.UnaryOpParser.html" title="struct edlang_parser::grammar::grammar::UnaryOpParser">UnaryOpParser</a></h3></section><section id="impl-Send-for-UnaryOpParser" class="impl"><a href="#impl-Send-for-UnaryOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.UnaryOpParser.html" title="struct edlang_parser::grammar::grammar::UnaryOpParser">UnaryOpParser</a></h3></section><section id="impl-Sync-for-UnaryOpParser" class="impl"><a href="#impl-Sync-for-UnaryOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.UnaryOpParser.html" title="struct edlang_parser::grammar::grammar::UnaryOpParser">UnaryOpParser</a></h3></section><section id="impl-Unpin-for-UnaryOpParser" class="impl"><a href="#impl-Unpin-for-UnaryOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.UnaryOpParser.html" title="struct edlang_parser::grammar::grammar::UnaryOpParser">UnaryOpParser</a></h3></section><section id="impl-UnwindSafe-for-UnaryOpParser" class="impl"><a href="#impl-UnwindSafe-for-UnaryOpParser" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.UnaryOpParser.html" title="struct edlang_parser::grammar::grammar::UnaryOpParser">UnaryOpParser</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where

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.6</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.6</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>
<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-712816e50ec9978f/out/grammar.rs.html#216686-216689">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-712816e50ec9978f/out/grammar.rs.html#255798-255801">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 {
// 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-712816e50ec9978f/out/grammar.rs.html#216688">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-712816e50ec9978f/out/grammar.rs.html#255800">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-712816e50ec9978f/out/grammar.rs.html#216691-216696">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-712816e50ec9978f/out/grammar.rs.html#216693-216695">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-for-(usize,+Token,+usize)" class="impl"><a class="src rightside" href="../../../src/edlang_parser/home/runner/work/edlang/edlang/target/debug/build/edlang_parser-712816e50ec9978f/out/grammar.rs.html#255803-255808">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-712816e50ec9978f/out/grammar.rs.html#255805-255807">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-712816e50ec9978f/out/grammar.rs.html#216697-216705">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-712816e50ec9978f/out/grammar.rs.html#216699-216704">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-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-712816e50ec9978f/out/grammar.rs.html#255809-255817">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-712816e50ec9978f/out/grammar.rs.html#255811-255816">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>

File diff suppressed because one or more lines are too long

View file

@ -237,10 +237,6 @@
<a href="#236" id="236">236</a> <a href="#236" id="236">236</a>
<a href="#237" id="237">237</a> <a href="#237" id="237">237</a>
<a href="#238" id="238">238</a> <a href="#238" id="238">238</a>
<a href="#239" id="239">239</a>
<a href="#240" id="240">240</a>
<a href="#241" id="241">241</a>
<a href="#242" id="242">242</a>
</pre></div><pre class="rust"><code><span class="kw">pub use </span>edlang_span::Span; </pre></div><pre class="rust"><code><span class="kw">pub use </span>edlang_span::Span;
<span class="attr">#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] <span class="attr">#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
@ -274,20 +270,6 @@
<span class="kw">pub </span>span: Span, <span class="kw">pub </span>span: Span,
} }
<span class="kw">impl </span>PathExpr {
<span class="kw">pub fn </span>get_full_path(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; String {
<span class="kw">let </span><span class="kw-2">mut </span>result = <span class="self">self</span>.first.name.clone();
<span class="kw">for </span>path <span class="kw">in </span><span class="kw-2">&amp;</span><span class="self">self</span>.extra {
result.push(<span class="string">'.'</span>);
<span class="kw">match </span>path {
PathSegment::Field(name) =&gt; result.push_str(<span class="kw-2">&amp;</span>name.name),
PathSegment::Index { .. } =&gt; result.push_str(<span class="string">"[]"</span>),
}
}
result
}
}
<span class="attr">#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] <span class="attr">#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
</span><span class="kw">pub enum </span>PathSegment { </span><span class="kw">pub enum </span>PathSegment {
Field(Ident), Field(Ident),
@ -305,6 +287,7 @@
</span><span class="kw">pub struct </span>Type { </span><span class="kw">pub struct </span>Type {
<span class="kw">pub </span>name: Ident, <span class="kw">pub </span>name: Ident,
<span class="kw">pub </span>generics: Vec&lt;Type&gt;, <span class="kw">pub </span>generics: Vec&lt;Type&gt;,
<span class="kw">pub </span>is_ref: <span class="prelude-ty">Option</span>&lt;RefType&gt;,
<span class="kw">pub </span>span: Span, <span class="kw">pub </span>span: Span,
} }
@ -315,6 +298,12 @@
<span class="kw">pub </span>span: Span, <span class="kw">pub </span>span: Span,
} }
<span class="attr">#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
</span><span class="kw">pub enum </span>RefType {
Not,
Mut,
}
<span class="attr">#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] <span class="attr">#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
</span><span class="kw">pub struct </span>Block { </span><span class="kw">pub struct </span>Block {
<span class="kw">pub </span>body: Vec&lt;Statement&gt;, <span class="kw">pub </span>body: Vec&lt;Statement&gt;,
@ -345,6 +334,7 @@
</span><span class="kw">pub struct </span>AssignStmt { </span><span class="kw">pub struct </span>AssignStmt {
<span class="kw">pub </span>name: PathExpr, <span class="kw">pub </span>name: PathExpr,
<span class="kw">pub </span>value: Expression, <span class="kw">pub </span>value: Expression,
<span class="kw">pub </span>deref_times: usize,
<span class="kw">pub </span>span: Span, <span class="kw">pub </span>span: Span,
} }
@ -418,6 +408,8 @@
FnCall(FnCallExpr), FnCall(FnCallExpr),
Unary(UnaryOp, Box&lt;<span class="self">Self</span>&gt;), Unary(UnaryOp, Box&lt;<span class="self">Self</span>&gt;),
Binary(Box&lt;<span class="self">Self</span>&gt;, BinaryOp, Box&lt;<span class="self">Self</span>&gt;), Binary(Box&lt;<span class="self">Self</span>&gt;, BinaryOp, Box&lt;<span class="self">Self</span>&gt;),
Deref(Box&lt;<span class="self">Self</span>&gt;),
AsRef(Box&lt;<span class="self">Self</span>&gt;, bool),
} }
<span class="attr">#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] <span class="attr">#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]

View file

@ -1197,6 +1197,89 @@
<a href="#1196" id="1196">1196</a> <a href="#1196" id="1196">1196</a>
<a href="#1197" id="1197">1197</a> <a href="#1197" id="1197">1197</a>
<a href="#1198" id="1198">1198</a> <a href="#1198" id="1198">1198</a>
<a href="#1199" id="1199">1199</a>
<a href="#1200" id="1200">1200</a>
<a href="#1201" id="1201">1201</a>
<a href="#1202" id="1202">1202</a>
<a href="#1203" id="1203">1203</a>
<a href="#1204" id="1204">1204</a>
<a href="#1205" id="1205">1205</a>
<a href="#1206" id="1206">1206</a>
<a href="#1207" id="1207">1207</a>
<a href="#1208" id="1208">1208</a>
<a href="#1209" id="1209">1209</a>
<a href="#1210" id="1210">1210</a>
<a href="#1211" id="1211">1211</a>
<a href="#1212" id="1212">1212</a>
<a href="#1213" id="1213">1213</a>
<a href="#1214" id="1214">1214</a>
<a href="#1215" id="1215">1215</a>
<a href="#1216" id="1216">1216</a>
<a href="#1217" id="1217">1217</a>
<a href="#1218" id="1218">1218</a>
<a href="#1219" id="1219">1219</a>
<a href="#1220" id="1220">1220</a>
<a href="#1221" id="1221">1221</a>
<a href="#1222" id="1222">1222</a>
<a href="#1223" id="1223">1223</a>
<a href="#1224" id="1224">1224</a>
<a href="#1225" id="1225">1225</a>
<a href="#1226" id="1226">1226</a>
<a href="#1227" id="1227">1227</a>
<a href="#1228" id="1228">1228</a>
<a href="#1229" id="1229">1229</a>
<a href="#1230" id="1230">1230</a>
<a href="#1231" id="1231">1231</a>
<a href="#1232" id="1232">1232</a>
<a href="#1233" id="1233">1233</a>
<a href="#1234" id="1234">1234</a>
<a href="#1235" id="1235">1235</a>
<a href="#1236" id="1236">1236</a>
<a href="#1237" id="1237">1237</a>
<a href="#1238" id="1238">1238</a>
<a href="#1239" id="1239">1239</a>
<a href="#1240" id="1240">1240</a>
<a href="#1241" id="1241">1241</a>
<a href="#1242" id="1242">1242</a>
<a href="#1243" id="1243">1243</a>
<a href="#1244" id="1244">1244</a>
<a href="#1245" id="1245">1245</a>
<a href="#1246" id="1246">1246</a>
<a href="#1247" id="1247">1247</a>
<a href="#1248" id="1248">1248</a>
<a href="#1249" id="1249">1249</a>
<a href="#1250" id="1250">1250</a>
<a href="#1251" id="1251">1251</a>
<a href="#1252" id="1252">1252</a>
<a href="#1253" id="1253">1253</a>
<a href="#1254" id="1254">1254</a>
<a href="#1255" id="1255">1255</a>
<a href="#1256" id="1256">1256</a>
<a href="#1257" id="1257">1257</a>
<a href="#1258" id="1258">1258</a>
<a href="#1259" id="1259">1259</a>
<a href="#1260" id="1260">1260</a>
<a href="#1261" id="1261">1261</a>
<a href="#1262" id="1262">1262</a>
<a href="#1263" id="1263">1263</a>
<a href="#1264" id="1264">1264</a>
<a href="#1265" id="1265">1265</a>
<a href="#1266" id="1266">1266</a>
<a href="#1267" id="1267">1267</a>
<a href="#1268" id="1268">1268</a>
<a href="#1269" id="1269">1269</a>
<a href="#1270" id="1270">1270</a>
<a href="#1271" id="1271">1271</a>
<a href="#1272" id="1272">1272</a>
<a href="#1273" id="1273">1273</a>
<a href="#1274" id="1274">1274</a>
<a href="#1275" id="1275">1275</a>
<a href="#1276" id="1276">1276</a>
<a href="#1277" id="1277">1277</a>
<a href="#1278" id="1278">1278</a>
<a href="#1279" id="1279">1279</a>
<a href="#1280" id="1280">1280</a>
<a href="#1281" id="1281">1281</a>
</pre></div><pre class="rust"><code><span class="kw">use </span>std::{collections::HashMap, error::Error, path::PathBuf}; </pre></div><pre class="rust"><code><span class="kw">use </span>std::{collections::HashMap, error::Error, path::PathBuf};
<span class="kw">use </span>edlang_ir <span class="kw">as </span>ir; <span class="kw">use </span>edlang_ir <span class="kw">as </span>ir;
@ -1433,42 +1516,9 @@
<span class="comment">// https://llvm.org/doxygen/group__LLVMCCoreTypes.html <span class="comment">// https://llvm.org/doxygen/group__LLVMCCoreTypes.html
/* starting from 1 to 80 </span>fn_value.set_call_conventions(<span class="number">0</span>); <span class="comment">// cconv
allocalign allocptr alwaysinline builtin cold convergent disable_sanitizer_instrumentation fn_ret_thunk_extern hot
immarg inreg inlinehint jumptable minsize mustprogress naked nest noalias
nobuiltin nocallback nocapture nocf_check noduplicate nofree noimplicitfloat
noinline nomerge noprofile norecurse noredzone noreturn nosanitize_bounds
nosanitize_coverage nosync noundef nounwind nonlazybind nonnull null_pointer_is_valid
optforfuzzing optsize optnone presplitcoroutine readnone readonly returned returns_twice
signext safestack sanitize_address sanitize_hwaddress sanitize_memtag sanitize_memory
sanitize_thread shadowcallstack skipprofile speculatable speculative_load_hardening ssp
sspreq sspstrong strictfp swiftasync swifterror swiftself willreturn writeonly (67) zeroext byref byval elementtype inalloca
preallocated sret align 0 allockind(\"\") allocsize(0,0) dereferenceable(0) dereferenceable_or_null(0
*/
/* </span><span class="kw">let </span>(<span class="kw">_</span>, line, _col) = ctx
// nounwind
fn_value.add_attribute(
inkwell::attributes::AttributeLoc::Function,
ctx.ctx.context.create_enum_attribute(36, 0),
);
// nonlazybind
fn_value.add_attribute(
inkwell::attributes::AttributeLoc::Function,
ctx.ctx.context.create_enum_attribute(37, 0),
);
// willreturn
fn_value.add_attribute(
inkwell::attributes::AttributeLoc::Function,
ctx.ctx.context.create_enum_attribute(66, 0),
);
*/
</span>fn_value.set_call_conventions(<span class="number">0</span>);
<span class="kw">let </span>(<span class="kw">_</span>, line, _col) = ctx
.ctx .ctx
.session .session
.source .source
@ -1619,11 +1669,29 @@
<span class="kw">match </span><span class="kw-2">&amp;</span>stmt.kind { <span class="kw">match </span><span class="kw-2">&amp;</span>stmt.kind {
ir::StatementKind::Assign(place, rvalue) =&gt; { ir::StatementKind::Assign(place, rvalue) =&gt; {
<span class="kw">let </span>local = <span class="kw-2">&amp;</span>body.locals[place.local]; <span class="kw">let </span>local = <span class="kw-2">&amp;</span>body.locals[place.local];
<span class="kw">let </span><span class="kw-2">mut </span>local_ty = local.ty.clone();
<span class="kw">let </span><span class="kw-2">mut </span>ptr = <span class="kw-2">*</span>locals.get(<span class="kw-2">&amp;</span>place.local).unwrap();
<span class="kw">for </span>proj <span class="kw">in </span><span class="kw-2">&amp;</span>place.projection {
<span class="kw">match </span>proj {
ir::PlaceElem::Deref =&gt; {
ptr = ctx
.builder
.build_load(compile_basic_type(ctx, <span class="kw-2">&amp;</span>local_ty), ptr, <span class="string">"deref"</span>)<span class="question-mark">?
</span>.into_pointer_value();
local_ty = <span class="kw">match </span>local_ty.kind {
ir::TypeKind::Ptr(inner) =&gt; <span class="kw-2">*</span>inner,
ir::TypeKind::Ref(<span class="kw">_</span>, inner) =&gt; <span class="kw-2">*</span>inner,
<span class="kw">_ </span>=&gt; <span class="macro">unreachable!</span>(),
}
}
ir::PlaceElem::Field { .. } =&gt; <span class="macro">todo!</span>(),
ir::PlaceElem::Index { .. } =&gt; <span class="macro">todo!</span>(),
}
}
<span class="kw">let </span>(value, _value_ty) = compile_rvalue(ctx, fn_id, <span class="kw-2">&amp;</span>locals, rvalue)<span class="question-mark">?</span>; <span class="kw">let </span>(value, _value_ty) = compile_rvalue(ctx, fn_id, <span class="kw-2">&amp;</span>locals, rvalue)<span class="question-mark">?</span>;
<span class="kw">let </span>instruction = ctx <span class="kw">let </span>instruction = ctx.builder.build_store(ptr, value)<span class="question-mark">?</span>;
.builder
.build_store(<span class="kw-2">*</span>locals.get(<span class="kw-2">&amp;</span>place.local).unwrap(), value)<span class="question-mark">?</span>;
<span class="kw">if let </span><span class="prelude-val">Some</span>(_debug_name) = <span class="kw-2">&amp;</span>local.debug_name { <span class="kw">if let </span><span class="prelude-val">Some</span>(_debug_name) = <span class="kw-2">&amp;</span>local.debug_name {
<span class="kw">let </span>di_local = di_locals.get(<span class="kw-2">&amp;</span>place.local).unwrap(); <span class="kw">let </span>di_local = di_locals.get(<span class="kw-2">&amp;</span>place.local).unwrap();
@ -1757,6 +1825,41 @@
<span class="prelude-val">Ok</span>(()) <span class="prelude-val">Ok</span>(())
} }
<span class="kw">fn </span>compile_unary_op&lt;<span class="lifetime">'ctx</span>&gt;(
ctx: <span class="kw-2">&amp;</span>ModuleCompileCtx&lt;<span class="lifetime">'ctx</span>, <span class="lifetime">'_</span>&gt;,
fn_id: DefId,
locals: <span class="kw-2">&amp;</span>HashMap&lt;usize, PointerValue&lt;<span class="lifetime">'ctx</span>&gt;&gt;,
op: ir::UnOp,
value: <span class="kw-2">&amp;</span>ir::Operand,
) -&gt; <span class="prelude-ty">Result</span>&lt;(BasicValueEnum&lt;<span class="lifetime">'ctx</span>&gt;, TypeInfo), BuilderError&gt; {
<span class="kw">let </span>(value, ty) = compile_load_operand(ctx, fn_id, locals, value)<span class="question-mark">?</span>;
<span class="kw">let </span>is_float = <span class="macro">matches!</span>(ty.kind, ir::TypeKind::Float(<span class="kw">_</span>));
<span class="prelude-val">Ok</span>(<span class="kw">match </span>op {
ir::UnOp::Not =&gt; {
<span class="macro">assert!</span>(ty.kind.is_integer(), <span class="string">"must be a integer"</span>);
<span class="kw">let </span>value = ctx
.builder
.build_not(value.into_int_value(), <span class="string">"not"</span>)<span class="question-mark">?
</span>.as_basic_value_enum();
(value, ty)
}
ir::UnOp::Neg =&gt; {
<span class="kw">let </span>value = <span class="kw">if </span>is_float {
ctx.builder
.build_float_neg(value.into_float_value(), <span class="string">"negf"</span>)<span class="question-mark">?
</span>.as_basic_value_enum()
} <span class="kw">else </span>{
ctx.builder
.build_int_neg(value.into_int_value(), <span class="string">"negi"</span>)<span class="question-mark">?
</span>.as_basic_value_enum()
};
(value, ty)
}
})
}
<span class="kw">fn </span>compile_bin_op&lt;<span class="lifetime">'ctx</span>&gt;( <span class="kw">fn </span>compile_bin_op&lt;<span class="lifetime">'ctx</span>&gt;(
ctx: <span class="kw-2">&amp;</span>ModuleCompileCtx&lt;<span class="lifetime">'ctx</span>, <span class="lifetime">'_</span>&gt;, ctx: <span class="kw-2">&amp;</span>ModuleCompileCtx&lt;<span class="lifetime">'ctx</span>, <span class="lifetime">'_</span>&gt;,
fn_id: DefId, fn_id: DefId,
@ -2107,10 +2210,40 @@
) -&gt; <span class="prelude-ty">Result</span>&lt;(BasicValueEnum&lt;<span class="lifetime">'ctx</span>&gt;, TypeInfo), BuilderError&gt; { ) -&gt; <span class="prelude-ty">Result</span>&lt;(BasicValueEnum&lt;<span class="lifetime">'ctx</span>&gt;, TypeInfo), BuilderError&gt; {
<span class="prelude-val">Ok</span>(<span class="kw">match </span>rvalue { <span class="prelude-val">Ok</span>(<span class="kw">match </span>rvalue {
ir::RValue::Use(op) =&gt; compile_load_operand(ctx, fn_id, locals, op)<span class="question-mark">?</span>, ir::RValue::Use(op) =&gt; compile_load_operand(ctx, fn_id, locals, op)<span class="question-mark">?</span>,
ir::RValue::Ref(<span class="kw">_</span>, <span class="kw">_</span>) =&gt; <span class="macro">todo!</span>(), ir::RValue::Ref(_mutable, op) =&gt; <span class="kw">match </span>op {
ir::Operand::Copy(<span class="kw">_</span>) =&gt; <span class="macro">todo!</span>(),
ir::Operand::Move(place) =&gt; {
<span class="kw">let </span><span class="kw-2">mut </span>ptr = <span class="kw-2">*</span>locals.get(<span class="kw-2">&amp;</span>place.local).unwrap();
<span class="kw">let </span><span class="kw-2">mut </span>local_ty = {
<span class="kw">let </span>body = ctx.ctx.program.functions.get(<span class="kw-2">&amp;</span>fn_id).unwrap();
body.locals[place.local].ty.clone()
};
<span class="kw">for </span>proj <span class="kw">in </span><span class="kw-2">&amp;</span>place.projection {
<span class="kw">match </span>proj {
ir::PlaceElem::Deref =&gt; {
ptr = ctx
.builder
.build_load(compile_basic_type(ctx, <span class="kw-2">&amp;</span>local_ty), ptr, <span class="string">"deref"</span>)<span class="question-mark">?
</span>.into_pointer_value();
local_ty = <span class="kw">match </span>local_ty.kind {
ir::TypeKind::Ptr(inner) =&gt; <span class="kw-2">*</span>inner,
ir::TypeKind::Ref(<span class="kw">_</span>, inner) =&gt; <span class="kw-2">*</span>inner,
<span class="kw">_ </span>=&gt; <span class="macro">unreachable!</span>(),
}
}
ir::PlaceElem::Field { .. } =&gt; <span class="macro">todo!</span>(),
ir::PlaceElem::Index { .. } =&gt; <span class="macro">todo!</span>(),
}
}
(ptr.as_basic_value_enum(), local_ty)
}
ir::Operand::Constant(<span class="kw">_</span>) =&gt; <span class="macro">todo!</span>(<span class="string">"references to constants not yet implemented"</span>),
},
ir::RValue::BinOp(op, lhs, rhs) =&gt; compile_bin_op(ctx, fn_id, locals, <span class="kw-2">*</span>op, lhs, rhs)<span class="question-mark">?</span>, ir::RValue::BinOp(op, lhs, rhs) =&gt; compile_bin_op(ctx, fn_id, locals, <span class="kw-2">*</span>op, lhs, rhs)<span class="question-mark">?</span>,
ir::RValue::LogicOp(<span class="kw">_</span>, <span class="kw">_</span>, <span class="kw">_</span>) =&gt; <span class="macro">todo!</span>(), ir::RValue::LogicOp(<span class="kw">_</span>, <span class="kw">_</span>, <span class="kw">_</span>) =&gt; <span class="macro">todo!</span>(),
ir::RValue::UnOp(<span class="kw">_</span>, <span class="kw">_</span>) =&gt; <span class="macro">todo!</span>(), ir::RValue::UnOp(op, value) =&gt; compile_unary_op(ctx, fn_id, locals, <span class="kw-2">*</span>op, value)<span class="question-mark">?</span>,
}) })
} }
@ -2132,8 +2265,29 @@
) )
} }
ir::Operand::Move(place) =&gt; { ir::Operand::Move(place) =&gt; {
<span class="kw">let </span>pointee_ty = compile_basic_type(ctx, <span class="kw-2">&amp;</span>body.locals[place.local].ty); <span class="kw">let </span><span class="kw-2">mut </span>ptr = <span class="kw-2">*</span>locals.get(<span class="kw-2">&amp;</span>place.local).unwrap();
<span class="kw">let </span>ptr = <span class="kw-2">*</span>locals.get(<span class="kw-2">&amp;</span>place.local).unwrap(); <span class="kw">let </span><span class="kw-2">mut </span>local_ty = body.locals[place.local].ty.clone();
<span class="kw">for </span>proj <span class="kw">in </span><span class="kw-2">&amp;</span>place.projection {
<span class="kw">match </span>proj {
ir::PlaceElem::Deref =&gt; {
ptr = ctx
.builder
.build_load(compile_basic_type(ctx, <span class="kw-2">&amp;</span>local_ty), ptr, <span class="string">"deref"</span>)<span class="question-mark">?
</span>.into_pointer_value();
local_ty = <span class="kw">match </span>local_ty.kind {
ir::TypeKind::Ptr(inner) =&gt; <span class="kw-2">*</span>inner,
ir::TypeKind::Ref(<span class="kw">_</span>, inner) =&gt; <span class="kw-2">*</span>inner,
<span class="kw">_ </span>=&gt; <span class="macro">unreachable!</span>(),
}
}
ir::PlaceElem::Field { .. } =&gt; <span class="macro">todo!</span>(),
ir::PlaceElem::Index { .. } =&gt; <span class="macro">todo!</span>(),
}
}
<span class="kw">let </span>pointee_ty = compile_basic_type(ctx, <span class="kw-2">&amp;</span>local_ty);
( (
ctx.builder.build_load(pointee_ty, ptr, <span class="string">""</span>)<span class="question-mark">?</span>, ctx.builder.build_load(pointee_ty, ptr, <span class="string">""</span>)<span class="question-mark">?</span>,
body.locals[place.local].ty.clone(), body.locals[place.local].ty.clone(),
@ -2282,6 +2436,12 @@
.ptr_sized_int_type(<span class="kw-2">&amp;</span>ctx.target_data, <span class="prelude-val">None</span>) .ptr_sized_int_type(<span class="kw-2">&amp;</span>ctx.target_data, <span class="prelude-val">None</span>)
.ptr_type(AddressSpace::default()) .ptr_type(AddressSpace::default())
.as_basic_type_enum(), .as_basic_type_enum(),
ir::TypeKind::Ref(<span class="kw">_</span>, <span class="kw">_</span>) =&gt; ctx
.ctx
.context
.ptr_sized_int_type(<span class="kw-2">&amp;</span>ctx.target_data, <span class="prelude-val">None</span>)
.ptr_type(AddressSpace::default())
.as_basic_type_enum(),
} }
} }
@ -2292,6 +2452,8 @@
// 5 = signed // 5 = signed
// 11 = numeric string // 11 = numeric string
// https://dwarfstd.org/doc/DWARF5.pdf#section.7.8 // https://dwarfstd.org/doc/DWARF5.pdf#section.7.8
// https://github.com/GaloisInc/dwarf-tools/blob/master/src/DWARF/DW/TAG.hs
</span><span class="kw">match </span><span class="kw-2">&amp;</span>ty.kind { </span><span class="kw">match </span><span class="kw-2">&amp;</span>ty.kind {
ir::TypeKind::Unit =&gt; <span class="macro">todo!</span>(), ir::TypeKind::Unit =&gt; <span class="macro">todo!</span>(),
ir::TypeKind::Bool =&gt; ctx ir::TypeKind::Bool =&gt; ctx
@ -2393,6 +2555,10 @@
AddressSpace::default(), AddressSpace::default(),
) )
.as_type(), .as_type(),
ir::TypeKind::Ref(<span class="kw">_</span>, inner) =&gt; ctx
.di_builder
.create_reference_type(compile_debug_type(ctx, inner), <span class="number">0x10</span>)
.as_type(),
} }
} }
</code></pre></div></section></main></body></html> </code></pre></div></section></main></body></html>

View file

@ -447,6 +447,12 @@
<a href="#446" id="446">446</a> <a href="#446" id="446">446</a>
<a href="#447" id="447">447</a> <a href="#447" id="447">447</a>
<a href="#448" id="448">448</a> <a href="#448" id="448">448</a>
<a href="#449" id="449">449</a>
<a href="#450" id="450">450</a>
<a href="#451" id="451">451</a>
<a href="#452" id="452">452</a>
<a href="#453" id="453">453</a>
<a href="#454" id="454">454</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::collections::{BTreeMap, HashSet}; </span><span class="kw">use </span>std::collections::{BTreeMap, HashSet};
@ -653,13 +659,18 @@
Float(FloatTy), Float(FloatTy),
FnDef(DefId, Vec&lt;TypeInfo&gt;), <span class="comment">// The vec are generic types, not arg types FnDef(DefId, Vec&lt;TypeInfo&gt;), <span class="comment">// The vec are generic types, not arg types
</span>Ptr(Box&lt;TypeInfo&gt;), </span>Ptr(Box&lt;TypeInfo&gt;),
Ref(bool, Box&lt;TypeInfo&gt;),
} }
<span class="kw">impl </span>TypeKind { <span class="kw">impl </span>TypeKind {
<span class="kw">pub fn </span>is_unit(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; bool { <span class="kw">pub const fn </span>is_unit(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; bool {
<span class="macro">matches!</span>(<span class="self">self</span>, <span class="self">Self</span>::Unit) <span class="macro">matches!</span>(<span class="self">self</span>, <span class="self">Self</span>::Unit)
} }
<span class="kw">pub const fn </span>is_integer(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; bool {
<span class="macro">matches!</span>(<span class="self">self</span>, <span class="self">Self</span>::Int(<span class="kw">_</span>) | <span class="self">Self</span>::Uint(<span class="kw">_</span>))
}
<span class="kw">pub fn </span>get_falsy_value(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; ValueTree { <span class="kw">pub fn </span>get_falsy_value(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; ValueTree {
<span class="kw">match </span><span class="self">self </span>{ <span class="kw">match </span><span class="self">self </span>{
<span class="self">Self</span>::Bool =&gt; ValueTree::Leaf(ConstValue::Bool(<span class="bool-val">false</span>)), <span class="self">Self</span>::Bool =&gt; ValueTree::Leaf(ConstValue::Bool(<span class="bool-val">false</span>)),
@ -684,6 +695,7 @@
TypeKind::Unit =&gt; <span class="macro">unreachable!</span>(), TypeKind::Unit =&gt; <span class="macro">unreachable!</span>(),
TypeKind::FnDef(<span class="kw">_</span>, <span class="kw">_</span>) =&gt; <span class="macro">unreachable!</span>(), TypeKind::FnDef(<span class="kw">_</span>, <span class="kw">_</span>) =&gt; <span class="macro">unreachable!</span>(),
TypeKind::Ptr(_pointee) =&gt; <span class="macro">todo!</span>(), TypeKind::Ptr(_pointee) =&gt; <span class="macro">todo!</span>(),
TypeKind::Ref(<span class="kw">_</span>, inner) =&gt; inner.kind.get_falsy_value(),
} }
} }
} }

View file

@ -863,6 +863,114 @@
<a href="#862" id="862">862</a> <a href="#862" id="862">862</a>
<a href="#863" id="863">863</a> <a href="#863" id="863">863</a>
<a href="#864" id="864">864</a> <a href="#864" id="864">864</a>
<a href="#865" id="865">865</a>
<a href="#866" id="866">866</a>
<a href="#867" id="867">867</a>
<a href="#868" id="868">868</a>
<a href="#869" id="869">869</a>
<a href="#870" id="870">870</a>
<a href="#871" id="871">871</a>
<a href="#872" id="872">872</a>
<a href="#873" id="873">873</a>
<a href="#874" id="874">874</a>
<a href="#875" id="875">875</a>
<a href="#876" id="876">876</a>
<a href="#877" id="877">877</a>
<a href="#878" id="878">878</a>
<a href="#879" id="879">879</a>
<a href="#880" id="880">880</a>
<a href="#881" id="881">881</a>
<a href="#882" id="882">882</a>
<a href="#883" id="883">883</a>
<a href="#884" id="884">884</a>
<a href="#885" id="885">885</a>
<a href="#886" id="886">886</a>
<a href="#887" id="887">887</a>
<a href="#888" id="888">888</a>
<a href="#889" id="889">889</a>
<a href="#890" id="890">890</a>
<a href="#891" id="891">891</a>
<a href="#892" id="892">892</a>
<a href="#893" id="893">893</a>
<a href="#894" id="894">894</a>
<a href="#895" id="895">895</a>
<a href="#896" id="896">896</a>
<a href="#897" id="897">897</a>
<a href="#898" id="898">898</a>
<a href="#899" id="899">899</a>
<a href="#900" id="900">900</a>
<a href="#901" id="901">901</a>
<a href="#902" id="902">902</a>
<a href="#903" id="903">903</a>
<a href="#904" id="904">904</a>
<a href="#905" id="905">905</a>
<a href="#906" id="906">906</a>
<a href="#907" id="907">907</a>
<a href="#908" id="908">908</a>
<a href="#909" id="909">909</a>
<a href="#910" id="910">910</a>
<a href="#911" id="911">911</a>
<a href="#912" id="912">912</a>
<a href="#913" id="913">913</a>
<a href="#914" id="914">914</a>
<a href="#915" id="915">915</a>
<a href="#916" id="916">916</a>
<a href="#917" id="917">917</a>
<a href="#918" id="918">918</a>
<a href="#919" id="919">919</a>
<a href="#920" id="920">920</a>
<a href="#921" id="921">921</a>
<a href="#922" id="922">922</a>
<a href="#923" id="923">923</a>
<a href="#924" id="924">924</a>
<a href="#925" id="925">925</a>
<a href="#926" id="926">926</a>
<a href="#927" id="927">927</a>
<a href="#928" id="928">928</a>
<a href="#929" id="929">929</a>
<a href="#930" id="930">930</a>
<a href="#931" id="931">931</a>
<a href="#932" id="932">932</a>
<a href="#933" id="933">933</a>
<a href="#934" id="934">934</a>
<a href="#935" id="935">935</a>
<a href="#936" id="936">936</a>
<a href="#937" id="937">937</a>
<a href="#938" id="938">938</a>
<a href="#939" id="939">939</a>
<a href="#940" id="940">940</a>
<a href="#941" id="941">941</a>
<a href="#942" id="942">942</a>
<a href="#943" id="943">943</a>
<a href="#944" id="944">944</a>
<a href="#945" id="945">945</a>
<a href="#946" id="946">946</a>
<a href="#947" id="947">947</a>
<a href="#948" id="948">948</a>
<a href="#949" id="949">949</a>
<a href="#950" id="950">950</a>
<a href="#951" id="951">951</a>
<a href="#952" id="952">952</a>
<a href="#953" id="953">953</a>
<a href="#954" id="954">954</a>
<a href="#955" id="955">955</a>
<a href="#956" id="956">956</a>
<a href="#957" id="957">957</a>
<a href="#958" id="958">958</a>
<a href="#959" id="959">959</a>
<a href="#960" id="960">960</a>
<a href="#961" id="961">961</a>
<a href="#962" id="962">962</a>
<a href="#963" id="963">963</a>
<a href="#964" id="964">964</a>
<a href="#965" id="965">965</a>
<a href="#966" id="966">966</a>
<a href="#967" id="967">967</a>
<a href="#968" id="968">968</a>
<a href="#969" id="969">969</a>
<a href="#970" id="970">970</a>
<a href="#971" id="971">971</a>
<a href="#972" id="972">972</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};
@ -870,8 +978,8 @@
<span class="kw">use </span>edlang_ast <span class="kw">as </span>ast; <span class="kw">use </span>edlang_ast <span class="kw">as </span>ast;
<span class="kw">use </span>edlang_ir <span class="kw">as </span>ir; <span class="kw">use </span>edlang_ir <span class="kw">as </span>ir;
<span class="kw">use </span>ir::{ <span class="kw">use </span>ir::{
BasicBlock, Body, DefId, Local, LocalKind, Operand, Place, ProgramBody, Statement, BasicBlock, Body, DefId, Local, LocalKind, Operand, Place, PlaceElem, ProgramBody, RValue,
StatementKind, SwitchTarget, Terminator, TypeInfo, TypeKind, Statement, StatementKind, SwitchTarget, Terminator, TypeInfo, TypeKind,
}; };
<span class="kw">use </span>tracing::trace; <span class="kw">use </span>tracing::trace;
@ -1236,10 +1344,40 @@
} }
<span class="kw">fn </span>lower_assign(builder: <span class="kw-2">&amp;mut </span>BodyBuilder, info: <span class="kw-2">&amp;</span>ast::AssignStmt) { <span class="kw">fn </span>lower_assign(builder: <span class="kw-2">&amp;mut </span>BodyBuilder, info: <span class="kw-2">&amp;</span>ast::AssignStmt) {
<span class="kw">let </span>local = <span class="kw-2">*</span>builder.name_to_local.get(<span class="kw-2">&amp;</span>info.name.first.name).unwrap(); <span class="kw">let </span>(<span class="kw-2">mut </span>place, <span class="kw-2">mut </span>ty) = lower_path(builder, <span class="kw-2">&amp;</span>info.name);
<span class="kw">let </span>ty = builder.body.locals[local].ty.clone();
<span class="kw">let </span>(rvalue, _ty) = lower_expr(builder, <span class="kw-2">&amp;</span>info.value, <span class="prelude-val">Some</span>(<span class="kw-2">&amp;</span>ty.kind)); <span class="kw">if let </span><span class="prelude-val">Some</span>(PlaceElem::Deref) = place.projection.last() {
<span class="kw">let </span>(place, _ty) = lower_path(builder, <span class="kw-2">&amp;</span>info.name); <span class="kw">match </span><span class="kw-2">&amp;</span>ty {
TypeKind::Ptr(inner) =&gt; {
ty = inner.kind.clone();
}
TypeKind::Ref(is_mut, inner) =&gt; {
<span class="kw">if </span>!is_mut {
<span class="macro">panic!</span>(<span class="string">"trying to mutate non mut ref"</span>);
}
ty = inner.kind.clone();
}
<span class="kw">_ </span>=&gt; <span class="macro">unreachable!</span>(),
}
}
<span class="kw">for _ in </span><span class="number">0</span>..info.deref_times {
<span class="kw">match </span><span class="kw-2">&amp;</span>ty {
TypeKind::Ptr(inner) =&gt; {
ty = inner.kind.clone();
}
TypeKind::Ref(is_mut, inner) =&gt; {
<span class="kw">if </span>!is_mut {
<span class="macro">panic!</span>(<span class="string">"trying to mutate non mut ref"</span>);
}
ty = inner.kind.clone();
}
<span class="kw">_ </span>=&gt; <span class="macro">unreachable!</span>(),
}
place.projection.push(PlaceElem::Deref);
}
<span class="kw">let </span>(rvalue, _ty) = lower_expr(builder, <span class="kw-2">&amp;</span>info.value, <span class="prelude-val">Some</span>(<span class="kw-2">&amp;</span>ty));
builder.statements.push(Statement { builder.statements.push(Statement {
span: <span class="prelude-val">Some</span>(info.name.first.span), span: <span class="prelude-val">Some</span>(info.name.first.span),
@ -1291,6 +1429,8 @@
find_expr_type(builder, lhs).or(find_expr_type(builder, rhs))<span class="question-mark">? find_expr_type(builder, lhs).or(find_expr_type(builder, rhs))<span class="question-mark">?
</span>} </span>}
} }
ast::Expression::Deref(<span class="kw">_</span>) =&gt; <span class="macro">todo!</span>(),
ast::Expression::AsRef(<span class="kw">_</span>, <span class="kw">_</span>) =&gt; <span class="macro">todo!</span>(),
}) })
} }
@ -1312,6 +1452,50 @@
ast::Expression::Binary(lhs, op, rhs) =&gt; { ast::Expression::Binary(lhs, op, rhs) =&gt; {
lower_binary_expr(builder, lhs, op, rhs, type_hint) lower_binary_expr(builder, lhs, op, rhs, type_hint)
} }
ast::Expression::Deref(<span class="kw">_</span>) =&gt; <span class="macro">todo!</span>(),
ast::Expression::AsRef(inner, mutable) =&gt; {
<span class="kw">let </span>type_hint = <span class="kw">match </span>type_hint {
<span class="prelude-val">Some</span>(inner) =&gt; <span class="kw">match </span>inner {
TypeKind::Ref(<span class="kw">_</span>, inner) =&gt; <span class="prelude-val">Some</span>(<span class="kw-2">&amp;</span>inner.kind),
<span class="kw">_ </span>=&gt; <span class="macro">unreachable!</span>(),
},
<span class="prelude-val">None </span>=&gt; <span class="prelude-val">None</span>,
};
<span class="kw">let </span>(<span class="kw-2">mut </span>value, ty) = lower_expr(builder, inner, type_hint);
<span class="comment">// check if its a use directly, to avoid a temporary.
</span>value = <span class="kw">match </span>value {
RValue::Use(op) =&gt; RValue::Ref(<span class="kw-2">*</span>mutable, op),
value =&gt; {
<span class="kw">let </span>inner_local = builder.add_local(Local::temp(ty.clone()));
<span class="kw">let </span>inner_place = Place {
local: inner_local,
projection: Default::default(),
};
builder.statements.push(Statement {
span: <span class="prelude-val">None</span>,
kind: StatementKind::StorageLive(inner_local),
});
builder.statements.push(Statement {
span: <span class="prelude-val">None</span>,
kind: StatementKind::Assign(inner_place.clone(), value),
});
RValue::Ref(<span class="kw-2">*</span>mutable, Operand::Move(inner_place))
}
};
<span class="kw">let </span>ty = TypeKind::Ref(
<span class="kw-2">*</span>mutable,
Box::new(TypeInfo {
span: <span class="prelude-val">None</span>,
kind: ty,
}),
);
(value, ty)
}
} }
} }
@ -1324,8 +1508,7 @@
) -&gt; (ir::RValue, TypeKind) { ) -&gt; (ir::RValue, TypeKind) {
<span class="macro">trace!</span>(<span class="string">"lowering binary op: {:?}"</span>, op); <span class="macro">trace!</span>(<span class="string">"lowering binary op: {:?}"</span>, op);
<span class="comment">// todo: if lhs or rhs is a simple place, dont make another temporary? <span class="kw">let </span>(lhs, lhs_ty) = <span class="kw">if </span>type_hint.is_none() {
</span><span class="kw">let </span>(lhs, lhs_ty) = <span class="kw">if </span>type_hint.is_none() {
<span class="kw">let </span>ty = find_expr_type(builder, lhs) <span class="kw">let </span>ty = find_expr_type(builder, lhs)
.unwrap_or_else(|| find_expr_type(builder, rhs).expect(<span class="string">"cant find type"</span>)); .unwrap_or_else(|| find_expr_type(builder, rhs).expect(<span class="string">"cant find type"</span>));
lower_expr(builder, lhs, <span class="prelude-val">Some</span>(<span class="kw-2">&amp;</span>ty)) lower_expr(builder, lhs, <span class="prelude-val">Some</span>(<span class="kw-2">&amp;</span>ty))
@ -1339,39 +1522,49 @@
lower_expr(builder, rhs, type_hint) lower_expr(builder, rhs, type_hint)
}; };
<span class="kw">let </span>lhs_local = builder.add_local(Local::temp(lhs_ty.clone())); <span class="kw">let </span>lhs = <span class="kw">match </span>lhs {
<span class="kw">let </span>rhs_local = builder.add_local(Local::temp(rhs_ty.clone())); RValue::Use(op) =&gt; op,
<span class="kw">let </span>lhs_place = Place { lhs =&gt; {
local: lhs_local, <span class="kw">let </span>lhs_local = builder.add_local(Local::temp(lhs_ty.clone()));
projection: Default::default(), <span class="kw">let </span>lhs_place = Place {
}; local: lhs_local,
<span class="kw">let </span>rhs_place = Place { projection: Default::default(),
local: rhs_local, };
projection: Default::default(),
builder.statements.push(Statement {
span: <span class="prelude-val">None</span>,
kind: StatementKind::StorageLive(lhs_local),
});
builder.statements.push(Statement {
span: <span class="prelude-val">None</span>,
kind: StatementKind::Assign(lhs_place.clone(), lhs),
});
Operand::Move(lhs_place)
}
}; };
builder.statements.push(Statement { <span class="kw">let </span>rhs = <span class="kw">match </span>rhs {
span: <span class="prelude-val">None</span>, RValue::Use(op) =&gt; op,
kind: StatementKind::StorageLive(lhs_local), rhs =&gt; {
}); <span class="kw">let </span>rhs_local = builder.add_local(Local::temp(rhs_ty.clone()));
<span class="kw">let </span>rhs_place = Place {
local: rhs_local,
projection: Default::default(),
};
builder.statements.push(Statement { builder.statements.push(Statement {
span: <span class="prelude-val">None</span>, span: <span class="prelude-val">None</span>,
kind: StatementKind::Assign(lhs_place.clone(), lhs), kind: StatementKind::StorageLive(rhs_local),
}); });
builder.statements.push(Statement { builder.statements.push(Statement {
span: <span class="prelude-val">None</span>, span: <span class="prelude-val">None</span>,
kind: StatementKind::StorageLive(rhs_local), kind: StatementKind::Assign(rhs_place.clone(), rhs),
}); });
Operand::Move(rhs_place)
builder.statements.push(Statement { }
span: <span class="prelude-val">None</span>, };
kind: StatementKind::Assign(rhs_place.clone(), rhs),
});
<span class="kw">let </span>lhs = Operand::Move(lhs_place);
<span class="kw">let </span>rhs = Operand::Move(rhs_place);
<span class="kw">match </span>op { <span class="kw">match </span>op {
ast::BinaryOp::Arith(op, <span class="kw">_</span>) =&gt; ( ast::BinaryOp::Arith(op, <span class="kw">_</span>) =&gt; (
@ -1656,10 +1849,19 @@
.expect(<span class="string">"local not found"</span>); .expect(<span class="string">"local not found"</span>);
<span class="kw">let </span>ty = builder.body.locals[local].ty.kind.clone(); <span class="kw">let </span>ty = builder.body.locals[local].ty.kind.clone();
<span class="kw">let </span>projection = Vec::new();
<span class="kw">for </span>extra <span class="kw">in </span><span class="kw-2">&amp;</span>info.extra {
<span class="kw">match </span>extra {
ast::PathSegment::Field(<span class="kw">_</span>) =&gt; <span class="macro">todo!</span>(),
ast::PathSegment::Index { .. } =&gt; <span class="macro">todo!</span>(),
}
}
( (
Place { Place {
local, local,
projection: Default::default(), <span class="comment">// todo, field array deref projection: projection.into(), <span class="comment">// todo, field array deref
</span>}, </span>},
ty, ty,
) )
@ -1667,7 +1869,7 @@
<span class="attr">#[allow(clippy::only_used_in_recursion)] <span class="attr">#[allow(clippy::only_used_in_recursion)]
</span><span class="kw">pub fn </span>lower_type(ctx: <span class="kw-2">&amp;</span>BuildCtx, t: <span class="kw-2">&amp;</span>ast::Type) -&gt; ir::TypeInfo { </span><span class="kw">pub fn </span>lower_type(ctx: <span class="kw-2">&amp;</span>BuildCtx, t: <span class="kw-2">&amp;</span>ast::Type) -&gt; ir::TypeInfo {
<span class="kw">match </span>t.name.name.as_str() { <span class="kw">let </span>inner_ty = <span class="kw">match </span>t.name.name.as_str() {
<span class="string">"()" </span>=&gt; ir::TypeInfo { <span class="string">"()" </span>=&gt; ir::TypeInfo {
span: <span class="prelude-val">Some</span>(t.span), span: <span class="prelude-val">Some</span>(t.span),
kind: ir::TypeKind::Unit, kind: ir::TypeKind::Unit,
@ -1725,6 +1927,20 @@
kind: ir::TypeKind::Ptr(Box::new(lower_type(ctx, t.generics.first().unwrap()))), kind: ir::TypeKind::Ptr(Box::new(lower_type(ctx, t.generics.first().unwrap()))),
}, },
x =&gt; <span class="macro">todo!</span>(<span class="string">"{:?}"</span>, x), x =&gt; <span class="macro">todo!</span>(<span class="string">"{:?}"</span>, x),
};
<span class="kw">match </span>t.is_ref {
<span class="prelude-val">Some</span>(x) =&gt; ir::TypeInfo {
span: <span class="prelude-val">Some</span>(t.span),
kind: TypeKind::Ref(
<span class="kw">match </span>x {
ast::RefType::Not =&gt; <span class="bool-val">false</span>,
ast::RefType::Mut =&gt; <span class="bool-val">true</span>,
},
Box::new(inner_ty),
),
},
<span class="prelude-val">None </span>=&gt; inner_ty,
} }
} }
</code></pre></div></section></main></body></html> </code></pre></div></section></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

View file

@ -9,6 +9,7 @@
"color_spantrace":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"struct\" href=\"color_spantrace/struct.Theme.html\" title=\"struct color_spantrace::Theme\">Theme</a>"]], "color_spantrace":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"struct\" href=\"color_spantrace/struct.Theme.html\" title=\"struct color_spantrace::Theme\">Theme</a>"]],
"colorchoice":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"colorchoice/enum.ColorChoice.html\" title=\"enum colorchoice::ColorChoice\">ColorChoice</a>"]], "colorchoice":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"colorchoice/enum.ColorChoice.html\" title=\"enum colorchoice::ColorChoice\">ColorChoice</a>"]],
"concolor":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"concolor/enum.Stream.html\" title=\"enum concolor::Stream\">Stream</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"concolor/enum.ColorChoice.html\" title=\"enum concolor::ColorChoice\">ColorChoice</a>"]], "concolor":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"concolor/enum.Stream.html\" title=\"enum concolor::Stream\">Stream</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"concolor/enum.ColorChoice.html\" title=\"enum concolor::ColorChoice\">ColorChoice</a>"]],
"edlang_ast":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"edlang_ast/enum.RefType.html\" title=\"enum edlang_ast::RefType\">RefType</a>"]],
"edlang_ir":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"edlang_ir/enum.UnOp.html\" title=\"enum edlang_ir::UnOp\">UnOp</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"edlang_ir/enum.BinOp.html\" title=\"enum edlang_ir::BinOp\">BinOp</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"edlang_ir/enum.ConstValue.html\" title=\"enum edlang_ir::ConstValue\">ConstValue</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"struct\" href=\"edlang_ir/scalar_int/struct.ScalarInt.html\" title=\"struct edlang_ir::scalar_int::ScalarInt\">ScalarInt</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"edlang_ir/enum.LogicalOp.html\" title=\"enum edlang_ir::LogicalOp\">LogicalOp</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"struct\" href=\"edlang_ir/struct.DefId.html\" title=\"struct edlang_ir::DefId\">DefId</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"edlang_ir/enum.LocalKind.html\" title=\"enum edlang_ir::LocalKind\">LocalKind</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"edlang_ir/enum.PlaceElem.html\" title=\"enum edlang_ir::PlaceElem\">PlaceElem</a>"]], "edlang_ir":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"edlang_ir/enum.UnOp.html\" title=\"enum edlang_ir::UnOp\">UnOp</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"edlang_ir/enum.BinOp.html\" title=\"enum edlang_ir::BinOp\">BinOp</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"edlang_ir/enum.ConstValue.html\" title=\"enum edlang_ir::ConstValue\">ConstValue</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"struct\" href=\"edlang_ir/scalar_int/struct.ScalarInt.html\" title=\"struct edlang_ir::scalar_int::ScalarInt\">ScalarInt</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"edlang_ir/enum.LogicalOp.html\" title=\"enum edlang_ir::LogicalOp\">LogicalOp</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"struct\" href=\"edlang_ir/struct.DefId.html\" title=\"struct edlang_ir::DefId\">DefId</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"edlang_ir/enum.LocalKind.html\" title=\"enum edlang_ir::LocalKind\">LocalKind</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"edlang_ir/enum.PlaceElem.html\" title=\"enum edlang_ir::PlaceElem\">PlaceElem</a>"]],
"edlang_session":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"edlang_session/enum.DebugInfo.html\" title=\"enum edlang_session::DebugInfo\">DebugInfo</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"edlang_session/enum.OptLevel.html\" title=\"enum edlang_session::OptLevel\">OptLevel</a>"]], "edlang_session":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"edlang_session/enum.DebugInfo.html\" title=\"enum edlang_session::DebugInfo\">DebugInfo</a>"],["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"enum\" href=\"edlang_session/enum.OptLevel.html\" title=\"enum edlang_session::OptLevel\">OptLevel</a>"]],
"edlang_span":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"struct\" href=\"edlang_span/struct.Span.html\" title=\"struct edlang_span::Span\">Span</a>"]], "edlang_span":[["impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html\" title=\"trait core::marker::Copy\">Copy</a> for <a class=\"struct\" href=\"edlang_span/struct.Span.html\" title=\"struct edlang_span::Span\">Span</a>"]],

View file

@ -13,7 +13,7 @@
"color_spantrace":[["impl Freeze for <a class=\"struct\" href=\"color_spantrace/struct.Theme.html\" title=\"struct color_spantrace::Theme\">Theme</a>",1,["color_spantrace::Theme"]],["impl Freeze for <a class=\"struct\" href=\"color_spantrace/struct.InstallThemeError.html\" title=\"struct color_spantrace::InstallThemeError\">InstallThemeError</a>",1,["color_spantrace::InstallThemeError"]]], "color_spantrace":[["impl Freeze for <a class=\"struct\" href=\"color_spantrace/struct.Theme.html\" title=\"struct color_spantrace::Theme\">Theme</a>",1,["color_spantrace::Theme"]],["impl Freeze for <a class=\"struct\" href=\"color_spantrace/struct.InstallThemeError.html\" title=\"struct color_spantrace::InstallThemeError\">InstallThemeError</a>",1,["color_spantrace::InstallThemeError"]]],
"colorchoice":[["impl Freeze for <a class=\"enum\" href=\"colorchoice/enum.ColorChoice.html\" title=\"enum colorchoice::ColorChoice\">ColorChoice</a>",1,["colorchoice::ColorChoice"]]], "colorchoice":[["impl Freeze for <a class=\"enum\" href=\"colorchoice/enum.ColorChoice.html\" title=\"enum colorchoice::ColorChoice\">ColorChoice</a>",1,["colorchoice::ColorChoice"]]],
"concolor":[["impl Freeze for <a class=\"struct\" href=\"concolor/struct.Color.html\" title=\"struct concolor::Color\">Color</a>",1,["concolor::color::Color"]],["impl Freeze for <a class=\"enum\" href=\"concolor/enum.ColorChoice.html\" title=\"enum concolor::ColorChoice\">ColorChoice</a>",1,["concolor::choice::ColorChoice"]],["impl Freeze for <a class=\"enum\" href=\"concolor/enum.Stream.html\" title=\"enum concolor::Stream\">Stream</a>",1,["concolor::stream::Stream"]]], "concolor":[["impl Freeze for <a class=\"struct\" href=\"concolor/struct.Color.html\" title=\"struct concolor::Color\">Color</a>",1,["concolor::color::Color"]],["impl Freeze for <a class=\"enum\" href=\"concolor/enum.ColorChoice.html\" title=\"enum concolor::ColorChoice\">ColorChoice</a>",1,["concolor::choice::ColorChoice"]],["impl Freeze for <a class=\"enum\" href=\"concolor/enum.Stream.html\" title=\"enum concolor::Stream\">Stream</a>",1,["concolor::stream::Stream"]]],
"edlang_ast":[["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.Module.html\" title=\"struct edlang_ast::Module\">Module</a>",1,["edlang_ast::Module"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ast/enum.ModuleStatement.html\" title=\"enum edlang_ast::ModuleStatement\">ModuleStatement</a>",1,["edlang_ast::ModuleStatement"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.Import.html\" title=\"struct edlang_ast::Import\">Import</a>",1,["edlang_ast::Import"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.PathExpr.html\" title=\"struct edlang_ast::PathExpr\">PathExpr</a>",1,["edlang_ast::PathExpr"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ast/enum.PathSegment.html\" title=\"enum edlang_ast::PathSegment\">PathSegment</a>",1,["edlang_ast::PathSegment"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.Ident.html\" title=\"struct edlang_ast::Ident\">Ident</a>",1,["edlang_ast::Ident"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.Type.html\" title=\"struct edlang_ast::Type\">Type</a>",1,["edlang_ast::Type"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.FnParam.html\" title=\"struct edlang_ast::FnParam\">FnParam</a>",1,["edlang_ast::FnParam"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.Block.html\" title=\"struct edlang_ast::Block\">Block</a>",1,["edlang_ast::Block"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ast/enum.Statement.html\" title=\"enum edlang_ast::Statement\">Statement</a>",1,["edlang_ast::Statement"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.LetStmt.html\" title=\"struct edlang_ast::LetStmt\">LetStmt</a>",1,["edlang_ast::LetStmt"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.AssignStmt.html\" title=\"struct edlang_ast::AssignStmt\">AssignStmt</a>",1,["edlang_ast::AssignStmt"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.IfStmt.html\" title=\"struct edlang_ast::IfStmt\">IfStmt</a>",1,["edlang_ast::IfStmt"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.ForStmt.html\" title=\"struct edlang_ast::ForStmt\">ForStmt</a>",1,["edlang_ast::ForStmt"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.WhileStmt.html\" title=\"struct edlang_ast::WhileStmt\">WhileStmt</a>",1,["edlang_ast::WhileStmt"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.ReturnStmt.html\" title=\"struct edlang_ast::ReturnStmt\">ReturnStmt</a>",1,["edlang_ast::ReturnStmt"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.Function.html\" title=\"struct edlang_ast::Function\">Function</a>",1,["edlang_ast::Function"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.Constant.html\" title=\"struct edlang_ast::Constant\">Constant</a>",1,["edlang_ast::Constant"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.StructField.html\" title=\"struct edlang_ast::StructField\">StructField</a>",1,["edlang_ast::StructField"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.Struct.html\" title=\"struct edlang_ast::Struct\">Struct</a>",1,["edlang_ast::Struct"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ast/enum.Expression.html\" title=\"enum edlang_ast::Expression\">Expression</a>",1,["edlang_ast::Expression"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ast/enum.ValueExpr.html\" title=\"enum edlang_ast::ValueExpr\">ValueExpr</a>",1,["edlang_ast::ValueExpr"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.FnCallExpr.html\" title=\"struct edlang_ast::FnCallExpr\">FnCallExpr</a>",1,["edlang_ast::FnCallExpr"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ast/enum.UnaryOp.html\" title=\"enum edlang_ast::UnaryOp\">UnaryOp</a>",1,["edlang_ast::UnaryOp"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ast/enum.BinaryOp.html\" title=\"enum edlang_ast::BinaryOp\">BinaryOp</a>",1,["edlang_ast::BinaryOp"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ast/enum.ArithOp.html\" title=\"enum edlang_ast::ArithOp\">ArithOp</a>",1,["edlang_ast::ArithOp"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ast/enum.LogicOp.html\" title=\"enum edlang_ast::LogicOp\">LogicOp</a>",1,["edlang_ast::LogicOp"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ast/enum.CmpOp.html\" title=\"enum edlang_ast::CmpOp\">CmpOp</a>",1,["edlang_ast::CmpOp"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ast/enum.BitwiseOp.html\" title=\"enum edlang_ast::BitwiseOp\">BitwiseOp</a>",1,["edlang_ast::BitwiseOp"]]], "edlang_ast":[["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.Module.html\" title=\"struct edlang_ast::Module\">Module</a>",1,["edlang_ast::Module"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ast/enum.ModuleStatement.html\" title=\"enum edlang_ast::ModuleStatement\">ModuleStatement</a>",1,["edlang_ast::ModuleStatement"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.Import.html\" title=\"struct edlang_ast::Import\">Import</a>",1,["edlang_ast::Import"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.PathExpr.html\" title=\"struct edlang_ast::PathExpr\">PathExpr</a>",1,["edlang_ast::PathExpr"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ast/enum.PathSegment.html\" title=\"enum edlang_ast::PathSegment\">PathSegment</a>",1,["edlang_ast::PathSegment"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.Ident.html\" title=\"struct edlang_ast::Ident\">Ident</a>",1,["edlang_ast::Ident"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.Type.html\" title=\"struct edlang_ast::Type\">Type</a>",1,["edlang_ast::Type"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.FnParam.html\" title=\"struct edlang_ast::FnParam\">FnParam</a>",1,["edlang_ast::FnParam"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ast/enum.RefType.html\" title=\"enum edlang_ast::RefType\">RefType</a>",1,["edlang_ast::RefType"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.Block.html\" title=\"struct edlang_ast::Block\">Block</a>",1,["edlang_ast::Block"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ast/enum.Statement.html\" title=\"enum edlang_ast::Statement\">Statement</a>",1,["edlang_ast::Statement"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.LetStmt.html\" title=\"struct edlang_ast::LetStmt\">LetStmt</a>",1,["edlang_ast::LetStmt"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.AssignStmt.html\" title=\"struct edlang_ast::AssignStmt\">AssignStmt</a>",1,["edlang_ast::AssignStmt"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.IfStmt.html\" title=\"struct edlang_ast::IfStmt\">IfStmt</a>",1,["edlang_ast::IfStmt"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.ForStmt.html\" title=\"struct edlang_ast::ForStmt\">ForStmt</a>",1,["edlang_ast::ForStmt"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.WhileStmt.html\" title=\"struct edlang_ast::WhileStmt\">WhileStmt</a>",1,["edlang_ast::WhileStmt"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.ReturnStmt.html\" title=\"struct edlang_ast::ReturnStmt\">ReturnStmt</a>",1,["edlang_ast::ReturnStmt"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.Function.html\" title=\"struct edlang_ast::Function\">Function</a>",1,["edlang_ast::Function"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.Constant.html\" title=\"struct edlang_ast::Constant\">Constant</a>",1,["edlang_ast::Constant"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.StructField.html\" title=\"struct edlang_ast::StructField\">StructField</a>",1,["edlang_ast::StructField"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.Struct.html\" title=\"struct edlang_ast::Struct\">Struct</a>",1,["edlang_ast::Struct"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ast/enum.Expression.html\" title=\"enum edlang_ast::Expression\">Expression</a>",1,["edlang_ast::Expression"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ast/enum.ValueExpr.html\" title=\"enum edlang_ast::ValueExpr\">ValueExpr</a>",1,["edlang_ast::ValueExpr"]],["impl Freeze for <a class=\"struct\" href=\"edlang_ast/struct.FnCallExpr.html\" title=\"struct edlang_ast::FnCallExpr\">FnCallExpr</a>",1,["edlang_ast::FnCallExpr"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ast/enum.UnaryOp.html\" title=\"enum edlang_ast::UnaryOp\">UnaryOp</a>",1,["edlang_ast::UnaryOp"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ast/enum.BinaryOp.html\" title=\"enum edlang_ast::BinaryOp\">BinaryOp</a>",1,["edlang_ast::BinaryOp"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ast/enum.ArithOp.html\" title=\"enum edlang_ast::ArithOp\">ArithOp</a>",1,["edlang_ast::ArithOp"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ast/enum.LogicOp.html\" title=\"enum edlang_ast::LogicOp\">LogicOp</a>",1,["edlang_ast::LogicOp"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ast/enum.CmpOp.html\" title=\"enum edlang_ast::CmpOp\">CmpOp</a>",1,["edlang_ast::CmpOp"]],["impl Freeze for <a class=\"enum\" href=\"edlang_ast/enum.BitwiseOp.html\" title=\"enum edlang_ast::BitwiseOp\">BitwiseOp</a>",1,["edlang_ast::BitwiseOp"]]],
"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.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.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_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.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.UnaryOpParser.html\" title=\"struct edlang_parser::grammar::grammar::UnaryOpParser\">UnaryOpParser</a>",1,["edlang_parser::grammar::grammar::__parse__UnaryOp::UnaryOpParser"]]],

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