Deploying to gh-pages from @ bedf3a68d7 🚀

This commit is contained in:
veelenga 2021-01-12 10:04:15 +00:00
parent 783b1f1658
commit edc349b964
93 changed files with 3493 additions and 1634 deletions

View file

@ -3,28 +3,28 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 0.35.1">
<meta name="crystal_docs.project_version" content="0.13.3-dev">
<meta name="generator" content="Crystal Docs 0.34.0">
<meta name="crystal_docs.project_version" content="master">
<meta name="crystal_docs.project_name" content="ameba">
<link href="../../css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../../js/doc.js"></script>
<meta name="repository-name" content="ameba">
<title>Ameba::AST::Util - ameba 0.13.3-dev</title>
<script type="text/javascript">
CrystalDocs.base_path = "../../";
</script>
</head>
<body>
<svg class="hidden">
<symbol id="octicon-link" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path>
</symbol>
</svg>
<meta id="repository-name" content="ameba">
<title>Ameba::AST::Util - ameba master</title>
<script type="text/javascript">
CrystalDocs.base_path = "../../";
</script>
</head>
<body>
<div class="sidebar">
<div class="sidebar-header">
<div class="search-box">
@ -39,12 +39,12 @@
</h1>
<span class="project-version">
0.13.3-dev
master
</span>
</div>
</div>
<div class="search-results hidden">
<div class="search-results" class="hidden">
<ul class="search-list"></ul>
</div>
@ -628,6 +628,13 @@
Defined in:
</h2>
<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/ast/util.cr#L2" target="_blank">
ameba/ast/util.cr
</a>
<br/>
@ -743,6 +750,8 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/ast/util.cr#L141" target="_blank">View source</a>]
</div>
</div>
@ -762,6 +771,8 @@
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/ast/util.cr#L135" target="_blank">View source</a>]
</div>
</div>
@ -783,6 +794,8 @@ or special call node that interrupts execution (i.e. raise, exit, abort).</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/ast/util.cr#L62" target="_blank">View source</a>]
</div>
</div>
@ -802,7 +815,7 @@ Node represents a flow expression if it is full-filled by a flow command.</p>
<p>For example, this node is a flow expression, because each branch contains
a flow command <code>return</code>:</p>
<pre><code class="language-crystal"><span class="k">if</span> a <span class="o">&gt;</span> <span class="n">0</span>
<pre><code><span class="k">if</span> a <span class="o">&gt;</span> <span class="n">0</span>
<span class="k">return</span> <span class="n">:positive</span>
<span class="k">elsif</span> a <span class="o">&lt;</span> <span class="n">0</span>
<span class="k">return</span> <span class="n">:negative</span>
@ -812,7 +825,7 @@ a flow command <code>return</code>:</p>
<p>This node is a not a flow expression:</p>
<pre><code class="language-crystal"><span class="k">if</span> a <span class="o">&gt;</span> <span class="n">0</span>
<pre><code><span class="k">if</span> a <span class="o">&gt;</span> <span class="n">0</span>
<span class="k">return</span> <span class="n">:positive</span>
<span class="k">end</span></code></pre>
@ -822,6 +835,8 @@ a flow command <code>return</code>:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/ast/util.cr#L101" target="_blank">View source</a>]
</div>
</div>
@ -841,6 +856,8 @@ a flow command <code>return</code>:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/ast/util.cr#L4" target="_blank">View source</a>]
</div>
</div>
@ -860,6 +877,8 @@ a flow command <code>return</code>:</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/ast/util.cr#L147" target="_blank">View source</a>]
</div>
</div>
@ -881,6 +900,8 @@ to determine and cut a piece of source of the node.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/ast/util.cr#L33" target="_blank">View source</a>]
</div>
</div>
@ -900,6 +921,8 @@ to determine and cut a piece of source of the node.</p>
<br/>
<div>
[<a href="https://github.com/crystal-ameba/ameba/blob/bedf3a68/src/ameba/ast/util.cr#L129" target="_blank">View source</a>]
</div>
</div>