mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Deploying to gh-pages from @ a69fba88bd 🚀
This commit is contained in:
parent
b4dcb5ce36
commit
5089bf1c9a
118 changed files with 818 additions and 785 deletions
|
|
@ -760,7 +760,7 @@ This is where the local variables belong to.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/528ec460/src/ameba/ast/scope.cr#L6" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L6" target="_blank">
|
||||
ameba/ast/scope.cr
|
||||
</a>
|
||||
|
||||
|
|
@ -835,7 +835,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, false if not.</p></div>
|
||||
<div class="summary"><p>Returns true if var is an argument in current scope, <code>false</code> otherwise.</p></div>
|
||||
|
||||
</li>
|
||||
|
||||
|
|
@ -856,21 +856,21 @@ This is where the local variables belong to.</p>
|
|||
<li class="entry-summary">
|
||||
<a href="#assigns_ivar%3F%28name%29-instance-method" class="signature"><strong>#assigns_ivar?</strong>(name)</a>
|
||||
|
||||
<div class="summary"><p>Returns true instance variable assinged in this scope.</p></div>
|
||||
<div class="summary"><p>Returns <code>true</code> if instance variable is assinged in this scope.</p></div>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#block%3F-instance-method" class="signature"><strong>#block?</strong></a>
|
||||
|
||||
<div class="summary"><p>Returns true if current scope represents a block (or proc), false if not.</p></div>
|
||||
<div class="summary"><p>Returns <code>true</code> if current scope represents a block (or proc), <code>false</code> otherwise.</p></div>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#def%3F-instance-method" class="signature"><strong>#def?</strong></a>
|
||||
|
||||
<div class="summary"><p>Returns true if current scope is a def, false if not.</p></div>
|
||||
<div class="summary"><p>Returns <code>true</code> if current scope is a def, <code>false</code> otherwise.</p></div>
|
||||
|
||||
</li>
|
||||
|
||||
|
|
@ -887,14 +887,14 @@ This is where the local variables belong to.</p>
|
|||
<li class="entry-summary">
|
||||
<a href="#eql%3F%28node%29-instance-method" class="signature"><strong>#eql?</strong>(node)</a>
|
||||
|
||||
<div class="summary"><p>Returns true if the <code><a href="../../Ameba/AST/Scope.html#node%3ACrystal%3A%3AASTNode-instance-method">#node</a></code> represents exactly the same Crystal node as <code>@node</code>.</p></div>
|
||||
<div class="summary"><p>Returns <code>true</code> if the <em>node</em> represents exactly the same Crystal node as <code>@node</code>.</p></div>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#find_variable%28name%3AString%29-instance-method" class="signature"><strong>#find_variable</strong>(name : String)</a>
|
||||
|
||||
<div class="summary"><p>Returns variable by its name or nil if it does not exist.</p></div>
|
||||
<div class="summary"><p>Returns variable by its name or <code>nil</code> if it does not exist.</p></div>
|
||||
|
||||
</li>
|
||||
|
||||
|
|
@ -908,7 +908,7 @@ This is where the local variables belong to.</p>
|
|||
<li class="entry-summary">
|
||||
<a href="#in_macro%3F-instance-method" class="signature"><strong>#in_macro?</strong></a>
|
||||
|
||||
<div class="summary"><p>Returns true if current scope sits inside a macro.</p></div>
|
||||
<div class="summary"><p>Returns <code>true</code> if current scope sits inside a macro.</p></div>
|
||||
|
||||
</li>
|
||||
|
||||
|
|
@ -960,14 +960,14 @@ 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, false if not.</p></div>
|
||||
<div class="summary"><p>Returns true if current scope (or any of inner scopes) references variable, <code>false</code> otherwise.</p></div>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#spawn_block%3F-instance-method" class="signature"><strong>#spawn_block?</strong></a>
|
||||
|
||||
<div class="summary"><p>Returns true if current scope represents a spawn block, e.</p></div>
|
||||
<div class="summary"><p>Returns <code>true</code> if current scope represents a spawn block, e.</p></div>
|
||||
|
||||
</li>
|
||||
|
||||
|
|
@ -984,14 +984,14 @@ This is where the local variables belong to.</p>
|
|||
<li class="entry-summary">
|
||||
<a href="#top_level%3F-instance-method" class="signature"><strong>#top_level?</strong></a>
|
||||
|
||||
<div class="summary"><p>Returns true if this scope is a top level scope, false if not.</p></div>
|
||||
<div class="summary"><p>Returns <code>true</code> if this scope is a top level scope, <code>false</code> otherwise.</p></div>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#type_definition%3F-instance-method" class="signature"><strong>#type_definition?</strong></a>
|
||||
|
||||
<div class="summary"><p>Returns true if and only if current scope represents some type definition, for example a class.</p></div>
|
||||
<div class="summary"><p>Returns <code>true</code> if and only if current scope represents some type definition, for example a class.</p></div>
|
||||
|
||||
</li>
|
||||
|
||||
|
|
@ -1059,7 +1059,7 @@ This is where the local variables belong to.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/528ec460/src/ameba/ast/scope.cr#L39" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L39" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1119,7 +1119,7 @@ scope.add_argument(arg_node)</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/528ec460/src/ameba/ast/scope.cr#L59" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L59" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1142,7 +1142,7 @@ scope.add_ivariable(ivar_node)</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/528ec460/src/ameba/ast/scope.cr#L70" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L70" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1165,7 +1165,7 @@ scope.add_variable(var_node)</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/528ec460/src/ameba/ast/scope.cr#L49" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L49" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1180,13 +1180,13 @@ scope.add_variable(var_node)</code></pre>
|
|||
|
||||
<div class="doc">
|
||||
|
||||
<p>Returns true if var is an argument in current scope, false if not.</p>
|
||||
<p>Returns true 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/528ec460/src/ameba/ast/scope.cr#L155" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L156" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1207,7 +1207,7 @@ scope.add_variable(var_node)</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/528ec460/src/ameba/ast/scope.cr#L14" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L14" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1230,7 +1230,7 @@ scope.assign_variable(var_name, assign_node)</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/528ec460/src/ameba/ast/scope.cr#L90" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L90" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1245,13 +1245,13 @@ scope.assign_variable(var_name, assign_node)</code></pre>
|
|||
|
||||
<div class="doc">
|
||||
|
||||
<p>Returns true instance variable assinged in this scope.</p>
|
||||
<p>Returns <code>true</code> if instance variable is assinged in this scope.</p>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/528ec460/src/ameba/ast/scope.cr#L119" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L120" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1266,14 +1266,14 @@ scope.assign_variable(var_name, assign_node)</code></pre>
|
|||
|
||||
<div class="doc">
|
||||
|
||||
<p>Returns true if current scope represents a block (or proc),
|
||||
false if not.</p>
|
||||
<p>Returns <code>true</code> if current scope represents a block (or proc),
|
||||
<code>false</code> otherwise.</p>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/528ec460/src/ameba/ast/scope.cr#L96" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L96" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1288,13 +1288,13 @@ false if not.</p>
|
|||
|
||||
<div class="doc">
|
||||
|
||||
<p>Returns true if current scope is a def, false if not.</p>
|
||||
<p>Returns <code>true</code> if current scope is a def, <code>false</code> otherwise.</p>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/528ec460/src/ameba/ast/scope.cr#L145" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L146" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1310,7 +1310,7 @@ false if not.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/528ec460/src/ameba/ast/scope.cr#L30" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L30" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1326,7 +1326,7 @@ false if not.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/528ec460/src/ameba/ast/scope.cr#L30" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L30" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1341,14 +1341,14 @@ false if not.</p>
|
|||
|
||||
<div class="doc">
|
||||
|
||||
<p>Returns true if the <code><a href="../../Ameba/AST/Scope.html#node%3ACrystal%3A%3AASTNode-instance-method">#node</a></code> represents exactly
|
||||
<p>Returns <code>true</code> if the <em>node</em> represents exactly
|
||||
the same Crystal node as <code>@node</code>.</p>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/528ec460/src/ameba/ast/scope.cr#L174" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L175" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1363,7 +1363,7 @@ the same Crystal node as <code>@node</code>.</p>
|
|||
|
||||
<div class="doc">
|
||||
|
||||
<p>Returns variable by its name or nil if it does not exist.</p>
|
||||
<p>Returns variable by its name or <code>nil</code> if it does not exist.</p>
|
||||
<pre><code class="language-crystal">scope <span class="o">=</span> <span class="t">Scope</span>.<span class="k">new</span>(class_node, <span class="n">nil</span>)
|
||||
scope.find_variable(<span class="s">"foo"</span>)</code></pre>
|
||||
</div>
|
||||
|
|
@ -1371,7 +1371,7 @@ scope.find_variable(<span class="s">"foo"</span>)</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/528ec460/src/ameba/ast/scope.cr#L80" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L80" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1409,13 +1409,13 @@ scope.find_variable(<span class="s">"foo"</span>)</code></pre>
|
|||
|
||||
<div class="doc">
|
||||
|
||||
<p>Returns true if current scope sits inside a macro.</p>
|
||||
<p>Returns <code>true</code> if current scope sits inside a macro.</p>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/528ec460/src/ameba/ast/scope.cr#L114" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L114" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1436,7 +1436,7 @@ scope.find_variable(<span class="s">"foo"</span>)</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/528ec460/src/ameba/ast/scope.cr#L23" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L23" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1457,7 +1457,7 @@ scope.find_variable(<span class="s">"foo"</span>)</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/528ec460/src/ameba/ast/scope.cr#L17" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L17" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1473,7 +1473,7 @@ scope.find_variable(<span class="s">"foo"</span>)</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/528ec460/src/ameba/ast/scope.cr#L29" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L29" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1489,7 +1489,7 @@ scope.find_variable(<span class="s">"foo"</span>)</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/528ec460/src/ameba/ast/scope.cr#L29" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L29" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1510,7 +1510,7 @@ scope.find_variable(<span class="s">"foo"</span>)</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/528ec460/src/ameba/ast/scope.cr#L26" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L26" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1531,7 +1531,7 @@ scope.find_variable(<span class="s">"foo"</span>)</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/528ec460/src/ameba/ast/scope.cr#L20" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L20" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1552,7 +1552,7 @@ scope.find_variable(<span class="s">"foo"</span>)</code></pre>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/528ec460/src/ameba/ast/scope.cr#L11" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L11" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1568,13 +1568,13 @@ scope.find_variable(<span class="s">"foo"</span>)</code></pre>
|
|||
<div class="doc">
|
||||
|
||||
<p>Returns true if current scope (or any of inner scopes) references variable,
|
||||
false if not.</p>
|
||||
<code>false</code> otherwise.</p>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/528ec460/src/ameba/ast/scope.cr#L137" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L138" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1589,7 +1589,7 @@ false if not.</p>
|
|||
|
||||
<div class="doc">
|
||||
|
||||
<p>Returns true if current scope represents a spawn block, e. g.</p>
|
||||
<p>Returns <code>true</code> if current scope represents a spawn block, e. g.</p>
|
||||
<pre><code class="language-crystal">spawn <span class="k">do</span>
|
||||
<span class="c"># ...</span>
|
||||
<span class="k">end</span></code></pre>
|
||||
|
|
@ -1598,7 +1598,7 @@ false if not.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/528ec460/src/ameba/ast/scope.cr#L107" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L107" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1614,7 +1614,7 @@ false if not.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/528ec460/src/ameba/ast/scope.cr#L28" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L28" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1630,7 +1630,7 @@ false if not.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/528ec460/src/ameba/ast/scope.cr#L28" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L28" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1645,13 +1645,13 @@ false if not.</p>
|
|||
|
||||
<div class="doc">
|
||||
|
||||
<p>Returns true if this scope is a top level scope, false if not.</p>
|
||||
<p>Returns <code>true</code> if this scope is a top level scope, <code>false</code> otherwise.</p>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/528ec460/src/ameba/ast/scope.cr#L150" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L151" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1666,14 +1666,14 @@ false if not.</p>
|
|||
|
||||
<div class="doc">
|
||||
|
||||
<p>Returns true if and only if current scope represents some
|
||||
<p>Returns <code>true</code> if and only if current scope represents some
|
||||
type definition, for example a class.</p>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/528ec460/src/ameba/ast/scope.cr#L126" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L127" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1694,7 +1694,7 @@ type definition, for example a class.</p>
|
|||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/528ec460/src/ameba/ast/scope.cr#L8" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/a69fba88/src/ameba/ast/scope.cr#L8" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue