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 @ 48b15b9bf8
🚀
This commit is contained in:
parent
42809c9681
commit
f760465482
106 changed files with 5612 additions and 4623 deletions
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="generator" content="Crystal Docs 0.36.1">
|
||||
<meta name="generator" content="Crystal Docs 1.1.1">
|
||||
<meta name="crystal_docs.project_version" content="master">
|
||||
<meta name="crystal_docs.project_name" content="ameba">
|
||||
|
||||
|
@ -286,6 +286,11 @@
|
|||
|
||||
<ul>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Lint/AmbiguousAssignment" data-name="ameba::rule::lint::ambiguousassignment">
|
||||
<a href="../../Ameba/Rule/Lint/AmbiguousAssignment.html">AmbiguousAssignment</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class=" " data-id="ameba/Ameba/Rule/Lint/BadDirective" data-name="ameba::rule::lint::baddirective">
|
||||
<a href="../../Ameba/Rule/Lint/BadDirective.html">BadDirective</a>
|
||||
|
||||
|
@ -679,7 +684,7 @@ a specific location.</p>
|
|||
</h2>
|
||||
|
||||
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/9a91e42b/src/ameba/formatter/explain_formatter.cr#L6" target="_blank">
|
||||
<a href="https://github.com/crystal-ameba/ameba/blob/48b15b9b/src/ameba/formatter/explain_formatter.cr#L6" target="_blank">
|
||||
ameba/formatter/explain_formatter.cr
|
||||
</a>
|
||||
|
||||
|
@ -725,7 +730,7 @@ a specific location.</p>
|
|||
<ul class="list-summary">
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#new(output,location)-class-method" class="signature"><strong>.new</strong>(output, location)</a>
|
||||
<a href="#new%28output%2Clocation%29-class-method" class="signature"><strong>.new</strong>(output, location)</a>
|
||||
|
||||
<div class="summary"><p>Creates a new instance of ExplainFormatter.</p></div>
|
||||
|
||||
|
@ -748,19 +753,19 @@ a specific location.</p>
|
|||
<ul class="list-summary">
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#finished(sources)-instance-method" class="signature"><strong>#finished</strong>(sources)</a>
|
||||
<a href="#finished%28sources%29-instance-method" class="signature"><strong>#finished</strong>(sources)</a>
|
||||
|
||||
<div class="summary"><p>Reports the explainations at the <em>@location</em>.</p></div>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#location:Crystal::Location-instance-method" class="signature"><strong>#location</strong> : Crystal::Location</a>
|
||||
<a href="#location%3ACrystal%3A%3ALocation-instance-method" class="signature"><strong>#location</strong> : Crystal::Location</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="entry-summary">
|
||||
<a href="#output:IO::FileDescriptor%7CIO::Memory-instance-method" class="signature"><strong>#output</strong> : IO::FileDescriptor | IO::Memory</a>
|
||||
<a href="#output%3AIO%3A%3AFileDescriptor%7CIO%3A%3AMemory-instance-method" class="signature"><strong>#output</strong> : IO::FileDescriptor | IO::Memory</a>
|
||||
|
||||
</li>
|
||||
|
||||
|
@ -777,22 +782,22 @@ a specific location.</p>
|
|||
<h3>Instance methods inherited from module <code><a href="../../Ameba/Formatter/Util.html">Ameba::Formatter::Util</a></code></h3>
|
||||
|
||||
|
||||
<a href="../../Ameba/Formatter/Util.html#affected_code(source,location,end_location=nil,context_lines=0,max_length=120,ellipsis="...",prompt=">")-instance-method" class="tooltip">
|
||||
<a href="../../Ameba/Formatter/Util.html#affected_code%28source%2Clocation%2Cend_location%3Dnil%2Ccontext_lines%3D0%2Cmax_length%3D120%2Cellipsis%3D%22...%22%2Cprompt%3D%22%3E%22%29-instance-method" class="tooltip">
|
||||
<span>affected_code(source, location, end_location = <span class="n">nil</span>, context_lines = <span class="n">0</span>, max_length = <span class="n">120</span>, ellipsis = <span class="s">" ..."</span>, prompt = <span class="s">"> "</span>)</span>
|
||||
affected_code</a>,
|
||||
|
||||
|
||||
<a href="../../Ameba/Formatter/Util.html#context(lines,lineno,context_lines=3,remove_empty=true)-instance-method" class="tooltip">
|
||||
<a href="../../Ameba/Formatter/Util.html#context%28lines%2Clineno%2Ccontext_lines%3D3%2Cremove_empty%3Dtrue%29-instance-method" class="tooltip">
|
||||
<span>context(lines, lineno, context_lines = <span class="n">3</span>, remove_empty = <span class="n">true</span>)</span>
|
||||
context</a>,
|
||||
|
||||
|
||||
<a href="../../Ameba/Formatter/Util.html#deansify(message:String?):String?-instance-method" class="tooltip">
|
||||
<a href="../../Ameba/Formatter/Util.html#deansify%28message%3AString%3F%29%3AString%3F-instance-method" class="tooltip">
|
||||
<span>deansify(message : String?) : String?</span>
|
||||
deansify</a>,
|
||||
|
||||
|
||||
<a href="../../Ameba/Formatter/Util.html#trim(str,max_length=120,ellipsis="...")-instance-method" class="tooltip">
|
||||
<a href="../../Ameba/Formatter/Util.html#trim%28str%2Cmax_length%3D120%2Cellipsis%3D%22...%22%29-instance-method" class="tooltip">
|
||||
<span>trim(str, max_length = <span class="n">120</span>, ellipsis = <span class="s">" ..."</span>)</span>
|
||||
trim</a>
|
||||
|
||||
|
@ -843,7 +848,7 @@ a specific location.</p>
|
|||
|
||||
def self.<strong>new</strong>(output, location)
|
||||
|
||||
<a class="method-permalink" href="#new(output,location)-class-method">#</a>
|
||||
<a class="method-permalink" href="#new%28output%2Clocation%29-class-method">#</a>
|
||||
</div>
|
||||
|
||||
<div class="doc">
|
||||
|
@ -851,7 +856,6 @@ a specific location.</p>
|
|||
<p>Creates a new instance of ExplainFormatter.
|
||||
Accepts <em>output</em> which indicates the io where the explanation will be wrtitten to.
|
||||
Second argument is <em>location</em> which indicates the location to explain.</p>
|
||||
|
||||
<pre><code class="language-crystal"><span class="t">ExplainFormatter</span>.<span class="k">new</span> output,
|
||||
{file: path, line: line_number, column: column_number}</code></pre>
|
||||
</div>
|
||||
|
@ -859,7 +863,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/9a91e42b/src/ameba/formatter/explain_formatter.cr#L23" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/48b15b9b/src/ameba/formatter/explain_formatter.cr#L23" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -883,7 +887,7 @@ Second argument is <em>location</em> which indicates the location to explain.</p
|
|||
|
||||
def <strong>finished</strong>(sources)
|
||||
|
||||
<a class="method-permalink" href="#finished(sources)-instance-method">#</a>
|
||||
<a class="method-permalink" href="#finished%28sources%29-instance-method">#</a>
|
||||
</div>
|
||||
|
||||
<div class="doc">
|
||||
|
@ -894,7 +898,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/9a91e42b/src/ameba/formatter/explain_formatter.cr#L28" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/48b15b9b/src/ameba/formatter/explain_formatter.cr#L28" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -904,13 +908,13 @@ Second argument is <em>location</em> which indicates the location to explain.</p
|
|||
|
||||
def <strong>location</strong> : Crystal::Location
|
||||
|
||||
<a class="method-permalink" href="#location:Crystal::Location-instance-method">#</a>
|
||||
<a class="method-permalink" href="#location%3ACrystal%3A%3ALocation-instance-method">#</a>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/9a91e42b/src/ameba/formatter/explain_formatter.cr#L13" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/48b15b9b/src/ameba/formatter/explain_formatter.cr#L13" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -920,13 +924,13 @@ Second argument is <em>location</em> which indicates the location to explain.</p
|
|||
|
||||
def <strong>output</strong> : IO::FileDescriptor | IO::Memory
|
||||
|
||||
<a class="method-permalink" href="#output:IO::FileDescriptor%7CIO::Memory-instance-method">#</a>
|
||||
<a class="method-permalink" href="#output%3AIO%3A%3AFileDescriptor%7CIO%3A%3AMemory-instance-method">#</a>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<div>
|
||||
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/9a91e42b/src/ameba/formatter/explain_formatter.cr#L12" target="_blank">View source</a>]
|
||||
[<a href="https://github.com/crystal-ameba/ameba/blob/48b15b9b/src/ameba/formatter/explain_formatter.cr#L12" target="_blank">View source</a>]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue