Deploying to gh-pages from @ 4533e52aa5 🚀

This commit is contained in:
Sija 2022-12-11 12:28:13 +00:00
parent 2350a89133
commit 76aad1519b
125 changed files with 933 additions and 986 deletions

View file

@ -809,70 +809,70 @@ config.files <span class="o">=</span> file_paths
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba.cr#L25" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba.cr#L25" target="_blank">
ameba.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/glob_utils.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/glob_utils.cr#L1" target="_blank">
ameba/glob_utils.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/inline_comments.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/inline_comments.cr#L1" target="_blank">
ameba/inline_comments.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/issue.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/issue.cr#L1" target="_blank">
ameba/issue.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/reportable.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/reportable.cr#L1" target="_blank">
ameba/reportable.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/runner.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/runner.cr#L1" target="_blank">
ameba/runner.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/severity.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/severity.cr#L3" target="_blank">
ameba/severity.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/source.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/source.cr#L1" target="_blank">
ameba/source.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/spec/support.cr#L7" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/spec/support.cr#L7" target="_blank">
ameba/spec/support.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/tokenizer.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/tokenizer.cr#L3" target="_blank">
ameba/tokenizer.cr
</a>
@ -967,7 +967,7 @@ Can be configured via <code>config</code> parameter.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba.cr#L39" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba.cr#L39" target="_blank">View source</a>]
</div>
</div>

View file

@ -787,112 +787,112 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/branch.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/branch.cr#L1" target="_blank">
ameba/ast/branch.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/branchable.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/branchable.cr#L3" target="_blank">
ameba/ast/branchable.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/flow_expression.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/flow_expression.cr#L3" target="_blank">
ameba/ast/flow_expression.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L3" target="_blank">
ameba/ast/scope.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/argument.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/argument.cr#L1" target="_blank">
ameba/ast/variabling/argument.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/assignment.cr#L4" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/assignment.cr#L4" target="_blank">
ameba/ast/variabling/assignment.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/ivariable.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/ivariable.cr#L1" target="_blank">
ameba/ast/variabling/ivariable.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/reference.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/reference.cr#L3" target="_blank">
ameba/ast/variabling/reference.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/variable.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/variable.cr#L1" target="_blank">
ameba/ast/variabling/variable.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/base_visitor.cr#L4" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/base_visitor.cr#L4" target="_blank">
ameba/ast/visitors/base_visitor.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/counting_visitor.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/counting_visitor.cr#L1" target="_blank">
ameba/ast/visitors/counting_visitor.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/flow_expression_visitor.cr#L4" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/flow_expression_visitor.cr#L4" target="_blank">
ameba/ast/visitors/flow_expression_visitor.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/node_visitor.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/node_visitor.cr#L3" target="_blank">
ameba/ast/visitors/node_visitor.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/redundant_control_expression_visitor.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/redundant_control_expression_visitor.cr#L1" target="_blank">
ameba/ast/visitors/redundant_control_expression_visitor.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/scope_visitor.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/scope_visitor.cr#L3" target="_blank">
ameba/ast/visitors/scope_visitor.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/top_level_nodes_visitor.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/top_level_nodes_visitor.cr#L1" target="_blank">
ameba/ast/visitors/top_level_nodes_visitor.cr
</a>

View file

@ -797,7 +797,7 @@ Holds the reference to the variable, thus to scope.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/argument.cr#L15" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/argument.cr#L15" target="_blank">
ameba/ast/variabling/argument.cr
</a>
@ -854,7 +854,7 @@ Holds the reference to the variable, thus to scope.</p>
<li class="entry-summary">
<a href="#ignored%3F-instance-method" class="signature"><strong>#ignored?</strong></a>
<div class="summary"><p>Returns true if the name starts with '_', false if not.</p></div>
<div class="summary"><p>Returns <code>true</code> if the name starts with '_', <code>false</code> if not.</p></div>
</li>
@ -956,7 +956,7 @@ Holds the reference to the variable, thus to scope.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/argument.cr#L31" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/argument.cr#L31" target="_blank">View source</a>]
</div>
</div>
@ -986,7 +986,7 @@ Holds the reference to the variable, thus to scope.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/argument.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/argument.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -1002,7 +1002,7 @@ Holds the reference to the variable, thus to scope.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/argument.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/argument.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -1017,13 +1017,13 @@ Holds the reference to the variable, thus to scope.</p>
<div class="doc">
<p>Returns true if the name starts with '_', false if not.</p>
<p>Returns <code>true</code> if the name starts with '_', <code>false</code> if not.</p>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/argument.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/argument.cr#L35" target="_blank">View source</a>]
</div>
</div>
@ -1039,7 +1039,7 @@ Holds the reference to the variable, thus to scope.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/argument.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/argument.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1055,7 +1055,7 @@ Holds the reference to the variable, thus to scope.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/argument.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/argument.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1076,7 +1076,7 @@ Holds the reference to the variable, thus to scope.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/argument.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/argument.cr#L40" target="_blank">View source</a>]
</div>
</div>
@ -1097,7 +1097,7 @@ Holds the reference to the variable, thus to scope.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/argument.cr#L17" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/argument.cr#L17" target="_blank">View source</a>]
</div>
</div>
@ -1113,7 +1113,7 @@ Holds the reference to the variable, thus to scope.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/argument.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/argument.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1129,7 +1129,7 @@ Holds the reference to the variable, thus to scope.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/argument.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/argument.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1150,7 +1150,7 @@ Holds the reference to the variable, thus to scope.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/argument.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/argument.cr#L20" target="_blank">View source</a>]
</div>
</div>

View file

@ -790,7 +790,7 @@ Holds the assign node and the variable.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/assignment.cr#L7" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/assignment.cr#L7" target="_blank">
ameba/ast/variabling/assignment.cr
</a>
@ -854,7 +854,7 @@ Holds the assign node and the variable.</p>
<li class="entry-summary">
<a href="#in_branch%3F-instance-method" class="signature"><strong>#in_branch?</strong></a>
<div class="summary"><p>Returns true if this assignment is in a branch, false if not.</p></div>
<div class="summary"><p>Returns <code>true</code> if this assignment is in a branch, <code>false</code> if not.</p></div>
</li>
@ -878,7 +878,7 @@ Holds the assign node and the variable.</p>
<li class="entry-summary">
<a href="#op_assign%3F-instance-method" class="signature"><strong>#op_assign?</strong></a>
<div class="summary"><p>Returns true if this assignment is an op assign, false if not.</p></div>
<div class="summary"><p>Returns <code>true</code> if this assignment is an op assign, <code>false</code> if not.</p></div>
</li>
@ -992,7 +992,7 @@ Holds the assign node and the variable.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/assignment.cr#L31" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/assignment.cr#L31" target="_blank">View source</a>]
</div>
</div>
@ -1027,7 +1027,7 @@ Holds the assign node and the variable.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/assignment.cr#L17" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/assignment.cr#L17" target="_blank">View source</a>]
</div>
</div>
@ -1043,7 +1043,7 @@ Holds the assign node and the variable.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/assignment.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/assignment.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1059,7 +1059,7 @@ Holds the assign node and the variable.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/assignment.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/assignment.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1074,7 +1074,7 @@ Holds the assign node and the variable.</p>
<div class="doc">
<p>Returns true if this assignment is in a branch, false if not.
<p>Returns <code>true</code> if this assignment is in a branch, <code>false</code> if not.
For example, this assignment is in a branch:</p>
<pre><code class="language-crystal">a <span class="o">=</span> <span class="n">1</span> <span class="k">if</span> a.<span class="k">nil?</span></code></pre>
</div>
@ -1082,7 +1082,7 @@ For example, this assignment is in a branch:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/assignment.cr#L60" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/assignment.cr#L60" target="_blank">View source</a>]
</div>
</div>
@ -1098,7 +1098,7 @@ For example, this assignment is in a branch:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/assignment.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/assignment.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -1114,7 +1114,7 @@ For example, this assignment is in a branch:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/assignment.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/assignment.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -1135,7 +1135,7 @@ For example, this assignment is in a branch:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/assignment.cr#L11" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/assignment.cr#L11" target="_blank">View source</a>]
</div>
</div>
@ -1150,7 +1150,7 @@ For example, this assignment is in a branch:</p>
<div class="doc">
<p>Returns true if this assignment is an op assign, false if not.
<p>Returns <code>true</code> if this assignment is an op assign, <code>false</code> if not.
For example, this is an op assign:</p>
<pre><code class="language-crystal">a <span class="o">||=</span> <span class="n">1</span></code></pre>
</div>
@ -1158,7 +1158,7 @@ For example, this is an op assign:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/assignment.cr#L50" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/assignment.cr#L50" target="_blank">View source</a>]
</div>
</div>
@ -1174,7 +1174,7 @@ For example, this is an op assign:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/assignment.cr#L8" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/assignment.cr#L8" target="_blank">View source</a>]
</div>
</div>
@ -1190,7 +1190,7 @@ For example, this is an op assign:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/assignment.cr#L8" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/assignment.cr#L8" target="_blank">View source</a>]
</div>
</div>
@ -1206,7 +1206,7 @@ For example, this is an op assign:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/assignment.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/assignment.cr#L40" target="_blank">View source</a>]
</div>
</div>
@ -1227,7 +1227,7 @@ For example, this is an op assign:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/assignment.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/assignment.cr#L20" target="_blank">View source</a>]
</div>
</div>
@ -1248,7 +1248,7 @@ For example, this is an op assign:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/assignment.cr#L65" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/assignment.cr#L65" target="_blank">View source</a>]
</div>
</div>
@ -1264,7 +1264,7 @@ For example, this is an op assign:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/assignment.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/assignment.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1280,7 +1280,7 @@ For example, this is an op assign:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/assignment.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/assignment.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1311,7 +1311,7 @@ i.e.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/assignment.cr#L97" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/assignment.cr#L97" target="_blank">View source</a>]
</div>
</div>
@ -1332,7 +1332,7 @@ i.e.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/assignment.cr#L14" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/assignment.cr#L14" target="_blank">View source</a>]
</div>
</div>

View file

@ -807,7 +807,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/base_visitor.cr#L6" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/base_visitor.cr#L6" target="_blank">
ameba/ast/visitors/base_visitor.cr
</a>
@ -925,7 +925,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/base_visitor.cr#L18" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/base_visitor.cr#L18" target="_blank">View source</a>]
</div>
</div>
@ -955,13 +955,13 @@
<div class="doc">
<p>A main visit method that accepts <code>Crystal::ASTNode</code>.
Returns true meaning all child nodes will be traversed.</p>
Returns <code>true</code>, meaning all child nodes will be traversed.</p>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/base_visitor.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/base_visitor.cr#L24" target="_blank">View source</a>]
</div>
</div>

View file

@ -797,7 +797,7 @@ For example, the branchable if statement contains 3 branches:</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/branch.cr#L14" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/branch.cr#L14" target="_blank">
ameba/ast/branch.cr
</a>
@ -894,7 +894,7 @@ For example, the branchable if statement contains 3 branches:</p>
<li class="entry-summary">
<a href="#in_loop%3F-instance-method" class="signature"><strong>#in_loop?</strong></a>
<div class="summary"><p>Returns true if current branch is in a loop, false - otherwise.</p></div>
<div class="summary"><p>Returns <code>true</code> if current branch is in a loop, <code>false</code> - otherwise.</p></div>
</li>
@ -989,7 +989,7 @@ For example, the branchable if statement contains 3 branches:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/branch.cr#L32" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/branch.cr#L32" target="_blank">View source</a>]
</div>
</div>
@ -1023,7 +1023,7 @@ For example, the branchable if statement contains 3 branches:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/branch.cr#L64" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/branch.cr#L64" target="_blank">View source</a>]
</div>
</div>
@ -1045,7 +1045,7 @@ For example, the branchable if statement contains 3 branches:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/branch.cr#L55" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/branch.cr#L55" target="_blank">View source</a>]
</div>
</div>
@ -1096,7 +1096,7 @@ For example, the branchable if statement contains 3 branches:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/branch.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/branch.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -1112,7 +1112,7 @@ For example, the branchable if statement contains 3 branches:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/branch.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/branch.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -1150,7 +1150,7 @@ For example, the branchable if statement contains 3 branches:</p>
<div class="doc">
<p>Returns true if current branch is in a loop, false - otherwise.
<p>Returns <code>true</code> if current branch is in a loop, <code>false</code> - otherwise.
For example, this branch is in a loop:</p>
<pre><code class="language-crystal"><span class="k">while</span> <span class="n">true</span>
handle_input <span class="c"># this branch is in a loop</span>
@ -1163,7 +1163,7 @@ For example, this branch is in a loop:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/branch.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/branch.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1179,7 +1179,7 @@ For example, this branch is in a loop:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/branch.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/branch.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1195,7 +1195,7 @@ For example, this branch is in a loop:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/branch.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/branch.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1216,7 +1216,7 @@ For example, this branch is in a loop:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/branch.cr#L16" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/branch.cr#L16" target="_blank">View source</a>]
</div>
</div>
@ -1237,7 +1237,7 @@ For example, this branch is in a loop:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/branch.cr#L19" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/branch.cr#L19" target="_blank">View source</a>]
</div>
</div>
@ -1253,7 +1253,7 @@ For example, this branch is in a loop:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/branch.cr#L21" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/branch.cr#L21" target="_blank">View source</a>]
</div>
</div>
@ -1269,7 +1269,7 @@ For example, this branch is in a loop:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/branch.cr#L21" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/branch.cr#L21" target="_blank">View source</a>]
</div>
</div>

View file

@ -810,7 +810,7 @@ are branchables.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/branchable.cr#L15" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/branchable.cr#L15" target="_blank">
ameba/ast/branchable.cr
</a>
@ -882,7 +882,7 @@ are branchables.</p>
<li class="entry-summary">
<a href="#loop%3F-instance-method" class="signature"><strong>#loop?</strong></a>
<div class="summary"><p>Returns true if this node or one of the parent branchables is a loop, false otherwise.</p></div>
<div class="summary"><p>Returns <code>true</code> if this node or one of the parent branchables is a loop, <code>false</code> otherwise.</p></div>
</li>
@ -933,8 +933,8 @@ are branchables.</p>
control_exp_code</a>,
<a href="../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -953,8 +953,8 @@ are branchables.</p>
flow_expression?</a>,
<a href="../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -998,8 +998,8 @@ are branchables.</p>
source_between</a>,
<a href="../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1061,7 +1061,7 @@ are branchables.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/branchable.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/branchable.cr#L35" target="_blank">View source</a>]
</div>
</div>
@ -1091,7 +1091,7 @@ are branchables.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/branchable.cr#L18" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/branchable.cr#L18" target="_blank">View source</a>]
</div>
</div>
@ -1107,7 +1107,7 @@ are branchables.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/branchable.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/branchable.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1123,7 +1123,7 @@ are branchables.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/branchable.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/branchable.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1139,7 +1139,7 @@ are branchables.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/branchable.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/branchable.cr#L27" target="_blank">View source</a>]
</div>
</div>
@ -1155,7 +1155,7 @@ are branchables.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/branchable.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/branchable.cr#L27" target="_blank">View source</a>]
</div>
</div>
@ -1170,13 +1170,14 @@ are branchables.</p>
<div class="doc">
<p>Returns true if this node or one of the parent branchables is a loop, false otherwise.</p>
<p>Returns <code>true</code> if this node or one of the parent branchables is a loop,
<code>false</code> otherwise.</p>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/branchable.cr#L39" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/branchable.cr#L40" target="_blank">View source</a>]
</div>
</div>
@ -1197,7 +1198,7 @@ are branchables.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/branchable.cr#L21" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/branchable.cr#L21" target="_blank">View source</a>]
</div>
</div>
@ -1218,7 +1219,7 @@ are branchables.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/branchable.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/branchable.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1234,7 +1235,7 @@ are branchables.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/branchable.cr#L26" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/branchable.cr#L26" target="_blank">View source</a>]
</div>
</div>
@ -1250,7 +1251,7 @@ are branchables.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/branchable.cr#L26" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/branchable.cr#L26" target="_blank">View source</a>]
</div>
</div>

View file

@ -789,7 +789,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/counting_visitor.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/counting_visitor.cr#L3" target="_blank">
ameba/ast/visitors/counting_visitor.cr
</a>
@ -935,7 +935,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/counting_visitor.cr#L9" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/counting_visitor.cr#L9" target="_blank">View source</a>]
</div>
</div>
@ -970,7 +970,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/counting_visitor.cr#L19" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/counting_visitor.cr#L19" target="_blank">View source</a>]
</div>
</div>
@ -986,7 +986,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/counting_visitor.cr#L6" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/counting_visitor.cr#L6" target="_blank">View source</a>]
</div>
</div>
@ -1002,7 +1002,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/counting_visitor.cr#L45" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/counting_visitor.cr#L45" target="_blank">View source</a>]
</div>
</div>

View file

@ -812,7 +812,7 @@ a parent node, which allows easily search through the related statement
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/flow_expression.cr#L18" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/flow_expression.cr#L18" target="_blank">
ameba/ast/flow_expression.cr
</a>
@ -930,8 +930,8 @@ a parent node, which allows easily search through the related statement
control_exp_code</a>,
<a href="../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -950,8 +950,8 @@ a parent node, which allows easily search through the related statement
flow_expression?</a>,
<a href="../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -995,8 +995,8 @@ a parent node, which allows easily search through the related statement
source_between</a>,
<a href="../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1058,7 +1058,7 @@ a parent node, which allows easily search through the related statement
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/flow_expression.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/flow_expression.cr#L36" target="_blank">View source</a>]
</div>
</div>
@ -1088,7 +1088,7 @@ a parent node, which allows easily search through the related statement
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/flow_expression.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/flow_expression.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1104,7 +1104,7 @@ a parent node, which allows easily search through the related statement
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/flow_expression.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/flow_expression.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1125,7 +1125,7 @@ a parent node, which allows easily search through the related statement
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/flow_expression.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/flow_expression.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1141,7 +1141,7 @@ a parent node, which allows easily search through the related statement
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/flow_expression.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/flow_expression.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1157,7 +1157,7 @@ a parent node, which allows easily search through the related statement
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/flow_expression.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/flow_expression.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1178,7 +1178,7 @@ a parent node, which allows easily search through the related statement
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/flow_expression.cr#L25" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/flow_expression.cr#L25" target="_blank">View source</a>]
</div>
</div>
@ -1194,7 +1194,7 @@ a parent node, which allows easily search through the related statement
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/flow_expression.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/flow_expression.cr#L27" target="_blank">View source</a>]
</div>
</div>
@ -1210,7 +1210,7 @@ a parent node, which allows easily search through the related statement
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/flow_expression.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/flow_expression.cr#L27" target="_blank">View source</a>]
</div>
</div>
@ -1238,7 +1238,7 @@ For example:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/flow_expression.cr#L50" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/flow_expression.cr#L50" target="_blank">View source</a>]
</div>
</div>

View file

@ -803,7 +803,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/flow_expression_visitor.cr#L6" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/flow_expression_visitor.cr#L6" target="_blank">
ameba/ast/visitors/flow_expression_visitor.cr
</a>
@ -858,8 +858,8 @@
control_exp_code</a>,
<a href="../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -878,8 +878,8 @@
flow_expression?</a>,
<a href="../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -923,8 +923,8 @@
source_between</a>,
<a href="../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1023,7 +1023,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/flow_expression_visitor.cr#L12" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/flow_expression_visitor.cr#L12" target="_blank">View source</a>]
</div>
</div>

View file

@ -778,7 +778,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/ivariable.cr#L2" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/ivariable.cr#L2" target="_blank">
ameba/ast/variabling/ivariable.cr
</a>
@ -916,7 +916,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/ivariable.cr#L10" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/ivariable.cr#L10" target="_blank">View source</a>]
</div>
</div>
@ -946,7 +946,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/ivariable.cr#L6" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/ivariable.cr#L6" target="_blank">View source</a>]
</div>
</div>
@ -962,7 +962,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/ivariable.cr#L6" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/ivariable.cr#L6" target="_blank">View source</a>]
</div>
</div>
@ -978,7 +978,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/ivariable.cr#L5" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/ivariable.cr#L5" target="_blank">View source</a>]
</div>
</div>
@ -994,7 +994,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/ivariable.cr#L5" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/ivariable.cr#L5" target="_blank">View source</a>]
</div>
</div>
@ -1010,7 +1010,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/ivariable.cr#L7" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/ivariable.cr#L7" target="_blank">View source</a>]
</div>
</div>
@ -1026,7 +1026,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/ivariable.cr#L7" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/ivariable.cr#L7" target="_blank">View source</a>]
</div>
</div>
@ -1042,7 +1042,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/ivariable.cr#L3" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/ivariable.cr#L3" target="_blank">View source</a>]
</div>
</div>
@ -1058,7 +1058,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/ivariable.cr#L8" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/ivariable.cr#L8" target="_blank">View source</a>]
</div>
</div>
@ -1074,7 +1074,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/ivariable.cr#L8" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/ivariable.cr#L8" target="_blank">View source</a>]
</div>
</div>

View file

@ -791,7 +791,7 @@ to be inspected by rules.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/node_visitor.cr#L38" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/node_visitor.cr#L38" target="_blank">
ameba/ast/visitors/node_visitor.cr
</a>
@ -1095,7 +1095,7 @@ to be inspected by rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/node_visitor.cr#L41" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/node_visitor.cr#L41" target="_blank">View source</a>]
</div>
</div>
@ -1132,7 +1132,7 @@ to be inspected by rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1155,7 +1155,7 @@ to be inspected by rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1178,7 +1178,7 @@ to be inspected by rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1201,7 +1201,7 @@ to be inspected by rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1224,7 +1224,7 @@ to be inspected by rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1247,7 +1247,7 @@ to be inspected by rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1270,7 +1270,7 @@ to be inspected by rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1293,7 +1293,7 @@ to be inspected by rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1316,7 +1316,7 @@ to be inspected by rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1339,7 +1339,7 @@ to be inspected by rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1362,7 +1362,7 @@ to be inspected by rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1385,7 +1385,7 @@ to be inspected by rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1408,7 +1408,7 @@ to be inspected by rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1431,7 +1431,7 @@ to be inspected by rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1454,7 +1454,7 @@ to be inspected by rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1477,7 +1477,7 @@ to be inspected by rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1500,7 +1500,7 @@ to be inspected by rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1523,7 +1523,7 @@ to be inspected by rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1546,7 +1546,7 @@ to be inspected by rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1569,7 +1569,7 @@ to be inspected by rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1592,7 +1592,7 @@ to be inspected by rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1615,7 +1615,7 @@ to be inspected by rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1638,7 +1638,7 @@ to be inspected by rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1661,7 +1661,7 @@ to be inspected by rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/node_visitor.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1677,7 +1677,7 @@ to be inspected by rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/node_visitor.cr#L59" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/node_visitor.cr#L59" target="_blank">View source</a>]
</div>
</div>

View file

@ -791,7 +791,7 @@ is reached.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/redundant_control_expression_visitor.cr#L5" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/redundant_control_expression_visitor.cr#L5" target="_blank">
ameba/ast/visitors/redundant_control_expression_visitor.cr
</a>
@ -905,7 +905,7 @@ is reached.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/redundant_control_expression_visitor.cr#L15" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/redundant_control_expression_visitor.cr#L15" target="_blank">View source</a>]
</div>
</div>
@ -940,7 +940,7 @@ is reached.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/redundant_control_expression_visitor.cr#L13" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/redundant_control_expression_visitor.cr#L13" target="_blank">View source</a>]
</div>
</div>
@ -961,7 +961,7 @@ is reached.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/redundant_control_expression_visitor.cr#L7" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/redundant_control_expression_visitor.cr#L7" target="_blank">View source</a>]
</div>
</div>
@ -982,7 +982,7 @@ is reached.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/redundant_control_expression_visitor.cr#L10" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/redundant_control_expression_visitor.cr#L10" target="_blank">View source</a>]
</div>
</div>

View file

@ -791,7 +791,7 @@ the variable from its reference.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/reference.cr#L7" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/reference.cr#L7" target="_blank">
ameba/ast/variabling/reference.cr
</a>
@ -1004,7 +1004,7 @@ the variable from its reference.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/reference.cr#L8" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/reference.cr#L8" target="_blank">View source</a>]
</div>
</div>
@ -1020,7 +1020,7 @@ the variable from its reference.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/reference.cr#L8" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/reference.cr#L8" target="_blank">View source</a>]
</div>
</div>

View file

@ -790,7 +790,7 @@ This is where the local variables belong to.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L6" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L6" target="_blank">
ameba/ast/scope.cr
</a>
@ -865,7 +865,7 @@ This is where the local variables belong to.</p>
<li class="entry-summary">
<a href="#arg%3F%28var%29-instance-method" class="signature"><strong>#arg?</strong>(var)</a>
<div class="summary"><p>Returns true if var is an argument in current scope, <code>false</code> otherwise.</p></div>
<div class="summary"><p>Returns <code>true</code> if var is an argument in current scope, <code>false</code> otherwise.</p></div>
</li>
@ -990,7 +990,7 @@ This is where the local variables belong to.</p>
<li class="entry-summary">
<a href="#references%3F%28variable%3AVariable%2Ccheck_inner_scopes%3Dtrue%29-instance-method" class="signature"><strong>#references?</strong>(variable : Variable, check_inner_scopes = <span class="n">true</span>)</a>
<div class="summary"><p>Returns true if current scope (or any of inner scopes) references variable, <code>false</code> otherwise.</p></div>
<div class="summary"><p>Returns <code>true</code> if current scope (or any of inner scopes) references variable, <code>false</code> otherwise.</p></div>
</li>
@ -1089,7 +1089,7 @@ This is where the local variables belong to.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L39" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L39" target="_blank">View source</a>]
</div>
</div>
@ -1149,7 +1149,7 @@ scope.add_argument(arg_node)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L59" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L59" target="_blank">View source</a>]
</div>
</div>
@ -1172,7 +1172,7 @@ scope.add_ivariable(ivar_node)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L70" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L70" target="_blank">View source</a>]
</div>
</div>
@ -1195,7 +1195,7 @@ scope.add_variable(var_node)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L49" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L49" target="_blank">View source</a>]
</div>
</div>
@ -1210,13 +1210,13 @@ scope.add_variable(var_node)</code></pre>
<div class="doc">
<p>Returns true if var is an argument in current scope, <code>false</code> otherwise.</p>
<p>Returns <code>true</code> if var is an argument in current scope, <code>false</code> otherwise.</p>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L157" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L157" target="_blank">View source</a>]
</div>
</div>
@ -1237,7 +1237,7 @@ scope.add_variable(var_node)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L14" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L14" target="_blank">View source</a>]
</div>
</div>
@ -1260,7 +1260,7 @@ scope.assign_variable(var_name, assign_node)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L90" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L90" target="_blank">View source</a>]
</div>
</div>
@ -1281,7 +1281,7 @@ scope.assign_variable(var_name, assign_node)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L121" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L121" target="_blank">View source</a>]
</div>
</div>
@ -1303,7 +1303,7 @@ scope.assign_variable(var_name, assign_node)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L96" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L96" target="_blank">View source</a>]
</div>
</div>
@ -1324,7 +1324,7 @@ scope.assign_variable(var_name, assign_node)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L147" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L147" target="_blank">View source</a>]
</div>
</div>
@ -1340,7 +1340,7 @@ scope.assign_variable(var_name, assign_node)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1356,7 +1356,7 @@ scope.assign_variable(var_name, assign_node)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1378,7 +1378,7 @@ the same Crystal node as <code>@node</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L176" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L176" target="_blank">View source</a>]
</div>
</div>
@ -1401,7 +1401,7 @@ scope.find_variable(<span class="s">&quot;foo&quot;</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L80" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L80" target="_blank">View source</a>]
</div>
</div>
@ -1445,7 +1445,7 @@ scope.find_variable(<span class="s">&quot;foo&quot;</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L115" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L115" target="_blank">View source</a>]
</div>
</div>
@ -1466,7 +1466,7 @@ scope.find_variable(<span class="s">&quot;foo&quot;</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -1487,7 +1487,7 @@ scope.find_variable(<span class="s">&quot;foo&quot;</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L17" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L17" target="_blank">View source</a>]
</div>
</div>
@ -1503,7 +1503,7 @@ scope.find_variable(<span class="s">&quot;foo&quot;</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1519,7 +1519,7 @@ scope.find_variable(<span class="s">&quot;foo&quot;</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1540,7 +1540,7 @@ scope.find_variable(<span class="s">&quot;foo&quot;</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L26" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L26" target="_blank">View source</a>]
</div>
</div>
@ -1561,7 +1561,7 @@ scope.find_variable(<span class="s">&quot;foo&quot;</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L20" target="_blank">View source</a>]
</div>
</div>
@ -1582,7 +1582,7 @@ scope.find_variable(<span class="s">&quot;foo&quot;</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L11" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L11" target="_blank">View source</a>]
</div>
</div>
@ -1597,14 +1597,14 @@ scope.find_variable(<span class="s">&quot;foo&quot;</span>)</code></pre>
<div class="doc">
<p>Returns true if current scope (or any of inner scopes) references variable,
<p>Returns <code>true</code> if current scope (or any of inner scopes) references variable,
<code>false</code> otherwise.</p>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L139" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L139" target="_blank">View source</a>]
</div>
</div>
@ -1628,7 +1628,7 @@ scope.find_variable(<span class="s">&quot;foo&quot;</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L107" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L107" target="_blank">View source</a>]
</div>
</div>
@ -1644,7 +1644,7 @@ scope.find_variable(<span class="s">&quot;foo&quot;</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1660,7 +1660,7 @@ scope.find_variable(<span class="s">&quot;foo&quot;</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1681,7 +1681,7 @@ scope.find_variable(<span class="s">&quot;foo&quot;</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L152" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L152" target="_blank">View source</a>]
</div>
</div>
@ -1703,7 +1703,7 @@ type definition, for example a class.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L128" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L128" target="_blank">View source</a>]
</div>
</div>
@ -1724,7 +1724,7 @@ type definition, for example a class.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/scope.cr#L8" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/scope.cr#L8" target="_blank">View source</a>]
</div>
</div>

View file

@ -789,7 +789,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/scope_visitor.cr#L5" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/scope_visitor.cr#L5" target="_blank">
ameba/ast/visitors/scope_visitor.cr
</a>
@ -941,7 +941,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/scope_visitor.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/scope_visitor.cr#L30" target="_blank">View source</a>]
</div>
</div>

View file

@ -790,7 +790,7 @@ can characterize the source (i.e. require statements, modules etc.)</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/top_level_nodes_visitor.cr#L4" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/top_level_nodes_visitor.cr#L4" target="_blank">
ameba/ast/visitors/top_level_nodes_visitor.cr
</a>
@ -919,7 +919,7 @@ can characterize the source (i.e. require statements, modules etc.)</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/top_level_nodes_visitor.cr#L8" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/top_level_nodes_visitor.cr#L8" target="_blank">View source</a>]
</div>
</div>
@ -949,7 +949,7 @@ can characterize the source (i.e. require statements, modules etc.)</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/top_level_nodes_visitor.cr#L5" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/top_level_nodes_visitor.cr#L5" target="_blank">View source</a>]
</div>
</div>
@ -971,7 +971,7 @@ then always traverse the children.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/top_level_nodes_visitor.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/top_level_nodes_visitor.cr#L20" target="_blank">View source</a>]
</div>
</div>
@ -993,7 +993,7 @@ Returns <code>false</code>, meaning all child nodes will not be traversed.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/visitors/top_level_nodes_visitor.cr#L26" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/visitors/top_level_nodes_visitor.cr#L26" target="_blank">View source</a>]
</div>
</div>

View file

@ -851,7 +851,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/util.cr#L2" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/util.cr#L2" target="_blank">
ameba/ast/util.cr
</a>
@ -891,7 +891,7 @@
</li>
<li class="entry-summary">
<a href="#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="signature"><strong>#dynamic_literal?</strong>(node, include_paths = <span class="n">false</span>) : Bool</a>
<a href="#dynamic_literal%3F%28node%29%3ABool-instance-method" class="signature"><strong>#dynamic_literal?</strong>(node) : Bool</a>
<div class="summary"><p>Returns <code>true</code> if current <code>node</code> is a dynamic literal, <code>false</code> otherwise.</p></div>
@ -919,7 +919,7 @@
</li>
<li class="entry-summary">
<a href="#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="signature"><strong>#literal?</strong>(node, include_paths = <span class="n">false</span>) : Bool</a>
<a href="#literal%3F%28node%29%3ABool-instance-method" class="signature"><strong>#literal?</strong>(node) : Bool</a>
<div class="summary"><p>Returns <code>true</code> if current <code>node</code> is a literal, <code>false</code> otherwise.</p></div>
@ -982,7 +982,7 @@
</li>
<li class="entry-summary">
<a href="#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="signature"><strong>#static_literal?</strong>(node, include_paths = <span class="n">false</span>) : Bool</a>
<a href="#static_literal%3F%28node%29%3ABool-instance-method" class="signature"><strong>#static_literal?</strong>(node) : Bool</a>
<div class="summary"><p>Returns <code>true</code> if current <code>node</code> is a static literal, <code>false</code> otherwise.</p></div>
@ -1028,7 +1028,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/util.cr#L182" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/util.cr#L180" target="_blank">View source</a>]
</div>
</div>
@ -1050,17 +1050,17 @@ Wraps implicit tuple literal with curly brackets (e.g. multi-return).</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/util.cr#L201" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/util.cr#L199" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="dynamic_literal?(node,include_paths=false):Bool-instance-method">
<div class="entry-detail" id="dynamic_literal?(node):Bool-instance-method">
<div class="signature">
def <strong>dynamic_literal?</strong>(node, include_paths = <span class="n">false</span>) : Bool
def <strong>dynamic_literal?</strong>(node) : Bool
<a class="method-permalink" href="#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method">#</a>
<a class="method-permalink" href="#dynamic_literal%3F%28node%29%3ABool-instance-method">#</a>
</div>
<div class="doc">
@ -1071,7 +1071,7 @@ Wraps implicit tuple literal with curly brackets (e.g. multi-return).</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/util.cr#L50" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/util.cr#L48" target="_blank">View source</a>]
</div>
</div>
@ -1092,7 +1092,7 @@ Wraps implicit tuple literal with curly brackets (e.g. multi-return).</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/util.cr#L176" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/util.cr#L174" target="_blank">View source</a>]
</div>
</div>
@ -1115,7 +1115,7 @@ or special call node that interrupts execution (i.e. raise, exit, abort).</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/util.cr#L104" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/util.cr#L102" target="_blank">View source</a>]
</div>
</div>
@ -1151,17 +1151,17 @@ a flow command <code>return</code>:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/util.cr#L142" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/util.cr#L140" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="literal?(node,include_paths=false):Bool-instance-method">
<div class="entry-detail" id="literal?(node):Bool-instance-method">
<div class="signature">
def <strong>literal?</strong>(node, include_paths = <span class="n">false</span>) : Bool
def <strong>literal?</strong>(node) : Bool
<a class="method-permalink" href="#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method">#</a>
<a class="method-permalink" href="#literal%3F%28node%29%3ABool-instance-method">#</a>
</div>
<div class="doc">
@ -1172,7 +1172,7 @@ a flow command <code>return</code>:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/util.cr#L56" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/util.cr#L54" target="_blank">View source</a>]
</div>
</div>
@ -1193,7 +1193,7 @@ a flow command <code>return</code>:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/util.cr#L188" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/util.cr#L186" target="_blank">View source</a>]
</div>
</div>
@ -1216,7 +1216,7 @@ off-by-one error.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/util.cr#L244" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/util.cr#L242" target="_blank">View source</a>]
</div>
</div>
@ -1237,7 +1237,7 @@ off-by-one error.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/util.cr#L212" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/util.cr#L210" target="_blank">View source</a>]
</div>
</div>
@ -1258,7 +1258,7 @@ off-by-one error.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/util.cr#L226" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/util.cr#L224" target="_blank">View source</a>]
</div>
</div>
@ -1281,7 +1281,7 @@ to determine and cut a piece of source of the node.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/util.cr#L71" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/util.cr#L69" target="_blank">View source</a>]
</div>
</div>
@ -1303,7 +1303,7 @@ matching given <em>name</em>, <code>false</code> otherwise.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/util.cr#L63" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/util.cr#L61" target="_blank">View source</a>]
</div>
</div>
@ -1324,7 +1324,7 @@ matching given <em>name</em>, <code>false</code> otherwise.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/util.cr#L170" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/util.cr#L168" target="_blank">View source</a>]
</div>
</div>
@ -1345,17 +1345,17 @@ matching given <em>name</em>, <code>false</code> otherwise.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/util.cr#L79" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/util.cr#L77" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="static_literal?(node,include_paths=false):Bool-instance-method">
<div class="entry-detail" id="static_literal?(node):Bool-instance-method">
<div class="signature">
def <strong>static_literal?</strong>(node, include_paths = <span class="n">false</span>) : Bool
def <strong>static_literal?</strong>(node) : Bool
<a class="method-permalink" href="#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method">#</a>
<a class="method-permalink" href="#static_literal%3F%28node%29%3ABool-instance-method">#</a>
</div>
<div class="doc">
@ -1366,7 +1366,7 @@ matching given <em>name</em>, <code>false</code> otherwise.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/util.cr#L44" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/util.cr#L42" target="_blank">View source</a>]
</div>
</div>

View file

@ -804,7 +804,7 @@ Holds the var node and variable assignments.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/variable.cr#L4" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/variable.cr#L4" target="_blank">
ameba/ast/variabling/variable.cr
</a>
@ -1057,7 +1057,7 @@ Holds the var node and variable assignments.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/variable.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/variable.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1097,7 +1097,7 @@ variable.assignment.size <span class="c"># =&gt; 2</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/variable.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/variable.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1118,7 +1118,7 @@ variable.assignment.size <span class="c"># =&gt; 2</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/variable.cr#L18" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/variable.cr#L18" target="_blank">View source</a>]
</div>
</div>
@ -1139,7 +1139,7 @@ variable.assignment.size <span class="c"># =&gt; 2</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/variable.cr#L6" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/variable.cr#L6" target="_blank">View source</a>]
</div>
</div>
@ -1167,7 +1167,7 @@ by block:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/variable.cr#L111" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/variable.cr#L111" target="_blank">View source</a>]
</div>
</div>
@ -1188,7 +1188,7 @@ by block:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/variable.cr#L160" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/variable.cr#L160" target="_blank">View source</a>]
</div>
</div>
@ -1204,7 +1204,7 @@ by block:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/variable.cr#L21" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/variable.cr#L21" target="_blank">View source</a>]
</div>
</div>
@ -1220,7 +1220,7 @@ by block:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/variable.cr#L21" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/variable.cr#L21" target="_blank">View source</a>]
</div>
</div>
@ -1242,7 +1242,7 @@ the same Crystal node as <code>@node</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/variable.cr#L153" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/variable.cr#L153" target="_blank">View source</a>]
</div>
</div>
@ -1263,7 +1263,7 @@ the same Crystal node as <code>@node</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/variable.cr#L147" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/variable.cr#L147" target="_blank">View source</a>]
</div>
</div>
@ -1279,7 +1279,7 @@ the same Crystal node as <code>@node</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/variable.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/variable.cr#L20" target="_blank">View source</a>]
</div>
</div>
@ -1295,7 +1295,7 @@ the same Crystal node as <code>@node</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/variable.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/variable.cr#L20" target="_blank">View source</a>]
</div>
</div>
@ -1311,7 +1311,7 @@ the same Crystal node as <code>@node</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/variable.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/variable.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1327,7 +1327,7 @@ the same Crystal node as <code>@node</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/variable.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/variable.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1348,7 +1348,7 @@ the same Crystal node as <code>@node</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/variable.cr#L12" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/variable.cr#L12" target="_blank">View source</a>]
</div>
</div>
@ -1371,7 +1371,7 @@ variable.reference(var_node, some_scope)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/variable.cr#L70" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/variable.cr#L70" target="_blank">View source</a>]
</div>
</div>
@ -1395,7 +1395,7 @@ variable.reference_assignments!</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/variable.cr#L84" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/variable.cr#L84" target="_blank">View source</a>]
</div>
</div>
@ -1419,7 +1419,7 @@ variable.referenced? <span class="c"># =&gt; true</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/variable.cr#L60" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/variable.cr#L60" target="_blank">View source</a>]
</div>
</div>
@ -1440,7 +1440,7 @@ variable.referenced? <span class="c"># =&gt; true</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/variable.cr#L9" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/variable.cr#L9" target="_blank">View source</a>]
</div>
</div>
@ -1461,7 +1461,7 @@ variable.referenced? <span class="c"># =&gt; true</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/variable.cr#L15" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/variable.cr#L15" target="_blank">View source</a>]
</div>
</div>
@ -1482,7 +1482,7 @@ variable.referenced? <span class="c"># =&gt; true</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/variable.cr#L34" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/variable.cr#L34" target="_blank">View source</a>]
</div>
</div>
@ -1504,7 +1504,7 @@ variable.referenced? <span class="c"># =&gt; true</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/variable.cr#L135" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/variable.cr#L135" target="_blank">View source</a>]
</div>
</div>
@ -1520,7 +1520,7 @@ variable.referenced? <span class="c"># =&gt; true</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/variable.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/variable.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -1536,7 +1536,7 @@ variable.referenced? <span class="c"># =&gt; true</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/variable.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/variable.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -1558,7 +1558,7 @@ variable.referenced? <span class="c"># =&gt; true</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ast/variabling/variable.cr#L123" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ast/variabling/variable.cr#L123" target="_blank">View source</a>]
</div>
</div>

View file

@ -807,7 +807,7 @@ config.formatter <span class="o">=</span> my_formatter</code></pre>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/config.cr#L15" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/config.cr#L15" target="_blank">
ameba/config.cr
</a>
@ -888,14 +888,14 @@ config.formatter <span class="o">=</span> my_formatter</code></pre>
<li class="entry-summary">
<a href="#autocorrect%3D%28autocorrect%3ABool%29-instance-method" class="signature"><strong>#autocorrect=</strong>(autocorrect : Bool)</a>
<div class="summary"><p>Returns true if correctable issues should be autocorrected.</p></div>
<div class="summary"><p>Returns <code>true</code> if correctable issues should be autocorrected.</p></div>
</li>
<li class="entry-summary">
<a href="#autocorrect%3F%3ABool-instance-method" class="signature"><strong>#autocorrect?</strong> : Bool</a>
<div class="summary"><p>Returns true if correctable issues should be autocorrected.</p></div>
<div class="summary"><p>Returns <code>true</code> if correctable issues should be autocorrected.</p></div>
</li>
@ -1061,7 +1061,7 @@ config.formatter <span class="o">=</span> my_formatter</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/config.cr#L88" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/config.cr#L88" target="_blank">View source</a>]
</div>
</div>
@ -1083,7 +1083,7 @@ config.formatter <span class="o">=</span> my_formatter</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/config.cr#L80" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/config.cr#L80" target="_blank">View source</a>]
</div>
</div>
@ -1110,13 +1110,13 @@ config.formatter <span class="o">=</span> my_formatter</code></pre>
<div class="doc">
<p>Returns true if correctable issues should be autocorrected.</p>
<p>Returns <code>true</code> if correctable issues should be autocorrected.</p>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/config.cr#L58" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/config.cr#L58" target="_blank">View source</a>]
</div>
</div>
@ -1131,13 +1131,13 @@ config.formatter <span class="o">=</span> my_formatter</code></pre>
<div class="doc">
<p>Returns true if correctable issues should be autocorrected.</p>
<p>Returns <code>true</code> if correctable issues should be autocorrected.</p>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/config.cr#L58" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/config.cr#L58" target="_blank">View source</a>]
</div>
</div>
@ -1161,7 +1161,7 @@ config.excluded <span class="o">=</span> [<span class="s">&quot;spec&quot;</span
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/config.cr#L55" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/config.cr#L55" target="_blank">View source</a>]
</div>
</div>
@ -1185,7 +1185,7 @@ config.excluded <span class="o">=</span> [<span class="s">&quot;spec&quot;</span
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/config.cr#L55" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/config.cr#L55" target="_blank">View source</a>]
</div>
</div>
@ -1210,7 +1210,7 @@ config.formatter</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/config.cr#L114" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/config.cr#L114" target="_blank">View source</a>]
</div>
</div>
@ -1233,7 +1233,7 @@ config.formatter <span class="o">=</span> <span class="n">:progress</span></code
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/config.cr#L124" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/config.cr#L124" target="_blank">View source</a>]
</div>
</div>
@ -1258,7 +1258,7 @@ config.formatter</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/config.cr#L114" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/config.cr#L114" target="_blank">View source</a>]
</div>
</div>
@ -1284,7 +1284,7 @@ config.globs</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/config.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/config.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1310,7 +1310,7 @@ config.globs</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/config.cr#L46" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/config.cr#L46" target="_blank">View source</a>]
</div>
</div>
@ -1326,7 +1326,7 @@ config.globs</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/config.cr#L34" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/config.cr#L34" target="_blank">View source</a>]
</div>
</div>
@ -1342,7 +1342,7 @@ config.globs</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/config.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/config.cr#L35" target="_blank">View source</a>]
</div>
</div>
@ -1358,7 +1358,7 @@ config.globs</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/config.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/config.cr#L35" target="_blank">View source</a>]
</div>
</div>
@ -1384,7 +1384,7 @@ config.sources <span class="c"># =&gt; list of sources pointing to files found b
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/config.cr#L101" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/config.cr#L101" target="_blank">View source</a>]
</div>
</div>
@ -1407,7 +1407,7 @@ config.update_rule <span class="s">&quot;MyRuleName&quot;</span>, enabled: <span
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/config.cr#L137" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/config.cr#L137" target="_blank">View source</a>]
</div>
</div>
@ -1432,7 +1432,7 @@ config.update_rules <span class="s">%w(Rule1 Rule2)</span>, enabled: <span class
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/config.cr#L158" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/config.cr#L158" target="_blank">View source</a>]
</div>
</div>

View file

@ -776,7 +776,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ext/location.cr#L2" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ext/location.cr#L2" target="_blank">
ameba/ext/location.cr
</a>

View file

@ -801,7 +801,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ext/location.cr#L2" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ext/location.cr#L2" target="_blank">
ameba/ext/location.cr
</a>
@ -888,7 +888,7 @@ by the given amount(s).</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ext/location.cr#L11" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ext/location.cr#L11" target="_blank">View source</a>]
</div>
</div>
@ -909,7 +909,7 @@ by the given amount(s).</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ext/location.cr#L16" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ext/location.cr#L16" target="_blank">View source</a>]
</div>
</div>
@ -931,7 +931,7 @@ to the given value(s).</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/ext/location.cr#L5" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/ext/location.cr#L5" target="_blank">View source</a>]
</div>
</div>

View file

@ -787,56 +787,56 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/base_formatter.cr#L4" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/base_formatter.cr#L4" target="_blank">
ameba/formatter/base_formatter.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/disabled_formatter.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/disabled_formatter.cr#L1" target="_blank">
ameba/formatter/disabled_formatter.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/dot_formatter.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/dot_formatter.cr#L3" target="_blank">
ameba/formatter/dot_formatter.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/explain_formatter.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/explain_formatter.cr#L3" target="_blank">
ameba/formatter/explain_formatter.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/flycheck_formatter.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/flycheck_formatter.cr#L1" target="_blank">
ameba/formatter/flycheck_formatter.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/json_formatter.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/json_formatter.cr#L3" target="_blank">
ameba/formatter/json_formatter.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/todo_formatter.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/todo_formatter.cr#L1" target="_blank">
ameba/formatter/todo_formatter.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/util.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/util.cr#L1" target="_blank">
ameba/formatter/util.cr
</a>

View file

@ -811,7 +811,7 @@ callbacks in <code><a href="../../Ameba/Runner.html#run-instance-method">Ameba::
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/base_formatter.cr#L8" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/base_formatter.cr#L8" target="_blank">
ameba/formatter/base_formatter.cr
</a>
@ -944,7 +944,7 @@ callbacks in <code><a href="../../Ameba/Runner.html#run-instance-method">Ameba::
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/base_formatter.cr#L13" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/base_formatter.cr#L13" target="_blank">View source</a>]
</div>
</div>
@ -974,7 +974,7 @@ callbacks in <code><a href="../../Ameba/Runner.html#run-instance-method">Ameba::
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/base_formatter.cr#L11" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/base_formatter.cr#L11" target="_blank">View source</a>]
</div>
</div>
@ -996,7 +996,7 @@ A list of inspected sources is passed as an argument.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/base_formatter.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/base_formatter.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1017,7 +1017,7 @@ A list of inspected sources is passed as an argument.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/base_formatter.cr#L10" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/base_formatter.cr#L10" target="_blank">View source</a>]
</div>
</div>
@ -1039,7 +1039,7 @@ A corresponding source is passed as an argument.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/base_formatter.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/base_formatter.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1061,7 +1061,7 @@ A corresponding source is passed as an argument.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/base_formatter.cr#L26" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/base_formatter.cr#L26" target="_blank">View source</a>]
</div>
</div>
@ -1083,7 +1083,7 @@ A list of sources to inspect is passed as an argument.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/base_formatter.cr#L18" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/base_formatter.cr#L18" target="_blank">View source</a>]
</div>
</div>

View file

@ -789,7 +789,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/disabled_formatter.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/disabled_formatter.cr#L3" target="_blank">
ameba/formatter/disabled_formatter.cr
</a>
@ -939,7 +939,7 @@ A list of inspected sources is passed as an argument.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/disabled_formatter.cr#L4" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/disabled_formatter.cr#L4" target="_blank">View source</a>]
</div>
</div>

View file

@ -818,7 +818,7 @@ It is similar to Crystal's dot formatter for specs.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/dot_formatter.cr#L6" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/dot_formatter.cr#L6" target="_blank">
ameba/formatter/dot_formatter.cr
</a>
@ -1011,7 +1011,7 @@ It is similar to Crystal's dot formatter for specs.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/dot_formatter.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/dot_formatter.cr#L27" target="_blank">View source</a>]
</div>
</div>
@ -1032,7 +1032,7 @@ It is similar to Crystal's dot formatter for specs.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/dot_formatter.cr#L21" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/dot_formatter.cr#L21" target="_blank">View source</a>]
</div>
</div>
@ -1053,7 +1053,7 @@ It is similar to Crystal's dot formatter for specs.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/dot_formatter.cr#L13" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/dot_formatter.cr#L13" target="_blank">View source</a>]
</div>
</div>

View file

@ -804,7 +804,7 @@ a specific location.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/explain_formatter.cr#L6" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/explain_formatter.cr#L6" target="_blank">
ameba/formatter/explain_formatter.cr
</a>
@ -981,7 +981,7 @@ Second argument is <em>location</em> which indicates the location to explain.</p
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/explain_formatter.cr#L26" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/explain_formatter.cr#L26" target="_blank">View source</a>]
</div>
</div>
@ -1016,7 +1016,7 @@ Second argument is <em>location</em> which indicates the location to explain.</p
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/explain_formatter.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/explain_formatter.cr#L35" target="_blank">View source</a>]
</div>
</div>
@ -1032,7 +1032,7 @@ Second argument is <em>location</em> which indicates the location to explain.</p
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/explain_formatter.cr#L12" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/explain_formatter.cr#L12" target="_blank">View source</a>]
</div>
</div>
@ -1048,7 +1048,7 @@ Second argument is <em>location</em> which indicates the location to explain.</p
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/explain_formatter.cr#L11" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/explain_formatter.cr#L11" target="_blank">View source</a>]
</div>
</div>

View file

@ -778,7 +778,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/flycheck_formatter.cr#L2" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/flycheck_formatter.cr#L2" target="_blank">
ameba/formatter/flycheck_formatter.cr
</a>
@ -928,7 +928,7 @@ A corresponding source is passed as an argument.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/flycheck_formatter.cr#L5" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/flycheck_formatter.cr#L5" target="_blank">View source</a>]
</div>
</div>

View file

@ -845,7 +845,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/json_formatter.cr#L65" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/json_formatter.cr#L65" target="_blank">
ameba/formatter/json_formatter.cr
</a>
@ -1012,7 +1012,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/json_formatter.cr#L66" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/json_formatter.cr#L66" target="_blank">View source</a>]
</div>
</div>
@ -1052,7 +1052,7 @@ A list of inspected sources is passed as an argument.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/json_formatter.cr#L94" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/json_formatter.cr#L94" target="_blank">View source</a>]
</div>
</div>
@ -1078,7 +1078,7 @@ A corresponding source is passed as an argument.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/json_formatter.cr#L74" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/json_formatter.cr#L74" target="_blank">View source</a>]
</div>
</div>
@ -1104,7 +1104,7 @@ A list of sources to inspect is passed as an argument.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/json_formatter.cr#L70" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/json_formatter.cr#L70" target="_blank">View source</a>]
</div>
</div>

View file

@ -791,7 +791,7 @@ or excludes failed sources from these rules.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/todo_formatter.cr#L5" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/todo_formatter.cr#L5" target="_blank">
ameba/formatter/todo_formatter.cr
</a>
@ -1007,7 +1007,7 @@ or excludes failed sources from these rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/todo_formatter.cr#L6" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/todo_formatter.cr#L6" target="_blank">View source</a>]
</div>
</div>
@ -1046,7 +1046,7 @@ or excludes failed sources from these rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/todo_formatter.cr#L9" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/todo_formatter.cr#L9" target="_blank">View source</a>]
</div>
</div>

View file

@ -792,7 +792,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/util.cr#L2" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/util.cr#L2" target="_blank">
ameba/formatter/util.cr
</a>
@ -877,7 +877,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/util.cr#L43" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/util.cr#L43" target="_blank">View source</a>]
</div>
</div>
@ -893,7 +893,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/util.cr#L49" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/util.cr#L49" target="_blank">View source</a>]
</div>
</div>
@ -909,7 +909,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/util.cr#L17" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/util.cr#L17" target="_blank">View source</a>]
</div>
</div>
@ -925,7 +925,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/util.cr#L3" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/util.cr#L3" target="_blank">View source</a>]
</div>
</div>
@ -941,7 +941,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/formatter/util.cr#L7" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/formatter/util.cr#L7" target="_blank">View source</a>]
</div>
</div>

View file

@ -801,7 +801,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/glob_utils.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/glob_utils.cr#L3" target="_blank">
ameba/glob_utils.cr
</a>
@ -881,7 +881,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/glob_utils.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/glob_utils.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -904,7 +904,7 @@ Globs can have wildcards or be rejected:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/glob_utils.cr#L10" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/glob_utils.cr#L10" target="_blank">View source</a>]
</div>
</div>

View file

@ -801,7 +801,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/inline_comments.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/inline_comments.cr#L3" target="_blank">
ameba/inline_comments.cr
</a>
@ -848,14 +848,14 @@
<li class="entry-summary">
<a href="#comment%3F%28line_number%3AInt32%29-instance-method" class="signature"><strong>#comment?</strong>(line_number : Int32)</a>
<div class="summary"><p>Returns true if the line at the given <code>line_number</code> is a comment.</p></div>
<div class="summary"><p>Returns <code>true</code> if the line at the given <code>line_number</code> is a comment.</p></div>
</li>
<li class="entry-summary">
<a href="#location_disabled%3F%28location%3ACrystal%3A%3ALocation%3F%2Crule%29-instance-method" class="signature"><strong>#location_disabled?</strong>(location : Crystal::Location?, rule)</a>
<div class="summary"><p>Returns true if current location is disabled for a particular rule, false otherwise.</p></div>
<div class="summary"><p>Returns <code>true</code> if current location is disabled for a particular rule, <code>false</code> otherwise.</p></div>
</li>
@ -900,13 +900,13 @@
<div class="doc">
<p>Returns true if the line at the given <code>line_number</code> is a comment.</p>
<p>Returns <code>true</code> if the line at the given <code>line_number</code> is a comment.</p>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/inline_comments.cr#L78" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/inline_comments.cr#L78" target="_blank">View source</a>]
</div>
</div>
@ -921,8 +921,8 @@
<div class="doc">
<p>Returns true if current location is disabled for a particular rule,
false otherwise.</p>
<p>Returns <code>true</code> if current location is disabled for a particular rule,
<code>false</code> otherwise.</p>
<p>Location is disabled in two cases:</p>
<ol>
<li>The line of the location ends with a comment directive.</li>
@ -946,7 +946,7 @@ false otherwise.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/inline_comments.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/inline_comments.cr#L40" target="_blank">View source</a>]
</div>
</div>
@ -975,7 +975,7 @@ parse_inline_directive(line) <span class="c"># =&gt; nil</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/inline_comments.cr#L68" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/inline_comments.cr#L68" target="_blank">View source</a>]
</div>
</div>

View file

@ -787,7 +787,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/inline_comments.cr#L8" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/inline_comments.cr#L8" target="_blank">
ameba/inline_comments.cr
</a>
@ -921,7 +921,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/inline_comments.cr#L9" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/inline_comments.cr#L9" target="_blank">View source</a>]
</div>
</div>
@ -937,7 +937,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/inline_comments.cr#L10" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/inline_comments.cr#L10" target="_blank">View source</a>]
</div>
</div>

View file

@ -789,7 +789,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/issue.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/issue.cr#L3" target="_blank">
ameba/issue.cr
</a>
@ -969,7 +969,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/issue.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/issue.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1004,7 +1004,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/issue.cr#L10" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/issue.cr#L10" target="_blank">View source</a>]
</div>
</div>
@ -1020,7 +1020,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/issue.cr#L42" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/issue.cr#L42" target="_blank">View source</a>]
</div>
</div>
@ -1036,7 +1036,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/issue.cr#L38" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/issue.cr#L38" target="_blank">View source</a>]
</div>
</div>
@ -1052,7 +1052,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/issue.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/issue.cr#L27" target="_blank">View source</a>]
</div>
</div>
@ -1068,7 +1068,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/issue.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/issue.cr#L27" target="_blank">View source</a>]
</div>
</div>
@ -1084,7 +1084,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/issue.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/issue.cr#L27" target="_blank">View source</a>]
</div>
</div>
@ -1100,7 +1100,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/issue.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/issue.cr#L27" target="_blank">View source</a>]
</div>
</div>
@ -1121,7 +1121,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/issue.cr#L19" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/issue.cr#L19" target="_blank">View source</a>]
</div>
</div>
@ -1142,7 +1142,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/issue.cr#L16" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/issue.cr#L16" target="_blank">View source</a>]
</div>
</div>
@ -1163,7 +1163,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/issue.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/issue.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1184,7 +1184,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/issue.cr#L13" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/issue.cr#L13" target="_blank">View source</a>]
</div>
</div>
@ -1205,7 +1205,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/issue.cr#L25" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/issue.cr#L25" target="_blank">View source</a>]
</div>
</div>
@ -1221,7 +1221,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/issue.cr#L34" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/issue.cr#L34" target="_blank">View source</a>]
</div>
</div>

View file

@ -776,7 +776,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/issue.cr#L4" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/issue.cr#L4" target="_blank">
ameba/issue.cr
</a>
@ -910,7 +910,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/issue.cr#L6" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/issue.cr#L6" target="_blank">View source</a>]
</div>
</div>
@ -926,7 +926,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/issue.cr#L5" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/issue.cr#L5" target="_blank">View source</a>]
</div>
</div>

View file

@ -801,7 +801,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/reportable.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/reportable.cr#L3" target="_blank">
ameba/reportable.cr
</a>
@ -834,7 +834,7 @@
</li>
<li class="entry-summary">
<a href="#add_issue%28rule%2Clocation%3ACrystal%3A%3ALocation%2Cend_location%3ACrystal%3A%3ALocation%2Cmessage%3AString%2Cstatus%3AIssue%3A%3AStatus%3F%3Dnil%2C%26block%3ASource%3A%3ACorrector-%3E%29%3AIssue-instance-method" class="signature"><strong>#add_issue</strong>(rule, location : Crystal::Location, end_location : Crystal::Location, message : String, status : Issue::Status? = <span class="n">nil</span>, &block : Source::Corrector -> ) : Issue</a>
<a href="#add_issue%28rule%2Clocation%3ACrystal%3A%3ALocation%3F%2Cend_location%3ACrystal%3A%3ALocation%3F%2Cmessage%3AString%2Cstatus%3AIssue%3A%3AStatus%3F%3Dnil%2C%26block%3ASource%3A%3ACorrector-%3E%29%3AIssue-instance-method" class="signature"><strong>#add_issue</strong>(rule, location : Crystal::Location?, end_location : Crystal::Location?, message : String, status : Issue::Status? = <span class="n">nil</span>, &block : Source::Corrector -> ) : Issue</a>
<div class="summary"><p>Adds a new issue to the list of issues.</p></div>
@ -950,17 +950,17 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/reportable.cr#L8" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/reportable.cr#L8" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="add_issue(rule,location:Crystal::Location,end_location:Crystal::Location,message:String,status:Issue::Status?=nil,&amp;block:Source::Corrector-&gt;):Issue-instance-method">
<div class="entry-detail" id="add_issue(rule,location:Crystal::Location?,end_location:Crystal::Location?,message:String,status:Issue::Status?=nil,&amp;block:Source::Corrector-&gt;):Issue-instance-method">
<div class="signature">
def <strong>add_issue</strong>(rule, location : <a href="../Crystal/Location.html">Crystal::Location</a>, end_location : <a href="../Crystal/Location.html">Crystal::Location</a>, message : String, status : <a href="../Ameba/Issue/Status.html">Issue::Status</a>? = <span class="n">nil</span>, &block : <a href="../Ameba/Source/Corrector.html">Source::Corrector</a> -> ) : <a href="../Ameba/Issue.html">Issue</a>
def <strong>add_issue</strong>(rule, location : <a href="../Crystal/Location.html">Crystal::Location</a>?, end_location : <a href="../Crystal/Location.html">Crystal::Location</a>?, message : String, status : <a href="../Ameba/Issue/Status.html">Issue::Status</a>? = <span class="n">nil</span>, &block : <a href="../Ameba/Source/Corrector.html">Source::Corrector</a> -> ) : <a href="../Ameba/Issue.html">Issue</a>
<a class="method-permalink" href="#add_issue%28rule%2Clocation%3ACrystal%3A%3ALocation%2Cend_location%3ACrystal%3A%3ALocation%2Cmessage%3AString%2Cstatus%3AIssue%3A%3AStatus%3F%3Dnil%2C%26block%3ASource%3A%3ACorrector-%3E%29%3AIssue-instance-method">#</a>
<a class="method-permalink" href="#add_issue%28rule%2Clocation%3ACrystal%3A%3ALocation%3F%2Cend_location%3ACrystal%3A%3ALocation%3F%2Cmessage%3AString%2Cstatus%3AIssue%3A%3AStatus%3F%3Dnil%2C%26block%3ASource%3A%3ACorrector-%3E%29%3AIssue-instance-method">#</a>
</div>
<div class="doc">
@ -971,7 +971,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/reportable.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/reportable.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -992,7 +992,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/reportable.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/reportable.cr#L33" target="_blank">View source</a>]
</div>
</div>
@ -1013,7 +1013,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/reportable.cr#L61" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/reportable.cr#L61" target="_blank">View source</a>]
</div>
</div>
@ -1034,7 +1034,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/reportable.cr#L38" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/reportable.cr#L38" target="_blank">View source</a>]
</div>
</div>
@ -1055,7 +1055,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/reportable.cr#L43" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/reportable.cr#L43" target="_blank">View source</a>]
</div>
</div>
@ -1076,7 +1076,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/reportable.cr#L48" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/reportable.cr#L48" target="_blank">View source</a>]
</div>
</div>
@ -1097,7 +1097,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/reportable.cr#L53" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/reportable.cr#L53" target="_blank">View source</a>]
</div>
</div>
@ -1118,7 +1118,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/reportable.cr#L66" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/reportable.cr#L66" target="_blank">View source</a>]
</div>
</div>
@ -1139,7 +1139,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/reportable.cr#L81" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/reportable.cr#L81" target="_blank">View source</a>]
</div>
</div>
@ -1160,7 +1160,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/reportable.cr#L5" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/reportable.cr#L5" target="_blank">View source</a>]
</div>
</div>
@ -1181,7 +1181,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/reportable.cr#L91" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/reportable.cr#L91" target="_blank">View source</a>]
</div>
</div>

View file

@ -776,7 +776,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/base.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/base.cr#L1" target="_blank">
ameba/rule/base.cr
</a>
@ -871,7 +871,7 @@ behave differently than usual rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/base.cr#L172" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/base.cr#L172" target="_blank">View source</a>]
</div>
</div>

View file

@ -940,7 +940,7 @@ that are tested by this rule, it should add an issue.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/base.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/base.cr#L29" target="_blank">
ameba/rule/base.cr
</a>
@ -1046,7 +1046,7 @@ that are tested by this rule, it should add an issue.</p>
<li class="entry-summary">
<a href="#special%3F-instance-method" class="signature"><strong>#special?</strong></a>
<div class="summary"><p>Returns true if this rule is special and behaves differently than usual rules.</p></div>
<div class="summary"><p>Returns <code>true</code> if this rule is special and behaves differently than usual rules.</p></div>
</li>
@ -1177,7 +1177,7 @@ that are tested by this rule, it should add an issue.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/base.cr#L107" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/base.cr#L107" target="_blank">View source</a>]
</div>
</div>
@ -1201,7 +1201,7 @@ source.valid?</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/base.cr#L52" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/base.cr#L52" target="_blank">View source</a>]
</div>
</div>
@ -1225,7 +1225,7 @@ the one of the given source.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/base.cr#L90" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/base.cr#L90" target="_blank">View source</a>]
</div>
</div>
@ -1251,7 +1251,7 @@ the one of the given source.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/base.cr#L79" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/base.cr#L79" target="_blank">View source</a>]
</div>
</div>
@ -1281,7 +1281,7 @@ though usually the macro <code>def_hash</code> can be used to generate this meth
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/base.cr#L111" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/base.cr#L111" target="_blank">View source</a>]
</div>
</div>
@ -1308,7 +1308,7 @@ though usually the macro <code>def_hash</code> can be used to generate this meth
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/base.cr#L66" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/base.cr#L66" target="_blank">View source</a>]
</div>
</div>
@ -1323,7 +1323,7 @@ though usually the macro <code>def_hash</code> can be used to generate this meth
<div class="doc">
<p>Returns true if this rule is special and behaves differently than
<p>Returns <code>true</code> if this rule is special and behaves differently than
usual rules.</p>
<pre><code class="language-crystal">my_rule.special? <span class="c"># =&gt; true or false</span></code></pre>
</div>
@ -1331,7 +1331,7 @@ usual rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/base.cr#L103" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/base.cr#L103" target="_blank">View source</a>]
</div>
</div>
@ -1347,7 +1347,7 @@ usual rules.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/base.cr#L41" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/base.cr#L41" target="_blank">View source</a>]
</div>
</div>
@ -1371,7 +1371,7 @@ that are tested by this rule, it should add an issue.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/base.cr#L37" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/base.cr#L37" target="_blank">View source</a>]
</div>
</div>
@ -1399,7 +1399,7 @@ that are tested by this rule, it should add an issue.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/base.cr#L115" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/base.cr#L115" target="_blank">View source</a>]
</div>
</div>

View file

@ -776,21 +776,21 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/layout/line_length.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/layout/line_length.cr#L1" target="_blank">
ameba/rule/layout/line_length.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/layout/trailing_blank_lines.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/layout/trailing_blank_lines.cr#L1" target="_blank">
ameba/rule/layout/trailing_blank_lines.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/layout/trailing_whitespace.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/layout/trailing_whitespace.cr#L1" target="_blank">
ameba/rule/layout/trailing_whitespace.cr
</a>

View file

@ -809,7 +809,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/layout/line_length.cr#L11" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/layout/line_length.cr#L11" target="_blank">
ameba/rule/layout/line_length.cr
</a>
@ -1118,7 +1118,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/layout/line_length.cr#L11" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/layout/line_length.cr#L11" target="_blank">View source</a>]
</div>
</div>
@ -1327,7 +1327,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/layout/line_length.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/layout/line_length.cr#L20" target="_blank">View source</a>]
</div>
</div>

View file

@ -808,7 +808,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/layout/trailing_blank_lines.cr#L10" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/layout/trailing_blank_lines.cr#L10" target="_blank">
ameba/rule/layout/trailing_blank_lines.cr
</a>
@ -1111,7 +1111,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/layout/trailing_blank_lines.cr#L10" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/layout/trailing_blank_lines.cr#L10" target="_blank">View source</a>]
</div>
</div>
@ -1292,7 +1292,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/layout/trailing_blank_lines.cr#L18" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/layout/trailing_blank_lines.cr#L18" target="_blank">View source</a>]
</div>
</div>

View file

@ -808,7 +808,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/layout/trailing_whitespace.cr#L10" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/layout/trailing_whitespace.cr#L10" target="_blank">
ameba/rule/layout/trailing_whitespace.cr
</a>
@ -1106,7 +1106,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/layout/trailing_whitespace.cr#L10" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/layout/trailing_whitespace.cr#L10" target="_blank">View source</a>]
</div>
</div>
@ -1287,7 +1287,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/layout/trailing_whitespace.cr#L17" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/layout/trailing_whitespace.cr#L17" target="_blank">View source</a>]
</div>
</div>

View file

@ -776,224 +776,224 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/ambiguous_assignment.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/ambiguous_assignment.cr#L1" target="_blank">
ameba/rule/lint/ambiguous_assignment.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/bad_directive.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/bad_directive.cr#L1" target="_blank">
ameba/rule/lint/bad_directive.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/comparison_to_boolean.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/comparison_to_boolean.cr#L1" target="_blank">
ameba/rule/lint/comparison_to_boolean.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/debug_calls.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/debug_calls.cr#L1" target="_blank">
ameba/rule/lint/debug_calls.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/debugger_statement.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/debugger_statement.cr#L1" target="_blank">
ameba/rule/lint/debugger_statement.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/duplicated_require.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/duplicated_require.cr#L1" target="_blank">
ameba/rule/lint/duplicated_require.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_ensure.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/empty_ensure.cr#L1" target="_blank">
ameba/rule/lint/empty_ensure.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_expression.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/empty_expression.cr#L1" target="_blank">
ameba/rule/lint/empty_expression.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_loop.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/empty_loop.cr#L1" target="_blank">
ameba/rule/lint/empty_loop.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/hash_duplicated_key.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/hash_duplicated_key.cr#L1" target="_blank">
ameba/rule/lint/hash_duplicated_key.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L1" target="_blank">
ameba/rule/lint/literal_assignments_in_expressions.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_in_condition.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/literal_in_condition.cr#L1" target="_blank">
ameba/rule/lint/literal_in_condition.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_in_interpolation.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/literal_in_interpolation.cr#L1" target="_blank">
ameba/rule/lint/literal_in_interpolation.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literals_comparison.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/literals_comparison.cr#L1" target="_blank">
ameba/rule/lint/literals_comparison.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/not_nil.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/not_nil.cr#L1" target="_blank">
ameba/rule/lint/not_nil.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/not_nil_after_no_bang.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/not_nil_after_no_bang.cr#L1" target="_blank">
ameba/rule/lint/not_nil_after_no_bang.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/percent_array.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/percent_array.cr#L1" target="_blank">
ameba/rule/lint/percent_array.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/rand_zero.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/rand_zero.cr#L1" target="_blank">
ameba/rule/lint/rand_zero.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/redundant_string_coercion.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/redundant_string_coercion.cr#L1" target="_blank">
ameba/rule/lint/redundant_string_coercion.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/redundant_with_index.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/redundant_with_index.cr#L1" target="_blank">
ameba/rule/lint/redundant_with_index.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/redundant_with_object.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/redundant_with_object.cr#L1" target="_blank">
ameba/rule/lint/redundant_with_object.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowed_argument.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shadowed_argument.cr#L1" target="_blank">
ameba/rule/lint/shadowed_argument.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowed_exception.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shadowed_exception.cr#L1" target="_blank">
ameba/rule/lint/shadowed_exception.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowing_outer_local_var.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shadowing_outer_local_var.cr#L1" target="_blank">
ameba/rule/lint/shadowing_outer_local_var.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shared_var_in_fiber.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shared_var_in_fiber.cr#L1" target="_blank">
ameba/rule/lint/shared_var_in_fiber.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/spec_focus.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/spec_focus.cr#L1" target="_blank">
ameba/rule/lint/spec_focus.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/syntax.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/syntax.cr#L1" target="_blank">
ameba/rule/lint/syntax.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unneeded_disable_directive.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/unneeded_disable_directive.cr#L1" target="_blank">
ameba/rule/lint/unneeded_disable_directive.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unreachable_code.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/unreachable_code.cr#L1" target="_blank">
ameba/rule/lint/unreachable_code.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unused_argument.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/unused_argument.cr#L1" target="_blank">
ameba/rule/lint/unused_argument.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/useless_assign.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/useless_assign.cr#L1" target="_blank">
ameba/rule/lint/useless_assign.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/useless_condition_in_when.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/useless_condition_in_when.cr#L1" target="_blank">
ameba/rule/lint/useless_condition_in_when.cr
</a>

View file

@ -819,7 +819,7 @@ x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/ambiguous_assignment.cr#L20" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/ambiguous_assignment.cr#L20" target="_blank">
ameba/rule/lint/ambiguous_assignment.cr
</a>
@ -979,8 +979,8 @@ x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -999,8 +999,8 @@ x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1044,8 +1044,8 @@ x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1225,7 +1225,7 @@ x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/ambiguous_assignment.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/ambiguous_assignment.cr#L20" target="_blank">View source</a>]
</div>
</div>
@ -1406,7 +1406,7 @@ x <span class="o">!=</span> y <span class="c"># or x = !y</span></code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/ambiguous_assignment.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/ambiguous_assignment.cr#L35" target="_blank">View source</a>]
</div>
</div>

View file

@ -814,7 +814,7 @@ to disable a rule that even doesn't exist:</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/bad_directive.cr#L20" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/bad_directive.cr#L20" target="_blank">
ameba/rule/lint/bad_directive.cr
</a>
@ -1128,7 +1128,7 @@ to disable a rule that even doesn't exist:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/bad_directive.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/bad_directive.cr#L20" target="_blank">View source</a>]
</div>
</div>
@ -1309,7 +1309,7 @@ to disable a rule that even doesn't exist:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/bad_directive.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/bad_directive.cr#L29" target="_blank">View source</a>]
</div>
</div>

View file

@ -817,7 +817,7 @@ or negating the variable.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/comparison_to_boolean.cr#L22" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/comparison_to_boolean.cr#L22" target="_blank">
ameba/rule/lint/comparison_to_boolean.cr
</a>
@ -977,8 +977,8 @@ or negating the variable.</p>
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -997,8 +997,8 @@ or negating the variable.</p>
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1042,8 +1042,8 @@ or negating the variable.</p>
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1221,7 +1221,7 @@ or negating the variable.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/comparison_to_boolean.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/comparison_to_boolean.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1402,7 +1402,7 @@ or negating the variable.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/comparison_to_boolean.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/comparison_to_boolean.cr#L33" target="_blank">View source</a>]
</div>
</div>

View file

@ -815,7 +815,7 @@ committed into our codebase.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/debug_calls.cr#L18" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/debug_calls.cr#L18" target="_blank">
ameba/rule/lint/debug_calls.cr
</a>
@ -1130,7 +1130,7 @@ committed into our codebase.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/debug_calls.cr#L18" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/debug_calls.cr#L18" target="_blank">View source</a>]
</div>
</div>
@ -1339,7 +1339,7 @@ committed into our codebase.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/debug_calls.cr#L26" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/debug_calls.cr#L26" target="_blank">View source</a>]
</div>
</div>

View file

@ -810,7 +810,7 @@ committed into our codebase.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/debugger_statement.cr#L13" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/debugger_statement.cr#L13" target="_blank">
ameba/rule/lint/debugger_statement.cr
</a>
@ -1110,7 +1110,7 @@ committed into our codebase.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/debugger_statement.cr#L13" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/debugger_statement.cr#L13" target="_blank">View source</a>]
</div>
</div>
@ -1291,7 +1291,7 @@ committed into our codebase.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/debugger_statement.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/debugger_statement.cr#L20" target="_blank">View source</a>]
</div>
</div>

View file

@ -811,7 +811,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/duplicated_require.cr#L16" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/duplicated_require.cr#L16" target="_blank">
ameba/rule/lint/duplicated_require.cr
</a>
@ -1112,7 +1112,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/duplicated_require.cr#L16" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/duplicated_require.cr#L16" target="_blank">View source</a>]
</div>
</div>
@ -1293,7 +1293,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/duplicated_require.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/duplicated_require.cr#L23" target="_blank">View source</a>]
</div>
</div>

View file

@ -830,7 +830,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_ensure.cr#L41" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/empty_ensure.cr#L40" target="_blank">
ameba/rule/lint/empty_ensure.cr
</a>
@ -1150,7 +1150,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_ensure.cr#L41" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/empty_ensure.cr#L40" target="_blank">View source</a>]
</div>
</div>
@ -1331,7 +1331,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_ensure.cr#L48" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/empty_ensure.cr#L47" target="_blank">View source</a>]
</div>
</div>

View file

@ -822,7 +822,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_expression.cr#L30" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/empty_expression.cr#L30" target="_blank">
ameba/rule/lint/empty_expression.cr
</a>
@ -987,8 +987,8 @@
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -1007,8 +1007,8 @@
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1052,8 +1052,8 @@
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1236,7 +1236,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_expression.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/empty_expression.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1417,7 +1417,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_expression.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/empty_expression.cr#L40" target="_blank">View source</a>]
</div>
</div>
@ -1433,7 +1433,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_expression.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/empty_expression.cr#L47" target="_blank">View source</a>]
</div>
</div>

View file

@ -832,7 +832,7 @@ loop <span class="k">do</span>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">
ameba/rule/lint/empty_loop.cr
</a>
@ -992,8 +992,8 @@ loop <span class="k">do</span>
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -1012,8 +1012,8 @@ loop <span class="k">do</span>
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1057,8 +1057,8 @@ loop <span class="k">do</span>
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1251,7 +1251,7 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/empty_loop.cr#L40" target="_blank">View source</a>]
</div>
</div>
@ -1432,7 +1432,7 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_loop.cr#L49" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/empty_loop.cr#L49" target="_blank">View source</a>]
</div>
</div>
@ -1448,7 +1448,7 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/empty_loop.cr#L55" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/empty_loop.cr#L53" target="_blank">View source</a>]
</div>
</div>

View file

@ -812,7 +812,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">
ameba/rule/lint/hash_duplicated_key.cr
</a>
@ -1114,7 +1114,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/hash_duplicated_key.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1295,7 +1295,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/hash_duplicated_key.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/hash_duplicated_key.cr#L29" target="_blank">View source</a>]
</div>
</div>

View file

@ -819,7 +819,7 @@ in control expressions.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L27" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L27" target="_blank">
ameba/rule/lint/literal_assignments_in_expressions.cr
</a>
@ -974,8 +974,8 @@ in control expressions.</p>
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -994,8 +994,8 @@ in control expressions.</p>
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1039,8 +1039,8 @@ in control expressions.</p>
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1220,7 +1220,7 @@ in control expressions.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L27" target="_blank">View source</a>]
</div>
</div>
@ -1401,7 +1401,7 @@ in control expressions.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/literal_assignments_in_expressions.cr#L36" target="_blank">View source</a>]
</div>
</div>

View file

@ -818,7 +818,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_in_condition.cr#L22" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/literal_in_condition.cr#L23" target="_blank">
ameba/rule/lint/literal_in_condition.cr
</a>
@ -905,11 +905,6 @@ replaced with either the body of the construct, or deleted entirely.</p>
</h2>
<ul class="list-summary">
<li class="entry-summary">
<a href="#check_node%28source%2Cnode%29-instance-method" class="signature"><strong>#check_node</strong>(source, node)</a>
</li>
<li class="entry-summary">
<a href="#description%3AString-instance-method" class="signature"><strong>#description</strong> : String</a>
@ -978,8 +973,8 @@ replaced with either the body of the construct, or deleted entirely.</p>
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -998,8 +993,8 @@ replaced with either the body of the construct, or deleted entirely.</p>
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1043,8 +1038,8 @@ replaced with either the body of the construct, or deleted entirely.</p>
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1223,7 +1218,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_in_condition.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/literal_in_condition.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -1281,22 +1276,6 @@ replaced with either the body of the construct, or deleted entirely.</p>
Instance Method Detail
</h2>
<div class="entry-detail" id="check_node(source,node)-instance-method">
<div class="signature">
def <strong>check_node</strong>(source, node)
<a class="method-permalink" href="#check_node%28source%2Cnode%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_in_condition.cr#L32" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="description:String-instance-method">
<div class="signature">
@ -1420,7 +1399,7 @@ replaced with either the body of the construct, or deleted entirely.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_in_condition.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/literal_in_condition.cr#L33" target="_blank">View source</a>]
</div>
</div>

View file

@ -814,7 +814,7 @@ that contain a literal value instead of a variable or function.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_in_interpolation.cr#L18" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/literal_in_interpolation.cr#L18" target="_blank">
ameba/rule/lint/literal_in_interpolation.cr
</a>
@ -969,8 +969,8 @@ that contain a literal value instead of a variable or function.</p>
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -989,8 +989,8 @@ that contain a literal value instead of a variable or function.</p>
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1034,8 +1034,8 @@ that contain a literal value instead of a variable or function.</p>
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1210,7 +1210,7 @@ that contain a literal value instead of a variable or function.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_in_interpolation.cr#L18" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/literal_in_interpolation.cr#L18" target="_blank">View source</a>]
</div>
</div>
@ -1391,7 +1391,7 @@ that contain a literal value instead of a variable or function.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literal_in_interpolation.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/literal_in_interpolation.cr#L27" target="_blank">View source</a>]
</div>
</div>

View file

@ -814,7 +814,7 @@ types like containers, range or regex.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literals_comparison.cr#L20" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/literals_comparison.cr#L19" target="_blank">
ameba/rule/lint/literals_comparison.cr
</a>
@ -956,13 +956,6 @@ types like containers, range or regex.</p>
</li>
<li class="entry-summary">
<a href="#test%28source%29-instance-method" class="signature"><strong>#test</strong>(source)</a>
<div class="summary"><p>Edge-case: <code>{{ T == Nil }}</code></p></div>
</li>
</ul>
@ -986,8 +979,8 @@ types like containers, range or regex.</p>
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -1006,8 +999,8 @@ types like containers, range or regex.</p>
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1051,8 +1044,8 @@ types like containers, range or regex.</p>
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1227,7 +1220,7 @@ types like containers, range or regex.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literals_comparison.cr#L20" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/literals_comparison.cr#L19" target="_blank">View source</a>]
</div>
</div>
@ -1408,32 +1401,7 @@ types like containers, range or regex.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literals_comparison.cr#L48" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="test(source)-instance-method">
<div class="signature">
def <strong>test</strong>(source)
<a class="method-permalink" href="#test%28source%29-instance-method">#</a>
</div>
<div class="doc">
<p>Edge-case: <code>{{ T == Nil }}</code></p>
<p>Current implementation just skips all macro contexts,
regardless of the free variable being present.</p>
<p>Ideally we should only check whether either of the sides
is a free var</p>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/literals_comparison.cr#L39" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/literals_comparison.cr#L31" target="_blank">View source</a>]
</div>
</div>

View file

@ -820,7 +820,7 @@ alice <span class="o">=</span> names.find { <span class="o">|</span>name<span cl
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/not_nil.cr#L28" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/not_nil.cr#L28" target="_blank">
ameba/rule/lint/not_nil.cr
</a>
@ -985,8 +985,8 @@ alice <span class="o">=</span> names.find { <span class="o">|</span>name<span cl
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -1005,8 +1005,8 @@ alice <span class="o">=</span> names.find { <span class="o">|</span>name<span cl
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1050,8 +1050,8 @@ alice <span class="o">=</span> names.find { <span class="o">|</span>name<span cl
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1232,7 +1232,7 @@ alice <span class="o">=</span> names.find { <span class="o">|</span>name<span cl
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/not_nil.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/not_nil.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1413,7 +1413,7 @@ alice <span class="o">=</span> names.find { <span class="o">|</span>name<span cl
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/not_nil.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/not_nil.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1429,7 +1429,7 @@ alice <span class="o">=</span> names.find { <span class="o">|</span>name<span cl
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/not_nil.cr#L38" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/not_nil.cr#L38" target="_blank">View source</a>]
</div>
</div>

View file

@ -814,7 +814,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/not_nil_after_no_bang.cr#L22" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/not_nil_after_no_bang.cr#L22" target="_blank">
ameba/rule/lint/not_nil_after_no_bang.cr
</a>
@ -989,8 +989,8 @@
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -1009,8 +1009,8 @@
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1054,8 +1054,8 @@
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1230,7 +1230,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/not_nil_after_no_bang.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/not_nil_after_no_bang.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1411,7 +1411,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/not_nil_after_no_bang.cr#L44" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/not_nil_after_no_bang.cr#L44" target="_blank">View source</a>]
</div>
</div>
@ -1427,7 +1427,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/not_nil_after_no_bang.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/not_nil_after_no_bang.cr#L35" target="_blank">View source</a>]
</div>
</div>

View file

@ -816,7 +816,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/percent_array.cr#L26" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/percent_array.cr#L26" target="_blank">
ameba/rule/lint/percent_array.cr
</a>
@ -1142,7 +1142,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/percent_array.cr#L26" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/percent_array.cr#L26" target="_blank">View source</a>]
</div>
</div>
@ -1379,7 +1379,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/percent_array.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/percent_array.cr#L36" target="_blank">View source</a>]
</div>
</div>

View file

@ -815,7 +815,7 @@ rand(<span class="n">2</span>)</code></pre>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/rand_zero.cr#L25" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/rand_zero.cr#L25" target="_blank">
ameba/rule/lint/rand_zero.cr
</a>
@ -1120,7 +1120,7 @@ rand(<span class="n">2</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/rand_zero.cr#L25" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/rand_zero.cr#L25" target="_blank">View source</a>]
</div>
</div>
@ -1301,7 +1301,7 @@ rand(<span class="n">2</span>)</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/rand_zero.cr#L32" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/rand_zero.cr#L32" target="_blank">View source</a>]
</div>
</div>

View file

@ -771,7 +771,7 @@ which is redundant.</p>
<p>And this is valid:</p>
<pre><code class="language-crystal"><span class="s">&quot;Hello, </span><span class="i">#{</span>name<span class="i">}</span><span class="s">&quot;</span></code></pre>
<p>YAML configuration example:</p>
<pre><code class="language-crystal"><span class="t">Lint</span><span class="o">/</span><span class="t">RedundantStringCoersion</span>
<pre><code class="language-crystal"><span class="t">Lint</span><span class="o">/</span><span class="t">RedundantStringCoercion</span>
<span class="t">Enabled</span>: <span class="n">true</span></code></pre>
@ -815,7 +815,7 @@ which is redundant.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">
ameba/rule/lint/redundant_string_coercion.cr
</a>
@ -970,8 +970,8 @@ which is redundant.</p>
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -990,8 +990,8 @@ which is redundant.</p>
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1035,8 +1035,8 @@ which is redundant.</p>
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1205,14 +1205,14 @@ which is redundant.</p>
<p>And this is valid:</p>
<pre><code class="language-crystal"><span class="s">&quot;Hello, </span><span class="i">#{</span>name<span class="i">}</span><span class="s">&quot;</span></code></pre>
<p>YAML configuration example:</p>
<pre><code class="language-crystal"><span class="t">Lint</span><span class="o">/</span><span class="t">RedundantStringCoersion</span>
<pre><code class="language-crystal"><span class="t">Lint</span><span class="o">/</span><span class="t">RedundantStringCoercion</span>
<span class="t">Enabled</span>: <span class="n">true</span></code></pre>
</div>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/redundant_string_coercion.cr#L23" target="_blank">View source</a>]
</div>
</div>
@ -1393,7 +1393,7 @@ which is redundant.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/redundant_string_coercion.cr#L32" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/redundant_string_coercion.cr#L32" target="_blank">View source</a>]
</div>
</div>

View file

@ -820,7 +820,7 @@ collection.each_with_index <span class="k">do</span> <span class="o">|</span>e,
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/redundant_with_index.cr#L30" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/redundant_with_index.cr#L30" target="_blank">
ameba/rule/lint/redundant_with_index.cr
</a>
@ -1111,7 +1111,7 @@ collection.each_with_index <span class="k">do</span> <span class="o">|</span>e,
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/redundant_with_index.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/redundant_with_index.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1292,7 +1292,7 @@ collection.each_with_index <span class="k">do</span> <span class="o">|</span>e,
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/redundant_with_index.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/redundant_with_index.cr#L35" target="_blank">View source</a>]
</div>
</div>

View file

@ -820,7 +820,7 @@ collection.each_with_object(<span class="n">0</span>) <span class="k">do</span>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/redundant_with_object.cr#L30" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/redundant_with_object.cr#L30" target="_blank">
ameba/rule/lint/redundant_with_object.cr
</a>
@ -1130,7 +1130,7 @@ collection.each_with_object(<span class="n">0</span>) <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/redundant_with_object.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/redundant_with_object.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1311,7 +1311,7 @@ collection.each_with_object(<span class="n">0</span>) <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/redundant_with_object.cr#L37" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/redundant_with_object.cr#L37" target="_blank">View source</a>]
</div>
</div>

View file

@ -828,7 +828,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowed_argument.cr#L38" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shadowed_argument.cr#L38" target="_blank">
ameba/rule/lint/shadowed_argument.cr
</a>
@ -1151,7 +1151,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowed_argument.cr#L38" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shadowed_argument.cr#L38" target="_blank">View source</a>]
</div>
</div>
@ -1332,7 +1332,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowed_argument.cr#L49" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shadowed_argument.cr#L49" target="_blank">View source</a>]
</div>
</div>
@ -1348,7 +1348,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowed_argument.cr#L45" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shadowed_argument.cr#L45" target="_blank">View source</a>]
</div>
</div>

View file

@ -826,7 +826,7 @@ exception is rescued.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowed_exception.cr#L36" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shadowed_exception.cr#L36" target="_blank">
ameba/rule/lint/shadowed_exception.cr
</a>
@ -1142,7 +1142,7 @@ exception is rescued.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowed_exception.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shadowed_exception.cr#L36" target="_blank">View source</a>]
</div>
</div>
@ -1323,7 +1323,7 @@ exception is rescued.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowed_exception.cr#L43" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shadowed_exception.cr#L43" target="_blank">View source</a>]
</div>
</div>

View file

@ -823,7 +823,7 @@ for block or proc arguments.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowing_outer_local_var.cr#L33" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shadowing_outer_local_var.cr#L33" target="_blank">
ameba/rule/lint/shadowing_outer_local_var.cr
</a>
@ -1141,7 +1141,7 @@ for block or proc arguments.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowing_outer_local_var.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shadowing_outer_local_var.cr#L33" target="_blank">View source</a>]
</div>
</div>
@ -1322,7 +1322,7 @@ for block or proc arguments.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowing_outer_local_var.cr#L48" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shadowing_outer_local_var.cr#L48" target="_blank">View source</a>]
</div>
</div>
@ -1338,7 +1338,7 @@ for block or proc arguments.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shadowing_outer_local_var.cr#L41" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shadowing_outer_local_var.cr#L41" target="_blank">View source</a>]
</div>
</div>

View file

@ -838,7 +838,7 @@ the second one.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shared_var_in_fiber.cr#L52" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shared_var_in_fiber.cr#L52" target="_blank">
ameba/rule/lint/shared_var_in_fiber.cr
</a>
@ -1171,7 +1171,7 @@ the second one.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shared_var_in_fiber.cr#L52" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shared_var_in_fiber.cr#L52" target="_blank">View source</a>]
</div>
</div>
@ -1352,7 +1352,7 @@ the second one.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shared_var_in_fiber.cr#L63" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shared_var_in_fiber.cr#L63" target="_blank">View source</a>]
</div>
</div>
@ -1368,7 +1368,7 @@ the second one.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/shared_var_in_fiber.cr#L59" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/shared_var_in_fiber.cr#L59" target="_blank">View source</a>]
</div>
</div>

View file

@ -836,7 +836,7 @@ it <span class="s">&quot;works&quot;</span> <span class="k">do</span>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/spec_focus.cr#L47" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/spec_focus.cr#L47" target="_blank">
ameba/rule/lint/spec_focus.cr
</a>
@ -1172,7 +1172,7 @@ it <span class="s">&quot;works&quot;</span> <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/spec_focus.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/spec_focus.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1353,7 +1353,7 @@ it <span class="s">&quot;works&quot;</span> <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/spec_focus.cr#L61" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/spec_focus.cr#L61" target="_blank">View source</a>]
</div>
</div>
@ -1369,7 +1369,7 @@ it <span class="s">&quot;works&quot;</span> <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/spec_focus.cr#L55" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/spec_focus.cr#L55" target="_blank">View source</a>]
</div>
</div>

View file

@ -815,7 +815,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/syntax.cr#L21" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/syntax.cr#L21" target="_blank">
ameba/rule/lint/syntax.cr
</a>
@ -1101,7 +1101,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/syntax.cr#L21" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/syntax.cr#L21" target="_blank">View source</a>]
</div>
</div>
@ -1282,7 +1282,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/syntax.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/syntax.cr#L27" target="_blank">View source</a>]
</div>
</div>

View file

@ -818,7 +818,7 @@ have any effect, the snippet should be written as the following:</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unneeded_disable_directive.cr#L27" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/unneeded_disable_directive.cr#L27" target="_blank">
ameba/rule/lint/unneeded_disable_directive.cr
</a>
@ -1126,7 +1126,7 @@ have any effect, the snippet should be written as the following:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unneeded_disable_directive.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/unneeded_disable_directive.cr#L27" target="_blank">View source</a>]
</div>
</div>
@ -1307,7 +1307,7 @@ have any effect, the snippet should be written as the following:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unneeded_disable_directive.cr#L34" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/unneeded_disable_directive.cr#L34" target="_blank">View source</a>]
</div>
</div>

View file

@ -830,7 +830,7 @@ loop <span class="k">do</span>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unreachable_code.cr#L44" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/unreachable_code.cr#L44" target="_blank">
ameba/rule/lint/unreachable_code.cr
</a>
@ -990,8 +990,8 @@ loop <span class="k">do</span>
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -1010,8 +1010,8 @@ loop <span class="k">do</span>
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1055,8 +1055,8 @@ loop <span class="k">do</span>
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1247,7 +1247,7 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unreachable_code.cr#L44" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/unreachable_code.cr#L44" target="_blank">View source</a>]
</div>
</div>
@ -1428,7 +1428,7 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unreachable_code.cr#L57" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/unreachable_code.cr#L57" target="_blank">View source</a>]
</div>
</div>
@ -1444,7 +1444,7 @@ loop <span class="k">do</span>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unreachable_code.cr#L53" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/unreachable_code.cr#L53" target="_blank">View source</a>]
</div>
</div>

View file

@ -819,7 +819,7 @@ For example, this is considered invalid:</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unused_argument.cr#L27" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/unused_argument.cr#L28" target="_blank">
ameba/rule/lint/unused_argument.cr
</a>
@ -1173,7 +1173,7 @@ For example, this is considered invalid:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unused_argument.cr#L27" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/unused_argument.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1438,7 +1438,7 @@ For example, this is considered invalid:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unused_argument.cr#L43" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/unused_argument.cr#L44" target="_blank">View source</a>]
</div>
</div>
@ -1454,7 +1454,7 @@ For example, this is considered invalid:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unused_argument.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/unused_argument.cr#L48" target="_blank">View source</a>]
</div>
</div>
@ -1470,7 +1470,7 @@ For example, this is considered invalid:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unused_argument.cr#L51" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/unused_argument.cr#L52" target="_blank">View source</a>]
</div>
</div>
@ -1486,7 +1486,7 @@ For example, this is considered invalid:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/unused_argument.cr#L39" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/unused_argument.cr#L40" target="_blank">View source</a>]
</div>
</div>

View file

@ -818,7 +818,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/useless_assign.cr#L28" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/useless_assign.cr#L28" target="_blank">
ameba/rule/lint/useless_assign.cr
</a>
@ -1131,7 +1131,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/useless_assign.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/useless_assign.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1312,7 +1312,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/useless_assign.cr#L39" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/useless_assign.cr#L39" target="_blank">View source</a>]
</div>
</div>
@ -1328,7 +1328,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/useless_assign.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/useless_assign.cr#L35" target="_blank">View source</a>]
</div>
</div>

View file

@ -823,7 +823,7 @@ where it is guaranteed to always return the same result.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/useless_condition_in_when.cr#L33" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/useless_condition_in_when.cr#L33" target="_blank">
ameba/rule/lint/useless_condition_in_when.cr
</a>
@ -1136,7 +1136,7 @@ where it is guaranteed to always return the same result.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/useless_condition_in_when.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/useless_condition_in_when.cr#L33" target="_blank">View source</a>]
</div>
</div>
@ -1317,7 +1317,7 @@ where it is guaranteed to always return the same result.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/lint/useless_condition_in_when.cr#L50" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/lint/useless_condition_in_when.cr#L50" target="_blank">View source</a>]
</div>
</div>

View file

@ -776,7 +776,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/metrics/cyclomatic_complexity.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/metrics/cyclomatic_complexity.cr#L1" target="_blank">
ameba/rule/metrics/cyclomatic_complexity.cr
</a>

View file

@ -811,7 +811,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/metrics/cyclomatic_complexity.cr#L11" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/metrics/cyclomatic_complexity.cr#L11" target="_blank">
ameba/rule/metrics/cyclomatic_complexity.cr
</a>
@ -976,8 +976,8 @@
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -996,8 +996,8 @@
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1041,8 +1041,8 @@
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1214,7 +1214,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/metrics/cyclomatic_complexity.cr#L11" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/metrics/cyclomatic_complexity.cr#L11" target="_blank">View source</a>]
</div>
</div>
@ -1423,7 +1423,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/metrics/cyclomatic_complexity.cr#L21" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/metrics/cyclomatic_complexity.cr#L21" target="_blank">View source</a>]
</div>
</div>

View file

@ -776,63 +776,63 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/any_after_filter.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/any_after_filter.cr#L3" target="_blank">
ameba/rule/performance/any_after_filter.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/any_instead_of_empty.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/any_instead_of_empty.cr#L3" target="_blank">
ameba/rule/performance/any_instead_of_empty.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/base.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/base.cr#L3" target="_blank">
ameba/rule/performance/base.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/chained_call_with_no_bang.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/chained_call_with_no_bang.cr#L3" target="_blank">
ameba/rule/performance/chained_call_with_no_bang.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/compact_after_map.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/compact_after_map.cr#L3" target="_blank">
ameba/rule/performance/compact_after_map.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/first_last_after_filter.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/first_last_after_filter.cr#L3" target="_blank">
ameba/rule/performance/first_last_after_filter.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/flatten_after_map.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/flatten_after_map.cr#L3" target="_blank">
ameba/rule/performance/flatten_after_map.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/map_instead_of_block.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/map_instead_of_block.cr#L3" target="_blank">
ameba/rule/performance/map_instead_of_block.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/size_after_filter.cr#L3" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/size_after_filter.cr#L3" target="_blank">
ameba/rule/performance/size_after_filter.cr
</a>

View file

@ -817,7 +817,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">
ameba/rule/performance/any_after_filter.cr
</a>
@ -1215,7 +1215,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/any_after_filter.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1424,7 +1424,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/any_after_filter.cr#L38" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/any_after_filter.cr#L38" target="_blank">View source</a>]
</div>
</div>

View file

@ -819,7 +819,7 @@ one value present.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">
ameba/rule/performance/any_instead_of_empty.cr
</a>
@ -981,8 +981,8 @@ one value present.</p>
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -1001,8 +1001,8 @@ one value present.</p>
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1046,8 +1046,8 @@ one value present.</p>
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1301,7 +1301,7 @@ one value present.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/any_instead_of_empty.cr#L30" target="_blank">View source</a>]
</div>
</div>
@ -1482,7 +1482,7 @@ one value present.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/any_instead_of_empty.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/any_instead_of_empty.cr#L40" target="_blank">View source</a>]
</div>
</div>

View file

@ -833,7 +833,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/base.cr#L5" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/base.cr#L5" target="_blank">
ameba/rule/performance/base.cr
</a>
@ -1071,7 +1071,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/base.cr#L5" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/base.cr#L5" target="_blank">View source</a>]
</div>
</div>
@ -1152,7 +1152,7 @@ source.valid?</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/base.cr#L6" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/base.cr#L6" target="_blank">View source</a>]
</div>
</div>

View file

@ -829,7 +829,7 @@ chars <span class="o">=</span> names
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/chained_call_with_no_bang.cr#L39" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/chained_call_with_no_bang.cr#L39" target="_blank">
ameba/rule/performance/chained_call_with_no_bang.cr
</a>
@ -1010,8 +1010,8 @@ chars <span class="o">=</span> names
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -1030,8 +1030,8 @@ chars <span class="o">=</span> names
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1075,8 +1075,8 @@ chars <span class="o">=</span> names
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1350,7 +1350,7 @@ chars <span class="o">=</span> names
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/chained_call_with_no_bang.cr#L39" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/chained_call_with_no_bang.cr#L39" target="_blank">View source</a>]
</div>
</div>
@ -1559,7 +1559,7 @@ chars <span class="o">=</span> names
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/chained_call_with_no_bang.cr#L70" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/chained_call_with_no_bang.cr#L70" target="_blank">View source</a>]
</div>
</div>
@ -1575,7 +1575,7 @@ chars <span class="o">=</span> names
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/chained_call_with_no_bang.cr#L61" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/chained_call_with_no_bang.cr#L61" target="_blank">View source</a>]
</div>
</div>

View file

@ -812,7 +812,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">
ameba/rule/performance/compact_after_map.cr
</a>
@ -1200,7 +1200,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/compact_after_map.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1381,7 +1381,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/compact_after_map.cr#L42" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/compact_after_map.cr#L42" target="_blank">View source</a>]
</div>
</div>
@ -1397,7 +1397,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/compact_after_map.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/compact_after_map.cr#L33" target="_blank">View source</a>]
</div>
</div>

View file

@ -816,7 +816,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">
ameba/rule/performance/first_last_after_filter.cr
</a>
@ -1222,7 +1222,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/first_last_after_filter.cr#L28" target="_blank">View source</a>]
</div>
</div>
@ -1431,7 +1431,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/first_last_after_filter.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/first_last_after_filter.cr#L47" target="_blank">View source</a>]
</div>
</div>
@ -1447,7 +1447,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/first_last_after_filter.cr#L38" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/first_last_after_filter.cr#L38" target="_blank">View source</a>]
</div>
</div>

View file

@ -812,7 +812,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">
ameba/rule/performance/flatten_after_map.cr
</a>
@ -1200,7 +1200,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/flatten_after_map.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1381,7 +1381,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/flatten_after_map.cr#L42" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/flatten_after_map.cr#L42" target="_blank">View source</a>]
</div>
</div>
@ -1397,7 +1397,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/flatten_after_map.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/flatten_after_map.cr#L33" target="_blank">View source</a>]
</div>
</div>

View file

@ -813,7 +813,7 @@ that follow <code>map</code>.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">
ameba/rule/performance/map_instead_of_block.cr
</a>
@ -1203,7 +1203,7 @@ that follow <code>map</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/map_instead_of_block.cr#L25" target="_blank">View source</a>]
</div>
</div>
@ -1384,7 +1384,7 @@ that follow <code>map</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/map_instead_of_block.cr#L43" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/map_instead_of_block.cr#L43" target="_blank">View source</a>]
</div>
</div>
@ -1400,7 +1400,7 @@ that follow <code>map</code>.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/map_instead_of_block.cr#L34" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/map_instead_of_block.cr#L34" target="_blank">View source</a>]
</div>
</div>

View file

@ -823,7 +823,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">
ameba/rule/performance/size_after_filter.cr
</a>
@ -1238,7 +1238,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/size_after_filter.cr#L35" target="_blank">View source</a>]
</div>
</div>
@ -1447,7 +1447,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/size_after_filter.cr#L53" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/size_after_filter.cr#L53" target="_blank">View source</a>]
</div>
</div>
@ -1463,7 +1463,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/performance/size_after_filter.cr#L44" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/performance/size_after_filter.cr#L44" target="_blank">View source</a>]
</div>
</div>

View file

@ -776,126 +776,126 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/constant_names.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/constant_names.cr#L1" target="_blank">
ameba/rule/style/constant_names.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/guard_clause.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/guard_clause.cr#L1" target="_blank">
ameba/rule/style/guard_clause.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/is_a_filter.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/is_a_filter.cr#L1" target="_blank">
ameba/rule/style/is_a_filter.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/is_a_nil.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/is_a_nil.cr#L1" target="_blank">
ameba/rule/style/is_a_nil.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/large_numbers.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/large_numbers.cr#L1" target="_blank">
ameba/rule/style/large_numbers.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/method_names.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/method_names.cr#L1" target="_blank">
ameba/rule/style/method_names.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/negated_conditions_in_unless.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/negated_conditions_in_unless.cr#L1" target="_blank">
ameba/rule/style/negated_conditions_in_unless.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/parentheses_around_condition.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/parentheses_around_condition.cr#L1" target="_blank">
ameba/rule/style/parentheses_around_condition.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/predicate_name.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/predicate_name.cr#L1" target="_blank">
ameba/rule/style/predicate_name.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/query_bool_methods.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/query_bool_methods.cr#L1" target="_blank">
ameba/rule/style/query_bool_methods.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/redundant_begin.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/redundant_begin.cr#L1" target="_blank">
ameba/rule/style/redundant_begin.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/redundant_next.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/redundant_next.cr#L1" target="_blank">
ameba/rule/style/redundant_next.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/redundant_return.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/redundant_return.cr#L1" target="_blank">
ameba/rule/style/redundant_return.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/type_names.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/type_names.cr#L1" target="_blank">
ameba/rule/style/type_names.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/unless_else.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/unless_else.cr#L1" target="_blank">
ameba/rule/style/unless_else.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/variable_names.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/variable_names.cr#L1" target="_blank">
ameba/rule/style/variable_names.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/verbose_block.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/verbose_block.cr#L1" target="_blank">
ameba/rule/style/verbose_block.cr
</a>
<br/>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/while_true.cr#L1" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/while_true.cr#L1" target="_blank">
ameba/rule/style/while_true.cr
</a>

View file

@ -814,7 +814,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/constant_names.cr#L24" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/constant_names.cr#L24" target="_blank">
ameba/rule/style/constant_names.cr
</a>
@ -1118,7 +1118,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/constant_names.cr#L24" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/constant_names.cr#L24" target="_blank">View source</a>]
</div>
</div>
@ -1299,7 +1299,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/constant_names.cr#L31" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/constant_names.cr#L31" target="_blank">View source</a>]
</div>
</div>

View file

@ -851,7 +851,7 @@ ok</code></pre>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/guard_clause.cr#L54" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/guard_clause.cr#L54" target="_blank">
ameba/rule/style/guard_clause.cr
</a>
@ -1021,8 +1021,8 @@ ok</code></pre>
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -1041,8 +1041,8 @@ ok</code></pre>
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1086,8 +1086,8 @@ ok</code></pre>
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1299,7 +1299,7 @@ ok</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/guard_clause.cr#L54" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/guard_clause.cr#L54" target="_blank">View source</a>]
</div>
</div>
@ -1452,7 +1452,7 @@ ok</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/guard_clause.cr#L177" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/guard_clause.cr#L177" target="_blank">View source</a>]
</div>
</div>
@ -1496,7 +1496,7 @@ ok</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/guard_clause.cr#L69" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/guard_clause.cr#L69" target="_blank">View source</a>]
</div>
</div>
@ -1512,7 +1512,7 @@ ok</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/guard_clause.cr#L83" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/guard_clause.cr#L83" target="_blank">View source</a>]
</div>
</div>
@ -1528,7 +1528,7 @@ ok</code></pre>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/guard_clause.cr#L65" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/guard_clause.cr#L65" target="_blank">View source</a>]
</div>
</div>

View file

@ -831,7 +831,7 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># =&gt; tr
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/is_a_filter.cr#L41" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/is_a_filter.cr#L41" target="_blank">
ameba/rule/style/is_a_filter.cr
</a>
@ -1177,7 +1177,7 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># =&gt; tr
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/is_a_filter.cr#L41" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/is_a_filter.cr#L41" target="_blank">View source</a>]
</div>
</div>
@ -1386,7 +1386,7 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># =&gt; tr
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/is_a_filter.cr#L60" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/is_a_filter.cr#L60" target="_blank">View source</a>]
</div>
</div>
@ -1402,7 +1402,7 @@ matches.one?(<span class="t">Nil</span>) <span class="c"># =&gt; tr
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/is_a_filter.cr#L51" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/is_a_filter.cr#L51" target="_blank">View source</a>]
</div>
</div>

View file

@ -814,7 +814,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/is_a_nil.cr#L22" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/is_a_nil.cr#L22" target="_blank">
ameba/rule/style/is_a_nil.cr
</a>
@ -969,8 +969,8 @@
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -989,8 +989,8 @@
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1034,8 +1034,8 @@
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1210,7 +1210,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/is_a_nil.cr#L22" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/is_a_nil.cr#L22" target="_blank">View source</a>]
</div>
</div>
@ -1391,7 +1391,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/is_a_nil.cr#L31" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/is_a_nil.cr#L31" target="_blank">View source</a>]
</div>
</div>

View file

@ -819,7 +819,7 @@ large numbers more easily.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/large_numbers.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/large_numbers.cr#L29" target="_blank">
ameba/rule/style/large_numbers.cr
</a>
@ -1138,7 +1138,7 @@ large numbers more easily.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/large_numbers.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/large_numbers.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1347,7 +1347,7 @@ large numbers more easily.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/large_numbers.cr#L38" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/large_numbers.cr#L38" target="_blank">View source</a>]
</div>
</div>

View file

@ -832,7 +832,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/method_names.cr#L40" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/method_names.cr#L40" target="_blank">
ameba/rule/style/method_names.cr
</a>
@ -987,8 +987,8 @@
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -1007,8 +1007,8 @@
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1052,8 +1052,8 @@
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1246,7 +1246,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/method_names.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/method_names.cr#L40" target="_blank">View source</a>]
</div>
</div>
@ -1427,7 +1427,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/method_names.cr#L49" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/method_names.cr#L49" target="_blank">View source</a>]
</div>
</div>

View file

@ -818,7 +818,7 @@ that is executed if a negated condition is NOT met.</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/negated_conditions_in_unless.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/negated_conditions_in_unless.cr#L29" target="_blank">
ameba/rule/style/negated_conditions_in_unless.cr
</a>
@ -1126,7 +1126,7 @@ that is executed if a negated condition is NOT met.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/negated_conditions_in_unless.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/negated_conditions_in_unless.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1307,7 +1307,7 @@ that is executed if a negated condition is NOT met.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/negated_conditions_in_unless.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/negated_conditions_in_unless.cr#L36" target="_blank">View source</a>]
</div>
</div>

View file

@ -819,7 +819,7 @@ around the condition of <code>if</code>, <code>unless</code>, <code>case,</code>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/parentheses_around_condition.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/parentheses_around_condition.cr#L29" target="_blank">
ameba/rule/style/parentheses_around_condition.cr
</a>
@ -1153,7 +1153,7 @@ around the condition of <code>if</code>, <code>unless</code>, <code>case,</code>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/parentheses_around_condition.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/parentheses_around_condition.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1390,7 +1390,7 @@ around the condition of <code>if</code>, <code>unless</code>, <code>case,</code>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/parentheses_around_condition.cr#L55" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/parentheses_around_condition.cr#L55" target="_blank">View source</a>]
</div>
</div>

View file

@ -816,7 +816,7 @@ the ones that are not valid Crystal code (e.g. <code>is_404?</code>).</p>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/predicate_name.cr#L26" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/predicate_name.cr#L26" target="_blank">
ameba/rule/style/predicate_name.cr
</a>
@ -1122,7 +1122,7 @@ the ones that are not valid Crystal code (e.g. <code>is_404?</code>).</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/predicate_name.cr#L26" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/predicate_name.cr#L26" target="_blank">View source</a>]
</div>
</div>
@ -1303,7 +1303,7 @@ the ones that are not valid Crystal code (e.g. <code>is_404?</code>).</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/predicate_name.cr#L33" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/predicate_name.cr#L33" target="_blank">View source</a>]
</div>
</div>

View file

@ -821,7 +821,7 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/query_bool_methods.cr#L29" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/query_bool_methods.cr#L29" target="_blank">
ameba/rule/style/query_bool_methods.cr
</a>
@ -981,8 +981,8 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -1001,8 +1001,8 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1046,8 +1046,8 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1229,7 +1229,7 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/query_bool_methods.cr#L29" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/query_bool_methods.cr#L29" target="_blank">View source</a>]
</div>
</div>
@ -1410,7 +1410,7 @@ using <code>Object#(class_)property</code> or <code>Object#(class_)getter</code>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/query_bool_methods.cr#L40" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/query_bool_methods.cr#L40" target="_blank">View source</a>]
</div>
</div>

View file

@ -843,7 +843,7 @@
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/redundant_begin.cr#L58" target="_blank">
<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/redundant_begin.cr#L58" target="_blank">
ameba/rule/style/redundant_begin.cr
</a>
@ -998,8 +998,8 @@
control_exp_code</a>,
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#dynamic_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>dynamic_literal?(node) : Bool</span>
dynamic_literal?</a>,
@ -1018,8 +1018,8 @@
flow_expression?</a>,
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>literal?(node) : Bool</span>
literal?</a>,
@ -1063,8 +1063,8 @@
source_between</a>,
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%2Cinclude_paths%3Dfalse%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node, include_paths = <span class="n">false</span>) : Bool</span>
<a href="../../../Ameba/AST/Util.html#static_literal%3F%28node%29%3ABool-instance-method" class="tooltip">
<span>static_literal?(node) : Bool</span>
static_literal?</a>
@ -1268,7 +1268,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/redundant_begin.cr#L58" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/redundant_begin.cr#L58" target="_blank">View source</a>]
</div>
</div>
@ -1449,7 +1449,7 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/150ba6c7/src/ameba/rule/style/redundant_begin.cr#L67" target="_blank">View source</a>]
[<a href="https://github.com/crystal-ameba/ameba/blob/4533e52a/src/ameba/rule/style/redundant_begin.cr#L67" target="_blank">View source</a>]
</div>
</div>

Some files were not shown because too many files have changed in this diff Show more