yjs/doc/class/ArrowSpacing.html
2014-08-12 19:18:56 +02:00

184 lines
4.3 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset='UTF-8'>
<title>CoffeeScript API Documentation</title>
<script src='../javascript/application.js'></script>
<script src='../javascript/search.js'></script>
<link rel='stylesheet' href='../stylesheets/application.css' type='text/css'>
</head>
<body>
<div id='base' data-path='../'></div>
<div id='header'>
<div id='menu'>
<a href='../extra/README.md.html' title='Yatta'>
Yatta
</a>
&raquo;
<a href='../alphabetical_index.html' title='Index'>
Index
</a>
&raquo;
<span class='title'>ArrowSpacing</span>
</div>
</div>
<div id='content'>
<h1>
Class:
ArrowSpacing
</h1>
<table class='box'>
<tr>
<td>Defined in:</td>
<td>node_modules&#47;gulp-coffeelint&#47;node_modules&#47;coffeelint&#47;src&#47;rules&#47;arrow_spacing.coffee</td>
</tr>
</table>
<h2>Variables Summary</h2>
<dl class='constants'>
<dt id='rule-variable'>
rule
=
</dt>
<dd>
<pre><code class='coffeescript'>{
name: &#39;arrow_spacing&#39;,
level: &#39;ignore&#39;,
message: &#39;Function arrow (-&gt;) must be spaced properly&#39;,
description: &quot;&lt;p&gt;This rule checks to see that there is spacing before and after\nthe arrow operator that declares a function. This rule is disabled\nby default.&lt;&#47;p&gt; &lt;p&gt;Note that if arrow_spacing is enabled, and you\npass an empty function as a parameter, arrow_spacing will accept\neither a space or no space in-between the arrow operator and the\nparenthesis&lt;&#47;p&gt;\n&lt;pre&gt;&lt;code&gt;# Both of this will not trigger an error,\nx(-&gt; 3)\nx( -&gt; 3)\n\nx((a,b)-&gt; 3)\n&lt;&#47;code&gt;\n&lt;&#47;pre&gt;&quot;
}</code></pre>
</dd>
<dt id='tokens-variable'>
tokens
=
</dt>
<dd>
<pre><code class='coffeescript'>[&#39;-&gt;&#39;]</code></pre>
</dd>
</dl>
<h2>Instance Method Summary</h2>
<ul class='summary'>
<li>
<span class='signature'>
<a href='#lintToken-dynamic'>
#
(void)
<b>lintToken</b><span>(token, tokenApi)</span>
</a>
</span>
<span class='desc'>
</span>
</li>
<li>
<span class='signature'>
<a href='#atEof-dynamic'>
#
(void)
<b>atEof</b><span>(tokenApi)</span>
</a>
</span>
<span class='desc'>
Are there any more meaningful tokens following the current one?
</span>
</li>
</ul>
<h2>Instance Method Details</h2>
<div class='methods'>
<div class='method_details'>
<p class='signature' id='lintToken-dynamic'>
#
(void)
<b>lintToken</b><span>(token, tokenApi)</span>
<br>
</p>
</div>
<div class='method_details'>
<p class='signature' id='atEof-dynamic'>
#
(void)
<b>atEof</b><span>(tokenApi)</span>
<br>
</p>
<div class='docstring'>
<p>Are there any more meaningful tokens following the current one?</p>
</div>
<div class='tags'>
</div>
</div>
</div>
</div>
<div id='footer'>
August 12, 14 06:33:02 by
<a href='https://github.com/coffeedoc/codo' title='CoffeeScript API documentation generator'>
Codo
</a>
2.0.9
&#10034;
Press H to see the keyboard shortcuts
&#10034;
<a href='http://twitter.com/netzpirat' target='_parent'>@netzpirat</a>
&#10034;
<a href='http://twitter.com/_inossidabile' target='_parent'>@_inossidabile</a>
</div>
<iframe id='search_frame'></iframe>
<div id='fuzzySearch'>
<input type='text'>
<ol></ol>
</div>
<div id='help'>
<p>
Quickly fuzzy find classes, mixins, methods, file:
</p>
<ul>
<li>
<span>T</span>
Open fuzzy finder dialog
</li>
</ul>
<p>
Control the navigation frame:
</p>
<ul>
<li>
<span>L</span>
Toggle list view
</li>
<li>
<span>C</span>
Show class list
</li>
<li>
<span>I</span>
Show mixin list
</li>
<li>
<span>F</span>
Show file list
</li>
<li>
<span>M</span>
Show method list
</li>
<li>
<span>E</span>
Show extras list
</li>
</ul>
<p>
You can focus and blur the search input:
</p>
<ul>
<li>
<span>S</span>
Focus search input
</li>
<li>
<span>Esc</span>
Blur search input
</li>
</ul>
</div>
</body>
</html>