Skip to content

Commit

Permalink
Automated deployment to GitHub Pages: f369caa
Browse files Browse the repository at this point in the history
  • Loading branch information
swiftlintbot@jpsim.com committed Dec 4, 2023
1 parent fc7627c commit 6a3f35f
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,10 @@ <h2 id='non-triggering-examples' class='heading'>Non Triggering Examples</h2>
<span class="k">case</span> <span class="kd">var</span> <span class="o">.</span><span class="nf">foo</span><span class="p">(</span><span class="n">x</span><span class="p">,</span> <span class="n">y</span><span class="p">):</span> <span class="k">break</span>
<span class="p">}</span>
</code></pre>
<pre class="highlight swift"><code><span class="k">switch</span> <span class="n">foo</span> <span class="p">{</span>
<span class="k">case</span> <span class="p">(</span><span class="n">y</span><span class="p">,</span> <span class="k">let</span> <span class="nv">x</span><span class="p">,</span> <span class="n">z</span><span class="p">):</span> <span class="k">break</span>
<span class="p">}</span>
</code></pre>
<h2 id='triggering-examples' class='heading'>Triggering Examples</h2>
<pre class="highlight swift"><code><span class="k">switch</span> <span class="n">foo</span> <span class="p">{</span>
<span class="k">case</span> <span class="p">(</span><span class="err"></span><span class="k">let</span> <span class="nv">x</span><span class="p">,</span> <span class="err"></span><span class="k">let</span> <span class="nv">y</span><span class="p">):</span> <span class="k">break</span>
Expand All @@ -419,6 +423,18 @@ <h2 id='triggering-examples' class='heading'>Triggering Examples</h2>
<span class="k">case</span> <span class="p">(</span><span class="err"></span><span class="k">let</span> <span class="nv">x</span><span class="p">,</span> <span class="err"></span><span class="k">let</span> <span class="nv">y</span><span class="p">,</span> <span class="n">_</span><span class="p">):</span> <span class="k">break</span>
<span class="p">}</span>
</code></pre>
<pre class="highlight swift"><code><span class="k">switch</span> <span class="n">foo</span> <span class="p">{</span>
<span class="k">case</span> <span class="p">(</span><span class="err"></span><span class="k">let</span> <span class="nv">x</span><span class="p">,</span> <span class="err"></span><span class="k">let</span> <span class="nv">y</span><span class="p">,</span> <span class="nf">f</span><span class="p">()):</span> <span class="k">break</span>
<span class="p">}</span>
</code></pre>
<pre class="highlight swift"><code><span class="k">switch</span> <span class="n">foo</span> <span class="p">{</span>
<span class="k">case</span> <span class="p">(</span><span class="err"></span><span class="k">let</span> <span class="nv">x</span><span class="p">,</span> <span class="err"></span><span class="k">let</span> <span class="nv">y</span><span class="p">,</span> <span class="n">s</span><span class="o">.</span><span class="nf">f</span><span class="p">()):</span> <span class="k">break</span>
<span class="p">}</span>
</code></pre>
<pre class="highlight swift"><code><span class="k">switch</span> <span class="n">foo</span> <span class="p">{</span>
<span class="k">case</span> <span class="p">(</span><span class="err"></span><span class="k">let</span> <span class="nv">x</span><span class="p">,</span> <span class="err"></span><span class="k">let</span> <span class="nv">y</span><span class="p">,</span> <span class="n">s</span><span class="o">.</span><span class="n">t</span><span class="p">):</span> <span class="k">break</span>
<span class="p">}</span>
</code></pre>
<pre class="highlight swift"><code><span class="k">switch</span> <span class="n">foo</span> <span class="p">{</span>
<span class="k">case</span> <span class="o">.</span><span class="nf">foo</span><span class="p">(</span><span class="err"></span><span class="k">let</span> <span class="nv">x</span><span class="p">,</span> <span class="err"></span><span class="k">let</span> <span class="nv">y</span><span class="p">):</span> <span class="k">break</span>
<span class="p">}</span>
Expand Down
Binary file modified docsets/SwiftLintCore.tgz
Binary file not shown.
16 changes: 16 additions & 0 deletions pattern_matching_keywords.html
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,10 @@ <h2 id='non-triggering-examples' class='heading'>Non Triggering Examples</h2>
<span class="k">case</span> <span class="kd">var</span> <span class="o">.</span><span class="nf">foo</span><span class="p">(</span><span class="n">x</span><span class="p">,</span> <span class="n">y</span><span class="p">):</span> <span class="k">break</span>
<span class="p">}</span>
</code></pre>
<pre class="highlight swift"><code><span class="k">switch</span> <span class="n">foo</span> <span class="p">{</span>
<span class="k">case</span> <span class="p">(</span><span class="n">y</span><span class="p">,</span> <span class="k">let</span> <span class="nv">x</span><span class="p">,</span> <span class="n">z</span><span class="p">):</span> <span class="k">break</span>
<span class="p">}</span>
</code></pre>
<h2 id='triggering-examples' class='heading'>Triggering Examples</h2>
<pre class="highlight swift"><code><span class="k">switch</span> <span class="n">foo</span> <span class="p">{</span>
<span class="k">case</span> <span class="p">(</span><span class="err"></span><span class="k">let</span> <span class="nv">x</span><span class="p">,</span> <span class="err"></span><span class="k">let</span> <span class="nv">y</span><span class="p">):</span> <span class="k">break</span>
Expand All @@ -419,6 +423,18 @@ <h2 id='triggering-examples' class='heading'>Triggering Examples</h2>
<span class="k">case</span> <span class="p">(</span><span class="err"></span><span class="k">let</span> <span class="nv">x</span><span class="p">,</span> <span class="err"></span><span class="k">let</span> <span class="nv">y</span><span class="p">,</span> <span class="n">_</span><span class="p">):</span> <span class="k">break</span>
<span class="p">}</span>
</code></pre>
<pre class="highlight swift"><code><span class="k">switch</span> <span class="n">foo</span> <span class="p">{</span>
<span class="k">case</span> <span class="p">(</span><span class="err"></span><span class="k">let</span> <span class="nv">x</span><span class="p">,</span> <span class="err"></span><span class="k">let</span> <span class="nv">y</span><span class="p">,</span> <span class="nf">f</span><span class="p">()):</span> <span class="k">break</span>
<span class="p">}</span>
</code></pre>
<pre class="highlight swift"><code><span class="k">switch</span> <span class="n">foo</span> <span class="p">{</span>
<span class="k">case</span> <span class="p">(</span><span class="err"></span><span class="k">let</span> <span class="nv">x</span><span class="p">,</span> <span class="err"></span><span class="k">let</span> <span class="nv">y</span><span class="p">,</span> <span class="n">s</span><span class="o">.</span><span class="nf">f</span><span class="p">()):</span> <span class="k">break</span>
<span class="p">}</span>
</code></pre>
<pre class="highlight swift"><code><span class="k">switch</span> <span class="n">foo</span> <span class="p">{</span>
<span class="k">case</span> <span class="p">(</span><span class="err"></span><span class="k">let</span> <span class="nv">x</span><span class="p">,</span> <span class="err"></span><span class="k">let</span> <span class="nv">y</span><span class="p">,</span> <span class="n">s</span><span class="o">.</span><span class="n">t</span><span class="p">):</span> <span class="k">break</span>
<span class="p">}</span>
</code></pre>
<pre class="highlight swift"><code><span class="k">switch</span> <span class="n">foo</span> <span class="p">{</span>
<span class="k">case</span> <span class="o">.</span><span class="nf">foo</span><span class="p">(</span><span class="err"></span><span class="k">let</span> <span class="nv">x</span><span class="p">,</span> <span class="err"></span><span class="k">let</span> <span class="nv">y</span><span class="p">):</span> <span class="k">break</span>
<span class="p">}</span>
Expand Down

0 comments on commit 6a3f35f

Please sign in to comment.