Skip to content

Commit

Permalink
Merge pull request #13 from ericmorand/issue_12
Browse files Browse the repository at this point in the history
Fix issue #12
  • Loading branch information
ericmorand authored Jul 30, 2019
2 parents dda4bda + e78cebe commit ce488d9
Show file tree
Hide file tree
Showing 15 changed files with 1,150 additions and 162 deletions.
2 changes: 1 addition & 1 deletion docs/assets/js/search.js

Large diffs are not rendered by default.

21 changes: 12 additions & 9 deletions docs/classes/lexer.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/NightlyCommit/twig-lexer/blob/dfed66d/src/lib/Lexer.ts#L151">lib/Lexer.ts:151</a></li>
<li>Defined in <a href="https://github.com/ericmorand/twig-lexer/blob/d2152d0/src/lib/Lexer.ts#L151">lib/Lexer.ts:151</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -137,7 +137,7 @@ <h3><span class="tsd-flag ts-flagProtected">Protected</span> arrow<wbr>Operator<
<div class="tsd-signature tsd-kind-icon">arrow<wbr>Operator<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/NightlyCommit/twig-lexer/blob/dfed66d/src/lib/Lexer.ts#L126">lib/Lexer.ts:126</a></li>
<li>Defined in <a href="https://github.com/ericmorand/twig-lexer/blob/d2152d0/src/lib/Lexer.ts#L126">lib/Lexer.ts:126</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -152,7 +152,7 @@ <h3><span class="tsd-flag ts-flagProtected">Protected</span> comment<wbr>Pair</h
<div class="tsd-signature tsd-kind-icon">comment<wbr>Pair<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/NightlyCommit/twig-lexer/blob/dfed66d/src/lib/Lexer.ts#L141">lib/Lexer.ts:141</a></li>
<li>Defined in <a href="https://github.com/ericmorand/twig-lexer/blob/d2152d0/src/lib/Lexer.ts#L141">lib/Lexer.ts:141</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -167,7 +167,7 @@ <h3><span class="tsd-flag ts-flagProtected">Protected</span> interpolation<wbr>P
<div class="tsd-signature tsd-kind-icon">interpolation<wbr>Pair<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/NightlyCommit/twig-lexer/blob/dfed66d/src/lib/Lexer.ts#L146">lib/Lexer.ts:146</a></li>
<li>Defined in <a href="https://github.com/ericmorand/twig-lexer/blob/d2152d0/src/lib/Lexer.ts#L146">lib/Lexer.ts:146</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -182,7 +182,7 @@ <h3><span class="tsd-flag ts-flagProtected">Protected</span> operators</h3>
<div class="tsd-signature tsd-kind-icon">operators<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/NightlyCommit/twig-lexer/blob/dfed66d/src/lib/Lexer.ts#L131">lib/Lexer.ts:131</a></li>
<li>Defined in <a href="https://github.com/ericmorand/twig-lexer/blob/d2152d0/src/lib/Lexer.ts#L131">lib/Lexer.ts:131</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -197,7 +197,7 @@ <h3><span class="tsd-flag ts-flagProtected">Protected</span> tag<wbr>Pair</h3>
<div class="tsd-signature tsd-kind-icon">tag<wbr>Pair<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/NightlyCommit/twig-lexer/blob/dfed66d/src/lib/Lexer.ts#L136">lib/Lexer.ts:136</a></li>
<li>Defined in <a href="https://github.com/ericmorand/twig-lexer/blob/d2152d0/src/lib/Lexer.ts#L136">lib/Lexer.ts:136</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -212,7 +212,7 @@ <h3><span class="tsd-flag ts-flagProtected">Protected</span> test<wbr>Operators<
<div class="tsd-signature tsd-kind-icon">test<wbr>Operators<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/NightlyCommit/twig-lexer/blob/dfed66d/src/lib/Lexer.ts#L121">lib/Lexer.ts:121</a></li>
<li>Defined in <a href="https://github.com/ericmorand/twig-lexer/blob/d2152d0/src/lib/Lexer.ts#L121">lib/Lexer.ts:121</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -227,7 +227,7 @@ <h3><span class="tsd-flag ts-flagProtected">Protected</span> variable<wbr>Pair</
<div class="tsd-signature tsd-kind-icon">variable<wbr>Pair<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/NightlyCommit/twig-lexer/blob/dfed66d/src/lib/Lexer.ts#L151">lib/Lexer.ts:151</a></li>
<li>Defined in <a href="https://github.com/ericmorand/twig-lexer/blob/d2152d0/src/lib/Lexer.ts#L151">lib/Lexer.ts:151</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -249,7 +249,7 @@ <h3>tokenize</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/NightlyCommit/twig-lexer/blob/dfed66d/src/lib/Lexer.ts#L203">lib/Lexer.ts:203</a></li>
<li>Defined in <a href="https://github.com/ericmorand/twig-lexer/blob/d2152d0/src/lib/Lexer.ts#L203">lib/Lexer.ts:203</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -326,6 +326,9 @@ <h4 class="tsd-returns-title">Returns <a href="token.html" class="tsd-signature-
<li class=" tsd-kind-class">
<a href="token.html" class="tsd-kind-icon">Token</a>
</li>
<li class=" tsd-kind-class">
<a href="tokenstream.html" class="tsd-kind-icon">Token<wbr>Stream</a>
</li>
<li class=" tsd-kind-variable">
<a href="../globals.html#bracketpairs" class="tsd-kind-icon">bracket<wbr>Pairs</a>
</li>
Expand Down
17 changes: 10 additions & 7 deletions docs/classes/syntaxerror.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/NightlyCommit/twig-lexer/blob/dfed66d/src/lib/SyntaxError.ts#L13">lib/SyntaxError.ts:13</a></li>
<li>Defined in <a href="https://github.com/ericmorand/twig-lexer/blob/d2152d0/src/lib/SyntaxError.ts#L13">lib/SyntaxError.ts:13</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -170,7 +170,7 @@ <h3>column</h3>
<div class="tsd-signature tsd-kind-icon">column<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/NightlyCommit/twig-lexer/blob/dfed66d/src/lib/SyntaxError.ts#L13">lib/SyntaxError.ts:13</a></li>
<li>Defined in <a href="https://github.com/ericmorand/twig-lexer/blob/d2152d0/src/lib/SyntaxError.ts#L13">lib/SyntaxError.ts:13</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -185,7 +185,7 @@ <h3>line</h3>
<div class="tsd-signature tsd-kind-icon">line<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/NightlyCommit/twig-lexer/blob/dfed66d/src/lib/SyntaxError.ts#L8">lib/SyntaxError.ts:8</a></li>
<li>Defined in <a href="https://github.com/ericmorand/twig-lexer/blob/d2152d0/src/lib/SyntaxError.ts#L8">lib/SyntaxError.ts:8</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -201,7 +201,7 @@ <h3>message</h3>
<aside class="tsd-sources">
<p>Inherited from Error.message</p>
<ul>
<li>Defined in /home/ericmorand/Projects/twig-lexer/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:964</li>
<li>Defined in /home/ericmorand-private/Projects/twig-lexer/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:964</li>
</ul>
</aside>
</section>
Expand All @@ -212,7 +212,7 @@ <h3>name</h3>
<aside class="tsd-sources">
<p>Inherited from Error.name</p>
<ul>
<li>Defined in /home/ericmorand/Projects/twig-lexer/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:963</li>
<li>Defined in /home/ericmorand-private/Projects/twig-lexer/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:963</li>
</ul>
</aside>
</section>
Expand All @@ -224,7 +224,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> stack</h3>
<p>Inherited from Error.stack</p>
<p>Overrides Error.stack</p>
<ul>
<li>Defined in /home/ericmorand/Projects/twig-lexer/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:965</li>
<li>Defined in /home/ericmorand-private/Projects/twig-lexer/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:965</li>
</ul>
</aside>
</section>
Expand All @@ -234,7 +234,7 @@ <h3><span class="tsd-flag ts-flagStatic">Static</span> Error</h3>
<div class="tsd-signature tsd-kind-icon">Error<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ErrorConstructor</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in /home/ericmorand/Projects/twig-lexer/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:974</li>
<li>Defined in /home/ericmorand-private/Projects/twig-lexer/node_modules/typedoc/node_modules/typescript/lib/lib.es5.d.ts:974</li>
</ul>
</aside>
</section>
Expand Down Expand Up @@ -289,6 +289,9 @@ <h3><span class="tsd-flag ts-flagStatic">Static</span> Error</h3>
<li class=" tsd-kind-class">
<a href="token.html" class="tsd-kind-icon">Token</a>
</li>
<li class=" tsd-kind-class">
<a href="tokenstream.html" class="tsd-kind-icon">Token<wbr>Stream</a>
</li>
<li class=" tsd-kind-variable">
<a href="../globals.html#bracketpairs" class="tsd-kind-icon">bracket<wbr>Pairs</a>
</li>
Expand Down
Loading

0 comments on commit ce488d9

Please sign in to comment.