Deploying to gh-pages from @ crystal-ameba/ameba@c9538220c6 🚀

This commit is contained in:
Sija 2023-10-09 21:48:57 +00:00
parent 6d3dd18c46
commit 250ec8ff6e
134 changed files with 1225 additions and 1190 deletions

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Crystal Docs 1.8.2">
<meta name="generator" content="Crystal Docs 1.9.2">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
@ -23,7 +23,7 @@
<svg class="hidden">
<symbol id="octicon-link" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path>
<path fill="currentColor" fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path>
</symbol>
</svg>
<input type="checkbox" id="sidebar-btn">
@ -791,7 +791,7 @@
<div class="main-content">
<h1 class="type-name">
<span class="kind">class</span> Ameba::AST::Assignment
<span class="kind">class</span> Ameba::<wbr>AST::<wbr>Assignment
</h1>
@ -836,7 +836,7 @@ Holds the assign node and the variable.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/7174e81/src/ameba/ast/variabling/assignment.cr#L7" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/c953822/src/ameba/ast/variabling/assignment.cr#L7" target="_blank">
ameba/ast/variabling/assignment.cr
</a>
@ -970,7 +970,7 @@ Holds the assign node and the variable.</p>
<li class="entry-summary">
<a href="#transformed%3F-instance-method" class="signature"><strong>#transformed?</strong></a>
<div class="summary"><p>Indicates whether the node is a transformed assignment by the compiler.</p></div>
<div class="summary"><p><span class="flag orange">TODO</span> Remove in a next release.</p></div>
</li>
@ -1038,7 +1038,7 @@ Holds the assign node and the variable.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7174e81/src/ameba/ast/variabling/assignment.cr#L31" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/c953822/src/ameba/ast/variabling/assignment.cr#L31" target="_blank">View source</a>]
</div>
</div>
@ -1073,7 +1073,7 @@ Holds the assign node and the variable.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7174e81/src/ameba/ast/variabling/assignment.cr#L17" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/c953822/src/ameba/ast/variabling/assignment.cr#L17" target="_blank">View source</a>]
</div>
</div>
@ -1089,7 +1089,7 @@ Holds the assign node and the variable.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7174e81/src/ameba/ast/variabling/assignment.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/c953822/src/ameba/ast/variabling/assignment.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1105,7 +1105,7 @@ Holds the assign node and the variable.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7174e81/src/ameba/ast/variabling/assignment.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/c953822/src/ameba/ast/variabling/assignment.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1128,7 +1128,7 @@ For example, this assignment is in a branch:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7174e81/src/ameba/ast/variabling/assignment.cr#L60" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/c953822/src/ameba/ast/variabling/assignment.cr#L60" target="_blank">View source</a>]
</div>
</div>
@ -1144,7 +1144,7 @@ For example, this assignment is in a branch:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7174e81/src/ameba/ast/variabling/assignment.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/c953822/src/ameba/ast/variabling/assignment.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -1160,7 +1160,7 @@ For example, this assignment is in a branch:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7174e81/src/ameba/ast/variabling/assignment.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/c953822/src/ameba/ast/variabling/assignment.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -1181,7 +1181,7 @@ For example, this assignment is in a branch:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7174e81/src/ameba/ast/variabling/assignment.cr#L11" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/c953822/src/ameba/ast/variabling/assignment.cr#L11" target="_blank">View source</a>]
</div>
</div>
@ -1204,7 +1204,7 @@ For example, this is an op assign:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7174e81/src/ameba/ast/variabling/assignment.cr#L50" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/c953822/src/ameba/ast/variabling/assignment.cr#L50" target="_blank">View source</a>]
</div>
</div>
@ -1220,7 +1220,7 @@ For example, this is an op assign:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7174e81/src/ameba/ast/variabling/assignment.cr#L8" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/c953822/src/ameba/ast/variabling/assignment.cr#L8" target="_blank">View source</a>]
</div>
</div>
@ -1236,7 +1236,7 @@ For example, this is an op assign:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7174e81/src/ameba/ast/variabling/assignment.cr#L8" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/c953822/src/ameba/ast/variabling/assignment.cr#L8" target="_blank">View source</a>]
</div>
</div>
@ -1252,7 +1252,7 @@ For example, this is an op assign:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7174e81/src/ameba/ast/variabling/assignment.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/c953822/src/ameba/ast/variabling/assignment.cr#L40" target="_blank">View source</a>]
</div>
</div>
@ -1273,7 +1273,7 @@ For example, this is an op assign:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7174e81/src/ameba/ast/variabling/assignment.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/c953822/src/ameba/ast/variabling/assignment.cr#L20" target="_blank">View source</a>]
</div>
</div>
@ -1294,7 +1294,7 @@ For example, this is an op assign:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7174e81/src/ameba/ast/variabling/assignment.cr#L65" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/c953822/src/ameba/ast/variabling/assignment.cr#L65" target="_blank">View source</a>]
</div>
</div>
@ -1310,7 +1310,7 @@ For example, this is an op assign:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7174e81/src/ameba/ast/variabling/assignment.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/c953822/src/ameba/ast/variabling/assignment.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1326,7 +1326,7 @@ For example, this is an op assign:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7174e81/src/ameba/ast/variabling/assignment.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/c953822/src/ameba/ast/variabling/assignment.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1341,7 +1341,9 @@ For example, this is an op assign:</p>
<div class="doc">
<p>Indicates whether the node is a transformed assignment by the compiler.
<p><span class="flag orange">TODO</span> Remove in a next release. BC for crystal &lt;= 1.9.
refs https://github.com/crystal-ameba/ameba/pull/407</p>
<p>Indicates whether the node is a transformed assignment by the compiler.
i.e.</p>
<pre><code class="language-crystal">collection.each <span class="k">do</span> <span class="o">|</span>(a, b)<span class="o">|</span>
puts b
@ -1357,7 +1359,7 @@ i.e.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7174e81/src/ameba/ast/variabling/assignment.cr#L97" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/c953822/src/ameba/ast/variabling/assignment.cr#L100" target="_blank">View source</a>]
</div>
</div>
@ -1378,7 +1380,7 @@ i.e.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/7174e81/src/ameba/ast/variabling/assignment.cr#L14" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/c953822/src/ameba/ast/variabling/assignment.cr#L14" target="_blank">View source</a>]
</div>
</div>