blob: 445566e83b80b143611847cf77f1c5016a07437d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<HTML>
<HEAD>
<title>test / processFiles</title>
</HEAD>
<BODY>
<a href="test/index">test</a> / <a href="test/process-files">processFiles</a><br/>
<br/>
<h1>processFiles</h1>
<code><span class="keyword">public</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">> </span><span class="identifier">processFiles</span><span class="symbol">(</span><span class="identifier">processor</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">)</span> <span class="symbol">-></span> <span class="identifier">T</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span></code><br/>
<p>Runs <a href="test/process-files#processor">processor</a> for each file and collects its results into single list</p>
<h3>Parameters</h3>
<a name="processor"></a>
<code>processor</code> - function to receive context for symbol resolution and file for processing<br/>
<br/>
<br/>
</BODY>
</HTML>
|