Skip to content

Commit f6ccc30

Browse files
committed
deploy: a6aa6fa
1 parent 6dee9ca commit f6ccc30

929 files changed

Lines changed: 1535 additions & 1461 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

leo_ast/enum.Expression.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141
</div><section id="variant.TupleAccess" class="variant"><a href="#variant.TupleAccess" class="anchor">§</a><h3 class="code-header">TupleAccess(<a class="struct" href="https://doc.rust-lang.org/1.91.1/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;<a class="struct" href="struct.TupleAccess.html" title="struct leo_ast::TupleAccess">TupleAccess</a>&gt;)</h3></section><div class="docblock"><p>A tuple access expression e.g., <code>foo.2</code>.</p>
4242
</div><section id="variant.Unary" class="variant"><a href="#variant.Unary" class="anchor">§</a><h3 class="code-header">Unary(<a class="struct" href="https://doc.rust-lang.org/1.91.1/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;<a class="struct" href="struct.UnaryExpression.html" title="struct leo_ast::UnaryExpression">UnaryExpression</a>&gt;)</h3></section><div class="docblock"><p>An unary expression.</p>
4343
</div><section id="variant.Unit" class="variant"><a href="#variant.Unit" class="anchor">§</a><h3 class="code-header">Unit(<a class="struct" href="struct.UnitExpression.html" title="struct leo_ast::UnitExpression">UnitExpression</a>)</h3></section><div class="docblock"><p>A unit expression e.g. <code>()</code></p>
44-
</div></div><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-Expression" class="impl"><a class="src rightside" href="../src/leo_ast/expressions/mod.rs.html#273-488">Source</a><a href="#impl-Expression" class="anchor">§</a><h3 class="code-header">impl <a class="enum" href="enum.Expression.html" title="enum leo_ast::Expression">Expression</a></h3></section></summary><div class="impl-items"><section id="method.precedence" class="method"><a class="src rightside" href="../src/leo_ast/expressions/mod.rs.html#274-298">Source</a><h4 class="code-header">pub(crate) fn <a href="#method.precedence" class="fn">precedence</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.91.1/std/primitive.u32.html">u32</a></h4></section><section id="method.associativity" class="method"><a class="src rightside" href="../src/leo_ast/expressions/mod.rs.html#300-302">Source</a><h4 class="code-header">pub(crate) fn <a href="#method.associativity" class="fn">associativity</a>(&amp;self) -&gt; <a class="enum" href="expressions/enum.Associativity.html" title="enum leo_ast::expressions::Associativity">Associativity</a></h4></section><details class="toggle method-toggle" open><summary><section id="method.as_u32" class="method"><a class="src rightside" href="../src/leo_ast/expressions/mod.rs.html#306-331">Source</a><h4 class="code-header">pub fn <a href="#method.as_u32" class="fn">as_u32</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.91.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.91.1/std/primitive.u32.html">u32</a>&gt;</h4></section></summary><div class="docblock"><p>Returns <code>self</code> as a known <code>u32</code> if possible. Otherwise, returns a <code>None</code>. This allows for large and/or signed
44+
</div></div><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-Expression" class="impl"><a class="src rightside" href="../src/leo_ast/expressions/mod.rs.html#273-500">Source</a><a href="#impl-Expression" class="anchor">§</a><h3 class="code-header">impl <a class="enum" href="enum.Expression.html" title="enum leo_ast::Expression">Expression</a></h3></section></summary><div class="impl-items"><section id="method.precedence" class="method"><a class="src rightside" href="../src/leo_ast/expressions/mod.rs.html#274-298">Source</a><h4 class="code-header">pub(crate) fn <a href="#method.precedence" class="fn">precedence</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.91.1/std/primitive.u32.html">u32</a></h4></section><section id="method.associativity" class="method"><a class="src rightside" href="../src/leo_ast/expressions/mod.rs.html#300-302">Source</a><h4 class="code-header">pub(crate) fn <a href="#method.associativity" class="fn">associativity</a>(&amp;self) -&gt; <a class="enum" href="expressions/enum.Associativity.html" title="enum leo_ast::expressions::Associativity">Associativity</a></h4></section><details class="toggle method-toggle" open><summary><section id="method.as_u32" class="method"><a class="src rightside" href="../src/leo_ast/expressions/mod.rs.html#306-331">Source</a><h4 class="code-header">pub fn <a href="#method.as_u32" class="fn">as_u32</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.91.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.91.1/std/primitive.u32.html">u32</a>&gt;</h4></section></summary><div class="docblock"><p>Returns <code>self</code> as a known <code>u32</code> if possible. Otherwise, returns a <code>None</code>. This allows for large and/or signed
4545
types but only if they can be safely cast to a <code>u32</code>.</p>
4646
</div></details><section id="method.is_none_expr" class="method"><a class="src rightside" href="../src/leo_ast/expressions/mod.rs.html#333-335">Source</a><h4 class="code-header">pub fn <a href="#method.is_none_expr" class="fn">is_none_expr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.91.1/std/primitive.bool.html">bool</a></h4></section><details class="toggle method-toggle" open><summary><section id="method.is_pure" class="method"><a class="src rightside" href="../src/leo_ast/expressions/mod.rs.html#338-380">Source</a><h4 class="code-header">pub fn <a href="#method.is_pure" class="fn">is_pure</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.91.1/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns true if we can confidently say evaluating this expression has no side effects, false otherwise</p>
47-
</div></details><details class="toggle method-toggle" open><summary><section id="method.zero" class="method"><a class="src rightside" href="../src/leo_ast/expressions/mod.rs.html#399-487">Source</a><h4 class="code-header">pub fn <a href="#method.zero" class="fn">zero</a>(
47+
</div></details><details class="toggle method-toggle" open><summary><section id="method.zero" class="method"><a class="src rightside" href="../src/leo_ast/expressions/mod.rs.html#399-499">Source</a><h4 class="code-header">pub fn <a href="#method.zero" class="fn">zero</a>(
4848
ty: &amp;<a class="enum" href="enum.Type.html" title="enum leo_ast::Type">Type</a>,
4949
span: <a class="struct" href="../leo_span/span/struct.Span.html" title="struct leo_span::span::Span">Span</a>,
5050
node_builder: &amp;<a class="struct" href="common/struct.NodeBuilder.html" title="struct leo_ast::common::NodeBuilder">NodeBuilder</a>,

leo_ast/expressions/enum.Expression.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141
</div><section id="variant.TupleAccess" class="variant"><a href="#variant.TupleAccess" class="anchor">§</a><h3 class="code-header">TupleAccess(<a class="struct" href="https://doc.rust-lang.org/1.91.1/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;<a class="struct" href="../struct.TupleAccess.html" title="struct leo_ast::TupleAccess">TupleAccess</a>&gt;)</h3></section><div class="docblock"><p>A tuple access expression e.g., <code>foo.2</code>.</p>
4242
</div><section id="variant.Unary" class="variant"><a href="#variant.Unary" class="anchor">§</a><h3 class="code-header">Unary(<a class="struct" href="https://doc.rust-lang.org/1.91.1/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;<a class="struct" href="../struct.UnaryExpression.html" title="struct leo_ast::UnaryExpression">UnaryExpression</a>&gt;)</h3></section><div class="docblock"><p>An unary expression.</p>
4343
</div><section id="variant.Unit" class="variant"><a href="#variant.Unit" class="anchor">§</a><h3 class="code-header">Unit(<a class="struct" href="../struct.UnitExpression.html" title="struct leo_ast::UnitExpression">UnitExpression</a>)</h3></section><div class="docblock"><p>A unit expression e.g. <code>()</code></p>
44-
</div></div><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-Expression" class="impl"><a class="src rightside" href="../../src/leo_ast/expressions/mod.rs.html#273-488">Source</a><a href="#impl-Expression" class="anchor">§</a><h3 class="code-header">impl <a class="enum" href="../enum.Expression.html" title="enum leo_ast::Expression">Expression</a></h3></section></summary><div class="impl-items"><section id="method.precedence" class="method"><a class="src rightside" href="../../src/leo_ast/expressions/mod.rs.html#274-298">Source</a><h4 class="code-header">pub(crate) fn <a href="#method.precedence" class="fn">precedence</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.91.1/std/primitive.u32.html">u32</a></h4></section><section id="method.associativity" class="method"><a class="src rightside" href="../../src/leo_ast/expressions/mod.rs.html#300-302">Source</a><h4 class="code-header">pub(crate) fn <a href="#method.associativity" class="fn">associativity</a>(&amp;self) -&gt; <a class="enum" href="enum.Associativity.html" title="enum leo_ast::expressions::Associativity">Associativity</a></h4></section><details class="toggle method-toggle" open><summary><section id="method.as_u32" class="method"><a class="src rightside" href="../../src/leo_ast/expressions/mod.rs.html#306-331">Source</a><h4 class="code-header">pub fn <a href="#method.as_u32" class="fn">as_u32</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.91.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.91.1/std/primitive.u32.html">u32</a>&gt;</h4></section></summary><div class="docblock"><p>Returns <code>self</code> as a known <code>u32</code> if possible. Otherwise, returns a <code>None</code>. This allows for large and/or signed
44+
</div></div><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-Expression" class="impl"><a class="src rightside" href="../../src/leo_ast/expressions/mod.rs.html#273-500">Source</a><a href="#impl-Expression" class="anchor">§</a><h3 class="code-header">impl <a class="enum" href="../enum.Expression.html" title="enum leo_ast::Expression">Expression</a></h3></section></summary><div class="impl-items"><section id="method.precedence" class="method"><a class="src rightside" href="../../src/leo_ast/expressions/mod.rs.html#274-298">Source</a><h4 class="code-header">pub(crate) fn <a href="#method.precedence" class="fn">precedence</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.91.1/std/primitive.u32.html">u32</a></h4></section><section id="method.associativity" class="method"><a class="src rightside" href="../../src/leo_ast/expressions/mod.rs.html#300-302">Source</a><h4 class="code-header">pub(crate) fn <a href="#method.associativity" class="fn">associativity</a>(&amp;self) -&gt; <a class="enum" href="enum.Associativity.html" title="enum leo_ast::expressions::Associativity">Associativity</a></h4></section><details class="toggle method-toggle" open><summary><section id="method.as_u32" class="method"><a class="src rightside" href="../../src/leo_ast/expressions/mod.rs.html#306-331">Source</a><h4 class="code-header">pub fn <a href="#method.as_u32" class="fn">as_u32</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.91.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.91.1/std/primitive.u32.html">u32</a>&gt;</h4></section></summary><div class="docblock"><p>Returns <code>self</code> as a known <code>u32</code> if possible. Otherwise, returns a <code>None</code>. This allows for large and/or signed
4545
types but only if they can be safely cast to a <code>u32</code>.</p>
4646
</div></details><section id="method.is_none_expr" class="method"><a class="src rightside" href="../../src/leo_ast/expressions/mod.rs.html#333-335">Source</a><h4 class="code-header">pub fn <a href="#method.is_none_expr" class="fn">is_none_expr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.91.1/std/primitive.bool.html">bool</a></h4></section><details class="toggle method-toggle" open><summary><section id="method.is_pure" class="method"><a class="src rightside" href="../../src/leo_ast/expressions/mod.rs.html#338-380">Source</a><h4 class="code-header">pub fn <a href="#method.is_pure" class="fn">is_pure</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.91.1/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns true if we can confidently say evaluating this expression has no side effects, false otherwise</p>
47-
</div></details><details class="toggle method-toggle" open><summary><section id="method.zero" class="method"><a class="src rightside" href="../../src/leo_ast/expressions/mod.rs.html#399-487">Source</a><h4 class="code-header">pub fn <a href="#method.zero" class="fn">zero</a>(
47+
</div></details><details class="toggle method-toggle" open><summary><section id="method.zero" class="method"><a class="src rightside" href="../../src/leo_ast/expressions/mod.rs.html#399-499">Source</a><h4 class="code-header">pub fn <a href="#method.zero" class="fn">zero</a>(
4848
ty: &amp;<a class="enum" href="../enum.Type.html" title="enum leo_ast::Type">Type</a>,
4949
span: <a class="struct" href="../../leo_span/span/struct.Span.html" title="struct leo_span::span::Span">Span</a>,
5050
node_builder: &amp;<a class="struct" href="../common/struct.NodeBuilder.html" title="struct leo_ast::common::NodeBuilder">NodeBuilder</a>,

0 commit comments

Comments
 (0)