diff options
| author | Ganesh Viswanathan <dev@genotrance.com> | 2020-04-23 13:28:09 -0500 |
|---|---|---|
| committer | Ganesh Viswanathan <dev@genotrance.com> | 2020-04-23 13:28:09 -0500 |
| commit | 570b6ba5b77ece103c7368a2d5d2bbfdb7edbad3 (patch) | |
| tree | e3ec010936715f4e480f6e9ce7b319375b84b76b | |
| parent | ed0e563832e2e6a1b98b22c5ec6abab837a42a65 (diff) | |
| download | nimterop-570b6ba5b77ece103c7368a2d5d2bbfdb7edbad3.tar.gz nimterop-570b6ba5b77ece103c7368a2d5d2bbfdb7edbad3.zip | |
Update documentation
| -rw-r--r-- | all.html | 4 | ||||
| -rw-r--r-- | build.html | 8 | ||||
| -rw-r--r-- | cimport.html | 20 | ||||
| -rw-r--r-- | cimport.idx | 3 | ||||
| -rw-r--r-- | dochack.js | 1668 | ||||
| -rw-r--r-- | docs.html | 2 | ||||
| -rw-r--r-- | nimdoc.out.css | 4 | ||||
| -rw-r--r-- | paths.html | 2 | ||||
| -rw-r--r-- | plugin.html | 2 | ||||
| -rw-r--r-- | theindex.html | 8 | ||||
| -rw-r--r-- | types.html | 2 |
11 files changed, 875 insertions, 848 deletions
@@ -110,7 +110,7 @@ function main() { <div class="nine columns" id="content"> <div id="tocRoot"></div> - <p class="module-desc">Module that should import everything so that <tt class="docutils literal"><span class="pre">nim doc --project nimtero/all</span></tt> runs docs on everything. </p> + <p class="module-desc">The following modules are available to users of Nimterop. </p> <div class="section" id="6"> <h1><a class="toc-backref" href="#6">Imports</a></h1> <dl class="item"> @@ -124,7 +124,7 @@ function main() { <div class="twelve-columns footer"> <span class="nim-sprite"></span> <br/> - <small style="color: var(--hint);">Made with Nim. Generated: 2020-04-13 15:31:35 UTC</small> + <small style="color: var(--hint);">Made with Nim. Generated: 2020-04-23 18:28:08 UTC</small> </div> </div> </div> @@ -344,9 +344,9 @@ Hard reset the git repository at the specified directory </dd> <a id="gitCheckout,string,string"></a> -<dt><pre><span class="Keyword">proc</span> <a href="#gitCheckout%2Cstring%2Cstring"><span class="Identifier">gitCheckout</span></a><span class="Other">(</span><span class="Identifier">file</span><span class="Other">,</span> <span class="Identifier">outdir</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> - <span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">Defect</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span> - <span class="Identifier">WriteIOEffect</span><span class="Other">,</span> <span class="Identifier">ExecIOEffect</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt> +<dt><pre><span class="Keyword">proc</span> <a href="#gitCheckout%2Cstring%2Cstring"><span class="Identifier">gitCheckout</span></a><span class="Other">(</span><span class="Identifier">file</span><span class="Other">,</span> <span class="Identifier">outdir</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> + <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">Defect</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span> + <span class="Identifier">WriteIOEffect</span><span class="Other">,</span> <span class="Identifier">ExecIOEffect</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt> <dd> <p>Checkout the specified <tt class="docutils literal"><span class="pre">file</span></tt> in the git repository at <tt class="docutils literal"><span class="pre">outdir</span></tt></p> @@ -597,7 +597,7 @@ Check if <tt class="docutils literal"><span class="pre">-d:xxx</span></tt> is se <div class="twelve-columns footer"> <span class="nim-sprite"></span> <br/> - <small style="color: var(--hint);">Made with Nim. Generated: 2020-04-13 15:31:32 UTC</small> + <small style="color: var(--hint);">Made with Nim. Generated: 2020-04-23 18:28:04 UTC</small> </div> </div> </div> diff --git a/cimport.html b/cimport.html index ad509b6..1f5bdd6 100644 --- a/cimport.html +++ b/cimport.html @@ -146,6 +146,9 @@ function main() { <li><a class="reference" href="#cCompile.m%2C%2Cstring%2Cstring" title="cCompile(path: static string; mode = "c"; exclude = ""): untyped"><wbr />c<wbr />Compile<span class="attachedType"></span></a></li> <li><a class="reference" href="#cImport.m%2C%2Cstring%2Cstring%2Cstring" + title="cImport(filenames: static seq[string]; recurse: static bool = false; + dynlib: static string = ""; mode: static string = "c"; flags: static string = ""): untyped"><wbr />c<wbr />Import<span class="attachedType"></span></a></li> + <li><a class="reference" href="#cImport.m%2C%2Cstring%2Cstring%2Cstring_2" title="cImport(filename: static string; recurse: static bool = false; dynlib: static string = ""; mode: static string = "c"; flags: static string = ""): untyped"><wbr />c<wbr />Import<span class="attachedType"></span></a></li> <li><a class="reference" href="#c2nImport.m%2C%2Cstring%2Cstring%2Cstring" @@ -356,7 +359,18 @@ Add an include directory that is forwarded to the C/C++ preprocessor if called w </dd> <a id="cImport.m,,string,string,string"></a> -<dt><pre><span class="Keyword">macro</span> <a href="#cImport.m%2C%2Cstring%2Cstring%2Cstring"><span class="Identifier">cImport</span></a><span class="Other">(</span><span class="Identifier">filename</span><span class="Other">:</span> <span class="Identifier">static</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">recurse</span><span class="Other">:</span> <span class="Identifier">static</span> <span class="Identifier">bool</span> <span class="Other">=</span> <span class="Identifier">false</span><span class="Other">;</span> +<dt><pre><span class="Keyword">macro</span> <a href="#cImport.m%2C%2Cstring%2Cstring%2Cstring"><span class="Identifier">cImport</span></a><span class="Other">(</span><span class="Identifier">filenames</span><span class="Other">:</span> <span class="Identifier">static</span> <span class="Identifier">seq</span><span class="Other">[</span><span class="Identifier">string</span><span class="Other">]</span><span class="Other">;</span> <span class="Identifier">recurse</span><span class="Other">:</span> <span class="Identifier">static</span> <span class="Identifier">bool</span> <span class="Other">=</span> <span class="Identifier">false</span><span class="Other">;</span> + <span class="Identifier">dynlib</span><span class="Other">:</span> <span class="Identifier">static</span> <span class="Identifier">string</span> <span class="Other">=</span> <span class="StringLit">""</span><span class="Other">;</span> <span class="Identifier">mode</span><span class="Other">:</span> <span class="Identifier">static</span> <span class="Identifier">string</span> <span class="Other">=</span> <span class="StringLit">"c"</span><span class="Other">;</span> + <span class="Identifier">flags</span><span class="Other">:</span> <span class="Identifier">static</span> <span class="Identifier">string</span> <span class="Other">=</span> <span class="StringLit">""</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">untyped</span></pre></dt> +<dd> + +<p>Import multiple headers in one shot</p> +<p>This macro is preferable over multiple individual <tt class="docutils literal"><span class="pre">cImport()</span></tt> calls, especially when the headers might <tt class="docutils literal"><span class="pre">#include</span></tt> the same headers and result in duplicate symbols.</p> + + +</dd> +<a id="cImport.m,,string,string,string_2"></a> +<dt><pre><span class="Keyword">macro</span> <a href="#cImport.m%2C%2Cstring%2Cstring%2Cstring_2"><span class="Identifier">cImport</span></a><span class="Other">(</span><span class="Identifier">filename</span><span class="Other">:</span> <span class="Identifier">static</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">recurse</span><span class="Other">:</span> <span class="Identifier">static</span> <span class="Identifier">bool</span> <span class="Other">=</span> <span class="Identifier">false</span><span class="Other">;</span> <span class="Identifier">dynlib</span><span class="Other">:</span> <span class="Identifier">static</span> <span class="Identifier">string</span> <span class="Other">=</span> <span class="StringLit">""</span><span class="Other">;</span> <span class="Identifier">mode</span><span class="Other">:</span> <span class="Identifier">static</span> <span class="Identifier">string</span> <span class="Other">=</span> <span class="StringLit">"c"</span><span class="Other">;</span> <span class="Identifier">flags</span><span class="Other">:</span> <span class="Identifier">static</span> <span class="Identifier">string</span> <span class="Other">=</span> <span class="StringLit">""</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">untyped</span></pre></dt> <dd> @@ -377,7 +391,7 @@ Add an include directory that is forwarded to the C/C++ preprocessor if called w <span class="StringLit">"libpcre.so(.3|.1|)"</span> <span class="Identifier">cImport</span><span class="Punctuation">(</span><span class="StringLit">"pcre.h"</span><span class="Punctuation">,</span> <span class="Identifier">dynlib</span><span class="Operator">=</span><span class="StringLit">"dynpcre"</span><span class="Punctuation">)</span></pre><p>If <tt class="docutils literal"><span class="pre">dynlib</span></tt> is not specified, the C/C++ implementation files can be compiled in with <a class="reference external" href="cimport.html#cCompile.m%2C%2Cstring%2Cstring">cCompile()</a>, or the <tt class="docutils literal"><span class="pre">{.passL.}</span></tt> pragma can be used to specify the static lib to link.</p> -<p><tt class="docutils literal"><span class="pre">mode</span></tt> is purely for forward compatibility when toast adds C++ support. It can be ignored for the foreseeable future.</p> +<p><tt class="docutils literal"><span class="pre">mode</span></tt> selects the preprocessor and tree-sitter parser to be used to process the header.</p> <p><tt class="docutils literal"><span class="pre">flags</span></tt> can be used to pass any other command line arguments to <tt class="docutils literal"><span class="pre">toast</span></tt>. A good example would be <tt class="docutils literal"><span class="pre">--prefix</span></tt> and <tt class="docutils literal"><span class="pre">--suffix</span></tt> which strip leading and trailing strings from identifiers, <tt class="docutils literal"><span class="pre">_</span></tt> being quite common.</p> <p><tt class="docutils literal"><span class="pre">cImport()</span></tt> consumes and resets preceding <tt class="docutils literal"><span class="pre">cOverride()</span></tt> calls. <tt class="docutils literal"><span class="pre">cPlugin()</span></tt> is retained for the next <tt class="docutils literal"><span class="pre">cImport()</span></tt> call unless a new <tt class="docutils literal"><span class="pre">cPlugin()</span></tt> call is defined.</p> @@ -413,7 +427,7 @@ Add an include directory that is forwarded to the C/C++ preprocessor if called w <div class="twelve-columns footer"> <span class="nim-sprite"></span> <br/> - <small style="color: var(--hint);">Made with Nim. Generated: 2020-04-13 15:31:35 UTC</small> + <small style="color: var(--hint);">Made with Nim. Generated: 2020-04-23 18:28:08 UTC</small> </div> </div> </div> diff --git a/cimport.idx b/cimport.idx index 2196a68..e4e2182 100644 --- a/cimport.idx +++ b/cimport.idx @@ -12,5 +12,6 @@ cAddSearchDir cimport.html#cAddSearchDir,string cimport: cAddSearchDir(dir: stri cIncludeDir cimport.html#cIncludeDir.m cimport: cIncludeDir(dir: static string): untyped cAddStdDir cimport.html#cAddStdDir,string cimport: cAddStdDir(mode = "c") cCompile cimport.html#cCompile.m,,string,string cimport: cCompile(path: static string; mode = "c"; exclude = ""): untyped -cImport cimport.html#cImport.m,,string,string,string cimport: cImport(filename: static string; recurse: static bool = false;\n dynlib: static string = ""; mode: static string = "c"; flags: static string = ""): untyped +cImport cimport.html#cImport.m,,string,string,string cimport: cImport(filenames: static seq[string]; recurse: static bool = false;\n dynlib: static string = ""; mode: static string = "c"; flags: static string = ""): untyped +cImport cimport.html#cImport.m,,string,string,string_2 cimport: cImport(filename: static string; recurse: static bool = false;\n dynlib: static string = ""; mode: static string = "c"; flags: static string = ""): untyped c2nImport cimport.html#c2nImport.m,,string,string,string cimport: c2nImport(filename: static string; recurse: static bool = false;\n dynlib: static string = ""; mode: static string = "c"; flags: static string = ""): untyped @@ -1,4 +1,4 @@ -/* Generated by the Nim Compiler v1.2.0 */ +/* Generated by the Nim Compiler v1.3.1 */ var framePtr = null; var excHandler = 0; var lastJSError = null; @@ -10,264 +10,264 @@ if (typeof Uint16Array === 'undefined') Uint16Array = Array; if (typeof Uint32Array === 'undefined') Uint32Array = Array; if (typeof Float32Array === 'undefined') Float32Array = Array; if (typeof Float64Array === 'undefined') Float64Array = Array; -var NTI163 = {size: 0,kind: 1,base: null,node: null,finalizer: null}; -var NTI9681058 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI6253 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI9835571 = {size: 0,kind: 24,base: null,node: null,finalizer: null}; -var NTI622454 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI622450 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI622446 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI622442 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI622438 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI622434 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI622430 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI622426 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI622422 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI622418 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI622414 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI622410 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI622406 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI622402 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI622398 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI622394 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI622390 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI622386 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI622382 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI622378 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; -var NTI622205 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI622289 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI622287 = {size: 0,kind: 22,base: null,node: null,finalizer: null}; -var NTI622229 = {size: 0, kind: 14, base: null, node: null, finalizer: null}; -var NTI622574 = {size: 0,kind: 24,base: null,node: null,finalizer: null}; -var NTI622572 = {size: 0,kind: 24,base: null,node: null,finalizer: null}; -var NTI622570 = {size: 0,kind: 24,base: null,node: null,finalizer: null}; -var NTI622233 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI622231 = {size: 0,kind: 22,base: null,node: null,finalizer: null}; -var NTI624105 = {size: 0,kind: 24,base: null,node: null,finalizer: null}; -var NTI6241 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI6249 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI143 = {size: 0,kind: 31,base: null,node: null,finalizer: null}; -var NTI160043 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; -var NTI6008 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI6286 = {size: 0,kind: 22,base: null,node: null,finalizer: null}; -var NTI112 = {size: 0,kind: 28,base: null,node: null,finalizer: null}; -var NTI114 = {size: 0,kind: 29,base: null,node: null,finalizer: null}; -var NTI6281 = {size: 0,kind: 22,base: null,node: null,finalizer: null}; -var NTI6217 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI6219 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI6233 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NTI6237 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; -var NNI6237 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI6237.node = NNI6237; -var NNI6233 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI6233.node = NNI6233; -var NNI6219 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI6219.node = NNI6219; -NTI6281.base = NTI6217; -NTI6286.base = NTI6217; -var NNI6217 = {kind: 2, len: 5, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "parent", len: 0, typ: NTI6281, name: "parent", sons: null}, -{kind: 1, offset: "name", len: 0, typ: NTI114, name: "name", sons: null}, -{kind: 1, offset: "message", len: 0, typ: NTI112, name: "msg", sons: null}, -{kind: 1, offset: "trace", len: 0, typ: NTI112, name: "trace", sons: null}, -{kind: 1, offset: "up", len: 0, typ: NTI6286, name: "up", sons: null}]}; -NTI6217.node = NNI6217; -var NNI6008 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI6008.node = NNI6008; -NTI6217.base = NTI6008; -NTI6219.base = NTI6217; -NTI6233.base = NTI6219; -NTI6237.base = NTI6233; -var NNI160043 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI114, name: "Field0", sons: null}, -{kind: 1, offset: "Field1", len: 0, typ: NTI143, name: "Field1", sons: null}]}; -NTI160043.node = NNI160043; -var NNI6249 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI6249.node = NNI6249; -NTI6249.base = NTI6219; -var NNI6241 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI6241.node = NNI6241; -NTI6241.base = NTI6219; -NTI622570.base = NTI622231; -NTI622572.base = NTI622231; -NTI622574.base = NTI622231; -var NNI622229 = {kind: 2, offset: 0, typ: null, name: null, len: 12, sons: {"1": {kind: 1, offset: 1, typ: NTI622229, name: "ElementNode", len: 0, sons: null}, -"2": {kind: 1, offset: 2, typ: NTI622229, name: "AttributeNode", len: 0, sons: null}, -"3": {kind: 1, offset: 3, typ: NTI622229, name: "TextNode", len: 0, sons: null}, -"4": {kind: 1, offset: 4, typ: NTI622229, name: "CDATANode", len: 0, sons: null}, -"5": {kind: 1, offset: 5, typ: NTI622229, name: "EntityRefNode", len: 0, sons: null}, -"6": {kind: 1, offset: 6, typ: NTI622229, name: "EntityNode", len: 0, sons: null}, -"7": {kind: 1, offset: 7, typ: NTI622229, name: "ProcessingInstructionNode", len: 0, sons: null}, -"8": {kind: 1, offset: 8, typ: NTI622229, name: "CommentNode", len: 0, sons: null}, -"9": {kind: 1, offset: 9, typ: NTI622229, name: "DocumentNode", len: 0, sons: null}, -"10": {kind: 1, offset: 10, typ: NTI622229, name: "DocumentTypeNode", len: 0, sons: null}, -"11": {kind: 1, offset: 11, typ: NTI622229, name: "DocumentFragmentNode", len: 0, sons: null}, -"12": {kind: 1, offset: 12, typ: NTI622229, name: "NotationNode", len: 0, sons: null}}}; -NTI622229.node = NNI622229; -var NNI622289 = {kind: 2, len: 100, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "background", len: 0, typ: NTI114, name: "background", sons: null}, -{kind: 1, offset: "backgroundAttachment", len: 0, typ: NTI114, name: "backgroundAttachment", sons: null}, -{kind: 1, offset: "backgroundColor", len: 0, typ: NTI114, name: "backgroundColor", sons: null}, -{kind: 1, offset: "backgroundImage", len: 0, typ: NTI114, name: "backgroundImage", sons: null}, -{kind: 1, offset: "backgroundPosition", len: 0, typ: NTI114, name: "backgroundPosition", sons: null}, -{kind: 1, offset: "backgroundRepeat", len: 0, typ: NTI114, name: "backgroundRepeat", sons: null}, -{kind: 1, offset: "backgroundSize", len: 0, typ: NTI114, name: "backgroundSize", sons: null}, -{kind: 1, offset: "border", len: 0, typ: NTI114, name: "border", sons: null}, -{kind: 1, offset: "borderBottom", len: 0, typ: NTI114, name: "borderBottom", sons: null}, -{kind: 1, offset: "borderBottomColor", len: 0, typ: NTI114, name: "borderBottomColor", sons: null}, -{kind: 1, offset: "borderBottomStyle", len: 0, typ: NTI114, name: "borderBottomStyle", sons: null}, -{kind: 1, offset: "borderBottomWidth", len: 0, typ: NTI114, name: "borderBottomWidth", sons: null}, -{kind: 1, offset: "borderColor", len: 0, typ: NTI114, name: "borderColor", sons: null}, -{kind: 1, offset: "borderLeft", len: 0, typ: NTI114, name: "borderLeft", sons: null}, -{kind: 1, offset: "borderLeftColor", len: 0, typ: NTI114, name: "borderLeftColor", sons: null}, -{kind: 1, offset: "borderLeftStyle", len: 0, typ: NTI114, name: "borderLeftStyle", sons: null}, -{kind: 1, offset: "borderLeftWidth", len: 0, typ: NTI114, name: "borderLeftWidth", sons: null}, -{kind: 1, offset: "borderRadius", len: 0, typ: NTI114, name: "borderRadius", sons: null}, -{kind: 1, offset: "borderRight", len: 0, typ: NTI114, name: "borderRight", sons: null}, -{kind: 1, offset: "borderRightColor", len: 0, typ: NTI114, name: "borderRightColor", sons: null}, -{kind: 1, offset: "borderRightStyle", len: 0, typ: NTI114, name: "borderRightStyle", sons: null}, -{kind: 1, offset: "borderRightWidth", len: 0, typ: NTI114, name: "borderRightWidth", sons: null}, -{kind: 1, offset: "borderStyle", len: 0, typ: NTI114, name: "borderStyle", sons: null}, -{kind: 1, offset: "borderTop", len: 0, typ: NTI114, name: "borderTop", sons: null}, -{kind: 1, offset: "borderTopColor", len: 0, typ: NTI114, name: "borderTopColor", sons: null}, -{kind: 1, offset: "borderTopStyle", len: 0, typ: NTI114, name: "borderTopStyle", sons: null}, -{kind: 1, offset: "borderTopWidth", len: 0, typ: NTI114, name: "borderTopWidth", sons: null}, -{kind: 1, offset: "borderWidth", len: 0, typ: NTI114, name: "borderWidth", sons: null}, -{kind: 1, offset: "bottom", len: 0, typ: NTI114, name: "bottom", sons: null}, -{kind: 1, offset: "boxSizing", len: 0, typ: NTI114, name: "boxSizing", sons: null}, -{kind: 1, offset: "boxShadow", len: 0, typ: NTI114, name: "boxShadow", sons: null}, -{kind: 1, offset: "captionSide", len: 0, typ: NTI114, name: "captionSide", sons: null}, -{kind: 1, offset: "clear", len: 0, typ: NTI114, name: "clear", sons: null}, -{kind: 1, offset: "clip", len: 0, typ: NTI114, name: "clip", sons: null}, -{kind: 1, offset: "color", len: 0, typ: NTI114, name: "color", sons: null}, -{kind: 1, offset: "cursor", len: 0, typ: NTI114, name: "cursor", sons: null}, -{kind: 1, offset: "direction", len: 0, typ: NTI114, name: "direction", sons: null}, -{kind: 1, offset: "display", len: 0, typ: NTI114, name: "display", sons: null}, -{kind: 1, offset: "emptyCells", len: 0, typ: NTI114, name: "emptyCells", sons: null}, -{kind: 1, offset: "cssFloat", len: 0, typ: NTI114, name: "cssFloat", sons: null}, -{kind: 1, offset: "font", len: 0, typ: NTI114, name: "font", sons: null}, -{kind: 1, offset: "fontFamily", len: 0, typ: NTI114, name: "fontFamily", sons: null}, -{kind: 1, offset: "fontSize", len: 0, typ: NTI114, name: "fontSize", sons: null}, -{kind: 1, offset: "fontStretch", len: 0, typ: NTI114, name: "fontStretch", sons: null}, -{kind: 1, offset: "fontStyle", len: 0, typ: NTI114, name: "fontStyle", sons: null}, -{kind: 1, offset: "fontVariant", len: 0, typ: NTI114, name: "fontVariant", sons: null}, -{kind: 1, offset: "fontWeight", len: 0, typ: NTI114, name: "fontWeight", sons: null}, -{kind: 1, offset: "height", len: 0, typ: NTI114, name: "height", sons: null}, -{kind: 1, offset: "left", len: 0, typ: NTI114, name: "left", sons: null}, -{kind: 1, offset: "letterSpacing", len: 0, typ: NTI114, name: "letterSpacing", sons: null}, -{kind: 1, offset: "lineHeight", len: 0, typ: NTI114, name: "lineHeight", sons: null}, -{kind: 1, offset: "listStyle", len: 0, typ: NTI114, name: "listStyle", sons: null}, -{kind: 1, offset: "listStyleImage", len: 0, typ: NTI114, name: "listStyleImage", sons: null}, -{kind: 1, offset: "listStylePosition", len: 0, typ: NTI114, name: "listStylePosition", sons: null}, -{kind: 1, offset: "listStyleType", len: 0, typ: NTI114, name: "listStyleType", sons: null}, -{kind: 1, offset: "margin", len: 0, typ: NTI114, name: "margin", sons: null}, -{kind: 1, offset: "marginBottom", len: 0, typ: NTI114, name: "marginBottom", sons: null}, -{kind: 1, offset: "marginLeft", len: 0, typ: NTI114, name: "marginLeft", sons: null}, -{kind: 1, offset: "marginRight", len: 0, typ: NTI114, name: "marginRight", sons: null}, -{kind: 1, offset: "marginTop", len: 0, typ: NTI114, name: "marginTop", sons: null}, -{kind: 1, offset: "maxHeight", len: 0, typ: NTI114, name: "maxHeight", sons: null}, -{kind: 1, offset: "maxWidth", len: 0, typ: NTI114, name: "maxWidth", sons: null}, -{kind: 1, offset: "minHeight", len: 0, typ: NTI114, name: "minHeight", sons: null}, -{kind: 1, offset: "minWidth", len: 0, typ: NTI114, name: "minWidth", sons: null}, -{kind: 1, offset: "opacity", len: 0, typ: NTI114, name: "opacity", sons: null}, -{kind: 1, offset: "outline", len: 0, typ: NTI114, name: "outline", sons: null}, -{kind: 1, offset: "overflow", len: 0, typ: NTI114, name: "overflow", sons: null}, -{kind: 1, offset: "overflowX", len: 0, typ: NTI114, name: "overflowX", sons: null}, -{kind: 1, offset: "overflowY", len: 0, typ: NTI114, name: "overflowY", sons: null}, -{kind: 1, offset: "padding", len: 0, typ: NTI114, name: "padding", sons: null}, -{kind: 1, offset: "paddingBottom", len: 0, typ: NTI114, name: "paddingBottom", sons: null}, -{kind: 1, offset: "paddingLeft", len: 0, typ: NTI114, name: "paddingLeft", sons: null}, -{kind: 1, offset: "paddingRight", len: 0, typ: NTI114, name: "paddingRight", sons: null}, -{kind: 1, offset: "paddingTop", len: 0, typ: NTI114, name: "paddingTop", sons: null}, -{kind: 1, offset: "pageBreakAfter", len: 0, typ: NTI114, name: "pageBreakAfter", sons: null}, -{kind: 1, offset: "pageBreakBefore", len: 0, typ: NTI114, name: "pageBreakBefore", sons: null}, -{kind: 1, offset: "pointerEvents", len: 0, typ: NTI114, name: "pointerEvents", sons: null}, -{kind: 1, offset: "position", len: 0, typ: NTI114, name: "position", sons: null}, -{kind: 1, offset: "resize", len: 0, typ: NTI114, name: "resize", sons: null}, -{kind: 1, offset: "right", len: 0, typ: NTI114, name: "right", sons: null}, -{kind: 1, offset: "scrollbar3dLightColor", len: 0, typ: NTI114, name: "scrollbar3dLightColor", sons: null}, -{kind: 1, offset: "scrollbarArrowColor", len: 0, typ: NTI114, name: "scrollbarArrowColor", sons: null}, -{kind: 1, offset: "scrollbarBaseColor", len: 0, typ: NTI114, name: "scrollbarBaseColor", sons: null}, -{kind: 1, offset: "scrollbarDarkshadowColor", len: 0, typ: NTI114, name: "scrollbarDarkshadowColor", sons: null}, -{kind: 1, offset: "scrollbarFaceColor", len: 0, typ: NTI114, name: "scrollbarFaceColor", sons: null}, -{kind: 1, offset: "scrollbarHighlightColor", len: 0, typ: NTI114, name: "scrollbarHighlightColor", sons: null}, -{kind: 1, offset: "scrollbarShadowColor", len: 0, typ: NTI114, name: "scrollbarShadowColor", sons: null}, -{kind: 1, offset: "scrollbarTrackColor", len: 0, typ: NTI114, name: "scrollbarTrackColor", sons: null}, -{kind: 1, offset: "tableLayout", len: 0, typ: NTI114, name: "tableLayout", sons: null}, -{kind: 1, offset: "textAlign", len: 0, typ: NTI114, name: "textAlign", sons: null}, -{kind: 1, offset: "textDecoration", len: 0, typ: NTI114, name: "textDecoration", sons: null}, -{kind: 1, offset: "textIndent", len: 0, typ: NTI114, name: "textIndent", sons: null}, -{kind: 1, offset: "textTransform", len: 0, typ: NTI114, name: "textTransform", sons: null}, -{kind: 1, offset: "transform", len: 0, typ: NTI114, name: "transform", sons: null}, -{kind: 1, offset: "top", len: 0, typ: NTI114, name: "top", sons: null}, -{kind: 1, offset: "verticalAlign", len: 0, typ: NTI114, name: "verticalAlign", sons: null}, -{kind: 1, offset: "visibility", len: 0, typ: NTI114, name: "visibility", sons: null}, -{kind: 1, offset: "width", len: 0, typ: NTI114, name: "width", sons: null}, -{kind: 1, offset: "wordSpacing", len: 0, typ: NTI114, name: "wordSpacing", sons: null}, -{kind: 1, offset: "zIndex", len: 0, typ: NTI143, name: "zIndex", sons: null}]}; -NTI622289.node = NNI622289; -NTI622289.base = NTI6008; -NTI622287.base = NTI622289; -var NNI622233 = {kind: 2, len: 16, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "attributes", len: 0, typ: NTI622570, name: "attributes", sons: null}, -{kind: 1, offset: "childNodes", len: 0, typ: NTI622572, name: "childNodes", sons: null}, -{kind: 1, offset: "children", len: 0, typ: NTI622574, name: "children", sons: null}, -{kind: 1, offset: "data", len: 0, typ: NTI114, name: "data", sons: null}, -{kind: 1, offset: "firstChild", len: 0, typ: NTI622231, name: "firstChild", sons: null}, -{kind: 1, offset: "lastChild", len: 0, typ: NTI622231, name: "lastChild", sons: null}, -{kind: 1, offset: "nextSibling", len: 0, typ: NTI622231, name: "nextSibling", sons: null}, -{kind: 1, offset: "nodeName", len: 0, typ: NTI114, name: "nodeName", sons: null}, -{kind: 1, offset: "nodeType", len: 0, typ: NTI622229, name: "nodeType", sons: null}, -{kind: 1, offset: "nodeValue", len: 0, typ: NTI114, name: "nodeValue", sons: null}, -{kind: 1, offset: "parentNode", len: 0, typ: NTI622231, name: "parentNode", sons: null}, -{kind: 1, offset: "previousSibling", len: 0, typ: NTI622231, name: "previousSibling", sons: null}, -{kind: 1, offset: "innerHTML", len: 0, typ: NTI114, name: "innerHTML", sons: null}, -{kind: 1, offset: "innerText", len: 0, typ: NTI114, name: "innerText", sons: null}, -{kind: 1, offset: "textContent", len: 0, typ: NTI114, name: "textContent", sons: null}, -{kind: 1, offset: "style", len: 0, typ: NTI622287, name: "style", sons: null}]}; -NTI622233.node = NNI622233; -var NNI622205 = {kind: 2, len: 20, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "onabort", len: 0, typ: NTI622378, name: "onabort", sons: null}, -{kind: 1, offset: "onblur", len: 0, typ: NTI622382, name: "onblur", sons: null}, -{kind: 1, offset: "onchange", len: 0, typ: NTI622386, name: "onchange", sons: null}, -{kind: 1, offset: "onclick", len: 0, typ: NTI622390, name: "onclick", sons: null}, -{kind: 1, offset: "ondblclick", len: 0, typ: NTI622394, name: "ondblclick", sons: null}, -{kind: 1, offset: "onerror", len: 0, typ: NTI622398, name: "onerror", sons: null}, -{kind: 1, offset: "onfocus", len: 0, typ: NTI622402, name: "onfocus", sons: null}, -{kind: 1, offset: "onkeydown", len: 0, typ: NTI622406, name: "onkeydown", sons: null}, -{kind: 1, offset: "onkeypress", len: 0, typ: NTI622410, name: "onkeypress", sons: null}, -{kind: 1, offset: "onkeyup", len: 0, typ: NTI622414, name: "onkeyup", sons: null}, -{kind: 1, offset: "onload", len: 0, typ: NTI622418, name: "onload", sons: null}, -{kind: 1, offset: "onmousedown", len: 0, typ: NTI622422, name: "onmousedown", sons: null}, -{kind: 1, offset: "onmousemove", len: 0, typ: NTI622426, name: "onmousemove", sons: null}, -{kind: 1, offset: "onmouseout", len: 0, typ: NTI622430, name: "onmouseout", sons: null}, -{kind: 1, offset: "onmouseover", len: 0, typ: NTI622434, name: "onmouseover", sons: null}, -{kind: 1, offset: "onmouseup", len: 0, typ: NTI622438, name: "onmouseup", sons: null}, -{kind: 1, offset: "onreset", len: 0, typ: NTI622442, name: "onreset", sons: null}, -{kind: 1, offset: "onselect", len: 0, typ: NTI622446, name: "onselect", sons: null}, -{kind: 1, offset: "onsubmit", len: 0, typ: NTI622450, name: "onsubmit", sons: null}, -{kind: 1, offset: "onunload", len: 0, typ: NTI622454, name: "onunload", sons: null}]}; -NTI622205.node = NNI622205; -NTI622205.base = NTI6008; -NTI622233.base = NTI622205; -NTI622231.base = NTI622233; -NTI624105.base = NTI622231; -NTI9835571.base = NTI114; -var NNI6253 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; -NTI6253.node = NNI6253; -NTI6253.base = NTI6219; -var NNI9681058 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI143, name: "Field0", sons: null}, -{kind: 1, offset: "Field1", len: 0, typ: NTI163, name: "Field1", sons: null}]}; -NTI9681058.node = NNI9681058; -function makeNimstrLit(c_225062) { - var ln = c_225062.length; +var NTI1163065 = {size: 0,kind: 1,base: null,node: null,finalizer: null}; +var NTI10891058 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI1169053 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI11050571 = {size: 0,kind: 24,base: null,node: null,finalizer: null}; +var NTI1788256 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1788252 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1788248 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1788244 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1788240 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1788236 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1788232 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1788228 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1788224 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1788220 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1788216 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1788212 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1788208 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1788204 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1788200 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1788196 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1788192 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1788188 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1788184 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1788180 = {size: 0,kind: 25,base: null,node: null,finalizer: null}; +var NTI1788005 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI1788091 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI1788089 = {size: 0,kind: 22,base: null,node: null,finalizer: null}; +var NTI1788031 = {size: 0, kind: 14, base: null, node: null, finalizer: null}; +var NTI1788378 = {size: 0,kind: 24,base: null,node: null,finalizer: null}; +var NTI1788376 = {size: 0,kind: 24,base: null,node: null,finalizer: null}; +var NTI1788374 = {size: 0,kind: 24,base: null,node: null,finalizer: null}; +var NTI1788035 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI1788033 = {size: 0,kind: 22,base: null,node: null,finalizer: null}; +var NTI1796105 = {size: 0,kind: 24,base: null,node: null,finalizer: null}; +var NTI1169041 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI1169049 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI1163045 = {size: 0,kind: 31,base: null,node: null,finalizer: null}; +var NTI1325043 = {size: 0, kind: 18, base: null, node: null, finalizer: null}; +var NTI1168808 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI1169086 = {size: 0,kind: 22,base: null,node: null,finalizer: null}; +var NTI1163014 = {size: 0,kind: 28,base: null,node: null,finalizer: null}; +var NTI1163016 = {size: 0,kind: 29,base: null,node: null,finalizer: null}; +var NTI1169081 = {size: 0,kind: 22,base: null,node: null,finalizer: null}; +var NTI1169017 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI1169019 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI1169033 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NTI1169037 = {size: 0, kind: 17, base: null, node: null, finalizer: null}; +var NNI1169037 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; +NTI1169037.node = NNI1169037; +var NNI1169033 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; +NTI1169033.node = NNI1169033; +var NNI1169019 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; +NTI1169019.node = NNI1169019; +NTI1169081.base = NTI1169017; +NTI1169086.base = NTI1169017; +var NNI1169017 = {kind: 2, len: 5, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "parent", len: 0, typ: NTI1169081, name: "parent", sons: null}, +{kind: 1, offset: "name", len: 0, typ: NTI1163016, name: "name", sons: null}, +{kind: 1, offset: "message", len: 0, typ: NTI1163014, name: "msg", sons: null}, +{kind: 1, offset: "trace", len: 0, typ: NTI1163014, name: "trace", sons: null}, +{kind: 1, offset: "up", len: 0, typ: NTI1169086, name: "up", sons: null}]}; +NTI1169017.node = NNI1169017; +var NNI1168808 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; +NTI1168808.node = NNI1168808; +NTI1169017.base = NTI1168808; +NTI1169019.base = NTI1169017; +NTI1169033.base = NTI1169019; +NTI1169037.base = NTI1169033; +var NNI1325043 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI1163016, name: "Field0", sons: null}, +{kind: 1, offset: "Field1", len: 0, typ: NTI1163045, name: "Field1", sons: null}]}; +NTI1325043.node = NNI1325043; +var NNI1169049 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; +NTI1169049.node = NNI1169049; +NTI1169049.base = NTI1169019; +var NNI1169041 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; +NTI1169041.node = NNI1169041; +NTI1169041.base = NTI1169019; +NTI1788374.base = NTI1788033; +NTI1788376.base = NTI1788033; +NTI1788378.base = NTI1788033; +var NNI1788031 = {kind: 2, offset: 0, typ: null, name: null, len: 12, sons: {"1": {kind: 1, offset: 1, typ: NTI1788031, name: "ElementNode", len: 0, sons: null}, +"2": {kind: 1, offset: 2, typ: NTI1788031, name: "AttributeNode", len: 0, sons: null}, +"3": {kind: 1, offset: 3, typ: NTI1788031, name: "TextNode", len: 0, sons: null}, +"4": {kind: 1, offset: 4, typ: NTI1788031, name: "CDATANode", len: 0, sons: null}, +"5": {kind: 1, offset: 5, typ: NTI1788031, name: "EntityRefNode", len: 0, sons: null}, +"6": {kind: 1, offset: 6, typ: NTI1788031, name: "EntityNode", len: 0, sons: null}, +"7": {kind: 1, offset: 7, typ: NTI1788031, name: "ProcessingInstructionNode", len: 0, sons: null}, +"8": {kind: 1, offset: 8, typ: NTI1788031, name: "CommentNode", len: 0, sons: null}, +"9": {kind: 1, offset: 9, typ: NTI1788031, name: "DocumentNode", len: 0, sons: null}, +"10": {kind: 1, offset: 10, typ: NTI1788031, name: "DocumentTypeNode", len: 0, sons: null}, +"11": {kind: 1, offset: 11, typ: NTI1788031, name: "DocumentFragmentNode", len: 0, sons: null}, +"12": {kind: 1, offset: 12, typ: NTI1788031, name: "NotationNode", len: 0, sons: null}}}; +NTI1788031.node = NNI1788031; +var NNI1788091 = {kind: 2, len: 100, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "background", len: 0, typ: NTI1163016, name: "background", sons: null}, +{kind: 1, offset: "backgroundAttachment", len: 0, typ: NTI1163016, name: "backgroundAttachment", sons: null}, +{kind: 1, offset: "backgroundColor", len: 0, typ: NTI1163016, name: "backgroundColor", sons: null}, +{kind: 1, offset: "backgroundImage", len: 0, typ: NTI1163016, name: "backgroundImage", sons: null}, +{kind: 1, offset: "backgroundPosition", len: 0, typ: NTI1163016, name: "backgroundPosition", sons: null}, +{kind: 1, offset: "backgroundRepeat", len: 0, typ: NTI1163016, name: "backgroundRepeat", sons: null}, +{kind: 1, offset: "backgroundSize", len: 0, typ: NTI1163016, name: "backgroundSize", sons: null}, +{kind: 1, offset: "border", len: 0, typ: NTI1163016, name: "border", sons: null}, +{kind: 1, offset: "borderBottom", len: 0, typ: NTI1163016, name: "borderBottom", sons: null}, +{kind: 1, offset: "borderBottomColor", len: 0, typ: NTI1163016, name: "borderBottomColor", sons: null}, +{kind: 1, offset: "borderBottomStyle", len: 0, typ: NTI1163016, name: "borderBottomStyle", sons: null}, +{kind: 1, offset: "borderBottomWidth", len: 0, typ: NTI1163016, name: "borderBottomWidth", sons: null}, +{kind: 1, offset: "borderColor", len: 0, typ: NTI1163016, name: "borderColor", sons: null}, +{kind: 1, offset: "borderLeft", len: 0, typ: NTI1163016, name: "borderLeft", sons: null}, +{kind: 1, offset: "borderLeftColor", len: 0, typ: NTI1163016, name: "borderLeftColor", sons: null}, +{kind: 1, offset: "borderLeftStyle", len: 0, typ: NTI1163016, name: "borderLeftStyle", sons: null}, +{kind: 1, offset: "borderLeftWidth", len: 0, typ: NTI1163016, name: "borderLeftWidth", sons: null}, +{kind: 1, offset: "borderRadius", len: 0, typ: NTI1163016, name: "borderRadius", sons: null}, +{kind: 1, offset: "borderRight", len: 0, typ: NTI1163016, name: "borderRight", sons: null}, +{kind: 1, offset: "borderRightColor", len: 0, typ: NTI1163016, name: "borderRightColor", sons: null}, +{kind: 1, offset: "borderRightStyle", len: 0, typ: NTI1163016, name: "borderRightStyle", sons: null}, +{kind: 1, offset: "borderRightWidth", len: 0, typ: NTI1163016, name: "borderRightWidth", sons: null}, +{kind: 1, offset: "borderStyle", len: 0, typ: NTI1163016, name: "borderStyle", sons: null}, +{kind: 1, offset: "borderTop", len: 0, typ: NTI1163016, name: "borderTop", sons: null}, +{kind: 1, offset: "borderTopColor", len: 0, typ: NTI1163016, name: "borderTopColor", sons: null}, +{kind: 1, offset: "borderTopStyle", len: 0, typ: NTI1163016, name: "borderTopStyle", sons: null}, +{kind: 1, offset: "borderTopWidth", len: 0, typ: NTI1163016, name: "borderTopWidth", sons: null}, +{kind: 1, offset: "borderWidth", len: 0, typ: NTI1163016, name: "borderWidth", sons: null}, +{kind: 1, offset: "bottom", len: 0, typ: NTI1163016, name: "bottom", sons: null}, +{kind: 1, offset: "boxSizing", len: 0, typ: NTI1163016, name: "boxSizing", sons: null}, +{kind: 1, offset: "boxShadow", len: 0, typ: NTI1163016, name: "boxShadow", sons: null}, +{kind: 1, offset: "captionSide", len: 0, typ: NTI1163016, name: "captionSide", sons: null}, +{kind: 1, offset: "clear", len: 0, typ: NTI1163016, name: "clear", sons: null}, +{kind: 1, offset: "clip", len: 0, typ: NTI1163016, name: "clip", sons: null}, +{kind: 1, offset: "color", len: 0, typ: NTI1163016, name: "color", sons: null}, +{kind: 1, offset: "cursor", len: 0, typ: NTI1163016, name: "cursor", sons: null}, +{kind: 1, offset: "direction", len: 0, typ: NTI1163016, name: "direction", sons: null}, +{kind: 1, offset: "display", len: 0, typ: NTI1163016, name: "display", sons: null}, +{kind: 1, offset: "emptyCells", len: 0, typ: NTI1163016, name: "emptyCells", sons: null}, +{kind: 1, offset: "cssFloat", len: 0, typ: NTI1163016, name: "cssFloat", sons: null}, +{kind: 1, offset: "font", len: 0, typ: NTI1163016, name: "font", sons: null}, +{kind: 1, offset: "fontFamily", len: 0, typ: NTI1163016, name: "fontFamily", sons: null}, +{kind: 1, offset: "fontSize", len: 0, typ: NTI1163016, name: "fontSize", sons: null}, +{kind: 1, offset: "fontStretch", len: 0, typ: NTI1163016, name: "fontStretch", sons: null}, +{kind: 1, offset: "fontStyle", len: 0, typ: NTI1163016, name: "fontStyle", sons: null}, +{kind: 1, offset: "fontVariant", len: 0, typ: NTI1163016, name: "fontVariant", sons: null}, +{kind: 1, offset: "fontWeight", len: 0, typ: NTI1163016, name: "fontWeight", sons: null}, +{kind: 1, offset: "height", len: 0, typ: NTI1163016, name: "height", sons: null}, +{kind: 1, offset: "left", len: 0, typ: NTI1163016, name: "left", sons: null}, +{kind: 1, offset: "letterSpacing", len: 0, typ: NTI1163016, name: "letterSpacing", sons: null}, +{kind: 1, offset: "lineHeight", len: 0, typ: NTI1163016, name: "lineHeight", sons: null}, +{kind: 1, offset: "listStyle", len: 0, typ: NTI1163016, name: "listStyle", sons: null}, +{kind: 1, offset: "listStyleImage", len: 0, typ: NTI1163016, name: "listStyleImage", sons: null}, +{kind: 1, offset: "listStylePosition", len: 0, typ: NTI1163016, name: "listStylePosition", sons: null}, +{kind: 1, offset: "listStyleType", len: 0, typ: NTI1163016, name: "listStyleType", sons: null}, +{kind: 1, offset: "margin", len: 0, typ: NTI1163016, name: "margin", sons: null}, +{kind: 1, offset: "marginBottom", len: 0, typ: NTI1163016, name: "marginBottom", sons: null}, +{kind: 1, offset: "marginLeft", len: 0, typ: NTI1163016, name: "marginLeft", sons: null}, +{kind: 1, offset: "marginRight", len: 0, typ: NTI1163016, name: "marginRight", sons: null}, +{kind: 1, offset: "marginTop", len: 0, typ: NTI1163016, name: "marginTop", sons: null}, +{kind: 1, offset: "maxHeight", len: 0, typ: NTI1163016, name: "maxHeight", sons: null}, +{kind: 1, offset: "maxWidth", len: 0, typ: NTI1163016, name: "maxWidth", sons: null}, +{kind: 1, offset: "minHeight", len: 0, typ: NTI1163016, name: "minHeight", sons: null}, +{kind: 1, offset: "minWidth", len: 0, typ: NTI1163016, name: "minWidth", sons: null}, +{kind: 1, offset: "opacity", len: 0, typ: NTI1163016, name: "opacity", sons: null}, +{kind: 1, offset: "outline", len: 0, typ: NTI1163016, name: "outline", sons: null}, +{kind: 1, offset: "overflow", len: 0, typ: NTI1163016, name: "overflow", sons: null}, +{kind: 1, offset: "overflowX", len: 0, typ: NTI1163016, name: "overflowX", sons: null}, +{kind: 1, offset: "overflowY", len: 0, typ: NTI1163016, name: "overflowY", sons: null}, +{kind: 1, offset: "padding", len: 0, typ: NTI1163016, name: "padding", sons: null}, +{kind: 1, offset: "paddingBottom", len: 0, typ: NTI1163016, name: "paddingBottom", sons: null}, +{kind: 1, offset: "paddingLeft", len: 0, typ: NTI1163016, name: "paddingLeft", sons: null}, +{kind: 1, offset: "paddingRight", len: 0, typ: NTI1163016, name: "paddingRight", sons: null}, +{kind: 1, offset: "paddingTop", len: 0, typ: NTI1163016, name: "paddingTop", sons: null}, +{kind: 1, offset: "pageBreakAfter", len: 0, typ: NTI1163016, name: "pageBreakAfter", sons: null}, +{kind: 1, offset: "pageBreakBefore", len: 0, typ: NTI1163016, name: "pageBreakBefore", sons: null}, +{kind: 1, offset: "pointerEvents", len: 0, typ: NTI1163016, name: "pointerEvents", sons: null}, +{kind: 1, offset: "position", len: 0, typ: NTI1163016, name: "position", sons: null}, +{kind: 1, offset: "resize", len: 0, typ: NTI1163016, name: "resize", sons: null}, +{kind: 1, offset: "right", len: 0, typ: NTI1163016, name: "right", sons: null}, +{kind: 1, offset: "scrollbar3dLightColor", len: 0, typ: NTI1163016, name: "scrollbar3dLightColor", sons: null}, +{kind: 1, offset: "scrollbarArrowColor", len: 0, typ: NTI1163016, name: "scrollbarArrowColor", sons: null}, +{kind: 1, offset: "scrollbarBaseColor", len: 0, typ: NTI1163016, name: "scrollbarBaseColor", sons: null}, +{kind: 1, offset: "scrollbarDarkshadowColor", len: 0, typ: NTI1163016, name: "scrollbarDarkshadowColor", sons: null}, +{kind: 1, offset: "scrollbarFaceColor", len: 0, typ: NTI1163016, name: "scrollbarFaceColor", sons: null}, +{kind: 1, offset: "scrollbarHighlightColor", len: 0, typ: NTI1163016, name: "scrollbarHighlightColor", sons: null}, +{kind: 1, offset: "scrollbarShadowColor", len: 0, typ: NTI1163016, name: "scrollbarShadowColor", sons: null}, +{kind: 1, offset: "scrollbarTrackColor", len: 0, typ: NTI1163016, name: "scrollbarTrackColor", sons: null}, +{kind: 1, offset: "tableLayout", len: 0, typ: NTI1163016, name: "tableLayout", sons: null}, +{kind: 1, offset: "textAlign", len: 0, typ: NTI1163016, name: "textAlign", sons: null}, +{kind: 1, offset: "textDecoration", len: 0, typ: NTI1163016, name: "textDecoration", sons: null}, +{kind: 1, offset: "textIndent", len: 0, typ: NTI1163016, name: "textIndent", sons: null}, +{kind: 1, offset: "textTransform", len: 0, typ: NTI1163016, name: "textTransform", sons: null}, +{kind: 1, offset: "transform", len: 0, typ: NTI1163016, name: "transform", sons: null}, +{kind: 1, offset: "top", len: 0, typ: NTI1163016, name: "top", sons: null}, +{kind: 1, offset: "verticalAlign", len: 0, typ: NTI1163016, name: "verticalAlign", sons: null}, +{kind: 1, offset: "visibility", len: 0, typ: NTI1163016, name: "visibility", sons: null}, +{kind: 1, offset: "width", len: 0, typ: NTI1163016, name: "width", sons: null}, +{kind: 1, offset: "wordSpacing", len: 0, typ: NTI1163016, name: "wordSpacing", sons: null}, +{kind: 1, offset: "zIndex", len: 0, typ: NTI1163045, name: "zIndex", sons: null}]}; +NTI1788091.node = NNI1788091; +NTI1788091.base = NTI1168808; +NTI1788089.base = NTI1788091; +var NNI1788035 = {kind: 2, len: 16, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "attributes", len: 0, typ: NTI1788374, name: "attributes", sons: null}, +{kind: 1, offset: "childNodes", len: 0, typ: NTI1788376, name: "childNodes", sons: null}, +{kind: 1, offset: "children", len: 0, typ: NTI1788378, name: "children", sons: null}, +{kind: 1, offset: "data", len: 0, typ: NTI1163016, name: "data", sons: null}, +{kind: 1, offset: "firstChild", len: 0, typ: NTI1788033, name: "firstChild", sons: null}, +{kind: 1, offset: "lastChild", len: 0, typ: NTI1788033, name: "lastChild", sons: null}, +{kind: 1, offset: "nextSibling", len: 0, typ: NTI1788033, name: "nextSibling", sons: null}, +{kind: 1, offset: "nodeName", len: 0, typ: NTI1163016, name: "nodeName", sons: null}, +{kind: 1, offset: "nodeType", len: 0, typ: NTI1788031, name: "nodeType", sons: null}, +{kind: 1, offset: "nodeValue", len: 0, typ: NTI1163016, name: "nodeValue", sons: null}, +{kind: 1, offset: "parentNode", len: 0, typ: NTI1788033, name: "parentNode", sons: null}, +{kind: 1, offset: "previousSibling", len: 0, typ: NTI1788033, name: "previousSibling", sons: null}, +{kind: 1, offset: "innerHTML", len: 0, typ: NTI1163016, name: "innerHTML", sons: null}, +{kind: 1, offset: "innerText", len: 0, typ: NTI1163016, name: "innerText", sons: null}, +{kind: 1, offset: "textContent", len: 0, typ: NTI1163016, name: "textContent", sons: null}, +{kind: 1, offset: "style", len: 0, typ: NTI1788089, name: "style", sons: null}]}; +NTI1788035.node = NNI1788035; +var NNI1788005 = {kind: 2, len: 20, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "onabort", len: 0, typ: NTI1788180, name: "onabort", sons: null}, +{kind: 1, offset: "onblur", len: 0, typ: NTI1788184, name: "onblur", sons: null}, +{kind: 1, offset: "onchange", len: 0, typ: NTI1788188, name: "onchange", sons: null}, +{kind: 1, offset: "onclick", len: 0, typ: NTI1788192, name: "onclick", sons: null}, +{kind: 1, offset: "ondblclick", len: 0, typ: NTI1788196, name: "ondblclick", sons: null}, +{kind: 1, offset: "onerror", len: 0, typ: NTI1788200, name: "onerror", sons: null}, +{kind: 1, offset: "onfocus", len: 0, typ: NTI1788204, name: "onfocus", sons: null}, +{kind: 1, offset: "onkeydown", len: 0, typ: NTI1788208, name: "onkeydown", sons: null}, +{kind: 1, offset: "onkeypress", len: 0, typ: NTI1788212, name: "onkeypress", sons: null}, +{kind: 1, offset: "onkeyup", len: 0, typ: NTI1788216, name: "onkeyup", sons: null}, +{kind: 1, offset: "onload", len: 0, typ: NTI1788220, name: "onload", sons: null}, +{kind: 1, offset: "onmousedown", len: 0, typ: NTI1788224, name: "onmousedown", sons: null}, +{kind: 1, offset: "onmousemove", len: 0, typ: NTI1788228, name: "onmousemove", sons: null}, +{kind: 1, offset: "onmouseout", len: 0, typ: NTI1788232, name: "onmouseout", sons: null}, +{kind: 1, offset: "onmouseover", len: 0, typ: NTI1788236, name: "onmouseover", sons: null}, +{kind: 1, offset: "onmouseup", len: 0, typ: NTI1788240, name: "onmouseup", sons: null}, +{kind: 1, offset: "onreset", len: 0, typ: NTI1788244, name: "onreset", sons: null}, +{kind: 1, offset: "onselect", len: 0, typ: NTI1788248, name: "onselect", sons: null}, +{kind: 1, offset: "onsubmit", len: 0, typ: NTI1788252, name: "onsubmit", sons: null}, +{kind: 1, offset: "onunload", len: 0, typ: NTI1788256, name: "onunload", sons: null}]}; +NTI1788005.node = NNI1788005; +NTI1788005.base = NTI1168808; +NTI1788035.base = NTI1788005; +NTI1788033.base = NTI1788035; +NTI1796105.base = NTI1788033; +NTI11050571.base = NTI1163016; +var NNI1169053 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []}; +NTI1169053.node = NNI1169053; +NTI1169053.base = NTI1169019; +var NNI10891058 = {kind: 2, len: 2, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI1163045, name: "Field0", sons: null}, +{kind: 1, offset: "Field1", len: 0, typ: NTI1163065, name: "Field1", sons: null}]}; +NTI10891058.node = NNI10891058; +function makeNimstrLit(c_1390062) { + var ln = c_1390062.length; var result = new Array(ln); for (var i = 0; i < ln; ++i) { - result[i] = c_225062.charCodeAt(i); + result[i] = c_1390062.charCodeAt(i); } return result; } -function arrayConstr(len_250067, value_250068, typ_250069) { - var result = new Array(len_250067); - for (var i = 0; i < len_250067; ++i) result[i] = nimCopy(null, value_250068, typ_250069); +function arrayConstr(len_1415067, value_1415068, typ_1415069) { + var result = new Array(len_1415067); + for (var i = 0; i < len_1415067; ++i) result[i] = nimCopy(null, value_1415068, typ_1415069); return result; @@ -291,89 +291,89 @@ function setConstr() { } var ConstSet1 = setConstr(17, 16, 4, 18, 27, 19, 23, 22, 21); -function nimCopy(dest_240023, src_240024, ti_240025) { - var result_245219 = null; +function nimCopy(dest_1405023, src_1405024, ti_1405025) { + var result_1410219 = null; - switch (ti_240025.kind) { + switch (ti_1405025.kind) { case 21: case 22: case 23: case 5: - if (!(is_fat_pointer_235401(ti_240025))) { - result_245219 = src_240024; + if (!(is_fat_pointer_1400401(ti_1405025))) { + result_1410219 = src_1405024; } else { - result_245219 = [src_240024[0], src_240024[1]]; + result_1410219 = [src_1405024[0], src_1405024[1]]; } break; case 19: - if (dest_240023 === null || dest_240023 === undefined) { - dest_240023 = {}; + if (dest_1405023 === null || dest_1405023 === undefined) { + dest_1405023 = {}; } else { - for (var key in dest_240023) { delete dest_240023[key]; } + for (var key in dest_1405023) { delete dest_1405023[key]; } } - for (var key in src_240024) { dest_240023[key] = src_240024[key]; } - result_245219 = dest_240023; + for (var key in src_1405024) { dest_1405023[key] = src_1405024[key]; } + result_1410219 = dest_1405023; break; case 18: case 17: - if (!((ti_240025.base == null))) { - result_245219 = nimCopy(dest_240023, src_240024, ti_240025.base); + if (!((ti_1405025.base == null))) { + result_1410219 = nimCopy(dest_1405023, src_1405024, ti_1405025.base); } else { - if ((ti_240025.kind == 17)) { - result_245219 = (dest_240023 === null || dest_240023 === undefined) ? {m_type: ti_240025} : dest_240023; + if ((ti_1405025.kind == 17)) { + result_1410219 = (dest_1405023 === null || dest_1405023 === undefined) ? {m_type: ti_1405025} : dest_1405023; } else { - result_245219 = (dest_240023 === null || dest_240023 === undefined) ? {} : dest_240023; + result_1410219 = (dest_1405023 === null || dest_1405023 === undefined) ? {} : dest_1405023; } } - nimCopyAux(result_245219, src_240024, ti_240025.node); + nimCopyAux(result_1410219, src_1405024, ti_1405025.node); break; case 24: case 4: case 27: case 16: - if (src_240024 === null) { - result_245219 = null; + if (src_1405024 === null) { + result_1410219 = null; } else { - if (dest_240023 === null || dest_240023 === undefined) { - dest_240023 = new Array(src_240024.length); + if (dest_1405023 === null || dest_1405023 === undefined) { + dest_1405023 = new Array(src_1405024.length); } else { - dest_240023.length = src_240024.length; + dest_1405023.length = src_1405024.length; } - result_245219 = dest_240023; - for (var i = 0; i < src_240024.length; ++i) { - result_245219[i] = nimCopy(result_245219[i], src_240024[i], ti_240025.base); + result_1410219 = dest_1405023; + for (var i = 0; i < src_1405024.length; ++i) { + result_1410219[i] = nimCopy(result_1410219[i], src_1405024[i], ti_1405025.base); } } break; case 28: - if (src_240024 !== null) { - result_245219 = src_240024.slice(0); + if (src_1405024 !== null) { + result_1410219 = src_1405024.slice(0); } break; default: - result_245219 = src_240024; + result_1410219 = src_1405024; break; } - return result_245219; + return result_1410219; } -function cstrToNimstr(c_225079) { - var ln = c_225079.length; +function cstrToNimstr(c_1390079) { + var ln = c_1390079.length; var result = new Array(ln); var r = 0; for (var i = 0; i < ln; ++i) { - var ch = c_225079.charCodeAt(i); + var ch = c_1390079.charCodeAt(i); if (ch < 128) { result[r] = ch; @@ -388,7 +388,7 @@ function cstrToNimstr(c_225079) { } else { ++i; - ch = 65536 + (((ch & 1023) << 10) | (c_225079.charCodeAt(i) & 1023)); + ch = 65536 + (((ch & 1023) << 10) | (c_1390079.charCodeAt(i) & 1023)); result[r] = (ch >> 18) | 240; ++r; result[r] = ((ch >> 12) & 63) | 128; @@ -406,113 +406,113 @@ function cstrToNimstr(c_225079) { } -function toJSStr(s_225096) { +function toJSStr(s_1390096) { var Tmp5; var Tmp7; - var result_225097 = null; + var result_1390097 = null; - var res_225170 = new_seq_225128((s_225096 != null ? s_225096.length : 0)); - var i_225172 = 0; - var j_225174 = 0; + var res_1390170 = new_seq_1390128((s_1390096 != null ? s_1390096.length : 0)); + var i_1390172 = 0; + var j_1390174 = 0; L1: do { L2: while (true) { - if (!(i_225172 < (s_225096 != null ? s_225096.length : 0))) break L2; - var c_225175 = s_225096[i_225172]; - if ((c_225175 < 128)) { - res_225170[j_225174] = String.fromCharCode(c_225175); - i_225172 += 1; + if (!(i_1390172 < (s_1390096 != null ? s_1390096.length : 0))) break L2; + var c_1390175 = s_1390096[i_1390172]; + if ((c_1390175 < 128)) { + res_1390170[j_1390174] = String.fromCharCode(c_1390175); + i_1390172 += 1; } else { - var helper_225198 = new_seq_225128(0); + var helper_1390198 = new_seq_1390128(0); L3: do { L4: while (true) { if (!true) break L4; - var code_225199 = c_225175.toString(16); - if (((code_225199 != null ? code_225199.length : 0) == 1)) { - if (helper_225198 != null) { helper_225198.push("%0"); } else { helper_225198 = ["%0"]; }; + var code_1390199 = c_1390175.toString(16); + if (((code_1390199 != null ? code_1390199.length : 0) == 1)) { + if (helper_1390198 != null) { helper_1390198.push("%0"); } else { helper_1390198 = ["%0"]; }; } else { - if (helper_225198 != null) { helper_225198.push("%"); } else { helper_225198 = ["%"]; }; + if (helper_1390198 != null) { helper_1390198.push("%"); } else { helper_1390198 = ["%"]; }; } - if (helper_225198 != null) { helper_225198.push(code_225199); } else { helper_225198 = [code_225199]; }; - i_225172 += 1; - if (((s_225096 != null ? s_225096.length : 0) <= i_225172)) Tmp5 = true; else { Tmp5 = (s_225096[i_225172] < 128); } if (Tmp5) { + if (helper_1390198 != null) { helper_1390198.push(code_1390199); } else { helper_1390198 = [code_1390199]; }; + i_1390172 += 1; + if (((s_1390096 != null ? s_1390096.length : 0) <= i_1390172)) Tmp5 = true; else { Tmp5 = (s_1390096[i_1390172] < 128); } if (Tmp5) { break L3; } - c_225175 = s_225096[i_225172]; + c_1390175 = s_1390096[i_1390172]; } } while(false); ++excHandler; Tmp7 = framePtr; try { - res_225170[j_225174] = decodeURIComponent(helper_225198.join("")); + res_1390170[j_1390174] = decodeURIComponent(helper_1390198.join("")); --excHandler; } catch (EXC) { var prevJSError = lastJSError; lastJSError = EXC; --excHandler; framePtr = Tmp7; - res_225170[j_225174] = helper_225198.join(""); + res_1390170[j_1390174] = helper_1390198.join(""); lastJSError = prevJSError; } finally { framePtr = Tmp7; } } - j_225174 += 1; + j_1390174 += 1; } } while(false); - if (res_225170 === null) res_225170 = []; - if (res_225170.length < j_225174) { for (var i=res_225170.length;i<j_225174;++i) res_225170.push(null); } - else { res_225170.length = j_225174; }; - result_225097 = res_225170.join(""); + if (res_1390170 === null) res_1390170 = []; + if (res_1390170.length < j_1390174) { for (var i=res_1390170.length;i<j_1390174;++i) res_1390170.push(null); } + else { res_1390170.length = j_1390174; }; + result_1390097 = res_1390170.join(""); - return result_225097; + return result_1390097; } -function raiseException(e_190218, ename_190219) { - e_190218.name = ename_190219; +function raiseException(e_1355218, ename_1355219) { + e_1355218.name = ename_1355219; if ((excHandler == 0)) { - unhandledException(e_190218); + unhandledException(e_1355218); } - e_190218.trace = nimCopy(null, raw_write_stack_trace_180059(), NTI112); - throw e_190218; + e_1355218.trace = nimCopy(null, raw_write_stack_trace_1345059(), NTI1163014); + throw e_1355218; } -function addInt(a_230403, b_230404) { - var result = a_230403 + b_230404; +function addInt(a_1395403, b_1395404) { + var result = a_1395403 + b_1395404; if (result > 2147483647 || result < -2147483648) raiseOverflow(); return result; } -function chckIndx(i_250086, a_250087, b_250088) { +function chckIndx(i_1415086, a_1415087, b_1415088) { var Tmp1; - var result_250089 = 0; + var result_1415089 = 0; BeforeRet: do { - if (!(a_250087 <= i_250086)) Tmp1 = false; else { Tmp1 = (i_250086 <= b_250088); } if (Tmp1) { - result_250089 = i_250086; + if (!(a_1415087 <= i_1415086)) Tmp1 = false; else { Tmp1 = (i_1415086 <= b_1415088); } if (Tmp1) { + result_1415089 = i_1415086; break BeforeRet; } else { - raiseIndexError(i_250086, a_250087, b_250088); + raiseIndexError(i_1415086, a_1415087, b_1415088); } } while (false); - return result_250089; + return result_1415089; } -function subInt(a_230421, b_230422) { - var result = a_230421 - b_230422; +function subInt(a_1395421, b_1395422) { + var result = a_1395421 - b_1395422; if (result > 2147483647 || result < -2147483648) raiseOverflow(); return result; @@ -520,14 +520,14 @@ function subInt(a_230421, b_230422) { } var ConstSet2 = setConstr([65, 90]); -function chckRange(i_255016, a_255017, b_255018) { +function chckRange(i_1420016, a_1420017, b_1420018) { var Tmp1; - var result_255019 = 0; + var result_1420019 = 0; BeforeRet: do { - if (!(a_255017 <= i_255016)) Tmp1 = false; else { Tmp1 = (i_255016 <= b_255018); } if (Tmp1) { - result_255019 = i_255016; + if (!(a_1420017 <= i_1420016)) Tmp1 = false; else { Tmp1 = (i_1420016 <= b_1420018); } if (Tmp1) { + result_1420019 = i_1420016; break BeforeRet; } else { @@ -536,13 +536,13 @@ function chckRange(i_255016, a_255017, b_255018) { } while (false); - return result_255019; + return result_1420019; } var ConstSet3 = setConstr(95, 32, 46); var ConstSet4 = setConstr(95, 32, 46); -function mulInt(a_230439, b_230440) { - var result = a_230439 * b_230440; +function mulInt(a_1395439, b_1395440) { + var result = a_1395439 * b_1395440; if (result > 2147483647 || result < -2147483648) raiseOverflow(); return result; @@ -553,51 +553,52 @@ var ConstSet5 = setConstr([97, 122]); var ConstSet6 = setConstr([65, 90], [97, 122]); var ConstSet7 = setConstr([97, 122]); var ConstSet8 = setConstr([65, 90]); -function nimMax(a_230821, b_230822) { +var ConstSet9 = setConstr([65, 90], [97, 122]); +function nimMax(a_1395821, b_1395822) { var Tmp1; - var result_230823 = 0; + var result_1395823 = 0; BeforeRet: do { - if ((b_230822 <= a_230821)) { - Tmp1 = a_230821; + if ((b_1395822 <= a_1395821)) { + Tmp1 = a_1395821; } else { - Tmp1 = b_230822; + Tmp1 = b_1395822; } - result_230823 = Tmp1; + result_1395823 = Tmp1; break BeforeRet; } while (false); - return result_230823; + return result_1395823; } -function nimMin(a_230803, b_230804) { +function nimMin(a_1395803, b_1395804) { var Tmp1; - var result_230805 = 0; + var result_1395805 = 0; BeforeRet: do { - if ((a_230803 <= b_230804)) { - Tmp1 = a_230803; + if ((a_1395803 <= b_1395804)) { + Tmp1 = a_1395803; } else { - Tmp1 = b_230804; + Tmp1 = b_1395804; } - result_230805 = Tmp1; + result_1395805 = Tmp1; break BeforeRet; } while (false); - return result_230805; + return result_1395805; } var nim_program_result = 0; -var global_raise_hook_142018 = [null]; -var local_raise_hook_142023 = [null]; -var out_of_mem_hook_142026 = [null]; -var unhandled_exception_hook_142031 = [null]; +var global_raise_hook_1307018 = [null]; +var local_raise_hook_1307023 = [null]; +var out_of_mem_hook_1307026 = [null]; +var unhandled_exception_hook_1307031 = [null]; if (!Math.trunc) { Math.trunc = function(v) { v = +v; @@ -606,47 +607,47 @@ if (!Math.trunc) { }; } -var alternative_9835319 = [null]; -function add_142042(x_142045, x_142045_Idx, y_142046) { - if (x_142045[x_142045_Idx] === null) { x_142045[x_142045_Idx] = []; } - var off = x_142045[x_142045_Idx].length; - x_142045[x_142045_Idx].length += y_142046.length; - for (var i = 0; i < y_142046.length; ++i) { - x_142045[x_142045_Idx][off+i] = y_142046.charCodeAt(i); +var alternative_11050319 = [null]; +function add_1307042(x_1307045, x_1307045_Idx, y_1307046) { + if (x_1307045[x_1307045_Idx] === null) { x_1307045[x_1307045_Idx] = []; } + var off = x_1307045[x_1307045_Idx].length; + x_1307045[x_1307045_Idx].length += y_1307046.length; + for (var i = 0; i < y_1307046.length; ++i) { + x_1307045[x_1307045_Idx][off+i] = y_1307046.charCodeAt(i); } } -function is_fat_pointer_235401(ti_235403) { - var result_235404 = false; +function is_fat_pointer_1400401(ti_1400403) { + var result_1400404 = false; BeforeRet: do { - result_235404 = !((ConstSet1[ti_235403.base.kind] != undefined)); + result_1400404 = !((ConstSet1[ti_1400403.base.kind] != undefined)); break BeforeRet; } while (false); - return result_235404; + return result_1400404; } -function nimCopyAux(dest_240028, src_240029, n_240031) { - switch (n_240031.kind) { +function nimCopyAux(dest_1405028, src_1405029, n_1405031) { + switch (n_1405031.kind) { case 0: break; case 1: - dest_240028[n_240031.offset] = nimCopy(dest_240028[n_240031.offset], src_240029[n_240031.offset], n_240031.typ); + dest_1405028[n_1405031.offset] = nimCopy(dest_1405028[n_1405031.offset], src_1405029[n_1405031.offset], n_1405031.typ); break; case 2: - for (var i = 0; i < n_240031.sons.length; i++) { - nimCopyAux(dest_240028, src_240029, n_240031.sons[i]); + for (var i = 0; i < n_1405031.sons.length; i++) { + nimCopyAux(dest_1405028, src_1405029, n_1405031.sons[i]); } break; case 3: - dest_240028[n_240031.offset] = nimCopy(dest_240028[n_240031.offset], src_240029[n_240031.offset], n_240031.typ); - for (var i = 0; i < n_240031.sons.length; ++i) { - nimCopyAux(dest_240028, src_240029, n_240031.sons[i][1]); + dest_1405028[n_1405031.offset] = nimCopy(dest_1405028[n_1405031.offset], src_1405029[n_1405031.offset], n_1405031.typ); + for (var i = 0; i < n_1405031.sons.length; ++i) { + nimCopyAux(dest_1405028, src_1405029, n_1405031.sons[i][1]); } break; @@ -654,155 +655,155 @@ function nimCopyAux(dest_240028, src_240029, n_240031) { } -function aux_write_stack_trace_160038(f_160040) { +function aux_write_stack_trace_1325038(f_1325040) { var Tmp3; - var result_160041 = [null]; + var result_1325041 = [null]; - var it_160049 = f_160040; - var i_160051 = 0; - var total_160053 = 0; - var temp_frames_160060 = arrayConstr(64, {Field0: null, Field1: 0}, NTI160043); + var it_1325049 = f_1325040; + var i_1325051 = 0; + var total_1325053 = 0; + var temp_frames_1325060 = arrayConstr(64, {Field0: null, Field1: 0}, NTI1325043); L1: do { L2: while (true) { - if (!!((it_160049 == null))) Tmp3 = false; else { Tmp3 = (i_160051 <= 63); } if (!Tmp3) break L2; - temp_frames_160060[i_160051].Field0 = it_160049.procname; - temp_frames_160060[i_160051].Field1 = it_160049.line; - i_160051 += 1; - total_160053 += 1; - it_160049 = it_160049.prev; + if (!!((it_1325049 == null))) Tmp3 = false; else { Tmp3 = (i_1325051 <= 63); } if (!Tmp3) break L2; + temp_frames_1325060[i_1325051].Field0 = it_1325049.procname; + temp_frames_1325060[i_1325051].Field1 = it_1325049.line; + i_1325051 += 1; + total_1325053 += 1; + it_1325049 = it_1325049.prev; } } while(false); L4: do { L5: while (true) { - if (!!((it_160049 == null))) break L5; - total_160053 += 1; - it_160049 = it_160049.prev; + if (!!((it_1325049 == null))) break L5; + total_1325053 += 1; + it_1325049 = it_1325049.prev; } } while(false); - result_160041[0] = nimCopy(null, [], NTI112); - if (!((total_160053 == i_160051))) { - if (result_160041[0] != null) { result_160041[0] = (result_160041[0]).concat(makeNimstrLit("(")); } else { result_160041[0] = makeNimstrLit("("); }; - if (result_160041[0] != null) { result_160041[0] = (result_160041[0]).concat(cstrToNimstr(((total_160053 - i_160051))+"")); } else { result_160041[0] = cstrToNimstr(((total_160053 - i_160051))+"").slice(); }; - if (result_160041[0] != null) { result_160041[0] = (result_160041[0]).concat(makeNimstrLit(" calls omitted) ...\x0A")); } else { result_160041[0] = makeNimstrLit(" calls omitted) ...\x0A"); }; + result_1325041[0] = nimCopy(null, [], NTI1163014); + if (!((total_1325053 == i_1325051))) { + if (result_1325041[0] != null) { result_1325041[0] = (result_1325041[0]).concat(makeNimstrLit("(")); } else { result_1325041[0] = makeNimstrLit("("); }; + if (result_1325041[0] != null) { result_1325041[0] = (result_1325041[0]).concat(cstrToNimstr(((total_1325053 - i_1325051))+"")); } else { result_1325041[0] = cstrToNimstr(((total_1325053 - i_1325051))+"").slice(); }; + if (result_1325041[0] != null) { result_1325041[0] = (result_1325041[0]).concat(makeNimstrLit(" calls omitted) ...\x0A")); } else { result_1325041[0] = makeNimstrLit(" calls omitted) ...\x0A"); }; } L6: do { - var j_175236 = 0; - var colontmp__9835463 = 0; - colontmp__9835463 = (i_160051 - 1); - var res_9835468 = colontmp__9835463; + var j_1340236 = 0; + var colontmp__11050463 = 0; + colontmp__11050463 = (i_1325051 - 1); + var res_11050468 = colontmp__11050463; L7: do { L8: while (true) { - if (!(0 <= res_9835468)) break L8; - j_175236 = res_9835468; - add_142042(result_160041, 0, temp_frames_160060[j_175236].Field0); - if ((0 < temp_frames_160060[j_175236].Field1)) { - if (result_160041[0] != null) { result_160041[0] = (result_160041[0]).concat(makeNimstrLit(", line: ")); } else { result_160041[0] = makeNimstrLit(", line: "); }; - if (result_160041[0] != null) { result_160041[0] = (result_160041[0]).concat(cstrToNimstr((temp_frames_160060[j_175236].Field1)+"")); } else { result_160041[0] = cstrToNimstr((temp_frames_160060[j_175236].Field1)+"").slice(); }; + if (!(0 <= res_11050468)) break L8; + j_1340236 = res_11050468; + add_1307042(result_1325041, 0, temp_frames_1325060[j_1340236].Field0); + if ((0 < temp_frames_1325060[j_1340236].Field1)) { + if (result_1325041[0] != null) { result_1325041[0] = (result_1325041[0]).concat(makeNimstrLit(", line: ")); } else { result_1325041[0] = makeNimstrLit(", line: "); }; + if (result_1325041[0] != null) { result_1325041[0] = (result_1325041[0]).concat(cstrToNimstr((temp_frames_1325060[j_1340236].Field1)+"")); } else { result_1325041[0] = cstrToNimstr((temp_frames_1325060[j_1340236].Field1)+"").slice(); }; } - if (result_160041[0] != null) { result_160041[0] = (result_160041[0]).concat(makeNimstrLit("\x0A")); } else { result_160041[0] = makeNimstrLit("\x0A"); }; - res_9835468 -= 1; + if (result_1325041[0] != null) { result_1325041[0] = (result_1325041[0]).concat(makeNimstrLit("\x0A")); } else { result_1325041[0] = makeNimstrLit("\x0A"); }; + res_11050468 -= 1; } } while(false); } while(false); - return result_160041[0]; + return result_1325041[0]; } -function raw_write_stack_trace_180059() { - var result_180061 = null; +function raw_write_stack_trace_1345059() { + var result_1345061 = null; if (!((framePtr == null))) { - result_180061 = nimCopy(null, (makeNimstrLit("Traceback (most recent call last)\x0A") || []).concat(aux_write_stack_trace_160038(framePtr) || []), NTI112); + result_1345061 = nimCopy(null, (makeNimstrLit("Traceback (most recent call last)\x0A") || []).concat(aux_write_stack_trace_1325038(framePtr) || []), NTI1163014); } else { - result_180061 = nimCopy(null, makeNimstrLit("No stack traceback available\x0A"), NTI112); + result_1345061 = nimCopy(null, makeNimstrLit("No stack traceback available\x0A"), NTI1163014); } - return result_180061; + return result_1345061; } -function new_seq_225128(len_225131) { - var result_225133 = null; +function new_seq_1390128(len_1390131) { + var result_1390133 = null; var F={procname:"newSeq.newSeq",prev:framePtr,filename:"system.nim",line:0}; framePtr = F; - F.line = 643; - result_225133 = new Array(len_225131); for (var i=0;i<len_225131;++i) {result_225133[i]=null;} framePtr = F.prev; + F.line = 644; + result_1390133 = new Array(len_1390131); for (var i=0;i<len_1390131;++i) {result_1390133[i]=null;} framePtr = F.prev; - return result_225133; + return result_1390133; } -function unhandledException(e_185059) { - var buf_185060 = [[]]; - if (!(((e_185059.message != null ? e_185059.message.length : 0) == 0))) { - if (buf_185060[0] != null) { buf_185060[0] = (buf_185060[0]).concat(makeNimstrLit("Error: unhandled exception: ")); } else { buf_185060[0] = makeNimstrLit("Error: unhandled exception: "); }; - if (buf_185060[0] != null) { buf_185060[0] = (buf_185060[0]).concat(e_185059.message); } else { buf_185060[0] = e_185059.message.slice(); }; +function unhandledException(e_1350059) { + var buf_1350060 = [[]]; + if (!(((e_1350059.message != null ? e_1350059.message.length : 0) == 0))) { + if (buf_1350060[0] != null) { buf_1350060[0] = (buf_1350060[0]).concat(makeNimstrLit("Error: unhandled exception: ")); } else { buf_1350060[0] = makeNimstrLit("Error: unhandled exception: "); }; + if (buf_1350060[0] != null) { buf_1350060[0] = (buf_1350060[0]).concat(e_1350059.message); } else { buf_1350060[0] = e_1350059.message.slice(); }; } else { - if (buf_185060[0] != null) { buf_185060[0] = (buf_185060[0]).concat(makeNimstrLit("Error: unhandled exception")); } else { buf_185060[0] = makeNimstrLit("Error: unhandled exception"); }; + if (buf_1350060[0] != null) { buf_1350060[0] = (buf_1350060[0]).concat(makeNimstrLit("Error: unhandled exception")); } else { buf_1350060[0] = makeNimstrLit("Error: unhandled exception"); }; } - if (buf_185060[0] != null) { buf_185060[0] = (buf_185060[0]).concat(makeNimstrLit(" [")); } else { buf_185060[0] = makeNimstrLit(" ["); }; - add_142042(buf_185060, 0, e_185059.name); - if (buf_185060[0] != null) { buf_185060[0] = (buf_185060[0]).concat(makeNimstrLit("]\x0A")); } else { buf_185060[0] = makeNimstrLit("]\x0A"); }; - if (buf_185060[0] != null) { buf_185060[0] = (buf_185060[0]).concat(raw_write_stack_trace_180059()); } else { buf_185060[0] = raw_write_stack_trace_180059().slice(); }; - var cbuf_190201 = toJSStr(buf_185060[0]); + if (buf_1350060[0] != null) { buf_1350060[0] = (buf_1350060[0]).concat(makeNimstrLit(" [")); } else { buf_1350060[0] = makeNimstrLit(" ["); }; + add_1307042(buf_1350060, 0, e_1350059.name); + if (buf_1350060[0] != null) { buf_1350060[0] = (buf_1350060[0]).concat(makeNimstrLit("]\x0A")); } else { buf_1350060[0] = makeNimstrLit("]\x0A"); }; + if (buf_1350060[0] != null) { buf_1350060[0] = (buf_1350060[0]).concat(raw_write_stack_trace_1345059()); } else { buf_1350060[0] = raw_write_stack_trace_1345059().slice(); }; + var cbuf_1355201 = toJSStr(buf_1350060[0]); framePtr = null; if (typeof(Error) !== "undefined") { - throw new Error(cbuf_190201); + throw new Error(cbuf_1355201); } else { - throw cbuf_190201; + throw cbuf_1355201; } } function raiseOverflow() { - raiseException({message: makeNimstrLit("over- or underflow"), parent: null, m_type: NTI6237, name: null, trace: null, up: null}, "OverflowError"); + raiseException({message: makeNimstrLit("over- or underflow"), parent: null, m_type: NTI1169037, name: null, trace: null, up: null}, "OverflowError"); } -function is_whitespace_9810101(text_9810103) { - return !/[^\s]/.test(text_9810103); +function is_whitespace_11025101(text_11025103) { + return !/[^\s]/.test(text_11025103); } -function is_whitespace_9810118(x_9810120) { +function is_whitespace_11025118(x_11025120) { var Tmp1; var Tmp2; - var result_9810121 = false; + var result_11025121 = false; var F={procname:"dochack.isWhitespace",prev:framePtr,filename:"dochack.nim",line:0}; framePtr = F; F.line = 134; - if (!(x_9810120.nodeName == "#text")) Tmp2 = false; else { Tmp2 = is_whitespace_9810101(x_9810120.textContent); } if (Tmp2) Tmp1 = true; else { Tmp1 = (x_9810120.nodeName == "#comment"); } result_9810121 = Tmp1; + if (!(x_11025120.nodeName == "#text")) Tmp2 = false; else { Tmp2 = is_whitespace_11025101(x_11025120.textContent); } if (Tmp2) Tmp1 = true; else { Tmp1 = (x_11025120.nodeName == "#comment"); } result_11025121 = Tmp1; framePtr = F.prev; - return result_9810121; + return result_11025121; } -function raiseIndexError(i_210047, a_210048, b_210049) { +function raiseIndexError(i_1375047, a_1375048, b_1375049) { var Tmp1; - if ((b_210049 < a_210048)) { + if ((b_1375049 < a_1375048)) { Tmp1 = makeNimstrLit("index out of bounds, the container is empty"); } else { - Tmp1 = (makeNimstrLit("index ") || []).concat(cstrToNimstr((i_210047)+"") || [],makeNimstrLit(" not in ") || [],cstrToNimstr((a_210048)+"") || [],makeNimstrLit(" .. ") || [],cstrToNimstr((b_210049)+"") || []); + Tmp1 = (makeNimstrLit("index ") || []).concat(cstrToNimstr((i_1375047)+"") || [],makeNimstrLit(" not in ") || [],cstrToNimstr((a_1375048)+"") || [],makeNimstrLit(" .. ") || [],cstrToNimstr((b_1375049)+"") || []); } - raiseException({message: nimCopy(null, Tmp1, NTI112), parent: null, m_type: NTI6249, name: null, trace: null, up: null}, "IndexError"); + raiseException({message: nimCopy(null, Tmp1, NTI1163014), parent: null, m_type: NTI1169049, name: null, trace: null, up: null}, "IndexError"); } -function to_toc_9810135(x_9810137, father_9810138) { +function to_toc_11025135(x_11025137, father_11025138) { var Tmp5; var Tmp6; var Tmp7; @@ -811,151 +812,151 @@ function to_toc_9810135(x_9810137, father_9810138) { var F={procname:"dochack.toToc",prev:framePtr,filename:"dochack.nim",line:0}; framePtr = F; - if ((x_9810137.nodeName == "UL")) { + if ((x_11025137.nodeName == "UL")) { F.line = 139; - var f_9810159 = {heading: null, kids: [], sortId: (father_9810138.kids != null ? father_9810138.kids.length : 0), doSort: false}; + var f_11025159 = {heading: null, kids: [], sortId: (father_11025138.kids != null ? father_11025138.kids.length : 0), doSort: false}; F.line = 140; - var i_9810161 = 0; + var i_11025161 = 0; L1: do { F.line = 141; L2: while (true) { - if (!(i_9810161 < x_9810137.childNodes.length)) break L2; + if (!(i_11025161 < x_11025137.childNodes.length)) break L2; F.line = 142; - var nxt_9810162 = addInt(i_9810161, 1); + var nxt_11025162 = addInt(i_11025161, 1); L3: do { F.line = 143; L4: while (true) { - if (!(nxt_9810162 < x_9810137.childNodes.length)) Tmp5 = false; else { Tmp5 = is_whitespace_9810118(x_9810137.childNodes[nxt_9810162]); } if (!Tmp5) break L4; + if (!(nxt_11025162 < x_11025137.childNodes.length)) Tmp5 = false; else { Tmp5 = is_whitespace_11025118(x_11025137.childNodes[nxt_11025162]); } if (!Tmp5) break L4; F.line = 144; - nxt_9810162 = addInt(nxt_9810162, 1); + nxt_11025162 = addInt(nxt_11025162, 1); } } while(false); - if (!(nxt_9810162 < x_9810137.childNodes.length)) Tmp8 = false; else { Tmp8 = (x_9810137.childNodes[i_9810161].nodeName == "LI"); } if (!Tmp8) Tmp7 = false; else { Tmp7 = (x_9810137.childNodes[i_9810161].childNodes.length == 1); } if (!Tmp7) Tmp6 = false; else { Tmp6 = (x_9810137.childNodes[nxt_9810162].nodeName == "UL"); } if (Tmp6) { + if (!(nxt_11025162 < x_11025137.childNodes.length)) Tmp8 = false; else { Tmp8 = (x_11025137.childNodes[i_11025161].nodeName == "LI"); } if (!Tmp8) Tmp7 = false; else { Tmp7 = (x_11025137.childNodes[i_11025161].childNodes.length == 1); } if (!Tmp7) Tmp6 = false; else { Tmp6 = (x_11025137.childNodes[nxt_11025162].nodeName == "UL"); } if (Tmp6) { F.line = 147; - var e_9810189 = {heading: x_9810137.childNodes[i_9810161].childNodes[0], kids: [], sortId: (f_9810159.kids != null ? f_9810159.kids.length : 0), doSort: false}; + var e_11025189 = {heading: x_11025137.childNodes[i_11025161].childNodes[0], kids: [], sortId: (f_11025159.kids != null ? f_11025159.kids.length : 0), doSort: false}; F.line = 148; - var it_9810190 = x_9810137.childNodes[nxt_9810162]; + var it_11025190 = x_11025137.childNodes[nxt_11025162]; L9: do { F.line = 149; - var j_9810198 = 0; + var j_11025198 = 0; F.line = 104; - var colontmp__9835442 = 0; + var colontmp__11050442 = 0; F.line = 149; - colontmp__9835442 = it_9810190.childNodes.length; + colontmp__11050442 = it_11025190.childNodes.length; F.line = 106; - var i_9835443 = 0; + var i_11050443 = 0; L10: do { F.line = 107; L11: while (true) { - if (!(i_9835443 < colontmp__9835442)) break L11; + if (!(i_11050443 < colontmp__11050442)) break L11; F.line = 149; - j_9810198 = i_9835443; + j_11025198 = i_11050443; F.line = 150; - to_toc_9810135(it_9810190.childNodes[j_9810198], e_9810189); + to_toc_11025135(it_11025190.childNodes[j_11025198], e_11025189); F.line = 109; - i_9835443 = addInt(i_9835443, 1); + i_11050443 = addInt(i_11050443, 1); } } while(false); } while(false); F.line = 151; - if (f_9810159.kids != null) { f_9810159.kids.push(e_9810189); } else { f_9810159.kids = [e_9810189]; }; + if (f_11025159.kids != null) { f_11025159.kids.push(e_11025189); } else { f_11025159.kids = [e_11025189]; }; F.line = 152; - i_9810161 = addInt(nxt_9810162, 1); + i_11025161 = addInt(nxt_11025162, 1); } else { F.line = 154; - to_toc_9810135(x_9810137.childNodes[i_9810161], f_9810159); + to_toc_11025135(x_11025137.childNodes[i_11025161], f_11025159); F.line = 155; - i_9810161 = addInt(i_9810161, 1); + i_11025161 = addInt(i_11025161, 1); } } } while(false); F.line = 156; - if (father_9810138.kids != null) { father_9810138.kids.push(f_9810159); } else { father_9810138.kids = [f_9810159]; }; + if (father_11025138.kids != null) { father_11025138.kids.push(f_11025159); } else { father_11025138.kids = [f_11025159]; }; } else { - if (is_whitespace_9810118(x_9810137)) { + if (is_whitespace_11025118(x_11025137)) { } else { - if ((x_9810137.nodeName == "LI")) { + if ((x_11025137.nodeName == "LI")) { F.line = 160; - var idx_9810235 = []; + var idx_11025235 = []; L12: do { F.line = 161; - var i_9810243 = 0; + var i_11025243 = 0; F.line = 104; - var colontmp__9835446 = 0; + var colontmp__11050446 = 0; F.line = 161; - colontmp__9835446 = x_9810137.childNodes.length; + colontmp__11050446 = x_11025137.childNodes.length; F.line = 106; - var i_9835447 = 0; + var i_11050447 = 0; L13: do { F.line = 107; L14: while (true) { - if (!(i_9835447 < colontmp__9835446)) break L14; + if (!(i_11050447 < colontmp__11050446)) break L14; F.line = 161; - i_9810243 = i_9835447; - if (!(is_whitespace_9810118(x_9810137.childNodes[i_9810243]))) { + i_11025243 = i_11050447; + if (!(is_whitespace_11025118(x_11025137.childNodes[i_11025243]))) { F.line = 162; - if (idx_9810235 != null) { idx_9810235.push(i_9810243); } else { idx_9810235 = [i_9810243]; }; + if (idx_11025235 != null) { idx_11025235.push(i_11025243); } else { idx_11025235 = [i_11025243]; }; } F.line = 109; - i_9835447 = addInt(i_9835447, 1); + i_11050447 = addInt(i_11050447, 1); } } while(false); } while(false); - if (!((idx_9810235 != null ? idx_9810235.length : 0) == 2)) Tmp15 = false; else { Tmp15 = (x_9810137.childNodes[idx_9810235[chckIndx(1, 0, (idx_9810235 != null ? idx_9810235.length : 0)+0-1)-0]].nodeName == "UL"); } if (Tmp15) { + if (!((idx_11025235 != null ? idx_11025235.length : 0) == 2)) Tmp15 = false; else { Tmp15 = (x_11025137.childNodes[idx_11025235[chckIndx(1, 0, (idx_11025235 != null ? idx_11025235.length : 0)+0-1)-0]].nodeName == "UL"); } if (Tmp15) { F.line = 164; - var e_9810276 = {heading: x_9810137.childNodes[idx_9810235[chckIndx(0, 0, (idx_9810235 != null ? idx_9810235.length : 0)+0-1)-0]], kids: [], sortId: (father_9810138.kids != null ? father_9810138.kids.length : 0), doSort: false}; + var e_11025276 = {heading: x_11025137.childNodes[idx_11025235[chckIndx(0, 0, (idx_11025235 != null ? idx_11025235.length : 0)+0-1)-0]], kids: [], sortId: (father_11025138.kids != null ? father_11025138.kids.length : 0), doSort: false}; F.line = 166; - var it_9810277 = x_9810137.childNodes[idx_9810235[chckIndx(1, 0, (idx_9810235 != null ? idx_9810235.length : 0)+0-1)-0]]; + var it_11025277 = x_11025137.childNodes[idx_11025235[chckIndx(1, 0, (idx_11025235 != null ? idx_11025235.length : 0)+0-1)-0]]; L16: do { F.line = 167; - var j_9810285 = 0; + var j_11025285 = 0; F.line = 104; - var colontmp__9835451 = 0; + var colontmp__11050451 = 0; F.line = 167; - colontmp__9835451 = it_9810277.childNodes.length; + colontmp__11050451 = it_11025277.childNodes.length; F.line = 106; - var i_9835452 = 0; + var i_11050452 = 0; L17: do { F.line = 107; L18: while (true) { - if (!(i_9835452 < colontmp__9835451)) break L18; + if (!(i_11050452 < colontmp__11050451)) break L18; F.line = 167; - j_9810285 = i_9835452; + j_11025285 = i_11050452; F.line = 168; - to_toc_9810135(it_9810277.childNodes[j_9810285], e_9810276); + to_toc_11025135(it_11025277.childNodes[j_11025285], e_11025276); F.line = 109; - i_9835452 = addInt(i_9835452, 1); + i_11050452 = addInt(i_11050452, 1); } } while(false); } while(false); F.line = 169; - if (father_9810138.kids != null) { father_9810138.kids.push(e_9810276); } else { father_9810138.kids = [e_9810276]; }; + if (father_11025138.kids != null) { father_11025138.kids.push(e_11025276); } else { father_11025138.kids = [e_11025276]; }; } else { L19: do { F.line = 171; - var i_9810300 = 0; + var i_11025300 = 0; F.line = 104; - var colontmp__9835455 = 0; + var colontmp__11050455 = 0; F.line = 171; - colontmp__9835455 = x_9810137.childNodes.length; + colontmp__11050455 = x_11025137.childNodes.length; F.line = 106; - var i_9835456 = 0; + var i_11050456 = 0; L20: do { F.line = 107; L21: while (true) { - if (!(i_9835456 < colontmp__9835455)) break L21; + if (!(i_11050456 < colontmp__11050455)) break L21; F.line = 171; - i_9810300 = i_9835456; + i_11025300 = i_11050456; F.line = 172; - to_toc_9810135(x_9810137.childNodes[i_9810300], father_9810138); + to_toc_11025135(x_11025137.childNodes[i_11025300], father_11025138); F.line = 109; - i_9835456 = addInt(i_9835456, 1); + i_11050456 = addInt(i_11050456, 1); } } while(false); } while(false); @@ -964,44 +965,44 @@ function to_toc_9810135(x_9810137, father_9810138) { } else { F.line = 174; - if (father_9810138.kids != null) { father_9810138.kids.push({heading: x_9810137, kids: [], sortId: (father_9810138.kids != null ? father_9810138.kids.length : 0), doSort: false}); } else { father_9810138.kids = [{heading: x_9810137, kids: [], sortId: (father_9810138.kids != null ? father_9810138.kids.length : 0), doSort: false}]; }; + if (father_11025138.kids != null) { father_11025138.kids.push({heading: x_11025137, kids: [], sortId: (father_11025138.kids != null ? father_11025138.kids.length : 0), doSort: false}); } else { father_11025138.kids = [{heading: x_11025137, kids: [], sortId: (father_11025138.kids != null ? father_11025138.kids.length : 0), doSort: false}]; }; } }} framePtr = F.prev; } -function extract_items_9765074(x_9765076, heading_9765077, items_9765080, items_9765080_Idx) { +function extract_items_10980074(x_10980076, heading_10980077, items_10980080, items_10980080_Idx) { var Tmp1; var F={procname:"dochack.extractItems",prev:framePtr,filename:"dochack.nim",line:0}; framePtr = F; BeforeRet: do { - if ((x_9765076 == null)) { + if ((x_10980076 == null)) { F.line = 81; break BeforeRet; } - if (!!((x_9765076.heading == null))) Tmp1 = false; else { Tmp1 = (x_9765076.heading.textContent == heading_9765077); } if (Tmp1) { + if (!!((x_10980076.heading == null))) Tmp1 = false; else { Tmp1 = (x_10980076.heading.textContent == heading_10980077); } if (Tmp1) { L2: do { F.line = 83; - var i_9770021 = 0; + var i_10985021 = 0; F.line = 104; - var colontmp__9835485 = 0; + var colontmp__11050485 = 0; F.line = 83; - colontmp__9835485 = (x_9765076.kids != null ? x_9765076.kids.length : 0); + colontmp__11050485 = (x_10980076.kids != null ? x_10980076.kids.length : 0); F.line = 106; - var i_9835486 = 0; + var i_11050486 = 0; L3: do { F.line = 107; L4: while (true) { - if (!(i_9835486 < colontmp__9835485)) break L4; + if (!(i_11050486 < colontmp__11050485)) break L4; F.line = 83; - i_9770021 = i_9835486; + i_10985021 = i_11050486; F.line = 84; - if (items_9765080[items_9765080_Idx] != null) { items_9765080[items_9765080_Idx].push(x_9765076.kids[chckIndx(i_9770021, 0, (x_9765076.kids != null ? x_9765076.kids.length : 0)+0-1)-0].heading); } else { items_9765080[items_9765080_Idx] = [x_9765076.kids[chckIndx(i_9770021, 0, (x_9765076.kids != null ? x_9765076.kids.length : 0)+0-1)-0].heading]; }; + if (items_10980080[items_10980080_Idx] != null) { items_10980080[items_10980080_Idx].push(x_10980076.kids[chckIndx(i_10985021, 0, (x_10980076.kids != null ? x_10980076.kids.length : 0)+0-1)-0].heading); } else { items_10980080[items_10980080_Idx] = [x_10980076.kids[chckIndx(i_10985021, 0, (x_10980076.kids != null ? x_10980076.kids.length : 0)+0-1)-0].heading]; }; F.line = 109; - i_9835486 = addInt(i_9835486, 1); + i_11050486 = addInt(i_11050486, 1); } } while(false); } while(false); @@ -1009,25 +1010,25 @@ function extract_items_9765074(x_9765076, heading_9765077, items_9765080, items_ else { L5: do { F.line = 86; - var i_9770041 = 0; + var i_10985041 = 0; F.line = 104; - var colontmp__9835489 = 0; + var colontmp__11050489 = 0; F.line = 86; - colontmp__9835489 = (x_9765076.kids != null ? x_9765076.kids.length : 0); + colontmp__11050489 = (x_10980076.kids != null ? x_10980076.kids.length : 0); F.line = 106; - var i_9835490 = 0; + var i_11050490 = 0; L6: do { F.line = 107; L7: while (true) { - if (!(i_9835490 < colontmp__9835489)) break L7; + if (!(i_11050490 < colontmp__11050489)) break L7; F.line = 86; - i_9770041 = i_9835490; + i_10985041 = i_11050490; F.line = 87; - var it_9770042 = x_9765076.kids[chckIndx(i_9770041, 0, (x_9765076.kids != null ? x_9765076.kids.length : 0)+0-1)-0]; + var it_10985042 = x_10980076.kids[chckIndx(i_10985041, 0, (x_10980076.kids != null ? x_10980076.kids.length : 0)+0-1)-0]; F.line = 88; - extract_items_9765074(it_9770042, heading_9765077, items_9765080, items_9765080_Idx); + extract_items_10980074(it_10985042, heading_10980077, items_10980080, items_10980080_Idx); F.line = 109; - i_9835490 = addInt(i_9835490, 1); + i_11050490 = addInt(i_11050490, 1); } } while(false); } while(false); @@ -1038,168 +1039,168 @@ function extract_items_9765074(x_9765076, heading_9765077, items_9765080, items_ } -function tree_9756020(tag_9756022, kids_9756024) { - var result_9756025 = null; +function tree_10971020(tag_10971022, kids_10971024) { + var result_10971025 = null; var F={procname:"dochack.tree",prev:framePtr,filename:"dochack.nim",line:0}; framePtr = F; F.line = 11; - result_9756025 = document.createElement(toJSStr(tag_9756022)); + result_10971025 = document.createElement(toJSStr(tag_10971022)); L1: do { F.line = 12; - var k_9756056 = null; + var k_10971056 = null; F.line = 3; - var i_9835506 = 0; + var i_11050506 = 0; L2: do { F.line = 4; L3: while (true) { - if (!(i_9835506 < (kids_9756024 != null ? kids_9756024.length : 0))) break L3; + if (!(i_11050506 < (kids_10971024 != null ? kids_10971024.length : 0))) break L3; F.line = 12; - k_9756056 = kids_9756024[chckIndx(i_9835506, 0, (kids_9756024 != null ? kids_9756024.length : 0)+0-1)-0]; + k_10971056 = kids_10971024[chckIndx(i_11050506, 0, (kids_10971024 != null ? kids_10971024.length : 0)+0-1)-0]; F.line = 13; - result_9756025.appendChild(k_9756056); + result_10971025.appendChild(k_10971056); F.line = 6; - i_9835506 = addInt(i_9835506, 1); + i_11050506 = addInt(i_11050506, 1); } } while(false); } while(false); framePtr = F.prev; - return result_9756025; + return result_10971025; } -function text_9756152(s_9756154) { - var result_9756155 = null; +function text_10971152(s_10971154) { + var result_10971155 = null; var F={procname:"dochack.text",prev:framePtr,filename:"dochack.nim",line:0}; framePtr = F; F.line = 27; - result_9756155 = document.createTextNode(s_9756154); + result_10971155 = document.createTextNode(s_10971154); framePtr = F.prev; - return result_9756155; + return result_10971155; } -function sys_fatal_102618(message_102622) { +function sys_fatal_1267618(message_1267622) { var F={procname:"sysFatal.sysFatal",prev:framePtr,filename:"fatal.nim",line:0}; framePtr = F; F.line = 49; - raiseException({message: nimCopy(null, message_102622, NTI112), m_type: NTI6241, parent: null, name: null, trace: null, up: null}, "AssertionError"); + raiseException({message: nimCopy(null, message_1267622, NTI1163014), m_type: NTI1169041, parent: null, name: null, trace: null, up: null}, "AssertionError"); framePtr = F.prev; } -function raise_assert_102614(msg_102616) { +function raise_assert_1267614(msg_1267616) { var F={procname:"assertions.raiseAssert",prev:framePtr,filename:"assertions.nim",line:0}; framePtr = F; F.line = 22; - sys_fatal_102618(msg_102616); + sys_fatal_1267618(msg_1267616); framePtr = F.prev; } -function failed_assert_impl_102680(msg_102682) { +function failed_assert_impl_1267680(msg_1267682) { var F={procname:"assertions.failedAssertImpl",prev:framePtr,filename:"assertions.nim",line:0}; framePtr = F; F.line = 29; - raise_assert_102614(msg_102682); + raise_assert_1267614(msg_1267682); framePtr = F.prev; } -function uncovered_9815022(x_9815024) { +function uncovered_11030022(x_11030024) { var Tmp1; var Tmp2; - var result_9815025 = null; + var result_11030025 = null; var F={procname:"dochack.uncovered",prev:framePtr,filename:"dochack.nim",line:0}; framePtr = F; BeforeRet: do { - if (!((x_9815024.kids != null ? x_9815024.kids.length : 0) == 0)) Tmp1 = false; else { Tmp1 = !((x_9815024.heading == null)); } if (Tmp1) { + if (!((x_11030024.kids != null ? x_11030024.kids.length : 0) == 0)) Tmp1 = false; else { Tmp1 = !((x_11030024.heading == null)); } if (Tmp1) { F.line = 194; - if (!(x_9815024.heading.hasOwnProperty('__karaxMarker__'))) { - Tmp2 = x_9815024; + if (!(x_11030024.heading.hasOwnProperty('__karaxMarker__'))) { + Tmp2 = x_11030024; } else { Tmp2 = null; } - result_9815025 = Tmp2; + result_11030025 = Tmp2; break BeforeRet; } F.line = 195; - result_9815025 = {heading: x_9815024.heading, kids: [], sortId: x_9815024.sortId, doSort: x_9815024.doSort}; + result_11030025 = {heading: x_11030024.heading, kids: [], sortId: x_11030024.sortId, doSort: x_11030024.doSort}; L3: do { F.line = 197; - var i_9820036 = 0; + var i_11035036 = 0; F.line = 104; - var colontmp__9835517 = 0; + var colontmp__11050517 = 0; F.line = 197; - colontmp__9835517 = (x_9815024.kids != null ? x_9815024.kids.length : 0); + colontmp__11050517 = (x_11030024.kids != null ? x_11030024.kids.length : 0); F.line = 106; - var i_9835518 = 0; + var i_11050518 = 0; L4: do { F.line = 107; L5: while (true) { - if (!(i_9835518 < colontmp__9835517)) break L5; + if (!(i_11050518 < colontmp__11050517)) break L5; F.line = 197; - i_9820036 = i_9835518; + i_11035036 = i_11050518; F.line = 198; - var y_9820037 = uncovered_9815022(x_9815024.kids[chckIndx(i_9820036, 0, (x_9815024.kids != null ? x_9815024.kids.length : 0)+0-1)-0]); - if (!((y_9820037 == null))) { + var y_11035037 = uncovered_11030022(x_11030024.kids[chckIndx(i_11035036, 0, (x_11030024.kids != null ? x_11030024.kids.length : 0)+0-1)-0]); + if (!((y_11035037 == null))) { F.line = 199; - if (result_9815025.kids != null) { result_9815025.kids.push(y_9820037); } else { result_9815025.kids = [y_9820037]; }; + if (result_11030025.kids != null) { result_11030025.kids.push(y_11035037); } else { result_11030025.kids = [y_11035037]; }; } F.line = 109; - i_9835518 = addInt(i_9835518, 1); + i_11050518 = addInt(i_11050518, 1); } } while(false); } while(false); - if (((result_9815025.kids != null ? result_9815025.kids.length : 0) == 0)) { + if (((result_11030025.kids != null ? result_11030025.kids.length : 0) == 0)) { F.line = 200; - result_9815025 = null; + result_11030025 = null; } } while (false); framePtr = F.prev; - return result_9815025; + return result_11030025; } -function merge_tocs_9825034(orig_9825036, news_9825037) { - var result_9825038 = null; +function merge_tocs_11040034(orig_11040036, news_11040037) { + var result_11040038 = null; var F={procname:"dochack.mergeTocs",prev:framePtr,filename:"dochack.nim",line:0}; framePtr = F; F.line = 203; - result_9825038 = uncovered_9815022(orig_9825036); - if ((result_9825038 == null)) { + result_11040038 = uncovered_11030022(orig_11040036); + if ((result_11040038 == null)) { F.line = 205; - result_9825038 = news_9825037; + result_11040038 = news_11040037; } else { L1: do { F.line = 207; - var i_9825059 = 0; + var i_11040059 = 0; F.line = 104; - var colontmp__9835512 = 0; + var colontmp__11050512 = 0; F.line = 207; - colontmp__9835512 = (news_9825037.kids != null ? news_9825037.kids.length : 0); + colontmp__11050512 = (news_11040037.kids != null ? news_11040037.kids.length : 0); F.line = 106; - var i_9835513 = 0; + var i_11050513 = 0; L2: do { F.line = 107; L3: while (true) { - if (!(i_9835513 < colontmp__9835512)) break L3; + if (!(i_11050513 < colontmp__11050512)) break L3; F.line = 207; - i_9825059 = i_9835513; + i_11040059 = i_11050513; F.line = 208; - if (result_9825038.kids != null) { result_9825038.kids.push(news_9825037.kids[chckIndx(i_9825059, 0, (news_9825037.kids != null ? news_9825037.kids.length : 0)+0-1)-0]); } else { result_9825038.kids = [news_9825037.kids[chckIndx(i_9825059, 0, (news_9825037.kids != null ? news_9825037.kids.length : 0)+0-1)-0]]; }; + if (result_11040038.kids != null) { result_11040038.kids.push(news_11040037.kids[chckIndx(i_11040059, 0, (news_11040037.kids != null ? news_11040037.kids.length : 0)+0-1)-0]); } else { result_11040038.kids = [news_11040037.kids[chckIndx(i_11040059, 0, (news_11040037.kids != null ? news_11040037.kids.length : 0)+0-1)-0]]; }; F.line = 109; - i_9835513 = addInt(i_9835513, 1); + i_11050513 = addInt(i_11050513, 1); } } while(false); } while(false); @@ -1207,581 +1208,588 @@ function merge_tocs_9825034(orig_9825036, news_9825037) { framePtr = F.prev; - return result_9825038; + return result_11040038; } -function build_toc_9825080(orig_9825082, types_9825084, procs_9825085) { +function build_toc_11040080(orig_11040082, types_11040084, procs_11040085) { var Tmp7; - var result_9825086 = null; + var result_11040086 = null; var F={procname:"dochack.buildToc",prev:framePtr,filename:"dochack.nim",line:0}; framePtr = F; F.line = 211; - var new_stuff_9825102 = {heading: null, kids: [], doSort: true, sortId: 0}; + var new_stuff_11040102 = {heading: null, kids: [], doSort: true, sortId: 0}; L1: do { F.line = 212; - var t_9835214 = null; + var t_11050214 = null; F.line = 184; - var i_9835501 = 0; + var i_11050501 = 0; F.line = 185; - var l_9835502 = (types_9825084 != null ? types_9825084.length : 0); + var l_11050502 = (types_11040084 != null ? types_11040084.length : 0); L2: do { F.line = 186; L3: while (true) { - if (!(i_9835501 < l_9835502)) break L3; + if (!(i_11050501 < l_11050502)) break L3; F.line = 212; - t_9835214 = types_9825084[chckIndx(i_9835501, 0, (types_9825084 != null ? types_9825084.length : 0)+0-1)-0]; + t_11050214 = types_11040084[chckIndx(i_11050501, 0, (types_11040084 != null ? types_11040084.length : 0)+0-1)-0]; F.line = 213; - var c_9835230 = {heading: t_9835214.cloneNode(true), kids: [], doSort: true, sortId: 0}; + var c_11050230 = {heading: t_11050214.cloneNode(true), kids: [], doSort: true, sortId: 0}; F.line = 214; - t_9835214.__karaxMarker__ = true; + t_11050214.__karaxMarker__ = true; L4: do { F.line = 215; - var p_9835237 = null; + var p_11050237 = null; F.line = 184; - var i_9835498 = 0; + var i_11050498 = 0; F.line = 185; - var l_9835499 = (procs_9825085 != null ? procs_9825085.length : 0); + var l_11050499 = (procs_11040085 != null ? procs_11040085.length : 0); L5: do { F.line = 186; L6: while (true) { - if (!(i_9835498 < l_9835499)) break L6; + if (!(i_11050498 < l_11050499)) break L6; F.line = 215; - p_9835237 = procs_9825085[chckIndx(i_9835498, 0, (procs_9825085 != null ? procs_9825085.length : 0)+0-1)-0]; - if (!(p_9835237.hasOwnProperty('__karaxMarker__'))) { + p_11050237 = procs_11040085[chckIndx(i_11050498, 0, (procs_11040085 != null ? procs_11040085.length : 0)+0-1)-0]; + if (!(p_11050237.hasOwnProperty('__karaxMarker__'))) { F.line = 217; - var xx_9835238 = p_9835237.parentNode.getElementsByClassName("attachedType"); - if (!((xx_9835238 != null ? xx_9835238.length : 0) == 1)) Tmp7 = false; else { Tmp7 = (xx_9835238[chckIndx(0, 0, (xx_9835238 != null ? xx_9835238.length : 0)+0-1)-0].textContent == t_9835214.textContent); } if (Tmp7) { + var xx_11050238 = p_11050237.parentNode.getElementsByClassName("attachedType"); + if (!((xx_11050238 != null ? xx_11050238.length : 0) == 1)) Tmp7 = false; else { Tmp7 = (xx_11050238[chckIndx(0, 0, (xx_11050238 != null ? xx_11050238.length : 0)+0-1)-0].textContent == t_11050214.textContent); } if (Tmp7) { F.line = 220; - var q_9835246 = tree_9756020(makeNimstrLit("A"), [text_9756152(p_9835237.title)]); + var q_11050246 = tree_10971020(makeNimstrLit("A"), [text_10971152(p_11050237.title)]); F.line = 221; - q_9835246.setAttribute("href", p_9835237.getAttribute("href")); + q_11050246.setAttribute("href", p_11050237.getAttribute("href")); F.line = 222; - if (c_9835230.kids != null) { c_9835230.kids.push({heading: q_9835246, kids: [], sortId: 0, doSort: false}); } else { c_9835230.kids = [{heading: q_9835246, kids: [], sortId: 0, doSort: false}]; }; + if (c_11050230.kids != null) { c_11050230.kids.push({heading: q_11050246, kids: [], sortId: 0, doSort: false}); } else { c_11050230.kids = [{heading: q_11050246, kids: [], sortId: 0, doSort: false}]; }; F.line = 223; - p_9835237.__karaxMarker__ = true; + p_11050237.__karaxMarker__ = true; } } F.line = 188; - i_9835498 = addInt(i_9835498, 1); - if (!(((procs_9825085 != null ? procs_9825085.length : 0) == l_9835499))) { + i_11050498 = addInt(i_11050498, 1); + if (!(((procs_11040085 != null ? procs_11040085.length : 0) == l_11050499))) { F.line = 189; - failed_assert_impl_102680(makeNimstrLit("/home/genotrance/.choosenim/toolchains/nim-1.2.0/lib/system/iterators.nim(189, 11) `len(a) == L` the length of the seq changed while iterating over it")); + failed_assert_impl_1267680(makeNimstrLit("/home/genotrance/programming/nimdevel/lib/system/iterators.nim(189, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } } while(false); } while(false); F.line = 224; - if (new_stuff_9825102.kids != null) { new_stuff_9825102.kids.push(c_9835230); } else { new_stuff_9825102.kids = [c_9835230]; }; + if (new_stuff_11040102.kids != null) { new_stuff_11040102.kids.push(c_11050230); } else { new_stuff_11040102.kids = [c_11050230]; }; F.line = 188; - i_9835501 = addInt(i_9835501, 1); - if (!(((types_9825084 != null ? types_9825084.length : 0) == l_9835502))) { + i_11050501 = addInt(i_11050501, 1); + if (!(((types_11040084 != null ? types_11040084.length : 0) == l_11050502))) { F.line = 189; - failed_assert_impl_102680(makeNimstrLit("/home/genotrance/.choosenim/toolchains/nim-1.2.0/lib/system/iterators.nim(189, 11) `len(a) == L` the length of the seq changed while iterating over it")); + failed_assert_impl_1267680(makeNimstrLit("/home/genotrance/programming/nimdevel/lib/system/iterators.nim(189, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } } while(false); } while(false); F.line = 225; - result_9825086 = merge_tocs_9825034(orig_9825082, new_stuff_9825102); + result_11040086 = merge_tocs_11040034(orig_11040082, new_stuff_11040102); framePtr = F.prev; - return result_9825086; + return result_11040086; } -function add_9756100(parent_9756102, kid_9756103) { +function add_10971100(parent_10971102, kid_10971103) { var Tmp1; var Tmp2; var F={procname:"dochack.add",prev:framePtr,filename:"dochack.nim",line:0}; framePtr = F; - if (!(parent_9756102.nodeName == "TR")) Tmp1 = false; else { if ((kid_9756103.nodeName == "TD")) Tmp2 = true; else { Tmp2 = (kid_9756103.nodeName == "TH"); } Tmp1 = Tmp2; } if (Tmp1) { + if (!(parent_10971102.nodeName == "TR")) Tmp1 = false; else { if ((kid_10971103.nodeName == "TD")) Tmp2 = true; else { Tmp2 = (kid_10971103.nodeName == "TH"); } Tmp1 = Tmp2; } if (Tmp1) { F.line = 18; - var k_9756104 = document.createElement("TD"); + var k_10971104 = document.createElement("TD"); F.line = 19; - k_9756104.appendChild(kid_9756103); + k_10971104.appendChild(kid_10971103); F.line = 20; - parent_9756102.appendChild(k_9756104); + parent_10971102.appendChild(k_10971104); } else { F.line = 22; - parent_9756102.appendChild(kid_9756103); + parent_10971102.appendChild(kid_10971103); } framePtr = F.prev; } -function set_class_9756118(e_9756120, value_9756121) { +function set_class_10971118(e_10971120, value_10971121) { var F={procname:"dochack.setClass",prev:framePtr,filename:"dochack.nim",line:0}; framePtr = F; F.line = 25; - e_9756120.setAttribute("class", toJSStr(value_9756121)); + e_10971120.setAttribute("class", toJSStr(value_10971121)); framePtr = F.prev; } -function to_html_9770071(x_9770073, is_root_9770074) { +function to_html_10985071(x_10985073, is_root_10985074) { var Tmp1; - function HEX3Aanonymous_9775015(a_9775017, b_9775018) { + function HEX3Aanonymous_10990015(a_10990017, b_10990018) { var Tmp1; - var result_9775019 = 0; + var result_10990019 = 0; var F={procname:"toHtml.:anonymous",prev:framePtr,filename:"dochack.nim",line:0}; framePtr = F; BeforeRet: do { - if (!!((a_9775017.heading == null))) Tmp1 = false; else { Tmp1 = !((b_9775018.heading == null)); } if (Tmp1) { + if (!!((a_10990017.heading == null))) Tmp1 = false; else { Tmp1 = !((b_10990018.heading == null)); } if (Tmp1) { F.line = 106; - var x_9785009 = a_9775017.heading.textContent; + var x_11000009 = a_10990017.heading.textContent; F.line = 107; - var y_9785010 = b_9775018.heading.textContent; - if ((x_9785009 < y_9785010)) { + var y_11000010 = b_10990018.heading.textContent; + if ((x_11000009 < y_11000010)) { F.line = 108; - result_9775019 = -1; + result_10990019 = -1; break BeforeRet; } - if ((y_9785010 < x_9785009)) { + if ((y_11000010 < x_11000009)) { F.line = 109; - result_9775019 = 1; + result_10990019 = 1; break BeforeRet; } F.line = 110; - result_9775019 = 0; + result_10990019 = 0; break BeforeRet; } else { F.line = 113; - result_9775019 = subInt(a_9775017.sortId, b_9775018.sortId); + result_10990019 = subInt(a_10990017.sortId, b_10990018.sortId); break BeforeRet; } } while (false); framePtr = F.prev; - return result_9775019; + return result_10990019; } - var result_9770075 = null; + var result_10985075 = null; var F={procname:"dochack.toHtml",prev:framePtr,filename:"dochack.nim",line:0}; framePtr = F; BeforeRet: do { - if ((x_9770073 == null)) { + if ((x_10985073 == null)) { F.line = 91; - result_9770075 = null; + result_10985075 = null; break BeforeRet; } - if (((x_9770073.kids != null ? x_9770073.kids.length : 0) == 0)) { - if ((x_9770073.heading == null)) { + if (((x_10985073.kids != null ? x_10985073.kids.length : 0) == 0)) { + if ((x_10985073.heading == null)) { F.line = 93; - result_9770075 = null; + result_10985075 = null; break BeforeRet; } F.line = 94; - result_9770075 = x_9770073.heading.cloneNode(true); + result_10985075 = x_10985073.heading.cloneNode(true); break BeforeRet; } F.line = 95; - result_9770075 = tree_9756020(makeNimstrLit("DIV"), []); - if (!!((x_9770073.heading == null))) Tmp1 = false; else { Tmp1 = !(x_9770073.heading.hasOwnProperty('__karaxMarker__')); } if (Tmp1) { + result_10985075 = tree_10971020(makeNimstrLit("DIV"), []); + if (!!((x_10985073.heading == null))) Tmp1 = false; else { Tmp1 = !(x_10985073.heading.hasOwnProperty('__karaxMarker__')); } if (Tmp1) { F.line = 97; - add_9756100(result_9770075, x_9770073.heading.cloneNode(true)); + add_10971100(result_10985075, x_10985073.heading.cloneNode(true)); } F.line = 98; - var ul_9775012 = tree_9756020(makeNimstrLit("UL"), []); - if (is_root_9770074) { + var ul_10990012 = tree_10971020(makeNimstrLit("UL"), []); + if (is_root_10985074) { F.line = 100; - set_class_9756118(ul_9775012, makeNimstrLit("simple simple-toc")); + set_class_10971118(ul_10990012, makeNimstrLit("simple simple-toc")); } else { F.line = 102; - set_class_9756118(ul_9775012, makeNimstrLit("simple")); + set_class_10971118(ul_10990012, makeNimstrLit("simple")); } - if (x_9770073.doSort) { + if (x_10985073.doSort) { F.line = 104; - x_9770073.kids.sort(HEX3Aanonymous_9775015); + x_10985073.kids.sort(HEX3Aanonymous_10990015); } L2: do { F.line = 115; - var k_9800214 = null; + var k_11015214 = null; F.line = 184; - var i_9835524 = 0; + var i_11050524 = 0; F.line = 185; - var l_9835525 = (x_9770073.kids != null ? x_9770073.kids.length : 0); + var l_11050525 = (x_10985073.kids != null ? x_10985073.kids.length : 0); L3: do { F.line = 186; L4: while (true) { - if (!(i_9835524 < l_9835525)) break L4; + if (!(i_11050524 < l_11050525)) break L4; F.line = 115; - k_9800214 = x_9770073.kids[chckIndx(i_9835524, 0, (x_9770073.kids != null ? x_9770073.kids.length : 0)+0-1)-0]; + k_11015214 = x_10985073.kids[chckIndx(i_11050524, 0, (x_10985073.kids != null ? x_10985073.kids.length : 0)+0-1)-0]; F.line = 116; - var y_9800215 = to_html_9770071(k_9800214, false); - if (!((y_9800215 == null))) { + var y_11015215 = to_html_10985071(k_11015214, false); + if (!((y_11015215 == null))) { F.line = 118; - add_9756100(ul_9775012, tree_9756020(makeNimstrLit("LI"), [y_9800215])); + add_10971100(ul_10990012, tree_10971020(makeNimstrLit("LI"), [y_11015215])); } F.line = 188; - i_9835524 = addInt(i_9835524, 1); - if (!(((x_9770073.kids != null ? x_9770073.kids.length : 0) == l_9835525))) { + i_11050524 = addInt(i_11050524, 1); + if (!(((x_10985073.kids != null ? x_10985073.kids.length : 0) == l_11050525))) { F.line = 189; - failed_assert_impl_102680(makeNimstrLit("/home/genotrance/.choosenim/toolchains/nim-1.2.0/lib/system/iterators.nim(189, 11) `len(a) == L` the length of the seq changed while iterating over it")); + failed_assert_impl_1267680(makeNimstrLit("/home/genotrance/programming/nimdevel/lib/system/iterators.nim(189, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } } while(false); } while(false); - if (!((ul_9775012.childNodes.length == 0))) { + if (!((ul_10990012.childNodes.length == 0))) { F.line = 119; - add_9756100(result_9770075, ul_9775012); + add_10971100(result_10985075, ul_10990012); } - if ((result_9770075.childNodes.length == 0)) { + if ((result_10985075.childNodes.length == 0)) { F.line = 120; - result_9770075 = null; + result_10985075 = null; } } while (false); framePtr = F.prev; - return result_9770075; + return result_10985075; } -function replace_by_id_9756172(id_9756174, new_tree_9756175) { +function replace_by_id_10971172(id_10971174, new_tree_10971175) { var F={procname:"dochack.replaceById",prev:framePtr,filename:"dochack.nim",line:0}; framePtr = F; F.line = 32; - var x_9756176 = document.getElementById(id_9756174); + var x_10971176 = document.getElementById(id_10971174); F.line = 33; - x_9756176.parentNode.replaceChild(new_tree_9756175, x_9756176); + x_10971176.parentNode.replaceChild(new_tree_10971175, x_10971176); F.line = 34; - new_tree_9756175.id = id_9756174; + new_tree_10971175.id = id_10971174; framePtr = F.prev; } -function togglevis_9835333(d_9835335) { +function togglevis_11050333(d_11050335) { var F={procname:"dochack.togglevis",prev:framePtr,filename:"dochack.nim",line:0}; framePtr = F; F.line = 230; - if (d_9835335.style.display == 'none') - d_9835335.style.display = 'inline'; + if (d_11050335.style.display == 'none') + d_11050335.style.display = 'inline'; else - d_9835335.style.display = 'none'; + d_11050335.style.display = 'none'; framePtr = F.prev; } -function groupBy(value_9835351) { +function groupBy(value_11050351) { var F={procname:"dochack.groupBy",prev:framePtr,filename:"dochack.nim",line:0}; framePtr = F; F.line = 238; - var toc_9835352 = document.getElementById("toc-list"); - if ((alternative_9835319[0] == null)) { + var toc_11050352 = document.getElementById("toc-list"); + if ((alternative_11050319[0] == null)) { F.line = 240; - var tt_9835373 = {heading: null, kids: [], sortId: 0, doSort: false}; + var tt_11050373 = {heading: null, kids: [], sortId: 0, doSort: false}; F.line = 241; - to_toc_9810135(toc_9835352, tt_9835373); + to_toc_11025135(toc_11050352, tt_11050373); F.line = 242; - tt_9835373 = tt_9835373.kids[chckIndx(0, 0, (tt_9835373.kids != null ? tt_9835373.kids.length : 0)+0-1)-0]; + tt_11050373 = tt_11050373.kids[chckIndx(0, 0, (tt_11050373.kids != null ? tt_11050373.kids.length : 0)+0-1)-0]; F.line = 244; - var types_9835390 = [[]]; + var types_11050390 = [[]]; F.line = 245; - var procs_9835407 = [[]]; + var procs_11050407 = [[]]; F.line = 247; - extract_items_9765074(tt_9835373, "Types", types_9835390, 0); + extract_items_10980074(tt_11050373, "Types", types_11050390, 0); F.line = 248; - extract_items_9765074(tt_9835373, "Procs", procs_9835407, 0); + extract_items_10980074(tt_11050373, "Procs", procs_11050407, 0); F.line = 249; - extract_items_9765074(tt_9835373, "Converters", procs_9835407, 0); + extract_items_10980074(tt_11050373, "Converters", procs_11050407, 0); F.line = 250; - extract_items_9765074(tt_9835373, "Methods", procs_9835407, 0); + extract_items_10980074(tt_11050373, "Methods", procs_11050407, 0); F.line = 251; - extract_items_9765074(tt_9835373, "Templates", procs_9835407, 0); + extract_items_10980074(tt_11050373, "Templates", procs_11050407, 0); F.line = 252; - extract_items_9765074(tt_9835373, "Macros", procs_9835407, 0); + extract_items_10980074(tt_11050373, "Macros", procs_11050407, 0); F.line = 253; - extract_items_9765074(tt_9835373, "Iterators", procs_9835407, 0); + extract_items_10980074(tt_11050373, "Iterators", procs_11050407, 0); F.line = 255; - var ntoc_9835415 = build_toc_9825080(tt_9835373, types_9835390[0], procs_9835407[0]); + var ntoc_11050415 = build_toc_11040080(tt_11050373, types_11050390[0], procs_11050407[0]); F.line = 256; - var x_9835416 = to_html_9770071(ntoc_9835415, true); + var x_11050416 = to_html_10985071(ntoc_11050415, true); F.line = 257; - alternative_9835319[0] = tree_9756020(makeNimstrLit("DIV"), [x_9835416]); + alternative_11050319[0] = tree_10971020(makeNimstrLit("DIV"), [x_11050416]); } - if ((value_9835351 == "type")) { + if ((value_11050351 == "type")) { F.line = 259; - replace_by_id_9756172("tocRoot", alternative_9835319[0]); + replace_by_id_10971172("tocRoot", alternative_11050319[0]); } else { F.line = 261; - replace_by_id_9756172("tocRoot", tree_9756020(makeNimstrLit("DIV"), [])); + replace_by_id_10971172("tocRoot", tree_10971020(makeNimstrLit("DIV"), [])); } F.line = 262; - togglevis_9835333(document.getElementById("toc-list")); + togglevis_11050333(document.getElementById("toc-list")); framePtr = F.prev; } -var db_9835528 = [null]; -var contents_9835530 = [null]; -var oldtoc_9845403 = [null]; -var timer_9845404 = [null]; +var db_11050528 = [null]; +var contents_11050530 = [null]; +var oldtoc_11060403 = [null]; +var timer_11060404 = [null]; function raiseRangeError() { - raiseException({message: makeNimstrLit("value out of range"), parent: null, m_type: NTI6253, name: null, trace: null, up: null}, "RangeError"); + raiseException({message: makeNimstrLit("value out of range"), parent: null, m_type: NTI1169053, name: null, trace: null, up: null}, "RangeError"); } -function nsuToLowerAsciiChar(c_8730023) { - var result_8730024 = 0; +function nsuToLowerAsciiChar(c_9915023) { + var result_9915024 = 0; var F={procname:"strutils.toLowerAscii",prev:framePtr,filename:"strutils.nim",line:0}; framePtr = F; - if ((ConstSet2[c_8730023] != undefined)) { - F.line = 209; - result_8730024 = chckRange(addInt(c_8730023, 32), 0, 255); + if ((ConstSet2[c_9915023] != undefined)) { + F.line = 210; + result_9915024 = chckRange(addInt(c_9915023, 32), 0, 255); } else { - F.line = 211; - result_8730024 = c_8730023; + F.line = 212; + result_9915024 = c_9915023; } framePtr = F.prev; - return result_8730024; + return result_9915024; } -function fuzzy_match_9681054(pattern_9681056, str_9681057) { +function fuzzy_match_10891054(pattern_10891056, str_10891057) { var Tmp4; var Tmp5; var Tmp6; + var Tmp7; + var Tmp8; - var result_9681061 = {Field0: 0, Field1: false}; + var result_10891061 = {Field0: 0, Field1: false}; var F={procname:"fuzzysearch.fuzzyMatch",prev:framePtr,filename:"fuzzysearch.nim",line:0}; framePtr = F; F.line = 36; - var score_state_9681062 = -100; + var score_state_10891062 = -100; F.line = 37; - var header_matched_9681063 = false; + var header_matched_10891063 = false; F.line = 38; - var unmatched_leading_char_count_9681065 = 0; + var unmatched_leading_char_count_10891065 = 0; F.line = 39; - var consecutive_match_count_9681067 = 0; + var consecutive_match_count_10891067 = 0; F.line = 40; - var str_index_9681069 = 0; + var str_index_10891069 = 0; F.line = 41; - var pat_index_9681071 = 0; + var pat_index_10891071 = 0; F.line = 42; - var score_9681073 = 0; + var score_10891073 = 0; L1: do { F.line = 48; L2: while (true) { - if (!((str_index_9681069 < (str_9681057 != null ? str_9681057.length : 0)) && (pat_index_9681071 < (pattern_9681056 != null ? pattern_9681056.length : 0)))) break L2; + if (!((str_index_10891069 < (str_10891057 != null ? str_10891057.length : 0)) && (pat_index_10891071 < (pattern_10891056 != null ? pattern_10891056.length : 0)))) break L2; L3: do { F.line = 50; - var pattern_char_9681079 = nsuToLowerAsciiChar(pattern_9681056.charCodeAt(chckIndx(pat_index_9681071, 0, (pattern_9681056 != null ? pattern_9681056.length : 0)+0-1)-0)); + var pattern_char_10891079 = nsuToLowerAsciiChar(pattern_10891056.charCodeAt(chckIndx(pat_index_10891071, 0, (pattern_10891056 != null ? pattern_10891056.length : 0)+0-1)-0)); F.line = 51; - var str_char_9681080 = nsuToLowerAsciiChar(str_9681057.charCodeAt(chckIndx(str_index_9681069, 0, (str_9681057 != null ? str_9681057.length : 0)+0-1)-0)); - if ((ConstSet3[pattern_char_9681079] != undefined)) { + var str_char_10891080 = nsuToLowerAsciiChar(str_10891057.charCodeAt(chckIndx(str_index_10891069, 0, (str_10891057 != null ? str_10891057.length : 0)+0-1)-0)); + if ((ConstSet3[pattern_char_10891079] != undefined)) { F.line = 55; - pat_index_9681071 = addInt(pat_index_9681071, 1); + pat_index_10891071 = addInt(pat_index_10891071, 1); F.line = 56; break L3; } - if ((ConstSet4[str_char_9681080] != undefined)) { + if ((ConstSet4[str_char_10891080] != undefined)) { F.line = 58; - str_index_9681069 = addInt(str_index_9681069, 1); + str_index_10891069 = addInt(str_index_10891069, 1); F.line = 59; break L3; } - if ((!(header_matched_9681063) && (str_char_9681080 == 58))) { + if ((!(header_matched_10891063) && (str_char_10891080 == 58))) { F.line = 64; - header_matched_9681063 = true; + header_matched_10891063 = true; F.line = 65; - score_state_9681062 = -100; + score_state_10891062 = -100; F.line = 66; - score_9681073 = ((Math.floor((5.0000000000000000e-01 * score_9681073)))|0); + score_10891073 = ((Math.floor((5.0000000000000000e-01 * score_10891073)))|0); F.line = 67; - pat_index_9681071 = 0; + pat_index_10891071 = 0; F.line = 68; - str_index_9681069 = addInt(str_index_9681069, 1); + str_index_10891069 = addInt(str_index_10891069, 1); F.line = 69; break L3; } - if ((str_char_9681080 == pattern_char_9681079)) { + if ((str_char_10891080 == pattern_char_10891079)) { F.line = 72; - switch (score_state_9681062) { + switch (score_state_10891062) { case -100: case 20: F.line = 74; - score_state_9681062 = 10; + score_state_10891062 = 10; break; case 0: F.line = 77; - score_state_9681062 = 5; + score_state_10891062 = 5; F.line = 77; - score_9681073 = addInt(score_9681073, score_state_9681062); + score_10891073 = addInt(score_10891073, score_state_10891062); break; case 10: case 5: F.line = 80; - consecutive_match_count_9681067 = addInt(consecutive_match_count_9681067, 1); + consecutive_match_count_10891067 = addInt(consecutive_match_count_10891067, 1); F.line = 81; - score_state_9681062 = 5; + score_state_10891062 = 5; F.line = 82; - score_9681073 = addInt(score_9681073, mulInt(5, consecutive_match_count_9681067)); - if ((score_state_9681062 == 10)) { + score_10891073 = addInt(score_10891073, mulInt(5, consecutive_match_count_10891067)); + if ((score_state_10891062 == 10)) { F.line = 85; - score_9681073 = addInt(score_9681073, 10); + score_10891073 = addInt(score_10891073, 10); } F.line = 87; - var on_boundary_9695042 = (pat_index_9681071 == (pattern_9681056 != null ? (pattern_9681056.length-1) : -1)); - if ((!(on_boundary_9695042) && (str_index_9681069 < (str_9681057 != null ? (str_9681057.length-1) : -1)))) { + var on_boundary_10905042 = (pat_index_10891071 == (pattern_10891056 != null ? (pattern_10891056.length-1) : -1)); + if ((!(on_boundary_10905042) && (str_index_10891069 < (str_10891057 != null ? (str_10891057.length-1) : -1)))) { F.line = 90; - var next_pattern_char_9695043 = nsuToLowerAsciiChar(pattern_9681056.charCodeAt(chckIndx(addInt(pat_index_9681071, 1), 0, (pattern_9681056 != null ? pattern_9681056.length : 0)+0-1)-0)); + var next_pattern_char_10905043 = nsuToLowerAsciiChar(pattern_10891056.charCodeAt(chckIndx(addInt(pat_index_10891071, 1), 0, (pattern_10891056 != null ? pattern_10891056.length : 0)+0-1)-0)); F.line = 91; - var next_str_char_9695044 = nsuToLowerAsciiChar(str_9681057.charCodeAt(chckIndx(addInt(str_index_9681069, 1), 0, (str_9681057 != null ? str_9681057.length : 0)+0-1)-0)); + var next_str_char_10905044 = nsuToLowerAsciiChar(str_10891057.charCodeAt(chckIndx(addInt(str_index_10891069, 1), 0, (str_10891057 != null ? str_10891057.length : 0)+0-1)-0)); F.line = 94; - if (!!((ConstSet5[next_str_char_9695044] != undefined))) Tmp4 = false; else { Tmp4 = !((next_str_char_9695044 == next_pattern_char_9695043)); } on_boundary_9695042 = Tmp4; + if (!!((ConstSet5[next_str_char_10905044] != undefined))) Tmp4 = false; else { Tmp4 = !((next_str_char_10905044 == next_pattern_char_10905043)); } on_boundary_10905042 = Tmp4; } - if (on_boundary_9695042) { + if (on_boundary_10905042) { F.line = 99; - score_state_9681062 = 20; + score_state_10891062 = 20; F.line = 99; - score_9681073 = addInt(score_9681073, score_state_9681062); + score_10891073 = addInt(score_10891073, score_state_10891062); } break; case -1: case -3: F.line = 102; - if (!((ConstSet6[str_9681057.charCodeAt(chckIndx(subInt(str_index_9681069, 1), 0, (str_9681057 != null ? str_9681057.length : 0)+0-1)-0)] != undefined))) Tmp5 = true; else { if (!(ConstSet7[str_9681057.charCodeAt(chckIndx(subInt(str_index_9681069, 1), 0, (str_9681057 != null ? str_9681057.length : 0)+0-1)-0)] != undefined)) Tmp6 = false; else { Tmp6 = (ConstSet8[str_9681057.charCodeAt(chckIndx(str_index_9681069, 0, (str_9681057 != null ? str_9681057.length : 0)+0-1)-0)] != undefined); } Tmp5 = Tmp6; } var is_leading_char_9725008 = Tmp5; - if (is_leading_char_9725008) { + if (!((ConstSet6[str_10891057.charCodeAt(chckIndx(subInt(str_index_10891069, 1), 0, (str_10891057 != null ? str_10891057.length : 0)+0-1)-0)] != undefined))) Tmp5 = true; else { if (!(ConstSet7[str_10891057.charCodeAt(chckIndx(subInt(str_index_10891069, 1), 0, (str_10891057 != null ? str_10891057.length : 0)+0-1)-0)] != undefined)) Tmp6 = false; else { Tmp6 = (ConstSet8[str_10891057.charCodeAt(chckIndx(str_index_10891069, 0, (str_10891057 != null ? str_10891057.length : 0)+0-1)-0)] != undefined); } Tmp5 = Tmp6; } var is_leading_char_10935008 = Tmp5; + if (is_leading_char_10935008) { F.line = 109; - score_state_9681062 = 10; + score_state_10891062 = 10; } else { F.line = 113; - score_state_9681062 = 0; + score_state_10891062 = 0; F.line = 113; - score_9681073 = addInt(score_9681073, score_state_9681062); + score_10891073 = addInt(score_10891073, score_state_10891062); } break; } F.line = 114; - pat_index_9681071 = addInt(pat_index_9681071, 1); + pat_index_10891071 = addInt(pat_index_10891071, 1); } else { F.line = 117; - switch (score_state_9681062) { + switch (score_state_10891062) { case -100: F.line = 119; - score_state_9681062 = -3; + score_state_10891062 = -3; F.line = 119; - score_9681073 = addInt(score_9681073, score_state_9681062); + score_10891073 = addInt(score_10891073, score_state_10891062); break; case 5: F.line = 122; - score_state_9681062 = -1; + score_state_10891062 = -1; F.line = 122; - score_9681073 = addInt(score_9681073, score_state_9681062); + score_10891073 = addInt(score_10891073, score_state_10891062); F.line = 123; - consecutive_match_count_9681067 = 0; + consecutive_match_count_10891067 = 0; break; case -3: - if ((unmatched_leading_char_count_9681065 < 3)) { + if ((unmatched_leading_char_count_10891065 < 3)) { F.line = 127; - score_state_9681062 = -3; + score_state_10891062 = -3; F.line = 127; - score_9681073 = addInt(score_9681073, score_state_9681062); + score_10891073 = addInt(score_10891073, score_state_10891062); } F.line = 128; - unmatched_leading_char_count_9681065 = addInt(unmatched_leading_char_count_9681065, 1); + unmatched_leading_char_count_10891065 = addInt(unmatched_leading_char_count_10891065, 1); break; default: F.line = 131; - score_state_9681062 = -1; + score_state_10891062 = -1; F.line = 131; - score_9681073 = addInt(score_9681073, score_state_9681062); + score_10891073 = addInt(score_10891073, score_state_10891062); break; } } F.line = 133; - str_index_9681069 = addInt(str_index_9681069, 1); + str_index_10891069 = addInt(str_index_10891069, 1); } while(false); } } while(false); + if (!(pat_index_10891071 == (pattern_10891056 != null ? pattern_10891056.length : 0))) Tmp7 = false; else { if ((str_index_10891069 == (str_10891057 != null ? str_10891057.length : 0))) Tmp8 = true; else { Tmp8 = !((ConstSet9[str_10891057.charCodeAt(chckIndx(str_index_10891069, 0, (str_10891057 != null ? str_10891057.length : 0)+0-1)-0)] != undefined)); } Tmp7 = Tmp8; } if (Tmp7) { F.line = 136; - var colontmp__9855060 = nimMax(0, score_9681073); - F.line = 137; - var colontmp__9855061 = (0 < score_9681073); - F.line = 135; - nimCopy(result_9681061, {Field0: colontmp__9855060, Field1: colontmp__9855061}, NTI9681058); + score_10891073 = addInt(score_10891073, 10); + } + + F.line = 139; + var colontmp__11070060 = nimMax(0, score_10891073); + F.line = 140; + var colontmp__11070061 = (0 < score_10891073); + F.line = 138; + nimCopy(result_10891061, {Field0: colontmp__11070060, Field1: colontmp__11070061}, NTI10891058); framePtr = F.prev; - return result_9681061; + return result_10891061; } -function text_9756135(s_9756137) { - var result_9756138 = null; +function text_10971135(s_10971137) { + var result_10971138 = null; var F={procname:"dochack.text",prev:framePtr,filename:"dochack.nim",line:0}; framePtr = F; F.line = 26; - result_9756138 = document.createTextNode(toJSStr(s_9756137)); + result_10971138 = document.createTextNode(toJSStr(s_10971137)); framePtr = F.prev; - return result_9756138; + return result_10971138; } -function dosearch_9835547(value_9835549) { - function HEX3Aanonymous_9845273(a_9845282, b_9845283) { - var result_9845287 = 0; +function dosearch_11050547(value_11050549) { + function HEX3Aanonymous_11060273(a_11060282, b_11060283) { + var result_11060287 = 0; var F={procname:"dosearch.:anonymous",prev:framePtr,filename:"dochack.nim",line:0}; framePtr = F; F.line = 305; - result_9845287 = subInt(b_9845283["Field1"], a_9845282["Field1"]); + result_11060287 = subInt(b_11060283["Field1"], a_11060282["Field1"]); framePtr = F.prev; - return result_9845287; + return result_11060287; } - var result_9835550 = null; + var result_11050550 = null; var F={procname:"dochack.dosearch",prev:framePtr,filename:"dochack.nim",line:0}; framePtr = F; - if (((db_9835528[0] != null ? db_9835528[0].length : 0) == 0)) { + if (((db_11050528[0] != null ? db_11050528[0].length : 0) == 0)) { F.line = 272; - var stuff_9835556 = null; + var stuff_11050556 = null; F.line = 273; var request = new XMLHttpRequest(); request.open("GET", "theindex.html", false); @@ -1793,32 +1801,32 @@ function dosearch_9835547(value_9835549) { //parser=new DOMParser(); //doc=parser.parseFromString("<html></html>", "text/html"); - stuff_9835556 = doc.documentElement; + stuff_11050556 = doc.documentElement; F.line = 286; - db_9835528[0] = nimCopy(null, stuff_9835556.getElementsByClassName("reference"), NTI624105); + db_11050528[0] = nimCopy(null, stuff_11050556.getElementsByClassName("reference"), NTI1796105); F.line = 287; - contents_9835530[0] = nimCopy(null, [], NTI9835571); + contents_11050530[0] = nimCopy(null, [], NTI11050571); L1: do { F.line = 288; - var ahref_9845214 = null; + var ahref_11060214 = null; F.line = 184; - var i_9855040 = 0; + var i_11070040 = 0; F.line = 185; - var l_9855041 = (db_9835528[0] != null ? db_9835528[0].length : 0); + var l_11070041 = (db_11050528[0] != null ? db_11050528[0].length : 0); L2: do { F.line = 186; L3: while (true) { - if (!(i_9855040 < l_9855041)) break L3; + if (!(i_11070040 < l_11070041)) break L3; F.line = 288; - ahref_9845214 = db_9835528[0][chckIndx(i_9855040, 0, (db_9835528[0] != null ? db_9835528[0].length : 0)+0-1)-0]; + ahref_11060214 = db_11050528[0][chckIndx(i_11070040, 0, (db_11050528[0] != null ? db_11050528[0].length : 0)+0-1)-0]; F.line = 289; - if (contents_9835530[0] != null) { contents_9835530[0].push(ahref_9845214.getAttribute("data-doc-search-tag")); } else { contents_9835530[0] = [ahref_9845214.getAttribute("data-doc-search-tag")]; }; + if (contents_11050530[0] != null) { contents_11050530[0].push(ahref_11060214.getAttribute("data-doc-search-tag")); } else { contents_11050530[0] = [ahref_11060214.getAttribute("data-doc-search-tag")]; }; F.line = 188; - i_9855040 = addInt(i_9855040, 1); - if (!(((db_9835528[0] != null ? db_9835528[0].length : 0) == l_9855041))) { + i_11070040 = addInt(i_11070040, 1); + if (!(((db_11050528[0] != null ? db_11050528[0].length : 0) == l_11070041))) { F.line = 189; - failed_assert_impl_102680(makeNimstrLit("/home/genotrance/.choosenim/toolchains/nim-1.2.0/lib/system/iterators.nim(189, 11) `len(a) == L` the length of the seq changed while iterating over it")); + failed_assert_impl_1267680(makeNimstrLit("/home/genotrance/programming/nimdevel/lib/system/iterators.nim(189, 11) `len(a) == L` the length of the seq changed while iterating over it")); } } @@ -1827,118 +1835,118 @@ function dosearch_9835547(value_9835549) { } F.line = 290; - var ul_9845225 = tree_9756020(makeNimstrLit("UL"), []); + var ul_11060225 = tree_10971020(makeNimstrLit("UL"), []); F.line = 291; - result_9835550 = tree_9756020(makeNimstrLit("DIV"), []); + result_11050550 = tree_10971020(makeNimstrLit("DIV"), []); F.line = 292; - set_class_9756118(result_9835550, makeNimstrLit("search_results")); + set_class_10971118(result_11050550, makeNimstrLit("search_results")); F.line = 293; - var matches_9845246 = []; + var matches_11060246 = []; L4: do { F.line = 294; - var i_9845259 = 0; + var i_11060259 = 0; F.line = 104; - var colontmp__9855047 = 0; + var colontmp__11070047 = 0; F.line = 294; - colontmp__9855047 = (db_9835528[0] != null ? db_9835528[0].length : 0); + colontmp__11070047 = (db_11050528[0] != null ? db_11050528[0].length : 0); F.line = 106; - var i_9855048 = 0; + var i_11070048 = 0; L5: do { F.line = 107; L6: while (true) { - if (!(i_9855048 < colontmp__9855047)) break L6; + if (!(i_11070048 < colontmp__11070047)) break L6; F.line = 294; - i_9845259 = i_9855048; + i_11060259 = i_11070048; L7: do { F.line = 295; - var c_9845260 = contents_9835530[0][chckIndx(i_9845259, 0, (contents_9835530[0] != null ? contents_9835530[0].length : 0)+0-1)-0]; - if (((c_9845260 == "Examples") || (c_9845260 == "PEG construction"))) { + var c_11060260 = contents_11050530[0][chckIndx(i_11060259, 0, (contents_11050530[0] != null ? contents_11050530[0].length : 0)+0-1)-0]; + if (((c_11060260 == "Examples") || (c_11060260 == "PEG construction"))) { F.line = 300; break L7; } F.line = 301; - var colontmp__9855055 = fuzzy_match_9681054(value_9835549, c_9845260); + var colontmp__11070055 = fuzzy_match_10891054(value_11050549, c_11060260); F.line = 301; - var score_9845261 = colontmp__9855055["Field0"]; + var score_11060261 = colontmp__11070055["Field0"]; F.line = 301; - var matched_9845262 = colontmp__9855055["Field1"]; - if (matched_9845262) { + var matched_11060262 = colontmp__11070055["Field1"]; + if (matched_11060262) { F.line = 303; - if (matches_9845246 != null) { matches_9845246.push({Field0: db_9835528[0][chckIndx(i_9845259, 0, (db_9835528[0] != null ? db_9835528[0].length : 0)+0-1)-0], Field1: score_9845261}); } else { matches_9845246 = [{Field0: db_9835528[0][chckIndx(i_9845259, 0, (db_9835528[0] != null ? db_9835528[0].length : 0)+0-1)-0], Field1: score_9845261}]; }; + if (matches_11060246 != null) { matches_11060246.push({Field0: db_11050528[0][chckIndx(i_11060259, 0, (db_11050528[0] != null ? db_11050528[0].length : 0)+0-1)-0], Field1: score_11060261}); } else { matches_11060246 = [{Field0: db_11050528[0][chckIndx(i_11060259, 0, (db_11050528[0] != null ? db_11050528[0].length : 0)+0-1)-0], Field1: score_11060261}]; }; } } while(false); F.line = 109; - i_9855048 = addInt(i_9855048, 1); + i_11070048 = addInt(i_11070048, 1); } } while(false); } while(false); F.line = 305; - matches_9845246.sort(HEX3Aanonymous_9845273); + matches_11060246.sort(HEX3Aanonymous_11060273); L8: do { F.line = 306; - var i_9845326 = 0; + var i_11060326 = 0; F.line = 104; - var colontmp__9855052 = 0; + var colontmp__11070052 = 0; F.line = 306; - colontmp__9855052 = nimMin((matches_9845246 != null ? matches_9845246.length : 0), 19); + colontmp__11070052 = nimMin((matches_11060246 != null ? matches_11060246.length : 0), 29); F.line = 106; - var i_9855053 = 0; + var i_11070053 = 0; L9: do { F.line = 107; L10: while (true) { - if (!(i_9855053 < colontmp__9855052)) break L10; + if (!(i_11070053 < colontmp__11070052)) break L10; F.line = 306; - i_9845326 = i_9855053; + i_11060326 = i_11070053; F.line = 307; - matches_9845246[chckIndx(i_9845326, 0, (matches_9845246 != null ? matches_9845246.length : 0)+0-1)-0]["Field0"].innerHTML = matches_9845246[chckIndx(i_9845326, 0, (matches_9845246 != null ? matches_9845246.length : 0)+0-1)-0]["Field0"].getAttribute("data-doc-search-tag"); + matches_11060246[chckIndx(i_11060326, 0, (matches_11060246 != null ? matches_11060246.length : 0)+0-1)-0]["Field0"].innerHTML = matches_11060246[chckIndx(i_11060326, 0, (matches_11060246 != null ? matches_11060246.length : 0)+0-1)-0]["Field0"].getAttribute("data-doc-search-tag"); F.line = 308; - add_9756100(ul_9845225, tree_9756020(makeNimstrLit("LI"), [matches_9845246[chckIndx(i_9845326, 0, (matches_9845246 != null ? matches_9845246.length : 0)+0-1)-0]["Field0"]])); + add_10971100(ul_11060225, tree_10971020(makeNimstrLit("LI"), [matches_11060246[chckIndx(i_11060326, 0, (matches_11060246 != null ? matches_11060246.length : 0)+0-1)-0]["Field0"]])); F.line = 109; - i_9855053 = addInt(i_9855053, 1); + i_11070053 = addInt(i_11070053, 1); } } while(false); } while(false); - if ((ul_9845225.childNodes.length == 0)) { + if ((ul_11060225.childNodes.length == 0)) { F.line = 310; - add_9756100(result_9835550, tree_9756020(makeNimstrLit("B"), [text_9756135(makeNimstrLit("no search results"))])); + add_10971100(result_11050550, tree_10971020(makeNimstrLit("B"), [text_10971135(makeNimstrLit("no search results"))])); } else { F.line = 312; - add_9756100(result_9835550, tree_9756020(makeNimstrLit("B"), [text_9756135(makeNimstrLit("search results"))])); + add_10971100(result_11050550, tree_10971020(makeNimstrLit("B"), [text_10971135(makeNimstrLit("search results"))])); F.line = 313; - add_9756100(result_9835550, ul_9845225); + add_10971100(result_11050550, ul_11060225); } framePtr = F.prev; - return result_9835550; + return result_11050550; } function search() { - function wrapper_9845435() { + function wrapper_11060435() { var F={procname:"search.wrapper",prev:framePtr,filename:"dochack.nim",line:0}; framePtr = F; F.line = 320; - var elem_9845437 = document.getElementById("searchInput"); + var elem_11060437 = document.getElementById("searchInput"); F.line = 321; - var value_9845438 = elem_9845437.value; - if (!(((value_9845438 != null ? value_9845438.length : 0) == 0))) { - if ((oldtoc_9845403[0] == null)) { + var value_11060438 = elem_11060437.value; + if (!(((value_11060438 != null ? value_11060438.length : 0) == 0))) { + if ((oldtoc_11060403[0] == null)) { F.line = 324; - oldtoc_9845403[0] = document.getElementById("tocRoot"); + oldtoc_11060403[0] = document.getElementById("tocRoot"); } F.line = 325; - var results_9850006 = dosearch_9835547(value_9845438); + var results_11065006 = dosearch_11050547(value_11060438); F.line = 326; - replace_by_id_9756172("tocRoot", results_9850006); + replace_by_id_10971172("tocRoot", results_11065006); } else { - if (!((oldtoc_9845403[0] == null))) { + if (!((oldtoc_11060403[0] == null))) { F.line = 328; - replace_by_id_9756172("tocRoot", oldtoc_9845403[0]); + replace_by_id_10971172("tocRoot", oldtoc_11060403[0]); } } framePtr = F.prev; @@ -1948,13 +1956,13 @@ function search() { var F={procname:"dochack.search",prev:framePtr,filename:"dochack.nim",line:0}; framePtr = F; - if (!((timer_9845404[0] == null))) { + if (!((timer_11060404[0] == null))) { F.line = 330; - clearTimeout(timer_9845404[0]); + clearTimeout(timer_11060404[0]); } F.line = 331; - timer_9845404[0] = setTimeout(wrapper_9845435, 400); + timer_11060404[0] = setTimeout(wrapper_11060435, 400); framePtr = F.prev; @@ -142,7 +142,7 @@ function main() { <div class="twelve-columns footer"> <span class="nim-sprite"></span> <br/> - <small style="color: var(--hint);">Made with Nim. Generated: 2020-04-13 15:31:30 UTC</small> + <small style="color: var(--hint);">Made with Nim. Generated: 2020-04-23 18:28:03 UTC</small> </div> </div> </div> diff --git a/nimdoc.out.css b/nimdoc.out.css index 4ee73ea..72b6734 100644 --- a/nimdoc.out.css +++ b/nimdoc.out.css @@ -644,7 +644,7 @@ div.topic { margin: 2em; }
div.search_results {
- background-color: antiquewhite;
+ background-color: var(--third-background);
margin: 3em;
padding: 1em;
border: 1px solid #4d4d4d;
@@ -888,4 +888,4 @@ span.pragmawrap { span.attachedType {
display: none;
visibility: hidden;
-}
\ No newline at end of file +}
@@ -191,7 +191,7 @@ function main() { <div class="twelve-columns footer"> <span class="nim-sprite"></span> <br/> - <small style="color: var(--hint);">Made with Nim. Generated: 2020-04-13 15:31:32 UTC</small> + <small style="color: var(--hint);">Made with Nim. Generated: 2020-04-23 18:28:04 UTC</small> </div> </div> </div> diff --git a/plugin.html b/plugin.html index 544695d..3fb3de6 100644 --- a/plugin.html +++ b/plugin.html @@ -201,7 +201,7 @@ function main() { <div class="twelve-columns footer"> <span class="nim-sprite"></span> <br/> - <small style="color: var(--hint);">Made with Nim. Generated: 2020-04-13 15:31:32 UTC</small> + <small style="color: var(--hint);">Made with Nim. Generated: 2020-04-23 18:28:04 UTC</small> </div> </div> </div> diff --git a/theindex.html b/theindex.html index 8a3be3a..13dfb0d 100644 --- a/theindex.html +++ b/theindex.html @@ -119,8 +119,12 @@ function main() { </ul></dd> <dt><a name="cImport" href="#cImport"><span>cImport:</span></a></dt><dd><ul class="simple"> <li><a class="reference external" + data-doc-search-tag="cimport: cImport(filenames: static seq[string]; recurse: static bool = false; + dynlib: static string = ""; mode: static string = "c"; flags: static string = ""): untyped" href="cimport.html#cImport.m%2C%2Cstring%2Cstring%2Cstring">cimport: cImport(filenames: static seq[string]; recurse: static bool = false; + dynlib: static string = ""; mode: static string = "c"; flags: static string = ""): untyped</a></li> + <li><a class="reference external" data-doc-search-tag="cimport: cImport(filename: static string; recurse: static bool = false; - dynlib: static string = ""; mode: static string = "c"; flags: static string = ""): untyped" href="cimport.html#cImport.m%2C%2Cstring%2Cstring%2Cstring">cimport: cImport(filename: static string; recurse: static bool = false; + dynlib: static string = ""; mode: static string = "c"; flags: static string = ""): untyped" href="cimport.html#cImport.m%2C%2Cstring%2Cstring%2Cstring_2">cimport: cImport(filename: static string; recurse: static bool = false; dynlib: static string = ""; mode: static string = "c"; flags: static string = ""): untyped</a></li> </ul></dd> <dt><a name="cIncludeDir" href="#cIncludeDir"><span>cIncludeDir:</span></a></dt><dd><ul class="simple"> @@ -376,7 +380,7 @@ function main() { <div class="twelve-columns footer"> <span class="nim-sprite"></span> <br/> - <small style="color: var(--hint);">Made with Nim. Generated: 2020-04-13 15:31:35 UTC</small> + <small style="color: var(--hint);">Made with Nim. Generated: 2020-04-23 18:28:08 UTC</small> </div> </div> </div> @@ -198,7 +198,7 @@ function main() { <div class="twelve-columns footer"> <span class="nim-sprite"></span> <br/> - <small style="color: var(--hint);">Made with Nim. Generated: 2020-04-13 15:31:32 UTC</small> + <small style="color: var(--hint);">Made with Nim. Generated: 2020-04-23 18:28:04 UTC</small> </div> </div> </div> |
