Deploying to gh-pages from @ harttle/liquidjs@afeef1d745 🚀

This commit is contained in:
harttle
2021-10-03 14:42:12 +00:00
parent 9a2a2bfd55
commit 283f76e928
519 changed files with 4217 additions and 2235 deletions
+1 -1
View File
@@ -205,7 +205,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.890Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.657Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -137,7 +137,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.910Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.681Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+2 -9
View File
@@ -202,7 +202,7 @@
</tbody></table>
<p><strong>Returns:</strong> <em>object</em></p>
<hr>
<h3 id="getRegister" class="article-heading"><a href="#getRegister" class="headerlink" title="getRegister"></a>getRegister<a class="article-anchor" href="#getRegister" aria-hidden="true"></a></h3><p><strong>getRegister</strong>(<code>key</code>: string, <code>defaultValue</code>: object): <em>any</em></p>
<h3 id="getRegister" class="article-heading"><a href="#getRegister" class="headerlink" title="getRegister"></a>getRegister<a class="article-anchor" href="#getRegister" aria-hidden="true"></a></h3><p><strong>getRegister</strong>(<code>key</code>: string): <em>any</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/context/context.ts#L21">context/context.ts:21</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
@@ -210,18 +210,11 @@
<tr>
<th>Name</th>
<th>Type</th>
<th>Default</th>
</tr>
</thead>
<tbody><tr>
<td><code>key</code></td>
<td>string</td>
<td>-</td>
</tr>
<tr>
<td><code>defaultValue</code></td>
<td>object</td>
<td>{}</td>
</tr>
</tbody></table>
<p><strong>Returns:</strong> <em>any</em></p>
@@ -304,7 +297,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:14.022Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.829Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -160,7 +160,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:14.006Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.809Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+6 -6
View File
@@ -100,11 +100,11 @@
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/drop/block-drop.ts#L3">drop/block-drop.ts:3</a></em></p>
<p><strong>Parameters:</strong></p>
<p><code>Default value</code> <strong>superBlockRender</strong>: <em>function</em>= () =&gt; ‘’</p>
<p>▸ (): <em>Iterablestring</em></p>
<p>▸ (): <em>Iterableany</em></p>
<p><strong>Returns:</strong> <em><a href="drop_block_drop_.blockdrop.html">BlockDrop</a></em></p>
<h2 id="Properties" class="article-heading"><a href="#Properties" class="headerlink" title="Properties"></a>Properties<a class="article-anchor" href="#Properties" aria-hidden="true"></a></h2><h3 id="Private-superBlockRender" class="article-heading"><a href="#Private-superBlockRender" class="headerlink" title="Private superBlockRender"></a><code>Private</code> superBlockRender<a class="article-anchor" href="#Private-superBlockRender" aria-hidden="true"></a></h3><p><strong>superBlockRender</strong>: <em>function</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/drop/block-drop.ts#L6">drop/block-drop.ts:6</a></em></p>
<h4 id="Type-declaration" class="article-heading"><a href="#Type-declaration" class="headerlink" title="Type declaration:"></a>Type declaration:<a class="article-anchor" href="#Type-declaration" aria-hidden="true"></a></h4><p>▸ (): <em>Iterablestring</em></p>
<h4 id="Type-declaration" class="article-heading"><a href="#Type-declaration" class="headerlink" title="Type declaration:"></a>Type declaration:<a class="article-anchor" href="#Type-declaration" aria-hidden="true"></a></h4><p>▸ (): <em>Iterableany</em></p>
<h2 id="Methods" class="article-heading"><a href="#Methods" class="headerlink" title="Methods"></a>Methods<a class="article-anchor" href="#Methods" aria-hidden="true"></a></h2><h3 id="liquidMethodMissing" class="article-heading"><a href="#liquidMethodMissing" class="headerlink" title="liquidMethodMissing"></a>liquidMethodMissing<a class="article-anchor" href="#liquidMethodMissing" aria-hidden="true"></a></h3><p><strong>liquidMethodMissing</strong>(<code>key</code>: string): <em>Promisestring | undefined | string | undefined</em></p>
<p><em>Inherited from <a href="drop_drop_.drop.html">Drop</a>.<a href="drop_drop_.drop.html#liquidmethodmissing">liquidMethodMissing</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/drop/drop.ts#L6">drop/drop.ts:6</a></em></p>
@@ -123,9 +123,9 @@
</tbody></table>
<p><strong>Returns:</strong> <em>Promisestring | undefined | string | undefined</em></p>
<hr>
<h3 id="super" class="article-heading"><a href="#super" class="headerlink" title="super"></a>super<a class="article-anchor" href="#super" aria-hidden="true"></a></h3><p><strong>super</strong>(): <em>Iterablestring</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/drop/block-drop.ts#L10">drop/block-drop.ts:10</a></em></p>
<p><strong>Returns:</strong> <em>Iterablestring</em></p>
<h3 id="super" class="article-heading"><a href="#super" class="headerlink" title="super"></a>super<a class="article-anchor" href="#super" aria-hidden="true"></a></h3><p><strong>super</strong>(): <em>Iterableany</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/drop/block-drop.ts#L14">drop/block-drop.ts:14</a></em></p>
<p><strong>Returns:</strong> <em>Iterableany</em></p>
<hr>
<h3 id="valueOf-NaN" class="article-heading"><a href="#valueOf-NaN" class="headerlink" title="valueOf"></a>valueOf<a class="article-anchor" href="#valueOf-NaN" aria-hidden="true"></a></h3><p><strong>valueOf</strong>(): <em>any</em></p>
<p><em>Inherited from <a href="drop_drop_.drop.html">Drop</a>.<a href="drop_drop_.drop.html#valueof">valueOf</a></em></p>
@@ -134,7 +134,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:14.006Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.805Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -122,7 +122,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.926Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.701Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -158,7 +158,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.950Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.729Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
@@ -171,7 +171,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.902Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.673Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -157,7 +157,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.906Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.677Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
@@ -205,7 +205,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.874Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.637Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
@@ -94,14 +94,15 @@
<h2 id="Hierarchy" class="article-heading"><a href="#Hierarchy" class="headerlink" title="Hierarchy"></a>Hierarchy<a class="article-anchor" href="#Hierarchy" aria-hidden="true"></a></h2><ul>
<li><strong>KeepingTypeEmitter</strong></li>
</ul>
<h2 id="Properties" class="article-heading"><a href="#Properties" class="headerlink" title="Properties"></a>Properties<a class="article-anchor" href="#Properties" aria-hidden="true"></a></h2><h3 id="html" class="article-heading"><a href="#html" class="headerlink" title="html"></a>html<a class="article-anchor" href="#html" aria-hidden="true"></a></h3><p><strong>html</strong>: <em>any</em> = “”</p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/emitters/keeping-type-emitter.ts#L4">emitters/keeping-type-emitter.ts:4</a></em></p>
<h2 id="Methods" class="article-heading"><a href="#Methods" class="headerlink" title="Methods"></a>Methods<a class="article-anchor" href="#Methods" aria-hidden="true"></a></h2><h3 id="end" class="article-heading"><a href="#end" class="headerlink" title="end"></a>end<a class="article-anchor" href="#end" aria-hidden="true"></a></h3><p><strong>end</strong>(): <em>any</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/emitters/keeping-type-emitter.ts#L19">emitters/keeping-type-emitter.ts:19</a></em></p>
<p><strong>Returns:</strong> <em>any</em></p>
<hr>
<h3 id="write" class="article-heading"><a href="#write" class="headerlink" title="write"></a>write<a class="article-anchor" href="#write" aria-hidden="true"></a></h3><p><strong>write</strong>(<code>html</code>: any): <em>void</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/emitters/keeping-type-emitter.ts#L6">emitters/keeping-type-emitter.ts:6</a></em></p>
<h2 id="Implements" class="article-heading"><a href="#Implements" class="headerlink" title="Implements"></a>Implements<a class="article-anchor" href="#Implements" aria-hidden="true"></a></h2><ul>
<li><a href="../interfaces/emitters_emitter_.emitter.html">Emitter</a></li>
</ul>
<h2 id="Properties" class="article-heading"><a href="#Properties" class="headerlink" title="Properties"></a>Properties<a class="article-anchor" href="#Properties" aria-hidden="true"></a></h2><h3 id="buffer" class="article-heading"><a href="#buffer" class="headerlink" title="buffer"></a>buffer<a class="article-anchor" href="#buffer" aria-hidden="true"></a></h3><p><strong>buffer</strong>: <em>any</em> = “”</p>
<p><em>Implementation of <a href="../interfaces/emitters_emitter_.emitter.html">Emitter</a>.<a href="../interfaces/emitters_emitter_.emitter.html#buffer">buffer</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/emitters/keeping-type-emitter.ts#L5">emitters/keeping-type-emitter.ts:5</a></em></p>
<h2 id="Methods" class="article-heading"><a href="#Methods" class="headerlink" title="Methods"></a>Methods<a class="article-anchor" href="#Methods" aria-hidden="true"></a></h2><h3 id="write" class="article-heading"><a href="#write" class="headerlink" title="write"></a>write<a class="article-anchor" href="#write" aria-hidden="true"></a></h3><p><strong>write</strong>(<code>html</code>: any): <em>void</em></p>
<p><em>Implementation of <a href="../interfaces/emitters_emitter_.emitter.html">Emitter</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/emitters/keeping-type-emitter.ts#L7">emitters/keeping-type-emitter.ts:7</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -119,7 +120,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.934Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.709Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
@@ -128,7 +129,7 @@
<div id="article-toc-inner">
<div id="article-toc-inner-list">
<strong class="sidebar-title">Contents</strong>
<ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#Hierarchy"><span class="toc-text">Hierarchy</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Properties"><span class="toc-text">Properties</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#html"><span class="toc-text">html</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Methods"><span class="toc-text">Methods</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#end"><span class="toc-text">end</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#write"><span class="toc-text">write</span></a></li></ol></li></ol>
<ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#Hierarchy"><span class="toc-text">Hierarchy</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Implements"><span class="toc-text">Implements</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Properties"><span class="toc-text">Properties</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#buffer"><span class="toc-text">buffer</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Methods"><span class="toc-text">Methods</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#write"><span class="toc-text">write</span></a></li></ol></li></ol>
</div>
<a href="#" id="article-toc-top">Back to Top</a>
</div>
@@ -97,14 +97,10 @@
<h2 id="Implements" class="article-heading"><a href="#Implements" class="headerlink" title="Implements"></a>Implements<a class="article-anchor" href="#Implements" aria-hidden="true"></a></h2><ul>
<li><a href="../interfaces/emitters_emitter_.emitter.html">Emitter</a></li>
</ul>
<h2 id="Properties" class="article-heading"><a href="#Properties" class="headerlink" title="Properties"></a>Properties<a class="article-anchor" href="#Properties" aria-hidden="true"></a></h2><h3 id="html" class="article-heading"><a href="#html" class="headerlink" title="html"></a>html<a class="article-anchor" href="#html" aria-hidden="true"></a></h3><p><strong>html</strong>: <em>any</em> = “”</p>
<h2 id="Properties" class="article-heading"><a href="#Properties" class="headerlink" title="Properties"></a>Properties<a class="article-anchor" href="#Properties" aria-hidden="true"></a></h2><h3 id="buffer" class="article-heading"><a href="#buffer" class="headerlink" title="buffer"></a>buffer<a class="article-anchor" href="#buffer" aria-hidden="true"></a></h3><p><strong>buffer</strong>: <em>string</em> = “”</p>
<p><em>Implementation of <a href="../interfaces/emitters_emitter_.emitter.html">Emitter</a>.<a href="../interfaces/emitters_emitter_.emitter.html#buffer">buffer</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/emitters/simple-emitter.ts#L5">emitters/simple-emitter.ts:5</a></em></p>
<h2 id="Methods" class="article-heading"><a href="#Methods" class="headerlink" title="Methods"></a>Methods<a class="article-anchor" href="#Methods" aria-hidden="true"></a></h2><h3 id="end" class="article-heading"><a href="#end" class="headerlink" title="end"></a>end<a class="article-anchor" href="#end" aria-hidden="true"></a></h3><p><strong>end</strong>(): <em>any</em></p>
<p><em>Implementation of <a href="../interfaces/emitters_emitter_.emitter.html">Emitter</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/emitters/simple-emitter.ts#L11">emitters/simple-emitter.ts:11</a></em></p>
<p><strong>Returns:</strong> <em>any</em></p>
<hr>
<h3 id="write" class="article-heading"><a href="#write" class="headerlink" title="write"></a>write<a class="article-anchor" href="#write" aria-hidden="true"></a></h3><p><strong>write</strong>(<code>html</code>: any): <em>void</em></p>
<h2 id="Methods" class="article-heading"><a href="#Methods" class="headerlink" title="Methods"></a>Methods<a class="article-anchor" href="#Methods" aria-hidden="true"></a></h2><h3 id="write" class="article-heading"><a href="#write" class="headerlink" title="write"></a>write<a class="article-anchor" href="#write" aria-hidden="true"></a></h3><p><strong>write</strong>(<code>html</code>: any): <em>void</em></p>
<p><em>Implementation of <a href="../interfaces/emitters_emitter_.emitter.html">Emitter</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/emitters/simple-emitter.ts#L7">emitters/simple-emitter.ts:7</a></em></p>
<p><strong>Parameters:</strong></p>
@@ -124,7 +120,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.994Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.793Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
@@ -133,7 +129,7 @@
<div id="article-toc-inner">
<div id="article-toc-inner-list">
<strong class="sidebar-title">Contents</strong>
<ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#Hierarchy"><span class="toc-text">Hierarchy</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Implements"><span class="toc-text">Implements</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Properties"><span class="toc-text">Properties</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#html"><span class="toc-text">html</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Methods"><span class="toc-text">Methods</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#end"><span class="toc-text">end</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#write"><span class="toc-text">write</span></a></li></ol></li></ol>
<ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#Hierarchy"><span class="toc-text">Hierarchy</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Implements"><span class="toc-text">Implements</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Properties"><span class="toc-text">Properties</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#buffer"><span class="toc-text">buffer</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Methods"><span class="toc-text">Methods</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#write"><span class="toc-text">write</span></a></li></ol></li></ol>
</div>
<a href="#" id="article-toc-top">Back to Top</a>
</div>
@@ -94,17 +94,39 @@
<h2 id="Hierarchy" class="article-heading"><a href="#Hierarchy" class="headerlink" title="Hierarchy"></a>Hierarchy<a class="article-anchor" href="#Hierarchy" aria-hidden="true"></a></h2><ul>
<li><strong>StreamedEmitter</strong></li>
</ul>
<h2 id="Properties" class="article-heading"><a href="#Properties" class="headerlink" title="Properties"></a>Properties<a class="article-anchor" href="#Properties" aria-hidden="true"></a></h2><h3 id="html" class="article-heading"><a href="#html" class="headerlink" title="html"></a>html<a class="article-anchor" href="#html" aria-hidden="true"></a></h3><p><strong>html</strong>: <em>any</em> = “”</p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/emitters/streamed-emitter.ts#L4">emitters/streamed-emitter.ts:4</a></em></p>
<hr>
<h3 id="stream" class="article-heading"><a href="#stream" class="headerlink" title="stream"></a>stream<a class="article-anchor" href="#stream" aria-hidden="true"></a></h3><p><strong>stream</strong>: <em>any</em> = new (require(stream).PassThrough)()</p>
<h2 id="Implements" class="article-heading"><a href="#Implements" class="headerlink" title="Implements"></a>Implements<a class="article-anchor" href="#Implements" aria-hidden="true"></a></h2><ul>
<li><a href="../interfaces/emitters_emitter_.emitter.html">Emitter</a></li>
</ul>
<h2 id="Properties" class="article-heading"><a href="#Properties" class="headerlink" title="Properties"></a>Properties<a class="article-anchor" href="#Properties" aria-hidden="true"></a></h2><h3 id="buffer" class="article-heading"><a href="#buffer" class="headerlink" title="buffer"></a>buffer<a class="article-anchor" href="#buffer" aria-hidden="true"></a></h3><p><strong>buffer</strong>: <em>string</em> = “”</p>
<p><em>Implementation of <a href="../interfaces/emitters_emitter_.emitter.html">Emitter</a>.<a href="../interfaces/emitters_emitter_.emitter.html#buffer">buffer</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/emitters/streamed-emitter.ts#L5">emitters/streamed-emitter.ts:5</a></em></p>
<hr>
<h3 id="stream" class="article-heading"><a href="#stream" class="headerlink" title="stream"></a>stream<a class="article-anchor" href="#stream" aria-hidden="true"></a></h3><p><strong>stream</strong>: <em>ReadWriteStream</em> = new (require(stream).PassThrough)()</p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/emitters/streamed-emitter.ts#L6">emitters/streamed-emitter.ts:6</a></em></p>
<h2 id="Methods" class="article-heading"><a href="#Methods" class="headerlink" title="Methods"></a>Methods<a class="article-anchor" href="#Methods" aria-hidden="true"></a></h2><h3 id="end" class="article-heading"><a href="#end" class="headerlink" title="end"></a>end<a class="article-anchor" href="#end" aria-hidden="true"></a></h3><p><strong>end</strong>(): <em>void</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/emitters/streamed-emitter.ts#L9">emitters/streamed-emitter.ts:9</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/emitters/streamed-emitter.ts#L13">emitters/streamed-emitter.ts:13</a></em></p>
<p><strong>Returns:</strong> <em>void</em></p>
<hr>
<h3 id="error" class="article-heading"><a href="#error" class="headerlink" title="error"></a>error<a class="article-anchor" href="#error" aria-hidden="true"></a></h3><p><strong>error</strong>(<code>err</code>: Error): <em>void</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/emitters/streamed-emitter.ts#L10">emitters/streamed-emitter.ts:10</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
</tr>
</thead>
<tbody><tr>
<td><code>err</code></td>
<td>Error</td>
</tr>
</tbody></table>
<p><strong>Returns:</strong> <em>void</em></p>
<hr>
<h3 id="write" class="article-heading"><a href="#write" class="headerlink" title="write"></a>write<a class="article-anchor" href="#write" aria-hidden="true"></a></h3><p><strong>write</strong>(<code>html</code>: any): <em>void</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/emitters/streamed-emitter.ts#L6">emitters/streamed-emitter.ts:6</a></em></p>
<p><em>Implementation of <a href="../interfaces/emitters_emitter_.emitter.html">Emitter</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/emitters/streamed-emitter.ts#L7">emitters/streamed-emitter.ts:7</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -122,7 +144,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.982Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.777Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
@@ -131,7 +153,7 @@
<div id="article-toc-inner">
<div id="article-toc-inner-list">
<strong class="sidebar-title">Contents</strong>
<ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#Hierarchy"><span class="toc-text">Hierarchy</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Properties"><span class="toc-text">Properties</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#html"><span class="toc-text">html</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#stream"><span class="toc-text">stream</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Methods"><span class="toc-text">Methods</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#end"><span class="toc-text">end</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#write"><span class="toc-text">write</span></a></li></ol></li></ol>
<ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#Hierarchy"><span class="toc-text">Hierarchy</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Implements"><span class="toc-text">Implements</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Properties"><span class="toc-text">Properties</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#buffer"><span class="toc-text">buffer</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#stream"><span class="toc-text">stream</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Methods"><span class="toc-text">Methods</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#end"><span class="toc-text">end</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#error"><span class="toc-text">error</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#write"><span class="toc-text">write</span></a></li></ol></li></ol>
</div>
<a href="#" id="article-toc-top">Back to Top</a>
</div>
@@ -0,0 +1,230 @@
<!DOCTYPE html>
<html lang="en">
<head prefix="og: http://ogp.me/ns#">
<meta charset="utf-8">
<title>Class: StreamedEmitter | LiquidJS</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net/">
<link rel="manifest" href="/manifest.json">
<!-- Canonical links -->
<link rel="canonical" href="https://liquidjs.com/api/classes/emitters_streamed_emitter_browser_.streamedemitter.html">
<!-- Alternative links -->
<link rel="alternative" hreflang="en" href="https://liquidjs.com/api/classes/emitters_streamed_emitter_browser_.streamedemitter">
<link rel="alternative" hreflang="zh-cn" href="https://liquidjs.com/zh-cn/api/classes/emitters_streamed_emitter_browser_.streamedemitter">
<!-- Icon -->
<link rel="apple-touch-icon" sizes="57x57" href="../../icon/apple-touch-icon-57x57.png">
<link rel="apple-touch-icon" sizes="114x114" href="../../icon/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon" sizes="72x72" href="../../icon/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="144x144" href="../../icon/apple-touch-icon-144x144.png">
<link rel="apple-touch-icon" sizes="60x60" href="../../icon/apple-touch-icon-60x60.png">
<link rel="apple-touch-icon" sizes="120x120" href="../../icon/apple-touch-icon-120x120.png">
<link rel="apple-touch-icon" sizes="76x76" href="../../icon/apple-touch-icon-76x76.png">
<link rel="apple-touch-icon" sizes="152x152" href="../../icon/apple-touch-icon-152x152.png">
<link rel="icon" type="image/png" href="../../icon/favicon-196x196.png" sizes="196x196">
<link rel="icon" type="image/png" href="../../icon/favicon-160x160.png" sizes="160x160">
<link rel="icon" type="image/png" href="../../icon/favicon-96x96.png" sizes="96x96">
<link rel="icon" type="image/png" href="../../icon/favicon-16x16.png" sizes="16x16">
<link rel="icon" type="image/png" href="../../icon/favicon-32x32.png" sizes="32x32">
<meta name="msapplication-TileColor" content="#2f83cd">
<meta name="msapplication-TileImage" content="../../icon/mstile-144x144.png">
<link rel="stylesheet" href="../../css/navy.css">
<link rel="alternate" href="../../atom.xml" title="LiquidJS" type="application/atom+xml">
<meta name="generator" content="Hexo 5.4.0"></head>
<body>
<div id="container">
<header id="header" class="wrapper">
<div id="header-inner" class="inner">
<h1 id="logo-wrap">
<a href="../../index.html" id="logo">LiquidJS</a>
</h1>
<nav id="main-nav">
<a href="../../tutorials/setup.html" class="main-nav-link">Tutorials</a><a href="../../tags/overview.html" class="main-nav-link">Tags</a><a href="../../filters/overview.html" class="main-nav-link">Filters</a><a href="../../playground.html" class="main-nav-link">Playground</a><a href="../../api/classes/liquid_.liquid.html" class="main-nav-link">API</a>
<div id="search-input-wrap">
<i id="search-input-icon" class="icon-search"></i>
<input type="search" id="search-input" placeholder="Search...">
</div>
</nav>
<div id="lang-select-wrap" class="main-nav-link">
<label><i class="icon-network"></i>English</label>
<select id="lang-select" data-canonical="api/classes/emitters_streamed_emitter_browser_.streamedemitter.html">
<option value="en" selected>English</option>
<option value="zh-cn">简体中文</option>
</select>
</div>
<a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs" id="github-link-wrap" class="main-nav-link"><i class="icon-github"></i>Github</a>
<a id="mobile-nav-toggle">
<span class="mobile-nav-toggle-bar"></span>
<span class="mobile-nav-toggle-bar"></span>
<span class="mobile-nav-toggle-bar"></span>
</a>
</div>
</header>
<div id="content-wrap">
<div id="content" class="wrapper">
<div id="content-inner">
<aside id="sidebar" role="navigation">
<div class="inner">
<strong class="sidebar-title">Quick Entry</strong><a href="../classes/liquid_.liquid.html" class="sidebar-link">Liquid</a><a href="../interfaces/liquid_options_.liquidoptions.html" class="sidebar-link">LiquidOptions</a><a href="../interfaces/fs_fs_.fs.html" class="sidebar-link">FS</a><a href="../interfaces/cache_cache_.cache.html" class="sidebar-link">Cache</a><strong class="sidebar-title">Classes</strong><a href="../classes/drop_blank_drop_.blankdrop.html" class="sidebar-link">BlankDrop</a><a href="../classes/context_context_.context.html" class="sidebar-link">Context</a><a href="../classes/tokens_delimited_token_.delimitedtoken.html" class="sidebar-link">DelimitedToken</a><a href="../classes/drop_drop_.drop.html" class="sidebar-link">Drop</a><a href="../classes/drop_empty_drop_.emptydrop.html" class="sidebar-link">EmptyDrop</a><a href="../classes/render_expression_.expression.html" class="sidebar-link">Expression</a><a href="../classes/tokens_filter_token_.filtertoken.html" class="sidebar-link">FilterToken</a><a href="../classes/drop_forloop_drop_.forloopdrop.html" class="sidebar-link">ForloopDrop</a><a href="../classes/tokens_html_token_.htmltoken.html" class="sidebar-link">HTMLToken</a><a href="../classes/tokens_hash_token_.hashtoken.html" class="sidebar-link">HashToken</a><a href="../classes/cache_lru_.lru.html" class="sidebar-link">LRU</a><a href="../classes/liquid_.liquid.html" class="sidebar-link">Liquid</a><a href="../classes/tokens_literal_token_.literaltoken.html" class="sidebar-link">LiteralToken</a><a href="../classes/drop_null_drop_.nulldrop.html" class="sidebar-link">NullDrop</a><a href="../classes/tokens_number_token_.numbertoken.html" class="sidebar-link">NumberToken</a><a href="../classes/tokens_operator_token_.operatortoken.html" class="sidebar-link">OperatorToken</a><a href="../classes/tokens_output_token_.outputtoken.html" class="sidebar-link">OutputToken</a><a href="../classes/util_error_.parseerror.html" class="sidebar-link">ParseError</a><a href="../classes/parser_parse_stream_.parsestream.html" class="sidebar-link">ParseStream</a><a href="../classes/parser_parser_.parser.html" class="sidebar-link">Parser</a><a href="../classes/tokens_property_access_token_.propertyaccesstoken.html" class="sidebar-link">PropertyaccessToken</a><a href="../classes/tokens_quoted_token_.quotedtoken.html" class="sidebar-link">QuotedToken</a><a href="../classes/tokens_range_token_.rangetoken.html" class="sidebar-link">RangeToken</a><a href="../classes/render_render_.render.html" class="sidebar-link">Render</a><a href="../classes/util_error_.rendererror.html" class="sidebar-link">RenderError</a><a href="../classes/drop_tablerowloop_drop_.tablerowloopdrop.html" class="sidebar-link">TablerowloopDrop</a><a href="../classes/tokens_tag_token_.tagtoken.html" class="sidebar-link">TagToken</a><a href="../classes/tokens_token_.token.html" class="sidebar-link">Token</a><a href="../classes/util_error_.tokenizationerror.html" class="sidebar-link">TokenizationError</a><a href="../classes/parser_tokenizer_.tokenizer.html" class="sidebar-link">Tokenizer</a><a href="../classes/tokens_word_token_.wordtoken.html" class="sidebar-link">WordToken</a><strong class="sidebar-title">Enums</strong><a href="../enums/context_block_mode_.blockmode.html" class="sidebar-link">BlockMode</a><a href="../enums/parser_token_kind_.tokenkind.html" class="sidebar-link">TokenKind</a><strong class="sidebar-title">Interfaces</strong><a href="../interfaces/cache_cache_.cache.html" class="sidebar-link">Cache</a><a href="../interfaces/template_filter_filter_impl_options_.filterimploptions.html" class="sidebar-link">FilterImplOptions</a><a href="../interfaces/fs_fs_.fs.html" class="sidebar-link">FS</a><a href="../interfaces/liquid_options_.liquidoptions.html" class="sidebar-link">LiquidOptions</a><a href="../interfaces/liquid_options_.normalizedfulloptions.html" class="sidebar-link">NormalizedFullOptions</a><a href="../interfaces/context_scope_.plainobject.html" class="sidebar-link">PlainObject</a><a href="../interfaces/template_tag_tag_impl_options_.tagimploptions.html" class="sidebar-link">TagImplOptions</a>
</div>
</aside>
<article class="article-container" itemscope itemtype="http://schema.org/Article">
<div class="article-inner">
<div class="article">
<div class="inner">
<header class="article-header">
<h1 class="article-title" itemprop="name">Class: StreamedEmitter</h1>
<a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/issues/new?title=docs:&body=URL: https%3A%2F%2Fliquidjs.com%2Fapi%2Fclasses%2Femitters_streamed_emitter_browser_.streamedemitter.html&labels=docs" class="article-edit-link" title="Report problems"><i class="icon-chat-bubble-dots"></i></a>
</header>
<div class="article-content" itemprop="articleBody">
<h2 id="Hierarchy" class="article-heading"><a href="#Hierarchy" class="headerlink" title="Hierarchy"></a>Hierarchy<a class="article-anchor" href="#Hierarchy" aria-hidden="true"></a></h2><ul>
<li><strong>StreamedEmitter</strong></li>
</ul>
<h2 id="Implements" class="article-heading"><a href="#Implements" class="headerlink" title="Implements"></a>Implements<a class="article-anchor" href="#Implements" aria-hidden="true"></a></h2><ul>
<li><a href="../interfaces/emitters_emitter_.emitter.html">Emitter</a></li>
</ul>
<h2 id="Constructors" class="article-heading"><a href="#Constructors" class="headerlink" title="Constructors"></a>Constructors<a class="article-anchor" href="#Constructors" aria-hidden="true"></a></h2><h3 id="constructor-NaN" class="article-heading"><a href="#constructor-NaN" class="headerlink" title="constructor"></a>constructor<a class="article-anchor" href="#constructor-NaN" aria-hidden="true"></a></h3><p>+ <strong>new StreamedEmitter</strong>(): <em><a href="emitters_streamed_emitter_browser_.streamedemitter.html">StreamedEmitter</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/emitters/streamed-emitter-browser.ts#L5">emitters/streamed-emitter-browser.ts:5</a></em></p>
<p><strong>Returns:</strong> <em><a href="emitters_streamed_emitter_browser_.streamedemitter.html">StreamedEmitter</a></em></p>
<h2 id="Properties" class="article-heading"><a href="#Properties" class="headerlink" title="Properties"></a>Properties<a class="article-anchor" href="#Properties" aria-hidden="true"></a></h2><h3 id="buffer" class="article-heading"><a href="#buffer" class="headerlink" title="buffer"></a>buffer<a class="article-anchor" href="#buffer" aria-hidden="true"></a></h3><p><strong>buffer</strong>: <em>string</em> = “”</p>
<p><em>Implementation of <a href="../interfaces/emitters_emitter_.emitter.html">Emitter</a>.<a href="../interfaces/emitters_emitter_.emitter.html#buffer">buffer</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/emitters/streamed-emitter-browser.ts#L4">emitters/streamed-emitter-browser.ts:4</a></em></p>
<hr>
<h3 id="end" class="article-heading"><a href="#end" class="headerlink" title="end"></a>end<a class="article-anchor" href="#end" aria-hidden="true"></a></h3><p><strong>end</strong>: <em>function</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/emitters/streamed-emitter-browser.ts#L11">emitters/streamed-emitter-browser.ts:11</a></em></p>
<h4 id="Type-declaration" class="article-heading"><a href="#Type-declaration" class="headerlink" title="Type declaration:"></a>Type declaration:<a class="article-anchor" href="#Type-declaration" aria-hidden="true"></a></h4><p>▸ (): <em>void</em></p>
<hr>
<h3 id="error" class="article-heading"><a href="#error" class="headerlink" title="error"></a>error<a class="article-anchor" href="#error" aria-hidden="true"></a></h3><p><strong>error</strong>: <em>function</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/emitters/streamed-emitter-browser.ts#L10">emitters/streamed-emitter-browser.ts:10</a></em></p>
<h4 id="Type-declaration-1" class="article-heading"><a href="#Type-declaration-1" class="headerlink" title="Type declaration:"></a>Type declaration:<a class="article-anchor" href="#Type-declaration-1" aria-hidden="true"></a></h4><p>▸ (<code>err</code>: Error): <em>void</em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
</tr>
</thead>
<tbody><tr>
<td><code>err</code></td>
<td>Error</td>
</tr>
</tbody></table>
<hr>
<h3 id="stream" class="article-heading"><a href="#stream" class="headerlink" title="stream"></a>stream<a class="article-anchor" href="#stream" aria-hidden="true"></a></h3><p><strong>stream</strong>: <em>ReadableStream</em> = null as any</p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/emitters/streamed-emitter-browser.ts#L5">emitters/streamed-emitter-browser.ts:5</a></em></p>
<hr>
<h3 id="write" class="article-heading"><a href="#write" class="headerlink" title="write"></a>write<a class="article-anchor" href="#write" aria-hidden="true"></a></h3><p><strong>write</strong>: <em>function</em></p>
<p><em>Implementation of <a href="../interfaces/emitters_emitter_.emitter.html">Emitter</a>.<a href="../interfaces/emitters_emitter_.emitter.html#write">write</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/emitters/streamed-emitter-browser.ts#L9">emitters/streamed-emitter-browser.ts:9</a></em></p>
<h4 id="Type-declaration-2" class="article-heading"><a href="#Type-declaration-2" class="headerlink" title="Type declaration:"></a>Type declaration:<a class="article-anchor" href="#Type-declaration-2" aria-hidden="true"></a></h4><p>▸ (<code>html</code>: any): <em>void</em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
</tr>
</thead>
<tbody><tr>
<td><code>html</code></td>
<td>any</td>
</tr>
</tbody></table>
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.737Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
</div>
<aside id="article-toc" role="navigation">
<div id="article-toc-inner">
<div id="article-toc-inner-list">
<strong class="sidebar-title">Contents</strong>
<ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#Hierarchy"><span class="toc-text">Hierarchy</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Implements"><span class="toc-text">Implements</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Constructors"><span class="toc-text">Constructors</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#constructor-NaN"><span class="toc-text">constructor</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Properties"><span class="toc-text">Properties</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#buffer"><span class="toc-text">buffer</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#end"><span class="toc-text">end</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#Type-declaration"><span class="toc-text">Type declaration:</span></a></li></ol></li><li class="toc-item toc-level-3"><a class="toc-link" href="#error"><span class="toc-text">error</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#Type-declaration-1"><span class="toc-text">Type declaration:</span></a></li></ol></li><li class="toc-item toc-level-3"><a class="toc-link" href="#stream"><span class="toc-text">stream</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#write"><span class="toc-text">write</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#Type-declaration-2"><span class="toc-text">Type declaration:</span></a></li></ol></li></ol></li></ol>
</div>
<a href="#" id="article-toc-top">Back to Top</a>
</div>
</aside>
</div>
</article>
</div>
</div>
</div>
<footer id="footer" class="wrapper">
<div class="inner">
<div id="footer-copyright">
&copy; 2021 <a href="https://github.com/harttle/liquidjs/graphs/contributors" rel="external nofollow noreferrer" target="_blank">Harttle</a><br>
Documentation licensed under <a href="http://creativecommons.org/licenses/by/4.0/" rel="external nofollow noreferrer" target="_blank">CC BY 4.0</a>.
</div>
<div id="footer-links">
<a href="https://twitter.com/harttleharttle" rel="external nofollow noreferrer" class="footer-link" target="_blank"><i class="icon-twitter"></i></a>
<a href="https://www.patreon.com/harttle" rel="external nofollow noreferrer" class="footer-link" target="_blank"><i class="icon-patreon"></i></a>
<a href="https://opencollective.com/liquidjs" rel="external nofollow noreferrer" class="footer-link" target="_blank"><i class="icon-opencollective"></i></a>
<a href="https://github.com/harttle/liquidjs" rel="external nofollow noreferrer" class="footer-link" target="_blank"><i class="icon-github"></i></a>
</div>
</div>
</footer>
</div>
<div id="mobile-nav-dimmer"></div>
<nav id="mobile-nav">
<div id="mobile-nav-inner">
<ul id="mobile-nav-list">
<a href="../../tutorials/setup.html" class="mobile-nav-link">Tutorials</a><a href="../../tags/overview.html" class="mobile-nav-link">Tags</a><a href="../../filters/overview.html" class="mobile-nav-link">Filters</a><a href="../../playground.html" class="mobile-nav-link">Playground</a><a href="../../api/classes/liquid_.liquid.html" class="mobile-nav-link">API</a>
<li class="mobile-nav-item">
<a href="https://github.com/harttle/liquidjs" class="mobile-nav-link" rel="external" target="_blank">GitHub</a>
</li>
</ul>
<div class="mobile-sidebar-list">
<strong class="mobile-nav-title">Quick Entry</strong><a href="../classes/liquid_.liquid.html" class="mobile-nav-link">Liquid</a><a href="../interfaces/liquid_options_.liquidoptions.html" class="mobile-nav-link">LiquidOptions</a><a href="../interfaces/fs_fs_.fs.html" class="mobile-nav-link">FS</a><a href="../interfaces/cache_cache_.cache.html" class="mobile-nav-link">Cache</a><strong class="mobile-nav-title">Classes</strong><a href="../classes/drop_blank_drop_.blankdrop.html" class="mobile-nav-link">BlankDrop</a><a href="../classes/context_context_.context.html" class="mobile-nav-link">Context</a><a href="../classes/tokens_delimited_token_.delimitedtoken.html" class="mobile-nav-link">DelimitedToken</a><a href="../classes/drop_drop_.drop.html" class="mobile-nav-link">Drop</a><a href="../classes/drop_empty_drop_.emptydrop.html" class="mobile-nav-link">EmptyDrop</a><a href="../classes/render_expression_.expression.html" class="mobile-nav-link">Expression</a><a href="../classes/tokens_filter_token_.filtertoken.html" class="mobile-nav-link">FilterToken</a><a href="../classes/drop_forloop_drop_.forloopdrop.html" class="mobile-nav-link">ForloopDrop</a><a href="../classes/tokens_html_token_.htmltoken.html" class="mobile-nav-link">HTMLToken</a><a href="../classes/tokens_hash_token_.hashtoken.html" class="mobile-nav-link">HashToken</a><a href="../classes/cache_lru_.lru.html" class="mobile-nav-link">LRU</a><a href="../classes/liquid_.liquid.html" class="mobile-nav-link">Liquid</a><a href="../classes/tokens_literal_token_.literaltoken.html" class="mobile-nav-link">LiteralToken</a><a href="../classes/drop_null_drop_.nulldrop.html" class="mobile-nav-link">NullDrop</a><a href="../classes/tokens_number_token_.numbertoken.html" class="mobile-nav-link">NumberToken</a><a href="../classes/tokens_operator_token_.operatortoken.html" class="mobile-nav-link">OperatorToken</a><a href="../classes/tokens_output_token_.outputtoken.html" class="mobile-nav-link">OutputToken</a><a href="../classes/util_error_.parseerror.html" class="mobile-nav-link">ParseError</a><a href="../classes/parser_parse_stream_.parsestream.html" class="mobile-nav-link">ParseStream</a><a href="../classes/parser_parser_.parser.html" class="mobile-nav-link">Parser</a><a href="../classes/tokens_property_access_token_.propertyaccesstoken.html" class="mobile-nav-link">PropertyaccessToken</a><a href="../classes/tokens_quoted_token_.quotedtoken.html" class="mobile-nav-link">QuotedToken</a><a href="../classes/tokens_range_token_.rangetoken.html" class="mobile-nav-link">RangeToken</a><a href="../classes/render_render_.render.html" class="mobile-nav-link">Render</a><a href="../classes/util_error_.rendererror.html" class="mobile-nav-link">RenderError</a><a href="../classes/drop_tablerowloop_drop_.tablerowloopdrop.html" class="mobile-nav-link">TablerowloopDrop</a><a href="../classes/tokens_tag_token_.tagtoken.html" class="mobile-nav-link">TagToken</a><a href="../classes/tokens_token_.token.html" class="mobile-nav-link">Token</a><a href="../classes/util_error_.tokenizationerror.html" class="mobile-nav-link">TokenizationError</a><a href="../classes/parser_tokenizer_.tokenizer.html" class="mobile-nav-link">Tokenizer</a><a href="../classes/tokens_word_token_.wordtoken.html" class="mobile-nav-link">WordToken</a><strong class="mobile-nav-title">Enums</strong><a href="../enums/context_block_mode_.blockmode.html" class="mobile-nav-link">BlockMode</a><a href="../enums/parser_token_kind_.tokenkind.html" class="mobile-nav-link">TokenKind</a><strong class="mobile-nav-title">Interfaces</strong><a href="../interfaces/cache_cache_.cache.html" class="mobile-nav-link">Cache</a><a href="../interfaces/template_filter_filter_impl_options_.filterimploptions.html" class="mobile-nav-link">FilterImplOptions</a><a href="../interfaces/fs_fs_.fs.html" class="mobile-nav-link">FS</a><a href="../interfaces/liquid_options_.liquidoptions.html" class="mobile-nav-link">LiquidOptions</a><a href="../interfaces/liquid_options_.normalizedfulloptions.html" class="mobile-nav-link">NormalizedFullOptions</a><a href="../interfaces/context_scope_.plainobject.html" class="mobile-nav-link">PlainObject</a><a href="../interfaces/template_tag_tag_impl_options_.tagimploptions.html" class="mobile-nav-link">TagImplOptions</a>
</div>
</div>
<div id="mobile-lang-select-wrap">
<span id="mobile-lang-select-label"><i class="icon-network"></i><span>English</span></span>
<select id="mobile-lang-select" data-canonical="api/classes/emitters_streamed_emitter_browser_.streamedemitter.html">
<option value="en" selected>English</option>
<option value="zh-cn">简体中文</option>
</select>
</div>
</nav>
<script src="../../js/main.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
<script>
document.getElementById('search-input-wrap').classList.add('on');
docsearch({
apiKey: '01f36cc168657a26a385308b9e721bc6',
indexName: 'liquidjs',
inputSelector: '#search-input',
debug: false
});
</script>
</body>
</html>
+263
View File
@@ -0,0 +1,263 @@
<!DOCTYPE html>
<html lang="en">
<head prefix="og: http://ogp.me/ns#">
<meta charset="utf-8">
<title>Class: Loader | LiquidJS</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net/">
<link rel="manifest" href="/manifest.json">
<!-- Canonical links -->
<link rel="canonical" href="https://liquidjs.com/api/classes/fs_loader_.loader.html">
<!-- Alternative links -->
<link rel="alternative" hreflang="en" href="https://liquidjs.com/api/classes/fs_loader_.loader">
<link rel="alternative" hreflang="zh-cn" href="https://liquidjs.com/zh-cn/api/classes/fs_loader_.loader">
<!-- Icon -->
<link rel="apple-touch-icon" sizes="57x57" href="../../icon/apple-touch-icon-57x57.png">
<link rel="apple-touch-icon" sizes="114x114" href="../../icon/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon" sizes="72x72" href="../../icon/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="144x144" href="../../icon/apple-touch-icon-144x144.png">
<link rel="apple-touch-icon" sizes="60x60" href="../../icon/apple-touch-icon-60x60.png">
<link rel="apple-touch-icon" sizes="120x120" href="../../icon/apple-touch-icon-120x120.png">
<link rel="apple-touch-icon" sizes="76x76" href="../../icon/apple-touch-icon-76x76.png">
<link rel="apple-touch-icon" sizes="152x152" href="../../icon/apple-touch-icon-152x152.png">
<link rel="icon" type="image/png" href="../../icon/favicon-196x196.png" sizes="196x196">
<link rel="icon" type="image/png" href="../../icon/favicon-160x160.png" sizes="160x160">
<link rel="icon" type="image/png" href="../../icon/favicon-96x96.png" sizes="96x96">
<link rel="icon" type="image/png" href="../../icon/favicon-16x16.png" sizes="16x16">
<link rel="icon" type="image/png" href="../../icon/favicon-32x32.png" sizes="32x32">
<meta name="msapplication-TileColor" content="#2f83cd">
<meta name="msapplication-TileImage" content="../../icon/mstile-144x144.png">
<link rel="stylesheet" href="../../css/navy.css">
<link rel="alternate" href="../../atom.xml" title="LiquidJS" type="application/atom+xml">
<meta name="generator" content="Hexo 5.4.0"></head>
<body>
<div id="container">
<header id="header" class="wrapper">
<div id="header-inner" class="inner">
<h1 id="logo-wrap">
<a href="../../index.html" id="logo">LiquidJS</a>
</h1>
<nav id="main-nav">
<a href="../../tutorials/setup.html" class="main-nav-link">Tutorials</a><a href="../../tags/overview.html" class="main-nav-link">Tags</a><a href="../../filters/overview.html" class="main-nav-link">Filters</a><a href="../../playground.html" class="main-nav-link">Playground</a><a href="../../api/classes/liquid_.liquid.html" class="main-nav-link">API</a>
<div id="search-input-wrap">
<i id="search-input-icon" class="icon-search"></i>
<input type="search" id="search-input" placeholder="Search...">
</div>
</nav>
<div id="lang-select-wrap" class="main-nav-link">
<label><i class="icon-network"></i>English</label>
<select id="lang-select" data-canonical="api/classes/fs_loader_.loader.html">
<option value="en" selected>English</option>
<option value="zh-cn">简体中文</option>
</select>
</div>
<a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs" id="github-link-wrap" class="main-nav-link"><i class="icon-github"></i>Github</a>
<a id="mobile-nav-toggle">
<span class="mobile-nav-toggle-bar"></span>
<span class="mobile-nav-toggle-bar"></span>
<span class="mobile-nav-toggle-bar"></span>
</a>
</div>
</header>
<div id="content-wrap">
<div id="content" class="wrapper">
<div id="content-inner">
<aside id="sidebar" role="navigation">
<div class="inner">
<strong class="sidebar-title">Quick Entry</strong><a href="../classes/liquid_.liquid.html" class="sidebar-link">Liquid</a><a href="../interfaces/liquid_options_.liquidoptions.html" class="sidebar-link">LiquidOptions</a><a href="../interfaces/fs_fs_.fs.html" class="sidebar-link">FS</a><a href="../interfaces/cache_cache_.cache.html" class="sidebar-link">Cache</a><strong class="sidebar-title">Classes</strong><a href="../classes/drop_blank_drop_.blankdrop.html" class="sidebar-link">BlankDrop</a><a href="../classes/context_context_.context.html" class="sidebar-link">Context</a><a href="../classes/tokens_delimited_token_.delimitedtoken.html" class="sidebar-link">DelimitedToken</a><a href="../classes/drop_drop_.drop.html" class="sidebar-link">Drop</a><a href="../classes/drop_empty_drop_.emptydrop.html" class="sidebar-link">EmptyDrop</a><a href="../classes/render_expression_.expression.html" class="sidebar-link">Expression</a><a href="../classes/tokens_filter_token_.filtertoken.html" class="sidebar-link">FilterToken</a><a href="../classes/drop_forloop_drop_.forloopdrop.html" class="sidebar-link">ForloopDrop</a><a href="../classes/tokens_html_token_.htmltoken.html" class="sidebar-link">HTMLToken</a><a href="../classes/tokens_hash_token_.hashtoken.html" class="sidebar-link">HashToken</a><a href="../classes/cache_lru_.lru.html" class="sidebar-link">LRU</a><a href="../classes/liquid_.liquid.html" class="sidebar-link">Liquid</a><a href="../classes/tokens_literal_token_.literaltoken.html" class="sidebar-link">LiteralToken</a><a href="../classes/drop_null_drop_.nulldrop.html" class="sidebar-link">NullDrop</a><a href="../classes/tokens_number_token_.numbertoken.html" class="sidebar-link">NumberToken</a><a href="../classes/tokens_operator_token_.operatortoken.html" class="sidebar-link">OperatorToken</a><a href="../classes/tokens_output_token_.outputtoken.html" class="sidebar-link">OutputToken</a><a href="../classes/util_error_.parseerror.html" class="sidebar-link">ParseError</a><a href="../classes/parser_parse_stream_.parsestream.html" class="sidebar-link">ParseStream</a><a href="../classes/parser_parser_.parser.html" class="sidebar-link">Parser</a><a href="../classes/tokens_property_access_token_.propertyaccesstoken.html" class="sidebar-link">PropertyaccessToken</a><a href="../classes/tokens_quoted_token_.quotedtoken.html" class="sidebar-link">QuotedToken</a><a href="../classes/tokens_range_token_.rangetoken.html" class="sidebar-link">RangeToken</a><a href="../classes/render_render_.render.html" class="sidebar-link">Render</a><a href="../classes/util_error_.rendererror.html" class="sidebar-link">RenderError</a><a href="../classes/drop_tablerowloop_drop_.tablerowloopdrop.html" class="sidebar-link">TablerowloopDrop</a><a href="../classes/tokens_tag_token_.tagtoken.html" class="sidebar-link">TagToken</a><a href="../classes/tokens_token_.token.html" class="sidebar-link">Token</a><a href="../classes/util_error_.tokenizationerror.html" class="sidebar-link">TokenizationError</a><a href="../classes/parser_tokenizer_.tokenizer.html" class="sidebar-link">Tokenizer</a><a href="../classes/tokens_word_token_.wordtoken.html" class="sidebar-link">WordToken</a><strong class="sidebar-title">Enums</strong><a href="../enums/context_block_mode_.blockmode.html" class="sidebar-link">BlockMode</a><a href="../enums/parser_token_kind_.tokenkind.html" class="sidebar-link">TokenKind</a><strong class="sidebar-title">Interfaces</strong><a href="../interfaces/cache_cache_.cache.html" class="sidebar-link">Cache</a><a href="../interfaces/template_filter_filter_impl_options_.filterimploptions.html" class="sidebar-link">FilterImplOptions</a><a href="../interfaces/fs_fs_.fs.html" class="sidebar-link">FS</a><a href="../interfaces/liquid_options_.liquidoptions.html" class="sidebar-link">LiquidOptions</a><a href="../interfaces/liquid_options_.normalizedfulloptions.html" class="sidebar-link">NormalizedFullOptions</a><a href="../interfaces/context_scope_.plainobject.html" class="sidebar-link">PlainObject</a><a href="../interfaces/template_tag_tag_impl_options_.tagimploptions.html" class="sidebar-link">TagImplOptions</a>
</div>
</aside>
<article class="article-container" itemscope itemtype="http://schema.org/Article">
<div class="article-inner">
<div class="article">
<div class="inner">
<header class="article-header">
<h1 class="article-title" itemprop="name">Class: Loader</h1>
<a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/issues/new?title=docs:&body=URL: https%3A%2F%2Fliquidjs.com%2Fapi%2Fclasses%2Ffs_loader_.loader.html&labels=docs" class="article-edit-link" title="Report problems"><i class="icon-chat-bubble-dots"></i></a>
</header>
<div class="article-content" itemprop="articleBody">
<h2 id="Hierarchy" class="article-heading"><a href="#Hierarchy" class="headerlink" title="Hierarchy"></a>Hierarchy<a class="article-anchor" href="#Hierarchy" aria-hidden="true"></a></h2><ul>
<li><strong>Loader</strong></li>
</ul>
<h2 id="Constructors" class="article-heading"><a href="#Constructors" class="headerlink" title="Constructors"></a>Constructors<a class="article-anchor" href="#Constructors" aria-hidden="true"></a></h2><h3 id="constructor-NaN" class="article-heading"><a href="#constructor-NaN" class="headerlink" title="constructor"></a>constructor<a class="article-anchor" href="#constructor-NaN" aria-hidden="true"></a></h3><p>+ <strong>new Loader</strong>(<code>options</code>: <a href="../interfaces/fs_loader_.loaderoptions.html">LoaderOptions</a>): <em><a href="fs_loader_.loader.html">Loader</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/fs/loader.ts#L16">fs/loader.ts:16</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
</tr>
</thead>
<tbody><tr>
<td><code>options</code></td>
<td><a href="../interfaces/fs_loader_.loaderoptions.html">LoaderOptions</a></td>
</tr>
</tbody></table>
<p><strong>Returns:</strong> <em><a href="fs_loader_.loader.html">Loader</a></em></p>
<h2 id="Properties" class="article-heading"><a href="#Properties" class="headerlink" title="Properties"></a>Properties<a class="article-anchor" href="#Properties" aria-hidden="true"></a></h2><h3 id="Private-options" class="article-heading"><a href="#Private-options" class="headerlink" title="Private options"></a><code>Private</code> options<a class="article-anchor" href="#Private-options" aria-hidden="true"></a></h3><p><strong>options</strong>: <em><a href="../interfaces/fs_loader_.loaderoptions.html">LoaderOptions</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/fs/loader.ts#L16">fs/loader.ts:16</a></em></p>
<h2 id="Methods" class="article-heading"><a href="#Methods" class="headerlink" title="Methods"></a>Methods<a class="article-anchor" href="#Methods" aria-hidden="true"></a></h2><h3 id="Private-candidates" class="article-heading"><a href="#Private-candidates" class="headerlink" title="Private candidates"></a><code>Private</code> candidates<a class="article-anchor" href="#Private-candidates" aria-hidden="true"></a></h3><p><strong>candidates</strong>(<code>file</code>: string, <code>type</code>: <a href="../enums/fs_loader_.lookuptype.html">LookupType</a>): <em>IterableIteratorstring</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/fs/loader.ts#L30">fs/loader.ts:30</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
</tr>
</thead>
<tbody><tr>
<td><code>file</code></td>
<td>string</td>
</tr>
<tr>
<td><code>type</code></td>
<td><a href="../enums/fs_loader_.lookuptype.html">LookupType</a></td>
</tr>
</tbody></table>
<p><strong>Returns:</strong> <em>IterableIteratorstring</em></p>
<hr>
<h3 id="lookup" class="article-heading"><a href="#lookup" class="headerlink" title="lookup"></a>lookup<a class="article-anchor" href="#lookup" aria-hidden="true"></a></h3><p><strong>lookup</strong>(<code>file</code>: string, <code>type</code>: <a href="../enums/fs_loader_.lookuptype.html">LookupType</a>, <code>sync?</code>: undefined | false | true): <em>IterableIteratorstring | Promiseboolean››</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/fs/loader.ts#L22">fs/loader.ts:22</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
</tr>
</thead>
<tbody><tr>
<td><code>file</code></td>
<td>string</td>
</tr>
<tr>
<td><code>type</code></td>
<td><a href="../enums/fs_loader_.lookuptype.html">LookupType</a></td>
</tr>
<tr>
<td><code>sync?</code></td>
<td>undefined &#124; false &#124; true</td>
</tr>
</tbody></table>
<p><strong>Returns:</strong> <em>IterableIteratorstring | Promiseboolean››</em></p>
<hr>
<h3 id="Private-lookupError" class="article-heading"><a href="#Private-lookupError" class="headerlink" title="Private lookupError"></a><code>Private</code> lookupError<a class="article-anchor" href="#Private-lookupError" aria-hidden="true"></a></h3><p><strong>lookupError</strong>(<code>file</code>: string, <code>roots</code>: string[]): <em>any</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/fs/loader.ts#L42">fs/loader.ts:42</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
</tr>
</thead>
<tbody><tr>
<td><code>file</code></td>
<td>string</td>
</tr>
<tr>
<td><code>roots</code></td>
<td>string[]</td>
</tr>
</tbody></table>
<p><strong>Returns:</strong> <em>any</em></p>
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.761Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
</div>
<aside id="article-toc" role="navigation">
<div id="article-toc-inner">
<div id="article-toc-inner-list">
<strong class="sidebar-title">Contents</strong>
<ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#Hierarchy"><span class="toc-text">Hierarchy</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Constructors"><span class="toc-text">Constructors</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#constructor-NaN"><span class="toc-text">constructor</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Properties"><span class="toc-text">Properties</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#Private-options"><span class="toc-text">Private options</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Methods"><span class="toc-text">Methods</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#Private-candidates"><span class="toc-text">Private candidates</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#lookup"><span class="toc-text">lookup</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Private-lookupError"><span class="toc-text">Private lookupError</span></a></li></ol></li></ol>
</div>
<a href="#" id="article-toc-top">Back to Top</a>
</div>
</aside>
</div>
</article>
</div>
</div>
</div>
<footer id="footer" class="wrapper">
<div class="inner">
<div id="footer-copyright">
&copy; 2021 <a href="https://github.com/harttle/liquidjs/graphs/contributors" rel="external nofollow noreferrer" target="_blank">Harttle</a><br>
Documentation licensed under <a href="http://creativecommons.org/licenses/by/4.0/" rel="external nofollow noreferrer" target="_blank">CC BY 4.0</a>.
</div>
<div id="footer-links">
<a href="https://twitter.com/harttleharttle" rel="external nofollow noreferrer" class="footer-link" target="_blank"><i class="icon-twitter"></i></a>
<a href="https://www.patreon.com/harttle" rel="external nofollow noreferrer" class="footer-link" target="_blank"><i class="icon-patreon"></i></a>
<a href="https://opencollective.com/liquidjs" rel="external nofollow noreferrer" class="footer-link" target="_blank"><i class="icon-opencollective"></i></a>
<a href="https://github.com/harttle/liquidjs" rel="external nofollow noreferrer" class="footer-link" target="_blank"><i class="icon-github"></i></a>
</div>
</div>
</footer>
</div>
<div id="mobile-nav-dimmer"></div>
<nav id="mobile-nav">
<div id="mobile-nav-inner">
<ul id="mobile-nav-list">
<a href="../../tutorials/setup.html" class="mobile-nav-link">Tutorials</a><a href="../../tags/overview.html" class="mobile-nav-link">Tags</a><a href="../../filters/overview.html" class="mobile-nav-link">Filters</a><a href="../../playground.html" class="mobile-nav-link">Playground</a><a href="../../api/classes/liquid_.liquid.html" class="mobile-nav-link">API</a>
<li class="mobile-nav-item">
<a href="https://github.com/harttle/liquidjs" class="mobile-nav-link" rel="external" target="_blank">GitHub</a>
</li>
</ul>
<div class="mobile-sidebar-list">
<strong class="mobile-nav-title">Quick Entry</strong><a href="../classes/liquid_.liquid.html" class="mobile-nav-link">Liquid</a><a href="../interfaces/liquid_options_.liquidoptions.html" class="mobile-nav-link">LiquidOptions</a><a href="../interfaces/fs_fs_.fs.html" class="mobile-nav-link">FS</a><a href="../interfaces/cache_cache_.cache.html" class="mobile-nav-link">Cache</a><strong class="mobile-nav-title">Classes</strong><a href="../classes/drop_blank_drop_.blankdrop.html" class="mobile-nav-link">BlankDrop</a><a href="../classes/context_context_.context.html" class="mobile-nav-link">Context</a><a href="../classes/tokens_delimited_token_.delimitedtoken.html" class="mobile-nav-link">DelimitedToken</a><a href="../classes/drop_drop_.drop.html" class="mobile-nav-link">Drop</a><a href="../classes/drop_empty_drop_.emptydrop.html" class="mobile-nav-link">EmptyDrop</a><a href="../classes/render_expression_.expression.html" class="mobile-nav-link">Expression</a><a href="../classes/tokens_filter_token_.filtertoken.html" class="mobile-nav-link">FilterToken</a><a href="../classes/drop_forloop_drop_.forloopdrop.html" class="mobile-nav-link">ForloopDrop</a><a href="../classes/tokens_html_token_.htmltoken.html" class="mobile-nav-link">HTMLToken</a><a href="../classes/tokens_hash_token_.hashtoken.html" class="mobile-nav-link">HashToken</a><a href="../classes/cache_lru_.lru.html" class="mobile-nav-link">LRU</a><a href="../classes/liquid_.liquid.html" class="mobile-nav-link">Liquid</a><a href="../classes/tokens_literal_token_.literaltoken.html" class="mobile-nav-link">LiteralToken</a><a href="../classes/drop_null_drop_.nulldrop.html" class="mobile-nav-link">NullDrop</a><a href="../classes/tokens_number_token_.numbertoken.html" class="mobile-nav-link">NumberToken</a><a href="../classes/tokens_operator_token_.operatortoken.html" class="mobile-nav-link">OperatorToken</a><a href="../classes/tokens_output_token_.outputtoken.html" class="mobile-nav-link">OutputToken</a><a href="../classes/util_error_.parseerror.html" class="mobile-nav-link">ParseError</a><a href="../classes/parser_parse_stream_.parsestream.html" class="mobile-nav-link">ParseStream</a><a href="../classes/parser_parser_.parser.html" class="mobile-nav-link">Parser</a><a href="../classes/tokens_property_access_token_.propertyaccesstoken.html" class="mobile-nav-link">PropertyaccessToken</a><a href="../classes/tokens_quoted_token_.quotedtoken.html" class="mobile-nav-link">QuotedToken</a><a href="../classes/tokens_range_token_.rangetoken.html" class="mobile-nav-link">RangeToken</a><a href="../classes/render_render_.render.html" class="mobile-nav-link">Render</a><a href="../classes/util_error_.rendererror.html" class="mobile-nav-link">RenderError</a><a href="../classes/drop_tablerowloop_drop_.tablerowloopdrop.html" class="mobile-nav-link">TablerowloopDrop</a><a href="../classes/tokens_tag_token_.tagtoken.html" class="mobile-nav-link">TagToken</a><a href="../classes/tokens_token_.token.html" class="mobile-nav-link">Token</a><a href="../classes/util_error_.tokenizationerror.html" class="mobile-nav-link">TokenizationError</a><a href="../classes/parser_tokenizer_.tokenizer.html" class="mobile-nav-link">Tokenizer</a><a href="../classes/tokens_word_token_.wordtoken.html" class="mobile-nav-link">WordToken</a><strong class="mobile-nav-title">Enums</strong><a href="../enums/context_block_mode_.blockmode.html" class="mobile-nav-link">BlockMode</a><a href="../enums/parser_token_kind_.tokenkind.html" class="mobile-nav-link">TokenKind</a><strong class="mobile-nav-title">Interfaces</strong><a href="../interfaces/cache_cache_.cache.html" class="mobile-nav-link">Cache</a><a href="../interfaces/template_filter_filter_impl_options_.filterimploptions.html" class="mobile-nav-link">FilterImplOptions</a><a href="../interfaces/fs_fs_.fs.html" class="mobile-nav-link">FS</a><a href="../interfaces/liquid_options_.liquidoptions.html" class="mobile-nav-link">LiquidOptions</a><a href="../interfaces/liquid_options_.normalizedfulloptions.html" class="mobile-nav-link">NormalizedFullOptions</a><a href="../interfaces/context_scope_.plainobject.html" class="mobile-nav-link">PlainObject</a><a href="../interfaces/template_tag_tag_impl_options_.tagimploptions.html" class="mobile-nav-link">TagImplOptions</a>
</div>
</div>
<div id="mobile-lang-select-wrap">
<span id="mobile-lang-select-label"><i class="icon-network"></i><span>English</span></span>
<select id="mobile-lang-select" data-canonical="api/classes/fs_loader_.loader.html">
<option value="en" selected>English</option>
<option value="zh-cn">简体中文</option>
</select>
</div>
</nav>
<script src="../../js/main.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
<script>
document.getElementById('search-input-wrap').classList.add('on');
docsearch({
apiKey: '01f36cc168657a26a385308b9e721bc6',
indexName: 'liquidjs',
inputSelector: '#search-input',
debug: false
});
</script>
</body>
</html>
+49 -91
View File
@@ -95,7 +95,7 @@
<li><strong>Liquid</strong></li>
</ul>
<h2 id="Constructors" class="article-heading"><a href="#Constructors" class="headerlink" title="Constructors"></a>Constructors<a class="article-anchor" href="#Constructors" aria-hidden="true"></a></h2><h3 id="constructor-NaN" class="article-heading"><a href="#constructor-NaN" class="headerlink" title="constructor"></a>constructor<a class="article-anchor" href="#constructor-NaN" aria-hidden="true"></a></h3><p>+ <strong>new Liquid</strong>(<code>opts</code>: <a href="../interfaces/liquid_options_.liquidoptions.html">LiquidOptions</a>): <em><a href="liquid_.liquid.html">Liquid</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L26">liquid.ts:26</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L25">liquid.ts:25</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -118,27 +118,6 @@
<h3 id="options" class="article-heading"><a href="#options" class="headerlink" title="options"></a>options<a class="article-anchor" href="#options" aria-hidden="true"></a></h3><p><strong>options</strong>: <em><a href="../interfaces/liquid_options_.normalizedfulloptions.html">NormalizedFullOptions</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L21">liquid.ts:21</a></em></p>
<hr>
<h3 id="parseFileImpl" class="article-heading"><a href="#parseFileImpl" class="headerlink" title="parseFileImpl"></a>parseFileImpl<a class="article-anchor" href="#parseFileImpl" aria-hidden="true"></a></h3><p><strong>parseFileImpl</strong>: <em>function</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L26">liquid.ts:26</a></em></p>
<h4 id="Type-declaration" class="article-heading"><a href="#Type-declaration" class="headerlink" title="Type declaration:"></a>Type declaration:<a class="article-anchor" href="#Type-declaration" aria-hidden="true"></a></h4><p>▸ (<code>file</code>: string, <code>sync?</code>: undefined | false | true): <em>Iterator<a href="../interfaces/template_template_.template.html">Template</a>[]</em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
</tr>
</thead>
<tbody><tr>
<td><code>file</code></td>
<td>string</td>
</tr>
<tr>
<td><code>sync?</code></td>
<td>undefined &#124; false &#124; true</td>
</tr>
</tbody></table>
<hr>
<h3 id="parser" class="article-heading"><a href="#parser" class="headerlink" title="parser"></a>parser<a class="article-anchor" href="#parser" aria-hidden="true"></a></h3><p><strong>parser</strong>: <em><a href="parser_parser_.parser.html">Parser</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L23">liquid.ts:23</a></em></p>
<hr>
@@ -148,7 +127,7 @@
<h3 id="tags" class="article-heading"><a href="#tags" class="headerlink" title="tags"></a>tags<a class="article-anchor" href="#tags" aria-hidden="true"></a></h3><p><strong>tags</strong>: <em><a href="template_tag_tag_map_.tagmap.html">TagMap</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L25">liquid.ts:25</a></em></p>
<h2 id="Methods" class="article-heading"><a href="#Methods" class="headerlink" title="Methods"></a>Methods<a class="article-anchor" href="#Methods" aria-hidden="true"></a></h2><h3 id="evalValue" class="article-heading"><a href="#evalValue" class="headerlink" title="_evalValue"></a>_evalValue<a class="article-anchor" href="#evalValue" aria-hidden="true"></a></h3><p><strong>_evalValue</strong>(<code>str</code>: string, <code>ctx</code>: <a href="context_context_.context.html">Context</a>): <em>IterableIteratorany</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L105">liquid.ts:105</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L92">liquid.ts:92</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -169,7 +148,7 @@
<p><strong>Returns:</strong> <em>IterableIteratorany</em></p>
<hr>
<h3 id="parseAndRender" class="article-heading"><a href="#parseAndRender" class="headerlink" title="_parseAndRender"></a>_parseAndRender<a class="article-anchor" href="#parseAndRender" aria-hidden="true"></a></h3><p><strong>_parseAndRender</strong>(<code>html</code>: string, <code>scope?</code>: undefined | object, <code>sync?</code>: undefined | false | true): <em>IterableIteratorany</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L60">liquid.ts:60</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L56">liquid.ts:56</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -193,8 +172,8 @@
</tbody></table>
<p><strong>Returns:</strong> <em>IterableIteratorany</em></p>
<hr>
<h3 id="Private-parseFile" class="article-heading"><a href="#Private-parseFile" class="headerlink" title="Private _parseFile"></a><code>Private</code> _parseFile<a class="article-anchor" href="#Private-parseFile" aria-hidden="true"></a></h3><p><strong>_parseFile</strong>(<code>file</code>: string, <code>sync?</code>: undefined | false | true): <em>IterableIteratorPromiseboolean | Promisestring | <a href="../interfaces/template_template_.template.html">Template</a>[]</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L80">liquid.ts:80</a></em></p>
<h3 id="parseLayoutFile" class="article-heading"><a href="#parseLayoutFile" class="headerlink" title="_parseLayoutFile"></a>_parseLayoutFile<a class="article-anchor" href="#parseLayoutFile" aria-hidden="true"></a></h3><p><strong>_parseLayoutFile</strong>(<code>file</code>: string, <code>sync?</code>: undefined | false | true): <em>Iterator<a href="../interfaces/template_template_.template.html">Template</a>[]</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L70">liquid.ts:70</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -212,10 +191,10 @@
<td>undefined &#124; false &#124; true</td>
</tr>
</tbody></table>
<p><strong>Returns:</strong> <em>IterableIteratorPromiseboolean | Promisestring | <a href="../interfaces/template_template_.template.html">Template</a>[]</em></p>
<p><strong>Returns:</strong> <em>Iterator<a href="../interfaces/template_template_.template.html">Template</a>[]</em></p>
<hr>
<h3 id="Private-parseFileCached" class="article-heading"><a href="#Private-parseFileCached" class="headerlink" title="Private _parseFileCached"></a><code>Private</code> _parseFileCached<a class="article-anchor" href="#Private-parseFileCached" aria-hidden="true"></a></h3><p><strong>_parseFileCached</strong>(<code>file</code>: string, <code>sync?</code>: undefined | false | true): <em>IterableIteratorany</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L71">liquid.ts:71</a></em></p>
<h3 id="parsePartialFile" class="article-heading"><a href="#parsePartialFile" class="headerlink" title="_parsePartialFile"></a>_parsePartialFile<a class="article-anchor" href="#parsePartialFile" aria-hidden="true"></a></h3><p><strong>_parsePartialFile</strong>(<code>file</code>: string, <code>sync?</code>: undefined | false | true): <em>Iterator<a href="../interfaces/template_template_.template.html">Template</a>[]</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L67">liquid.ts:67</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -233,10 +212,10 @@
<td>undefined &#124; false &#124; true</td>
</tr>
</tbody></table>
<p><strong>Returns:</strong> <em>IterableIteratorany</em></p>
<p><strong>Returns:</strong> <em>Iterator<a href="../interfaces/template_template_.template.html">Template</a>[]</em></p>
<hr>
<h3 id="render" class="article-heading"><a href="#render" class="headerlink" title="_render"></a>_render<a class="article-anchor" href="#render" aria-hidden="true"></a></h3><p><strong>_render</strong>(<code>tpl</code>: <a href="../interfaces/template_template_.template.html">Template</a>[], <code>scope?</code>: undefined | object, <code>sync?</code>: undefined | false | true): <em>IterableIteratorany</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L45">liquid.ts:45</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L41">liquid.ts:41</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -261,7 +240,7 @@
<p><strong>Returns:</strong> <em>IterableIteratorany</em></p>
<hr>
<h3 id="evalValue-1" class="article-heading"><a href="#evalValue-1" class="headerlink" title="evalValue"></a>evalValue<a class="article-anchor" href="#evalValue-1" aria-hidden="true"></a></h3><p><strong>evalValue</strong>(<code>str</code>: string, <code>ctx</code>: <a href="context_context_.context.html">Context</a>): <em>Promiseany</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L109">liquid.ts:109</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L96">liquid.ts:96</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -282,7 +261,7 @@
<p><strong>Returns:</strong> <em>Promiseany</em></p>
<hr>
<h3 id="evalValueSync" class="article-heading"><a href="#evalValueSync" class="headerlink" title="evalValueSync"></a>evalValueSync<a class="article-anchor" href="#evalValueSync" aria-hidden="true"></a></h3><p><strong>evalValueSync</strong>(<code>str</code>: string, <code>ctx</code>: <a href="context_context_.context.html">Context</a>): <em>any</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L112">liquid.ts:112</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L99">liquid.ts:99</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -303,53 +282,11 @@
<p><strong>Returns:</strong> <em>any</em></p>
<hr>
<h3 id="express" class="article-heading"><a href="#express" class="headerlink" title="express"></a>express<a class="article-anchor" href="#express" aria-hidden="true"></a></h3><p><strong>express</strong>(): <em>(Anonymous function)</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L125">liquid.ts:125</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L112">liquid.ts:112</a></em></p>
<p><strong>Returns:</strong> <em>(Anonymous function)</em></p>
<hr>
<h3 id="Private-lookupError" class="article-heading"><a href="#Private-lookupError" class="headerlink" title="Private lookupError"></a><code>Private</code> lookupError<a class="article-anchor" href="#Private-lookupError" aria-hidden="true"></a></h3><p><strong>lookupError</strong>(<code>file</code>: string, <code>roots</code>: string[]): <em>any</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L149">liquid.ts:149</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
</tr>
</thead>
<tbody><tr>
<td><code>file</code></td>
<td>string</td>
</tr>
<tr>
<td><code>roots</code></td>
<td>string[]</td>
</tr>
</tbody></table>
<p><strong>Returns:</strong> <em>any</em></p>
<hr>
<h3 id="Private-lookupFiles" class="article-heading"><a href="#Private-lookupFiles" class="headerlink" title="Private lookupFiles"></a><code>Private</code> lookupFiles<a class="article-anchor" href="#Private-lookupFiles" aria-hidden="true"></a></h3><p><strong>lookupFiles</strong>(<code>file</code>: string, <code>options</code>: <a href="../interfaces/liquid_options_.normalizedfulloptions.html">NormalizedFullOptions</a>): <em>IterableIteratorstring</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L138">liquid.ts:138</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
</tr>
</thead>
<tbody><tr>
<td><code>file</code></td>
<td>string</td>
</tr>
<tr>
<td><code>options</code></td>
<td><a href="../interfaces/liquid_options_.normalizedfulloptions.html">NormalizedFullOptions</a></td>
</tr>
</tbody></table>
<p><strong>Returns:</strong> <em>IterableIteratorstring</em></p>
<hr>
<h3 id="parse" class="article-heading"><a href="#parse" class="headerlink" title="parse"></a>parse<a class="article-anchor" href="#parse" aria-hidden="true"></a></h3><p><strong>parse</strong>(<code>html</code>: string, <code>filepath?</code>: undefined | string): <em><a href="../interfaces/template_template_.template.html">Template</a>[]</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L39">liquid.ts:39</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L37">liquid.ts:37</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -370,7 +307,7 @@
<p><strong>Returns:</strong> <em><a href="../interfaces/template_template_.template.html">Template</a>[]</em></p>
<hr>
<h3 id="parseAndRender-1" class="article-heading"><a href="#parseAndRender-1" class="headerlink" title="parseAndRender"></a>parseAndRender<a class="article-anchor" href="#parseAndRender-1" aria-hidden="true"></a></h3><p><strong>parseAndRender</strong>(<code>html</code>: string, <code>scope?</code>: undefined | object): <em>Promiseany</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L64">liquid.ts:64</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L60">liquid.ts:60</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -391,7 +328,7 @@
<p><strong>Returns:</strong> <em>Promiseany</em></p>
<hr>
<h3 id="parseAndRenderSync" class="article-heading"><a href="#parseAndRenderSync" class="headerlink" title="parseAndRenderSync"></a>parseAndRenderSync<a class="article-anchor" href="#parseAndRenderSync" aria-hidden="true"></a></h3><p><strong>parseAndRenderSync</strong>(<code>html</code>: string, <code>scope?</code>: undefined | object): <em>any</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L67">liquid.ts:67</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L63">liquid.ts:63</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -412,7 +349,7 @@
<p><strong>Returns:</strong> <em>any</em></p>
<hr>
<h3 id="parseFile" class="article-heading"><a href="#parseFile" class="headerlink" title="parseFile"></a>parseFile<a class="article-anchor" href="#parseFile" aria-hidden="true"></a></h3><p><strong>parseFile</strong>(<code>file</code>: string): <em>Promise<a href="../interfaces/template_template_.template.html">Template</a>[]</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L90">liquid.ts:90</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L73">liquid.ts:73</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -429,7 +366,7 @@
<p><strong>Returns:</strong> <em>Promise<a href="../interfaces/template_template_.template.html">Template</a>[]</em></p>
<hr>
<h3 id="parseFileSync" class="article-heading"><a href="#parseFileSync" class="headerlink" title="parseFileSync"></a>parseFileSync<a class="article-anchor" href="#parseFileSync" aria-hidden="true"></a></h3><p><strong>parseFileSync</strong>(<code>file</code>: string): <em><a href="../interfaces/template_template_.template.html">Template</a>[]</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L93">liquid.ts:93</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L76">liquid.ts:76</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -446,7 +383,7 @@
<p><strong>Returns:</strong> <em><a href="../interfaces/template_template_.template.html">Template</a>[]</em></p>
<hr>
<h3 id="plugin" class="article-heading"><a href="#plugin" class="headerlink" title="plugin"></a>plugin<a class="article-anchor" href="#plugin" aria-hidden="true"></a></h3><p><strong>plugin</strong>(<code>plugin</code>: function): <em>void</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L122">liquid.ts:122</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L109">liquid.ts:109</a></em></p>
<p><strong>Parameters:</strong></p>
<p><strong>plugin</strong>: <em>function</em></p>
<p>▸ (<code>this</code>: <a href="liquid_.liquid.html">Liquid</a>, <code>L</code>: <a href="liquid_.liquid.html">Liquid</a>): <em>void</em></p>
@@ -470,7 +407,7 @@
<p><strong>Returns:</strong> <em>void</em></p>
<hr>
<h3 id="registerFilter" class="article-heading"><a href="#registerFilter" class="headerlink" title="registerFilter"></a>registerFilter<a class="article-anchor" href="#registerFilter" aria-hidden="true"></a></h3><p><strong>registerFilter</strong>(<code>name</code>: string, <code>filter</code>: <a href="../interfaces/template_filter_filter_impl_options_.filterimploptions.html">FilterImplOptions</a>): <em>void</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L116">liquid.ts:116</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L103">liquid.ts:103</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -491,7 +428,7 @@
<p><strong>Returns:</strong> <em>void</em></p>
<hr>
<h3 id="registerTag" class="article-heading"><a href="#registerTag" class="headerlink" title="registerTag"></a>registerTag<a class="article-anchor" href="#registerTag" aria-hidden="true"></a></h3><p><strong>registerTag</strong>(<code>name</code>: string, <code>tag</code>: <a href="../interfaces/template_tag_tag_impl_options_.tagimploptions.html">TagImplOptions</a>): <em>void</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L119">liquid.ts:119</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L106">liquid.ts:106</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -512,7 +449,7 @@
<p><strong>Returns:</strong> <em>void</em></p>
<hr>
<h3 id="render-1" class="article-heading"><a href="#render-1" class="headerlink" title="render"></a>render<a class="article-anchor" href="#render-1" aria-hidden="true"></a></h3><p><strong>render</strong>(<code>tpl</code>: <a href="../interfaces/template_template_.template.html">Template</a>[], <code>scope?</code>: undefined | object): <em>Promiseany</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L49">liquid.ts:49</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L45">liquid.ts:45</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -533,7 +470,7 @@
<p><strong>Returns:</strong> <em>Promiseany</em></p>
<hr>
<h3 id="renderFile" class="article-heading"><a href="#renderFile" class="headerlink" title="renderFile"></a>renderFile<a class="article-anchor" href="#renderFile" aria-hidden="true"></a></h3><p><strong>renderFile</strong>(<code>file</code>: string, <code>ctx?</code>: undefined | object): <em>Promiseany</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L96">liquid.ts:96</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L79">liquid.ts:79</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -554,7 +491,7 @@
<p><strong>Returns:</strong> <em>Promiseany</em></p>
<hr>
<h3 id="renderFileSync" class="article-heading"><a href="#renderFileSync" class="headerlink" title="renderFileSync"></a>renderFileSync<a class="article-anchor" href="#renderFileSync" aria-hidden="true"></a></h3><p><strong>renderFileSync</strong>(<code>file</code>: string, <code>ctx?</code>: undefined | object): <em>any</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L100">liquid.ts:100</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L83">liquid.ts:83</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -574,8 +511,29 @@
</tbody></table>
<p><strong>Returns:</strong> <em>any</em></p>
<hr>
<h3 id="renderFileToNodeStream" class="article-heading"><a href="#renderFileToNodeStream" class="headerlink" title="renderFileToNodeStream"></a>renderFileToNodeStream<a class="article-anchor" href="#renderFileToNodeStream" aria-hidden="true"></a></h3><p><strong>renderFileToNodeStream</strong>(<code>file</code>: string, <code>scope?</code>: undefined | object): <em>PromiseReadableStream</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L87">liquid.ts:87</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
</tr>
</thead>
<tbody><tr>
<td><code>file</code></td>
<td>string</td>
</tr>
<tr>
<td><code>scope?</code></td>
<td>undefined &#124; object</td>
</tr>
</tbody></table>
<p><strong>Returns:</strong> <em>PromiseReadableStream</em></p>
<hr>
<h3 id="renderSync" class="article-heading"><a href="#renderSync" class="headerlink" title="renderSync"></a>renderSync<a class="article-anchor" href="#renderSync" aria-hidden="true"></a></h3><p><strong>renderSync</strong>(<code>tpl</code>: <a href="../interfaces/template_template_.template.html">Template</a>[], <code>scope?</code>: undefined | object): <em>any</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L52">liquid.ts:52</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L48">liquid.ts:48</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -596,7 +554,7 @@
<p><strong>Returns:</strong> <em>any</em></p>
<hr>
<h3 id="renderToNodeStream" class="article-heading"><a href="#renderToNodeStream" class="headerlink" title="renderToNodeStream"></a>renderToNodeStream<a class="article-anchor" href="#renderToNodeStream" aria-hidden="true"></a></h3><p><strong>renderToNodeStream</strong>(<code>tpl</code>: <a href="../interfaces/template_template_.template.html">Template</a>[], <code>scope?</code>: undefined | object): <em>ReadableStream</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L55">liquid.ts:55</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/liquid.ts#L51">liquid.ts:51</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -618,7 +576,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.882Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.645Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
@@ -627,7 +585,7 @@
<div id="article-toc-inner">
<div id="article-toc-inner-list">
<strong class="sidebar-title">Contents</strong>
<ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#Hierarchy"><span class="toc-text">Hierarchy</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Constructors"><span class="toc-text">Constructors</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#constructor-NaN"><span class="toc-text">constructor</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Properties"><span class="toc-text">Properties</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#filters"><span class="toc-text">filters</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#options"><span class="toc-text">options</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#parseFileImpl"><span class="toc-text">parseFileImpl</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#Type-declaration"><span class="toc-text">Type declaration:</span></a></li></ol></li><li class="toc-item toc-level-3"><a class="toc-link" href="#parser"><span class="toc-text">parser</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#renderer"><span class="toc-text">renderer</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#tags"><span class="toc-text">tags</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Methods"><span class="toc-text">Methods</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#evalValue"><span class="toc-text">_evalValue</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#parseAndRender"><span class="toc-text">_parseAndRender</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Private-parseFile"><span class="toc-text">Private _parseFile</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Private-parseFileCached"><span class="toc-text">Private _parseFileCached</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#render"><span class="toc-text">_render</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#evalValue-1"><span class="toc-text">evalValue</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#evalValueSync"><span class="toc-text">evalValueSync</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#express"><span class="toc-text">express</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Private-lookupError"><span class="toc-text">Private lookupError</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Private-lookupFiles"><span class="toc-text">Private lookupFiles</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#parse"><span class="toc-text">parse</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#parseAndRender-1"><span class="toc-text">parseAndRender</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#parseAndRenderSync"><span class="toc-text">parseAndRenderSync</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#parseFile"><span class="toc-text">parseFile</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#parseFileSync"><span class="toc-text">parseFileSync</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#plugin"><span class="toc-text">plugin</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#registerFilter"><span class="toc-text">registerFilter</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#registerTag"><span class="toc-text">registerTag</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#render-1"><span class="toc-text">render</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#renderFile"><span class="toc-text">renderFile</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#renderFileSync"><span class="toc-text">renderFileSync</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#renderSync"><span class="toc-text">renderSync</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#renderToNodeStream"><span class="toc-text">renderToNodeStream</span></a></li></ol></li></ol>
<ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#Hierarchy"><span class="toc-text">Hierarchy</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Constructors"><span class="toc-text">Constructors</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#constructor-NaN"><span class="toc-text">constructor</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Properties"><span class="toc-text">Properties</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#filters"><span class="toc-text">filters</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#options"><span class="toc-text">options</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#parser"><span class="toc-text">parser</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#renderer"><span class="toc-text">renderer</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#tags"><span class="toc-text">tags</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Methods"><span class="toc-text">Methods</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#evalValue"><span class="toc-text">_evalValue</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#parseAndRender"><span class="toc-text">_parseAndRender</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#parseLayoutFile"><span class="toc-text">_parseLayoutFile</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#parsePartialFile"><span class="toc-text">_parsePartialFile</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#render"><span class="toc-text">_render</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#evalValue-1"><span class="toc-text">evalValue</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#evalValueSync"><span class="toc-text">evalValueSync</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#express"><span class="toc-text">express</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#parse"><span class="toc-text">parse</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#parseAndRender-1"><span class="toc-text">parseAndRender</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#parseAndRenderSync"><span class="toc-text">parseAndRenderSync</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#parseFile"><span class="toc-text">parseFile</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#parseFileSync"><span class="toc-text">parseFileSync</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#plugin"><span class="toc-text">plugin</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#registerFilter"><span class="toc-text">registerFilter</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#registerTag"><span class="toc-text">registerTag</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#render-1"><span class="toc-text">render</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#renderFile"><span class="toc-text">renderFile</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#renderFileSync"><span class="toc-text">renderFileSync</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#renderFileToNodeStream"><span class="toc-text">renderFileToNodeStream</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#renderSync"><span class="toc-text">renderSync</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#renderToNodeStream"><span class="toc-text">renderToNodeStream</span></a></li></ol></li></ol>
</div>
<a href="#" id="article-toc-top">Back to Top</a>
</div>
@@ -150,7 +150,7 @@
<p><strong>Parameters:</strong></p>
<p><strong>name</strong>: <em>string</em></p>
<p><strong>cb</strong>: <em>function</em></p>
<p>▸ (<code>arg</code>: T2): <em>void</em></p>
<p>▸ (<code>this</code>: <a href="parser_parse_stream_.parsestream.html">ParseStream</a>, <code>arg</code>: T2): <em>void</em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -160,6 +160,10 @@
</tr>
</thead>
<tbody><tr>
<td><code>this</code></td>
<td><a href="parser_parse_stream_.parsestream.html">ParseStream</a></td>
</tr>
<tr>
<td><code>arg</code></td>
<td>T2</td>
</tr>
@@ -199,7 +203,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.938Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.717Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+125 -12
View File
@@ -95,7 +95,7 @@
<li><strong>Parser</strong></li>
</ul>
<h2 id="Constructors" class="article-heading"><a href="#Constructors" class="headerlink" title="Constructors"></a>Constructors<a class="article-anchor" href="#Constructors" aria-hidden="true"></a></h2><h3 id="constructor-NaN" class="article-heading"><a href="#constructor-NaN" class="headerlink" title="constructor"></a>constructor<a class="article-anchor" href="#constructor-NaN" aria-hidden="true"></a></h3><p>+ <strong>new Parser</strong>(<code>liquid</code>: <a href="liquid_.liquid.html">Liquid</a>): <em><a href="parser_parser_.parser.html">Parser</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/parser/parser.ts#L13">parser/parser.ts:13</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/parser/parser.ts#L21">parser/parser.ts:21</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -110,10 +110,21 @@
</tr>
</tbody></table>
<p><strong>Returns:</strong> <em><a href="parser_parser_.parser.html">Parser</a></em></p>
<h2 id="Properties" class="article-heading"><a href="#Properties" class="headerlink" title="Properties"></a>Properties<a class="article-anchor" href="#Properties" aria-hidden="true"></a></h2><h3 id="Private-liquid" class="article-heading"><a href="#Private-liquid" class="headerlink" title="Private liquid"></a><code>Private</code> liquid<a class="article-anchor" href="#Private-liquid" aria-hidden="true"></a></h3><p><strong>liquid</strong>: <em><a href="liquid_.liquid.html">Liquid</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/parser/parser.ts#L13">parser/parser.ts:13</a></em></p>
<h2 id="Methods" class="article-heading"><a href="#Methods" class="headerlink" title="Methods"></a>Methods<a class="article-anchor" href="#Methods" aria-hidden="true"></a></h2><h3 id="parse" class="article-heading"><a href="#parse" class="headerlink" title="parse"></a>parse<a class="article-anchor" href="#parse" aria-hidden="true"></a></h3><p><strong>parse</strong>(<code>tokens</code>: <a href="../modules/tokens_toplevel_token_.html#topleveltoken">TopLevelToken</a>[]): <em><a href="../interfaces/template_template_.template.html">Template</a>[]</em></p>
<h2 id="Properties" class="article-heading"><a href="#Properties" class="headerlink" title="Properties"></a>Properties<a class="article-anchor" href="#Properties" aria-hidden="true"></a></h2><h3 id="Private-cache" class="article-heading"><a href="#Private-cache" class="headerlink" title="Private cache"></a><code>Private</code> cache<a class="article-anchor" href="#Private-cache" aria-hidden="true"></a></h3><p><strong>cache</strong>: <em><a href="../interfaces/cache_cache_.cache.html">Cache</a><a href="../interfaces/template_template_.template.html">Template</a>[] | undefined</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/parser/parser.ts#L20">parser/parser.ts:20</a></em></p>
<hr>
<h3 id="Private-fs" class="article-heading"><a href="#Private-fs" class="headerlink" title="Private fs"></a><code>Private</code> fs<a class="article-anchor" href="#Private-fs" aria-hidden="true"></a></h3><p><strong>fs</strong>: <em><a href="../interfaces/fs_fs_.fs.html">FS</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/parser/parser.ts#L19">parser/parser.ts:19</a></em></p>
<hr>
<h3 id="Private-liquid" class="article-heading"><a href="#Private-liquid" class="headerlink" title="Private liquid"></a><code>Private</code> liquid<a class="article-anchor" href="#Private-liquid" aria-hidden="true"></a></h3><p><strong>liquid</strong>: <em><a href="liquid_.liquid.html">Liquid</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/parser/parser.ts#L18">parser/parser.ts:18</a></em></p>
<hr>
<h3 id="Private-loader" class="article-heading"><a href="#Private-loader" class="headerlink" title="Private loader"></a><code>Private</code> loader<a class="article-anchor" href="#Private-loader" aria-hidden="true"></a></h3><p><strong>loader</strong>: <em><a href="fs_loader_.loader.html">Loader</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/parser/parser.ts#L21">parser/parser.ts:21</a></em></p>
<hr>
<h3 id="parseFile" class="article-heading"><a href="#parseFile" class="headerlink" title="parseFile"></a>parseFile<a class="article-anchor" href="#parseFile" aria-hidden="true"></a></h3><p><strong>parseFile</strong>: <em>function</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/parser/parser.ts#L16">parser/parser.ts:16</a></em></p>
<h4 id="Type-declaration" class="article-heading"><a href="#Type-declaration" class="headerlink" title="Type declaration:"></a>Type declaration:<a class="article-anchor" href="#Type-declaration" aria-hidden="true"></a></h4><p>▸ (<code>file</code>: string, <code>sync?</code>: undefined | false | true, <code>type?</code>: <a href="../enums/fs_loader_.lookuptype.html">LookupType</a>): <em>Iterator<a href="../interfaces/template_template_.template.html">Template</a>[]</em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -123,14 +134,99 @@
</tr>
</thead>
<tbody><tr>
<td><code>tokens</code></td>
<td><a href="../modules/tokens_toplevel_token_.html#topleveltoken">TopLevelToken</a>[]</td>
<td><code>file</code></td>
<td>string</td>
</tr>
<tr>
<td><code>sync?</code></td>
<td>undefined &#124; false &#124; true</td>
</tr>
<tr>
<td><code>type?</code></td>
<td><a href="../enums/fs_loader_.lookuptype.html">LookupType</a></td>
</tr>
</tbody></table>
<h2 id="Methods" class="article-heading"><a href="#Methods" class="headerlink" title="Methods"></a>Methods<a class="article-anchor" href="#Methods" aria-hidden="true"></a></h2><h3 id="Private-parseFile" class="article-heading"><a href="#Private-parseFile" class="headerlink" title="Private _parseFile"></a><code>Private</code> _parseFile<a class="article-anchor" href="#Private-parseFile" aria-hidden="true"></a></h3><p><strong>_parseFile</strong>(<code>file</code>: string, <code>sync?</code>: undefined | false | true, <code>type</code>: <a href="../enums/fs_loader_.lookuptype.html">LookupType</a>): <em>IterableIteratorPromisestring | <a href="../interfaces/template_template_.template.html">Template</a>[] | IterableIteratorstring | Promiseboolean›››</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/parser/parser.ts#L68">parser/parser.ts:68</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Default</th>
</tr>
</thead>
<tbody><tr>
<td><code>file</code></td>
<td>string</td>
<td>-</td>
</tr>
<tr>
<td><code>sync?</code></td>
<td>undefined &#124; false &#124; true</td>
<td>-</td>
</tr>
<tr>
<td><code>type</code></td>
<td><a href="../enums/fs_loader_.lookuptype.html">LookupType</a></td>
<td>LookupType.Root</td>
</tr>
</tbody></table>
<p><strong>Returns:</strong> <em>IterableIteratorPromisestring | <a href="../interfaces/template_template_.template.html">Template</a>[] | IterableIteratorstring | Promiseboolean›››</em></p>
<hr>
<h3 id="Private-parseFileCached" class="article-heading"><a href="#Private-parseFileCached" class="headerlink" title="Private _parseFileCached"></a><code>Private</code> _parseFileCached<a class="article-anchor" href="#Private-parseFileCached" aria-hidden="true"></a></h3><p><strong>_parseFileCached</strong>(<code>file</code>: string, <code>sync?</code>: undefined | false | true, <code>type</code>: <a href="../enums/fs_loader_.lookuptype.html">LookupType</a>): <em>IterableIteratorany</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/parser/parser.ts#L59">parser/parser.ts:59</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Default</th>
</tr>
</thead>
<tbody><tr>
<td><code>file</code></td>
<td>string</td>
<td>-</td>
</tr>
<tr>
<td><code>sync?</code></td>
<td>undefined &#124; false &#124; true</td>
<td>-</td>
</tr>
<tr>
<td><code>type</code></td>
<td><a href="../enums/fs_loader_.lookuptype.html">LookupType</a></td>
<td>LookupType.Root</td>
</tr>
</tbody></table>
<p><strong>Returns:</strong> <em>IterableIteratorany</em></p>
<hr>
<h3 id="parse" class="article-heading"><a href="#parse" class="headerlink" title="parse"></a>parse<a class="article-anchor" href="#parse" aria-hidden="true"></a></h3><p><strong>parse</strong>(<code>html</code>: string, <code>filepath?</code>: undefined | string): <em><a href="../interfaces/template_template_.template.html">Template</a>[]</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/parser/parser.ts#L30">parser/parser.ts:30</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
</tr>
</thead>
<tbody><tr>
<td><code>html</code></td>
<td>string</td>
</tr>
<tr>
<td><code>filepath?</code></td>
<td>undefined &#124; string</td>
</tr>
</tbody></table>
<p><strong>Returns:</strong> <em><a href="../interfaces/template_template_.template.html">Template</a>[]</em></p>
<hr>
<h3 id="parseStream" class="article-heading"><a href="#parseStream" class="headerlink" title="parseStream"></a>parseStream<a class="article-anchor" href="#parseStream" aria-hidden="true"></a></h3><p><strong>parseStream</strong>(<code>tokens</code>: <a href="../modules/tokens_toplevel_token_.html#topleveltoken">TopLevelToken</a>[]): <em><a href="parser_parse_stream_.parsestream.html">ParseStream</a><a href="tokens_tag_token_.tagtoken.html">TagToken</a> | <a href="tokens_html_token_.htmltoken.html">HTMLToken</a> | <a href="tokens_output_token_.outputtoken.html">OutputToken</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/parser/parser.ts#L39">parser/parser.ts:39</a></em></p>
<h3 id="parseStream" class="article-heading"><a href="#parseStream" class="headerlink" title="parseStream"></a>parseStream<a class="article-anchor" href="#parseStream" aria-hidden="true"></a></h3><p><strong>parseStream</strong>(<code>tokens</code>: <a href="../modules/tokens_toplevel_token_.html#topleveltoken">TopLevelToken</a>[]): <em><a href="parser_parse_stream_.parsestream.html">ParseStream</a><a href="tokens_html_token_.htmltoken.html">HTMLToken</a> | <a href="tokens_output_token_.outputtoken.html">OutputToken</a> | <a href="tokens_tag_token_.tagtoken.html">TagToken</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/parser/parser.ts#L56">parser/parser.ts:56</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -144,10 +240,10 @@
<td><a href="../modules/tokens_toplevel_token_.html#topleveltoken">TopLevelToken</a>[]</td>
</tr>
</tbody></table>
<p><strong>Returns:</strong> <em><a href="parser_parse_stream_.parsestream.html">ParseStream</a><a href="tokens_tag_token_.tagtoken.html">TagToken</a> | <a href="tokens_html_token_.htmltoken.html">HTMLToken</a> | <a href="tokens_output_token_.outputtoken.html">OutputToken</a></em></p>
<p><strong>Returns:</strong> <em><a href="parser_parse_stream_.parsestream.html">ParseStream</a><a href="tokens_html_token_.htmltoken.html">HTMLToken</a> | <a href="tokens_output_token_.outputtoken.html">OutputToken</a> | <a href="tokens_tag_token_.tagtoken.html">TagToken</a></em></p>
<hr>
<h3 id="parseToken" class="article-heading"><a href="#parseToken" class="headerlink" title="parseToken"></a>parseToken<a class="article-anchor" href="#parseToken" aria-hidden="true"></a></h3><p><strong>parseToken</strong>(<code>token</code>: <a href="../modules/tokens_toplevel_token_.html#topleveltoken">TopLevelToken</a>, <code>remainTokens</code>: <a href="../modules/tokens_toplevel_token_.html#topleveltoken">TopLevelToken</a>[]): <em><a href="template_tag_tag_.tag.html">Tag</a> | <a href="template_output_.output.html">Output</a> | <a href="template_html_.html.html">HTML</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/parser/parser.ts#L26">parser/parser.ts:26</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/parser/parser.ts#L43">parser/parser.ts:43</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -166,10 +262,27 @@
</tr>
</tbody></table>
<p><strong>Returns:</strong> <em><a href="template_tag_tag_.tag.html">Tag</a> | <a href="template_output_.output.html">Output</a> | <a href="template_html_.html.html">HTML</a></em></p>
<hr>
<h3 id="parseTokens" class="article-heading"><a href="#parseTokens" class="headerlink" title="parseTokens"></a>parseTokens<a class="article-anchor" href="#parseTokens" aria-hidden="true"></a></h3><p><strong>parseTokens</strong>(<code>tokens</code>: <a href="../modules/tokens_toplevel_token_.html#topleveltoken">TopLevelToken</a>[]): <em><a href="../interfaces/template_template_.template.html">Template</a>[]</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/parser/parser.ts#L35">parser/parser.ts:35</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
</tr>
</thead>
<tbody><tr>
<td><code>tokens</code></td>
<td><a href="../modules/tokens_toplevel_token_.html#topleveltoken">TopLevelToken</a>[]</td>
</tr>
</tbody></table>
<p><strong>Returns:</strong> <em><a href="../interfaces/template_template_.template.html">Template</a>[]</em></p>
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.970Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.757Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
@@ -178,7 +291,7 @@
<div id="article-toc-inner">
<div id="article-toc-inner-list">
<strong class="sidebar-title">Contents</strong>
<ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#Hierarchy"><span class="toc-text">Hierarchy</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Constructors"><span class="toc-text">Constructors</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#constructor-NaN"><span class="toc-text">constructor</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Properties"><span class="toc-text">Properties</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#Private-liquid"><span class="toc-text">Private liquid</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Methods"><span class="toc-text">Methods</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#parse"><span class="toc-text">parse</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#parseStream"><span class="toc-text">parseStream</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#parseToken"><span class="toc-text">parseToken</span></a></li></ol></li></ol>
<ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#Hierarchy"><span class="toc-text">Hierarchy</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Constructors"><span class="toc-text">Constructors</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#constructor-NaN"><span class="toc-text">constructor</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Properties"><span class="toc-text">Properties</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#Private-cache"><span class="toc-text">Private cache</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Private-fs"><span class="toc-text">Private fs</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Private-liquid"><span class="toc-text">Private liquid</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Private-loader"><span class="toc-text">Private loader</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#parseFile"><span class="toc-text">parseFile</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#Type-declaration"><span class="toc-text">Type declaration:</span></a></li></ol></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Methods"><span class="toc-text">Methods</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#Private-parseFile"><span class="toc-text">Private _parseFile</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Private-parseFileCached"><span class="toc-text">Private _parseFileCached</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#parse"><span class="toc-text">parse</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#parseStream"><span class="toc-text">parseStream</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#parseToken"><span class="toc-text">parseToken</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#parseTokens"><span class="toc-text">parseTokens</span></a></li></ol></li></ol>
</div>
<a href="#" id="article-toc-top">Back to Top</a>
</div>
+1 -1
View File
@@ -486,7 +486,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.986Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.781Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
@@ -135,7 +135,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.998Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.797Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+2 -2
View File
@@ -95,7 +95,7 @@
<li><strong>Render</strong></li>
</ul>
<h2 id="Methods" class="article-heading"><a href="#Methods" class="headerlink" title="Methods"></a>Methods<a class="article-anchor" href="#Methods" aria-hidden="true"></a></h2><h3 id="renderTemplates" class="article-heading"><a href="#renderTemplates" class="headerlink" title="renderTemplates"></a>renderTemplates<a class="article-anchor" href="#renderTemplates" aria-hidden="true"></a></h3><p><strong>renderTemplates</strong>(<code>templates</code>: <a href="../interfaces/template_template_.template.html">Template</a>[], <code>ctx</code>: <a href="context_context_.context.html">Context</a>, <code>emitter?</code>: <a href="../interfaces/emitters_emitter_.emitter.html">Emitter</a>): <em>IterableIteratorany</em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/render/render.ts#L16">render/render.ts:16</a></em></p>
<p><em>Defined in <a target="_blank" rel="noopener external nofollow noreferrer" href="https://github.com/harttle/liquidjs/blob/master/src/render/render.ts#L17">render/render.ts:17</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -142,7 +142,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.898Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.669Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
@@ -156,7 +156,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.938Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.713Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
@@ -186,7 +186,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.878Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.641Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -147,7 +147,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.922Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.697Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -151,7 +151,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.882Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.649Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -134,7 +134,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:14.010Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.813Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -158,7 +158,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.966Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.753Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
@@ -139,7 +139,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.918Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.693Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
@@ -120,7 +120,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.978Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.773Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -145,7 +145,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.926Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.701Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
@@ -94,8 +94,8 @@
<h2 id="Hierarchy" class="article-heading"><a href="#Hierarchy" class="headerlink" title="Hierarchy"></a>Hierarchy<a class="article-anchor" href="#Hierarchy" aria-hidden="true"></a></h2><ul>
<li><p><a href="tokens_token_.token.html">Token</a></p>
<p><strong>DelimitedToken</strong></p>
<p><a href="tokens_tag_token_.tagtoken.html">TagToken</a></p>
<p><a href="tokens_output_token_.outputtoken.html">OutputToken</a></p>
<p><a href="tokens_tag_token_.tagtoken.html">TagToken</a></p>
</li>
</ul>
<h2 id="Constructors" class="article-heading"><a href="#Constructors" class="headerlink" title="Constructors"></a>Constructors<a class="article-anchor" href="#Constructors" aria-hidden="true"></a></h2><h3 id="constructor-NaN" class="article-heading"><a href="#constructor-NaN" class="headerlink" title="constructor"></a>constructor<a class="article-anchor" href="#constructor-NaN" aria-hidden="true"></a></h3><p>+ <strong>new DelimitedToken</strong>(<code>kind</code>: <a href="../enums/parser_token_kind_.tokenkind.html">TokenKind</a>, <code>content</code>: string, <code>input</code>: string, <code>begin</code>: number, <code>end</code>: number, <code>trimLeft</code>: boolean, <code>trimRight</code>: boolean, <code>file?</code>: undefined | string): <em><a href="tokens_delimited_token_.delimitedtoken.html">DelimitedToken</a></em></p>
@@ -188,7 +188,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.954Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.733Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
@@ -175,7 +175,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.886Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.653Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
@@ -175,7 +175,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.898Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.665Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
@@ -171,7 +171,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.958Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.741Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
@@ -183,7 +183,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.914Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.689Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
@@ -164,7 +164,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:14.002Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.801Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
@@ -159,7 +159,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.894Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.661Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
@@ -168,7 +168,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.958Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.745Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
@@ -174,7 +174,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.942Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.721Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
@@ -166,7 +166,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.974Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.765Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
@@ -161,7 +161,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.962Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.749Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
@@ -175,7 +175,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:14.014Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.817Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -180,7 +180,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.914Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.685Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+4 -4
View File
@@ -96,11 +96,11 @@
<p><a href="tokens_operator_token_.operatortoken.html">OperatorToken</a></p>
<p><a href="tokens_delimited_token_.delimitedtoken.html">DelimitedToken</a></p>
<p><a href="tokens_identifier_token_.identifiertoken.html">IdentifierToken</a></p>
<p><a href="tokens_html_token_.htmltoken.html">HTMLToken</a></p>
<p><a href="tokens_number_token_.numbertoken.html">NumberToken</a></p>
<p><a href="tokens_literal_token_.literaltoken.html">LiteralToken</a></p>
<p><a href="tokens_quoted_token_.quotedtoken.html">QuotedToken</a></p>
<p><a href="tokens_property_access_token_.propertyaccesstoken.html">PropertyAccessToken</a></p>
<p><a href="tokens_literal_token_.literaltoken.html">LiteralToken</a></p>
<p><a href="tokens_number_token_.numbertoken.html">NumberToken</a></p>
<p><a href="tokens_html_token_.htmltoken.html">HTMLToken</a></p>
<p><a href="tokens_range_token_.rangetoken.html">RangeToken</a></p>
<p><a href="tokens_filter_token_.filtertoken.html">FilterToken</a></p>
<p><a href="tokens_hash_token_.hashtoken.html">HashToken</a></p>
@@ -166,7 +166,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:14.018Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.821Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -130,7 +130,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:14.018Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.825Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
@@ -133,7 +133,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.990Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.785Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -150,7 +150,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.930Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.705Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -137,7 +137,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.974Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.769Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
+1 -1
View File
@@ -154,7 +154,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.990Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.789Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
@@ -137,7 +137,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.870Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.633Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>
@@ -137,7 +137,7 @@
</div>
<footer class="article-footer">
<time class="article-footer-updated" datetime="2021-09-30T16:55:13.946Z" itemprop="dateModified">Last updated: 2021-09-30</time>
<time class="article-footer-updated" datetime="2021-10-03T14:41:21.725Z" itemprop="dateModified">Last updated: 2021-10-03</time>
<a href="../classes/liquid_.liquid.html" class="article-footer-next" title="sidebar.api.Liquid"><span>Next</span><i class="icon-chevron-right"></i></a>
</footer>
</div>