diff --git a/CHANGELOG.md b/CHANGELOG.md index 3971173..ea1d6b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,15 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +# [0.3.0](https://github.com/ikatyang/tree-sitter-toml/compare/v0.2.0...v0.3.0) (2020-06-28) + + +### Features + +* upgrade to TOML spec v1.0.0-rc.1 ([#11](https://github.com/ikatyang/tree-sitter-toml/issues/11)) ([7df9880](https://github.com/ikatyang/tree-sitter-toml/commit/7df9880)) + + + ## [0.2.0](https://github.com/ikatyang/tree-sitter-toml/compare/v0.1.3...v0.2.0) (2019-08-31) diff --git a/docs/assets/tree-sitter-playground-0.15.9/LICENSE b/docs/assets/tree-sitter-playground-0.16.7/LICENSE similarity index 100% rename from docs/assets/tree-sitter-playground-0.15.9/LICENSE rename to docs/assets/tree-sitter-playground-0.16.7/LICENSE diff --git a/docs/assets/tree-sitter-playground-0.15.9/playground.js b/docs/assets/tree-sitter-playground-0.16.7/playground.js similarity index 98% rename from docs/assets/tree-sitter-playground-0.15.9/playground.js rename to docs/assets/tree-sitter-playground-0.16.7/playground.js index 5f33742..249c080 100644 --- a/docs/assets/tree-sitter-playground-0.15.9/playground.js +++ b/docs/assets/tree-sitter-playground-0.16.7/playground.js @@ -103,12 +103,13 @@ let tree; } async function handleCodeChange(editor, changes) { - const newText = codeEditor.getValue() + '\n'; + const newText = codeEditor.getValue(); + const edits = tree && changes && changes.map(treeEditForEditorChange); const start = performance.now(); - if (tree && changes) { - for (const change of changes) { - tree.edit(treeEditForEditorChange(change)); + if (edits) { + for (const edit of edits) { + tree.edit(edit); } } const newTree = parser.parse(newText, tree); diff --git a/docs/assets/tree-sitter-playground-0.15.9/style.css b/docs/assets/tree-sitter-playground-0.16.7/style.css similarity index 79% rename from docs/assets/tree-sitter-playground-0.15.9/style.css rename to docs/assets/tree-sitter-playground-0.16.7/style.css index 5b8e210..6e37df6 100644 --- a/docs/assets/tree-sitter-playground-0.15.9/style.css +++ b/docs/assets/tree-sitter-playground-0.16.7/style.css @@ -1 +1 @@ -/*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}.highlight table td{padding:5px}.highlight table pre{margin:0}.highlight .cm{color:#999988;font-style:italic}.highlight .cp{color:#999999;font-weight:bold}.highlight .c1{color:#999988;font-style:italic}.highlight .cs{color:#999999;font-weight:bold;font-style:italic}.highlight .c,.highlight .cd{color:#999988;font-style:italic}.highlight .err{color:#a61717;background-color:#e3d2d2}.highlight .gd{color:#000000;background-color:#ffdddd}.highlight .ge{color:#000000;font-style:italic}.highlight .gr{color:#aa0000}.highlight .gh{color:#999999}.highlight .gi{color:#000000;background-color:#ddffdd}.highlight .go{color:#888888}.highlight .gp{color:#555555}.highlight .gs{font-weight:bold}.highlight .gu{color:#aaaaaa}.highlight .gt{color:#aa0000}.highlight .kc{color:#000000;font-weight:bold}.highlight .kd{color:#000000;font-weight:bold}.highlight .kn{color:#000000;font-weight:bold}.highlight .kp{color:#000000;font-weight:bold}.highlight .kr{color:#000000;font-weight:bold}.highlight .kt{color:#445588;font-weight:bold}.highlight .k,.highlight .kv{color:#000000;font-weight:bold}.highlight .mf{color:#009999}.highlight .mh{color:#009999}.highlight .il{color:#009999}.highlight .mi{color:#009999}.highlight .mo{color:#009999}.highlight .m,.highlight .mb,.highlight .mx{color:#009999}.highlight .sb{color:#d14}.highlight .sc{color:#d14}.highlight .sd{color:#d14}.highlight .s2{color:#d14}.highlight .se{color:#d14}.highlight .sh{color:#d14}.highlight .si{color:#d14}.highlight .sx{color:#d14}.highlight .sr{color:#009926}.highlight .s1{color:#d14}.highlight .ss{color:#990073}.highlight .s{color:#d14}.highlight .na{color:#008080}.highlight .bp{color:#999999}.highlight .nb{color:#0086B3}.highlight .nc{color:#445588;font-weight:bold}.highlight .no{color:#008080}.highlight .nd{color:#3c5d5d;font-weight:bold}.highlight .ni{color:#800080}.highlight .ne{color:#990000;font-weight:bold}.highlight .nf{color:#990000;font-weight:bold}.highlight .nl{color:#990000;font-weight:bold}.highlight .nn{color:#555555}.highlight .nt{color:#000080}.highlight .vc{color:#008080}.highlight .vg{color:#008080}.highlight .vi{color:#008080}.highlight .nv{color:#008080}.highlight .ow{color:#000000;font-weight:bold}.highlight .o{color:#000000;font-weight:bold}.highlight .w{color:#bbbbbb}.highlight{background-color:#f8f8f8}*{box-sizing:border-box}body{padding:0;margin:0;font-family:"Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;font-size:16px;line-height:1.5;color:#606c71}a{color:#1e6bb8;text-decoration:none}a:hover{text-decoration:underline}.btn{display:inline-block;margin-bottom:1rem;color:rgba(255,255,255,0.7);background-color:rgba(255,255,255,0.08);border-color:rgba(255,255,255,0.2);border-style:solid;border-width:1px;border-radius:0.3rem;transition:color 0.2s, background-color 0.2s, border-color 0.2s}.btn:hover{color:rgba(255,255,255,0.8);text-decoration:none;background-color:rgba(255,255,255,0.2);border-color:rgba(255,255,255,0.3)}.btn+.btn{margin-left:1rem}@media screen and (min-width: 64em){.btn{padding:0.75rem 1rem}}@media screen and (min-width: 42em) and (max-width: 64em){.btn{padding:0.6rem 0.9rem;font-size:0.9rem}}@media screen and (max-width: 42em){.btn{display:block;width:100%;padding:0.75rem;font-size:0.9rem}.btn+.btn{margin-top:1rem;margin-left:0}}.page-header{color:#fff;text-align:center;background-color:#159957;background-image:linear-gradient(120deg, #155799, #159957)}@media screen and (min-width: 64em){.page-header{padding:5rem 6rem}}@media screen and (min-width: 42em) and (max-width: 64em){.page-header{padding:3rem 4rem}}@media screen and (max-width: 42em){.page-header{padding:2rem 1rem}}.project-name{margin-top:0;margin-bottom:0.1rem}@media screen and (min-width: 64em){.project-name{font-size:3.25rem}}@media screen and (min-width: 42em) and (max-width: 64em){.project-name{font-size:2.25rem}}@media screen and (max-width: 42em){.project-name{font-size:1.75rem}}.project-tagline{margin-bottom:2rem;font-weight:normal;opacity:0.7}@media screen and (min-width: 64em){.project-tagline{font-size:1.25rem}}@media screen and (min-width: 42em) and (max-width: 64em){.project-tagline{font-size:1.15rem}}@media screen and (max-width: 42em){.project-tagline{font-size:1rem}}.main-content{word-wrap:break-word}.main-content :first-child{margin-top:0}@media screen and (min-width: 64em){.main-content{max-width:64rem;padding:2rem 6rem;margin:0 auto;font-size:1.1rem}}@media screen and (min-width: 42em) and (max-width: 64em){.main-content{padding:2rem 4rem;font-size:1.1rem}}@media screen and (max-width: 42em){.main-content{padding:2rem 1rem;font-size:1rem}}.main-content img{max-width:100%}.main-content h1,.main-content h2,.main-content h3,.main-content h4,.main-content h5,.main-content h6{margin-top:2rem;margin-bottom:1rem;font-weight:normal;color:#159957}.main-content p{margin-bottom:1em}.main-content code{padding:2px 4px;font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace;font-size:0.9rem;color:#567482;background-color:#f3f6fa;border-radius:0.3rem}.main-content pre{padding:0.8rem;margin-top:0;margin-bottom:1rem;font:1rem Consolas, "Liberation Mono", Menlo, Courier, monospace;color:#567482;word-wrap:normal;background-color:#f3f6fa;border:solid 1px #dce6f0;border-radius:0.3rem}.main-content pre>code{padding:0;margin:0;font-size:0.9rem;color:#567482;word-break:normal;white-space:pre;background:transparent;border:0}.main-content .highlight{margin-bottom:1rem}.main-content .highlight pre{margin-bottom:0;word-break:normal}.main-content .highlight pre,.main-content pre{padding:0.8rem;overflow:auto;font-size:0.9rem;line-height:1.45;border-radius:0.3rem;-webkit-overflow-scrolling:touch}.main-content pre code,.main-content pre tt{display:inline;max-width:initial;padding:0;margin:0;overflow:initial;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.main-content pre code:before,.main-content pre code:after,.main-content pre tt:before,.main-content pre tt:after{content:normal}.main-content ul,.main-content ol{margin-top:0}.main-content blockquote{padding:0 1rem;margin-left:0;color:#819198;border-left:0.3rem solid #dce6f0}.main-content blockquote>:first-child{margin-top:0}.main-content blockquote>:last-child{margin-bottom:0}.main-content table{display:block;width:100%;overflow:auto;word-break:normal;word-break:keep-all;-webkit-overflow-scrolling:touch}.main-content table th{font-weight:bold}.main-content table th,.main-content table td{padding:0.5rem 1rem;border:1px solid #e9ebec}.main-content dl{padding:0}.main-content dl dt{padding:0;margin-top:1rem;font-size:1rem;font-weight:bold}.main-content dl dd{padding:0;margin-bottom:1rem}.main-content hr{height:2px;padding:0;margin:1rem 0;background-color:#eff0f1;border:0}.site-footer{padding-top:2rem;margin-top:2rem;border-top:solid 1px #eff0f1}@media screen and (min-width: 64em){.site-footer{font-size:1rem}}@media screen and (min-width: 42em) and (max-width: 64em){.site-footer{font-size:1rem}}@media screen and (max-width: 42em){.site-footer{font-size:0.9rem}}.site-footer-owner{display:block;font-weight:bold}.site-footer-credits{color:#819198}body{overflow:scroll}#container{position:relative;max-width:1024px;margin:0 auto}#main-content,#sidebar{padding:20px 0}#sidebar{position:fixed;background:white;top:0;bottom:0;width:0;overflow-y:auto;border-right:1px solid #ccc;z-index:1}#sidebar-toggle-link{font-size:24px;position:fixed;background-color:white;opacity:0.75;box-shadow:1px 1px 5px #aaa;left:0;padding:5px 10px;display:none;z-index:100;text-decoration:none !important;color:#aaa}#main-content{position:relative;padding:20px;padding-left:20px}.nav-link.active{text-decoration:underline}.table-of-contents-section{border-bottom:1px solid #ccc}.logo{display:block}.table-of-contents-section.active{background-color:#edffcb}.table-of-contents-section{padding:10px 20px}#table-of-contents ul{padding:0;margin:0}#table-of-contents li{display:block;padding:5px 20px}@media (max-width: 900px){#sidebar{left:0;transition:left 0.25s}#sidebar-toggle-link{display:block;transition:left 0.25s}#main-content{left:0;padding-left:20px;transition:left 0.25s}body.sidebar-hidden #sidebar{left:0}body.sidebar-hidden #main-content{left:0}body.sidebar-hidden #sidebar-toggle-link{left:0}}#playground-container .CodeMirror{height:auto;max-height:350px;border:1px solid #aaa}#playground-container .CodeMirror-scroll{height:auto;max-height:350px}#playground-container h4,#playground-container select,#playground-container .field,#playground-container label{display:inline-block;margin-right:20px}#playground-container #logging-checkbox{height:15px}#playground-container .CodeMirror div.CodeMirror-cursor{border-left:3px solid red}#output-container{padding:0 10px;margin:0}#output-container-scroll{padding:0;position:relative;margin-top:0;overflow:auto;max-height:350px;border:1px solid #aaa}a.highlighted{background-color:#ddd;text-decoration:underline}.query-error{text-decoration:underline red dashed} +/*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}.highlight table td{padding:5px}.highlight table pre{margin:0}.highlight .cm{color:#999988;font-style:italic}.highlight .cp{color:#999999;font-weight:bold}.highlight .c1{color:#999988;font-style:italic}.highlight .cs{color:#999999;font-weight:bold;font-style:italic}.highlight .c,.highlight .cd{color:#999988;font-style:italic}.highlight .err{color:#a61717;background-color:#e3d2d2}.highlight .gd{color:#000000;background-color:#ffdddd}.highlight .ge{color:#000000;font-style:italic}.highlight .gr{color:#aa0000}.highlight .gh{color:#999999}.highlight .gi{color:#000000;background-color:#ddffdd}.highlight .go{color:#888888}.highlight .gp{color:#555555}.highlight .gs{font-weight:bold}.highlight .gu{color:#aaaaaa}.highlight .gt{color:#aa0000}.highlight .kc{color:#000000;font-weight:bold}.highlight .kd{color:#000000;font-weight:bold}.highlight .kn{color:#000000;font-weight:bold}.highlight .kp{color:#000000;font-weight:bold}.highlight .kr{color:#000000;font-weight:bold}.highlight .kt{color:#445588;font-weight:bold}.highlight .k,.highlight .kv{color:#000000;font-weight:bold}.highlight .mf{color:#009999}.highlight .mh{color:#009999}.highlight .il{color:#009999}.highlight .mi{color:#009999}.highlight .mo{color:#009999}.highlight .m,.highlight .mb,.highlight .mx{color:#009999}.highlight .sb{color:#d14}.highlight .sc{color:#d14}.highlight .sd{color:#d14}.highlight .s2{color:#d14}.highlight .se{color:#d14}.highlight .sh{color:#d14}.highlight .si{color:#d14}.highlight .sx{color:#d14}.highlight .sr{color:#009926}.highlight .s1{color:#d14}.highlight .ss{color:#990073}.highlight .s{color:#d14}.highlight .na{color:#008080}.highlight .bp{color:#999999}.highlight .nb{color:#0086B3}.highlight .nc{color:#445588;font-weight:bold}.highlight .no{color:#008080}.highlight .nd{color:#3c5d5d;font-weight:bold}.highlight .ni{color:#800080}.highlight .ne{color:#990000;font-weight:bold}.highlight .nf{color:#990000;font-weight:bold}.highlight .nl{color:#990000;font-weight:bold}.highlight .nn{color:#555555}.highlight .nt{color:#000080}.highlight .vc{color:#008080}.highlight .vg{color:#008080}.highlight .vi{color:#008080}.highlight .nv{color:#008080}.highlight .ow{color:#000000;font-weight:bold}.highlight .o{color:#000000;font-weight:bold}.highlight .w{color:#bbbbbb}.highlight{background-color:#f8f8f8}*{box-sizing:border-box}body{padding:0;margin:0;font-family:"Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;font-size:16px;line-height:1.5;color:#606c71}a{color:#1e6bb8;text-decoration:none}a:hover{text-decoration:underline}.btn{display:inline-block;margin-bottom:1rem;color:rgba(255,255,255,0.7);background-color:rgba(255,255,255,0.08);border-color:rgba(255,255,255,0.2);border-style:solid;border-width:1px;border-radius:0.3rem;transition:color 0.2s, background-color 0.2s, border-color 0.2s}.btn:hover{color:rgba(255,255,255,0.8);text-decoration:none;background-color:rgba(255,255,255,0.2);border-color:rgba(255,255,255,0.3)}.btn+.btn{margin-left:1rem}@media screen and (min-width: 64em){.btn{padding:0.75rem 1rem}}@media screen and (min-width: 42em) and (max-width: 64em){.btn{padding:0.6rem 0.9rem;font-size:0.9rem}}@media screen and (max-width: 42em){.btn{display:block;width:100%;padding:0.75rem;font-size:0.9rem}.btn+.btn{margin-top:1rem;margin-left:0}}.page-header{color:#fff;text-align:center;background-color:#159957;background-image:linear-gradient(120deg, #155799, #159957)}@media screen and (min-width: 64em){.page-header{padding:5rem 6rem}}@media screen and (min-width: 42em) and (max-width: 64em){.page-header{padding:3rem 4rem}}@media screen and (max-width: 42em){.page-header{padding:2rem 1rem}}.project-name{margin-top:0;margin-bottom:0.1rem}@media screen and (min-width: 64em){.project-name{font-size:3.25rem}}@media screen and (min-width: 42em) and (max-width: 64em){.project-name{font-size:2.25rem}}@media screen and (max-width: 42em){.project-name{font-size:1.75rem}}.project-tagline{margin-bottom:2rem;font-weight:normal;opacity:0.7}@media screen and (min-width: 64em){.project-tagline{font-size:1.25rem}}@media screen and (min-width: 42em) and (max-width: 64em){.project-tagline{font-size:1.15rem}}@media screen and (max-width: 42em){.project-tagline{font-size:1rem}}.main-content{word-wrap:break-word}.main-content :first-child{margin-top:0}@media screen and (min-width: 64em){.main-content{max-width:64rem;padding:2rem 6rem;margin:0 auto;font-size:1.1rem}}@media screen and (min-width: 42em) and (max-width: 64em){.main-content{padding:2rem 4rem;font-size:1.1rem}}@media screen and (max-width: 42em){.main-content{padding:2rem 1rem;font-size:1rem}}.main-content img{max-width:100%}.main-content h1,.main-content h2,.main-content h3,.main-content h4,.main-content h5,.main-content h6{margin-top:2rem;margin-bottom:1rem;font-weight:normal;color:#159957}.main-content p{margin-bottom:1em}.main-content code{padding:2px 4px;font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace;font-size:0.9rem;color:#567482;background-color:#f3f6fa;border-radius:0.3rem}.main-content pre{padding:0.8rem;margin-top:0;margin-bottom:1rem;font:1rem Consolas, "Liberation Mono", Menlo, Courier, monospace;color:#567482;word-wrap:normal;background-color:#f3f6fa;border:solid 1px #dce6f0;border-radius:0.3rem}.main-content pre>code{padding:0;margin:0;font-size:0.9rem;color:#567482;word-break:normal;white-space:pre;background:transparent;border:0}.main-content .highlight{margin-bottom:1rem}.main-content .highlight pre{margin-bottom:0;word-break:normal}.main-content .highlight pre,.main-content pre{padding:0.8rem;overflow:auto;font-size:0.9rem;line-height:1.45;border-radius:0.3rem;-webkit-overflow-scrolling:touch}.main-content pre code,.main-content pre tt{display:inline;max-width:initial;padding:0;margin:0;overflow:initial;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.main-content pre code:before,.main-content pre code:after,.main-content pre tt:before,.main-content pre tt:after{content:normal}.main-content ul,.main-content ol{margin-top:0}.main-content blockquote{padding:0 1rem;margin-left:0;color:#819198;border-left:0.3rem solid #dce6f0}.main-content blockquote>:first-child{margin-top:0}.main-content blockquote>:last-child{margin-bottom:0}.main-content table{display:block;width:100%;overflow:auto;word-break:normal;word-break:keep-all;-webkit-overflow-scrolling:touch}.main-content table th{font-weight:bold}.main-content table th,.main-content table td{padding:0.5rem 1rem;border:1px solid #e9ebec}.main-content dl{padding:0}.main-content dl dt{padding:0;margin-top:1rem;font-size:1rem;font-weight:bold}.main-content dl dd{padding:0;margin-bottom:1rem}.main-content hr{height:2px;padding:0;margin:1rem 0;background-color:#eff0f1;border:0}.site-footer{padding-top:2rem;margin-top:2rem;border-top:solid 1px #eff0f1}@media screen and (min-width: 64em){.site-footer{font-size:1rem}}@media screen and (min-width: 42em) and (max-width: 64em){.site-footer{font-size:1rem}}@media screen and (max-width: 42em){.site-footer{font-size:0.9rem}}.site-footer-owner{display:block;font-weight:bold}.site-footer-credits{color:#819198}body{overflow:scroll}a[href^="http"]:after{content:"";display:inline-block;transform:translate(0px, 2px);width:.9em;height:.9em;margin-left:3px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23777'%3E%3Cpath d='M20 3h-5a1 1 0 1 0 0 2h3L8 14a1 1 0 1 0 2 2l9-10v3a1 1 0 1 0 2 0V4a1 1 0 0 0-1-1zM5 3L3 5v14l2 2h14l2-2v-6a1 1 0 1 0-2 0v6H5V5h6a1 1 0 1 0 0-2H5z'/%3E%3C/svg%3E");background-size:cover}#container{position:relative;max-width:1024px;margin:0 auto}#main-content,#sidebar{padding:20px 0}#sidebar{position:fixed;background:white;top:0;bottom:0;width:0;overflow-y:auto;border-right:1px solid #ccc;z-index:1}#sidebar .github-repo{display:inline-block;padding-left:3.75em;font-size:.85em}#sidebar-toggle-link{font-size:24px;position:fixed;background-color:white;opacity:0.75;box-shadow:1px 1px 5px #aaa;left:0;padding:5px 10px;display:none;z-index:100;text-decoration:none !important;color:#aaa}#main-content{position:relative;padding:20px;padding-left:20px}.nav-link.active{text-decoration:underline}a>span{text-decoration:inherit}.table-of-contents-section{border-bottom:1px solid #ccc}.logo{display:block}.table-of-contents-section.active{background-color:#edffcb}.table-of-contents-section{padding:10px 20px}#table-of-contents ul{padding:0;margin:0}#table-of-contents li{display:block;padding:5px 20px}@media (max-width: 900px){#sidebar{left:0;transition:left 0.25s}#sidebar-toggle-link{display:block;transition:left 0.25s}#main-content{left:0;padding-left:20px;transition:left 0.25s}body.sidebar-hidden #sidebar{left:0}body.sidebar-hidden #main-content{left:0}body.sidebar-hidden #sidebar-toggle-link{left:0}}#playground-container .CodeMirror{height:auto;max-height:350px;border:1px solid #aaa}#playground-container .CodeMirror-scroll{height:auto;max-height:350px}#playground-container h4,#playground-container select,#playground-container .field,#playground-container label{display:inline-block;margin-right:20px}#playground-container #logging-checkbox{height:15px}#playground-container .CodeMirror div.CodeMirror-cursor{border-left:3px solid red}#output-container{padding:0 10px;margin:0}#output-container-scroll{padding:0;position:relative;margin-top:0;overflow:auto;max-height:350px;border:1px solid #aaa}a.highlighted{background-color:#ddd;text-decoration:underline}.query-error{text-decoration:underline red dashed} diff --git a/docs/assets/tree-sitter-toml-0.2.0/tree-sitter-toml.wasm b/docs/assets/tree-sitter-toml-0.2.0/tree-sitter-toml.wasm deleted file mode 100644 index 848f5c3..0000000 Binary files a/docs/assets/tree-sitter-toml-0.2.0/tree-sitter-toml.wasm and /dev/null differ diff --git a/docs/assets/tree-sitter-toml-0.3.0/tree-sitter-toml.wasm b/docs/assets/tree-sitter-toml-0.3.0/tree-sitter-toml.wasm new file mode 100644 index 0000000..bff2c84 Binary files /dev/null and b/docs/assets/tree-sitter-toml-0.3.0/tree-sitter-toml.wasm differ diff --git a/docs/assets/web-tree-sitter-0.15.9/tree-sitter.js b/docs/assets/web-tree-sitter-0.15.9/tree-sitter.js deleted file mode 100644 index 8889216..0000000 --- a/docs/assets/web-tree-sitter-0.15.9/tree-sitter.js +++ /dev/null @@ -1 +0,0 @@ -var Module=void 0!==Module?Module:{};!function(e,t){"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?module.exports=t():window.TreeSitter=t()}(0,function(){var e,t={};for(e in Module)Module.hasOwnProperty(e)&&(t[e]=Module[e]);Module.arguments=[],Module.thisProgram="./this.program",Module.quit=function(e,t){throw t},Module.preRun=[],Module.postRun=[];var n,r=!1,o=!1,u=!1;r="object"==typeof window,o="function"==typeof importScripts,u="object"==typeof process&&"function"==typeof require&&!r&&!o,n=!r&&!u&&!o;var i,a,l="";u?(l=__dirname+"/",Module.read=function(e,t){var n;return i||(i=require("fs")),a||(a=require("path")),e=a.normalize(e),n=i.readFileSync(e),t?n:n.toString()},Module.readBinary=function(e){var t=Module.read(e,!0);return t.buffer||(t=new Uint8Array(t)),A(t.buffer),t},process.argv.length>1&&(Module.thisProgram=process.argv[1].replace(/\\/g,"/")),Module.arguments=process.argv.slice(2),"undefined"!=typeof module&&(module.exports=Module),process.on("uncaughtException",function(e){if(!(e instanceof lt))throw e}),process.on("unhandledRejection",_t),Module.quit=function(e){process.exit(e)},Module.inspect=function(){return"[Emscripten Module object]"}):n?("undefined"!=typeof read&&(Module.read=function(e){return read(e)}),Module.readBinary=function(e){var t;return"function"==typeof readbuffer?new Uint8Array(readbuffer(e)):(A("object"==typeof(t=read(e,"binary"))),t)},"undefined"!=typeof scriptArgs?Module.arguments=scriptArgs:void 0!==arguments&&(Module.arguments=arguments),"function"==typeof quit&&(Module.quit=function(e){quit(e)})):(r||o)&&(o?l=self.location.href:document.currentScript&&(l=document.currentScript.src),l=0!==l.indexOf("blob:")?l.substr(0,l.lastIndexOf("/")+1):"",Module.read=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},o&&(Module.readBinary=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),Module.readAsync=function(e,t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType="arraybuffer",r.onload=function(){200==r.status||0==r.status&&r.response?t(r.response):n()},r.onerror=n,r.send(null)},Module.setWindowTitle=function(e){document.title=e});var s=Module.print||("undefined"!=typeof console?console.log.bind(console):"undefined"!=typeof print?print:null),d=Module.printErr||("undefined"!=typeof printErr?printErr:"undefined"!=typeof console&&console.warn.bind(console)||s);for(e in t)t.hasOwnProperty(e)&&(Module[e]=t[e]);t=void 0;var _=16;function c(e){var t=B[$>>2],n=t+e+15&-16;if(n<=be())B[$>>2]=n;else if(!ve(n))return 0;return t}function f(e,t){return t||(t=_),Math.ceil(e/t)*t}function m(e){switch(e){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:if("*"===e[e.length-1])return 4;if("i"===e[0]){var t=parseInt(e.substr(1));return A(t%8==0,"getNativeTypeSize invalid bits "+t+", type "+e),t/8}return 0}}var p={"f64-rem":function(e,t){return e%t},debugger:function(){}},h={nextHandle:1,loadedLibs:{"-1":{refcount:1/0,name:"__self__",module:Module,global:!0}},loadedLibNames:{__self__:-1}};function y(e,t){t=t||{global:!0,nodelete:!0};var n,r=h.loadedLibNames[e];if(r)return n=h.loadedLibs[r],t.global&&!n.global&&(n.global=!0,"loading"!==n.module&&a(n.module)),t.nodelete&&n.refcount!==1/0&&(n.refcount=1/0),n.refcount++,t.loadAsync?Promise.resolve(r):r;function o(){if(t.fs){var n=t.fs.readFile(e,{encoding:"binary"});return n instanceof Uint8Array||(n=new Uint8Array(lib_data)),t.loadAsync?Promise.resolve(n):n}return t.loadAsync?(r=e,fetch(r,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw"failed to load binary file at '"+r+"'";return e.arrayBuffer()}).then(function(e){return new Uint8Array(e)})):Module.readBinary(e);var r}function u(e){return g(e,t)}function i(){if(void 0!==Module.preloadedWasm&&void 0!==Module.preloadedWasm[e]){var n=Module.preloadedWasm[e];return t.loadAsync?Promise.resolve(n):n}return t.loadAsync?o().then(function(e){return u(e)}):u(o())}function a(e){for(var t in e)if(e.hasOwnProperty(t)){var n=t;"_"===t[0]&&(Module.hasOwnProperty(n)||(Module[n]=e[t]))}}function l(e){n.global&&a(e),n.module=e}return r=h.nextHandle++,n={refcount:t.nodelete?1/0:1,name:e,module:"loading",global:t.global},h.loadedLibNames[e]=r,h.loadedLibs[r]=n,t.loadAsync?i().then(function(e){return l(e),r}):(l(i()),r)}function g(e,t){A(1836278016==new Uint32Array(new Uint8Array(e.subarray(0,24)).buffer)[0],"need to see wasm magic number"),A(0===e[8],"need the dylink section to be first");var n=9;function r(){for(var t=0,r=1;;){var o=e[n++];if(t+=(127&o)*r,r*=128,!(128&o))break}return t}r();A(6===e[n]),A(e[++n]==="d".charCodeAt(0)),A(e[++n]==="y".charCodeAt(0)),A(e[++n]==="l".charCodeAt(0)),A(e[++n]==="i".charCodeAt(0)),A(e[++n]==="n".charCodeAt(0)),A(e[++n]==="k".charCodeAt(0)),n++;for(var o=r(),u=r(),i=r(),a=r(),l=r(),s=[],d=0;d>0];case"i16":return W[e>>1];case"i32":case"i64":return B[e>>2];case"float":return U[e>>2];case"double":return Y[e>>3];default:_t("invalid type for getValue: "+t)}return null}v=f(v,16),"object"!=typeof WebAssembly&&d("no native wasm support detected");var S=!1;function A(e,t){e||_t("Assertion failed: "+t)}function C(e,t,n,r){switch("*"===(n=n||"i8").charAt(n.length-1)&&(n="i32"),n){case"i1":case"i8":q[e>>0]=t;break;case"i16":W[e>>1]=t;break;case"i32":B[e>>2]=t;break;case"i64":tempI64=[t>>>0,(tempDouble=t,+te(tempDouble)>=1?tempDouble>0?(0|oe(+re(tempDouble/4294967296),4294967295))>>>0:~~+ne((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],B[e>>2]=tempI64[0],B[e+4>>2]=tempI64[1];break;case"float":U[e>>2]=t;break;case"double":Y[e>>3]=t;break;default:_t("invalid type for setValue: "+n)}}var I=3;function F(e){return J?tt(e):c(e)}var N="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function D(e,t,n){for(var r=t+n,o=t;e[o]&&!(o>=r);)++o;if(o-t>16&&e.subarray&&N)return N.decode(e.subarray(t,o));for(var u="";t>10,56320|1023&s)}}else u+=String.fromCharCode((31&i)<<6|a)}else u+=String.fromCharCode(i)}return u}function x(e,t){return e?D(O,e,t):""}function T(e,t,n,r){if(!(r>0))return 0;for(var o=n,u=n+r-1,i=0;i=55296&&a<=57343)a=65536+((1023&a)<<10)|1023&e.charCodeAt(++i);if(a<=127){if(n>=u)break;t[n++]=a}else if(a<=2047){if(n+1>=u)break;t[n++]=192|a>>6,t[n++]=128|63&a}else if(a<=65535){if(n+2>=u)break;t[n++]=224|a>>12,t[n++]=128|a>>6&63,t[n++]=128|63&a}else{if(n+3>=u)break;t[n++]=240|a>>18,t[n++]=128|a>>12&63,t[n++]=128|a>>6&63,t[n++]=128|63&a}}return t[n]=0,n-o}function R(e,t,n){return T(e,O,t,n)}function P(e){for(var t=0,n=0;n=55296&&r<=57343&&(r=65536+((1023&r)<<10)|1023&e.charCodeAt(++n)),r<=127?++t:t+=r<=2047?2:r<=65535?3:4}return t}"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");function k(e){var t=P(e)+1,n=rt(t);return T(e,q,n,t),n}var L,q,O,W,B,U,Y;function Z(e,t){return e%t>0&&(e+=t-e%t),e}function j(){Module.HEAP8=q=new Int8Array(L),Module.HEAP16=W=new Int16Array(L),Module.HEAP32=B=new Int32Array(L),Module.HEAPU8=O=new Uint8Array(L),Module.HEAPU16=new Uint16Array(L),Module.HEAPU32=new Uint32Array(L),Module.HEAPF32=U=new Float32Array(L),Module.HEAPF64=Y=new Float64Array(L)}var $=27088,H=Module.TOTAL_MEMORY||33554432;function z(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var n=t.func;"number"==typeof n?void 0===t.arg?Module.dynCall_v(n):Module.dynCall_vi(n,t.arg):n(void 0===t.arg?null:t.arg)}else t()}}H<5242880&&d("TOTAL_MEMORY should be larger than TOTAL_STACK, was "+H+"! (TOTAL_STACK=5242880)"),Module.buffer?L=Module.buffer:"object"==typeof WebAssembly&&"function"==typeof WebAssembly.Memory?(M=new WebAssembly.Memory({initial:H/65536}),L=M.buffer):L=new ArrayBuffer(H),j(),B[$>>2]=527e4;var K=[],V=[],G=[],X=[],J=!1;function Q(){J||(J=!0,z(V))}function ee(e){K.unshift(e)}var te=Math.abs,ne=Math.ceil,re=Math.floor,oe=Math.min,ue=0,ie=null,ae=null;function le(e){ue++,Module.monitorRunDependencies&&Module.monitorRunDependencies(ue)}function se(e){if(ue--,Module.monitorRunDependencies&&Module.monitorRunDependencies(ue),0==ue&&(null!==ie&&(clearInterval(ie),ie=null),ae)){var t=ae;ae=null,t()}}Module.preloadedImages={},Module.preloadedAudios={},Module.preloadedWasm={},ee(function(){if(Module.dynamicLibraries&&Module.dynamicLibraries.length>0&&!Module.readBinary)return le(),void Promise.all(Module.dynamicLibraries.map(function(e){return y(e,{loadAsync:!0,global:!0,nodelete:!0})})).then(function(){se()});var e;(e=Module.dynamicLibraries)&&e.forEach(function(e){y(e,{global:!0,nodelete:!0})})});var de="data:application/octet-stream;base64,";function _e(e){return String.prototype.startsWith?e.startsWith(de):0===e.indexOf(de)}var ce,fe="tree-sitter.wasm";function me(){try{if(Module.wasmBinary)return new Uint8Array(Module.wasmBinary);if(Module.readBinary)return Module.readBinary(fe);throw"both async and sync fetching of the wasm failed"}catch(e){_t(e)}}function pe(e){var t={env:e,global:{NaN:NaN,Infinity:1/0},"global.Math":Math,asm2wasm:p};function n(e,t){var n=e.exports;Module.asm=n,se()}if(le(),Module.instantiateWasm)try{return Module.instantiateWasm(t,n)}catch(e){return d("Module.instantiateWasm callback failed with error: "+e),!1}function u(e){n(e.instance)}function i(e){(Module.wasmBinary||!r&&!o||"function"!=typeof fetch?new Promise(function(e,t){e(me())}):fetch(fe,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw"failed to load wasm binary file at '"+fe+"'";return e.arrayBuffer()}).catch(function(){return me()})).then(function(e){return WebAssembly.instantiate(e,t)}).then(e,function(e){d("failed to asynchronously prepare wasm: "+e),_t(e)})}return Module.wasmBinary||"function"!=typeof WebAssembly.instantiateStreaming||_e(fe)||"function"!=typeof fetch?i(u):WebAssembly.instantiateStreaming(fetch(fe,{credentials:"same-origin"}),t).then(u,function(e){d("wasm streaming compile failed: "+e),d("falling back to ArrayBuffer instantiation"),i(u)}),{}}_e(fe)||(ce=fe,fe=Module.locateFile?Module.locateFile(ce,l):l+ce),Module.asm=function(e,t,n){return t.memory=M,t.table=w=new WebAssembly.Table({initial:512,element:"anyfunc"}),t.__memory_base=1024,t.__table_base=0,pe(t)},V.push({func:function(){nt()}});function he(e){return Module.___errno_location&&(B[Module.___errno_location()>>2]=e),e}var ye={splitPath:function(e){return/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(e).slice(1)},normalizeArray:function(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n;n--)e.unshift("..");return e},normalize:function(e){var t="/"===e.charAt(0),n="/"===e.substr(-1);return(e=ye.normalizeArray(e.split("/").filter(function(e){return!!e}),!t).join("/"))||t||(e="."),e&&n&&(e+="/"),(t?"/":"")+e},dirname:function(e){var t=ye.splitPath(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},basename:function(e){if("/"===e)return"/";var t=e.lastIndexOf("/");return-1===t?e:e.substr(t+1)},extname:function(e){return ye.splitPath(e)[3]},join:function(){var e=Array.prototype.slice.call(arguments,0);return ye.normalize(e.join("/"))},join2:function(e,t){return ye.normalize(e+"/"+t)}},ge={DEFAULT_POLLMASK:5,mappings:{},umask:511,calculateAt:function(e,t){if("/"!==t[0]){var n;if(-100===e)n=FS.cwd();else{var r=FS.getStream(e);if(!r)throw new FS.ErrnoError(9);n=r.path}t=ye.join2(n,t)}return t},doStat:function(e,t,n){try{var r=e(t)}catch(e){if(e&&e.node&&ye.normalize(t)!==ye.normalize(FS.getPath(e.node)))return-20;throw e}return B[n>>2]=r.dev,B[n+4>>2]=0,B[n+8>>2]=r.ino,B[n+12>>2]=r.mode,B[n+16>>2]=r.nlink,B[n+20>>2]=r.uid,B[n+24>>2]=r.gid,B[n+28>>2]=r.rdev,B[n+32>>2]=0,tempI64=[r.size>>>0,(tempDouble=r.size,+te(tempDouble)>=1?tempDouble>0?(0|oe(+re(tempDouble/4294967296),4294967295))>>>0:~~+ne((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],B[n+40>>2]=tempI64[0],B[n+44>>2]=tempI64[1],B[n+48>>2]=4096,B[n+52>>2]=r.blocks,B[n+56>>2]=r.atime.getTime()/1e3|0,B[n+60>>2]=0,B[n+64>>2]=r.mtime.getTime()/1e3|0,B[n+68>>2]=0,B[n+72>>2]=r.ctime.getTime()/1e3|0,B[n+76>>2]=0,tempI64=[r.ino>>>0,(tempDouble=r.ino,+te(tempDouble)>=1?tempDouble>0?(0|oe(+re(tempDouble/4294967296),4294967295))>>>0:~~+ne((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],B[n+80>>2]=tempI64[0],B[n+84>>2]=tempI64[1],0},doMsync:function(e,t,n,r){var o=new Uint8Array(O.subarray(e,e+n));FS.msync(t,o,0,n,r)},doMkdir:function(e,t){return"/"===(e=ye.normalize(e))[e.length-1]&&(e=e.substr(0,e.length-1)),FS.mkdir(e,t,0),0},doMknod:function(e,t,n){switch(61440&t){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-22}return FS.mknod(e,t,n),0},doReadlink:function(e,t,n){if(n<=0)return-22;var r=FS.readlink(e),o=Math.min(n,P(r)),u=q[t+o];return R(r,t,n+1),q[t+o]=u,o},doAccess:function(e,t){if(-8&t)return-22;var n;n=FS.lookupPath(e,{follow:!0}).node;var r="";return 4&t&&(r+="r"),2&t&&(r+="w"),1&t&&(r+="x"),r&&FS.nodePermissions(n,r)?-13:0},doDup:function(e,t,n){var r=FS.getStream(n);return r&&FS.close(r),FS.open(e,t,0,n,n).fd},doReadv:function(e,t,n,r){for(var o=0,u=0;u>2],a=B[t+(8*u+4)>>2],l=FS.read(e,q,i,a,r);if(l<0)return-1;if(o+=l,l>2],a=B[t+(8*u+4)>>2],l=FS.write(e,q,i,a,r);if(l<0)return-1;o+=l}return o},varargs:0,get:function(e){return ge.varargs+=4,B[ge.varargs-4>>2]},getStr:function(){return x(ge.get())},getStreamFromFD:function(){var e=FS.getStream(ge.get());if(!e)throw new FS.ErrnoError(9);return e},get64:function(){var e=ge.get();ge.get();return e},getZero:function(){ge.get()}};function Me(){Module.abort()}function we(){_t()}function be(){return q.length}function ve(e){var t=be();if(e>2147418112)return!1;for(var n=Math.max(t,16777216);n0;){var r=Ae(n.getFullYear()),o=n.getMonth(),u=(r?Ie:Fe)[o];if(!(t>u-n.getDate()))return n.setDate(n.getDate()+t),n;t-=u-n.getDate()+1,n.setDate(1),o<11?n.setMonth(o+1):(n.setMonth(0),n.setFullYear(n.getFullYear()+1))}return n}function De(e,t,n,r){var o=B[r+40>>2],u={tm_sec:B[r>>2],tm_min:B[r+4>>2],tm_hour:B[r+8>>2],tm_mday:B[r+12>>2],tm_mon:B[r+16>>2],tm_year:B[r+20>>2],tm_wday:B[r+24>>2],tm_yday:B[r+28>>2],tm_isdst:B[r+32>>2],tm_gmtoff:B[r+36>>2],tm_zone:o?x(o):""},i=x(n),a={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S"};for(var l in a)i=i.replace(new RegExp(l,"g"),a[l]);var s=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],d=["January","February","March","April","May","June","July","August","September","October","November","December"];function _(e,t,n){for(var r="number"==typeof e?e.toString():e||"";r.length0?1:0}var r;return 0===(r=n(e.getFullYear()-t.getFullYear()))&&0===(r=n(e.getMonth()-t.getMonth()))&&(r=n(e.getDate()-t.getDate())),r}function m(e){switch(e.getDay()){case 0:return new Date(e.getFullYear()-1,11,29);case 1:return e;case 2:return new Date(e.getFullYear(),0,3);case 3:return new Date(e.getFullYear(),0,2);case 4:return new Date(e.getFullYear(),0,1);case 5:return new Date(e.getFullYear()-1,11,31);case 6:return new Date(e.getFullYear()-1,11,30)}}function p(e){var t=Ne(new Date(e.tm_year+1900,0,1),e.tm_yday),n=new Date(t.getFullYear(),0,4),r=new Date(t.getFullYear()+1,0,4),o=m(n),u=m(r);return f(o,t)<=0?f(u,t)<=0?t.getFullYear()+1:t.getFullYear():t.getFullYear()-1}var h={"%a":function(e){return s[e.tm_wday].substring(0,3)},"%A":function(e){return s[e.tm_wday]},"%b":function(e){return d[e.tm_mon].substring(0,3)},"%B":function(e){return d[e.tm_mon]},"%C":function(e){return c((e.tm_year+1900)/100|0,2)},"%d":function(e){return c(e.tm_mday,2)},"%e":function(e){return _(e.tm_mday,2," ")},"%g":function(e){return p(e).toString().substring(2)},"%G":function(e){return p(e)},"%H":function(e){return c(e.tm_hour,2)},"%I":function(e){var t=e.tm_hour;return 0==t?t=12:t>12&&(t-=12),c(t,2)},"%j":function(e){return c(e.tm_mday+Ce(Ae(e.tm_year+1900)?Ie:Fe,e.tm_mon-1),3)},"%m":function(e){return c(e.tm_mon+1,2)},"%M":function(e){return c(e.tm_min,2)},"%n":function(){return"\n"},"%p":function(e){return e.tm_hour>=0&&e.tm_hour<12?"AM":"PM"},"%S":function(e){return c(e.tm_sec,2)},"%t":function(){return"\t"},"%u":function(e){return new Date(e.tm_year+1900,e.tm_mon+1,e.tm_mday,0,0,0,0).getDay()||7},"%U":function(e){var t=new Date(e.tm_year+1900,0,1),n=0===t.getDay()?t:Ne(t,7-t.getDay()),r=new Date(e.tm_year+1900,e.tm_mon,e.tm_mday);if(f(n,r)<0){var o=Ce(Ae(r.getFullYear())?Ie:Fe,r.getMonth()-1)-31,u=31-n.getDate()+o+r.getDate();return c(Math.ceil(u/7),2)}return 0===f(n,t)?"01":"00"},"%V":function(e){var t,n=new Date(e.tm_year+1900,0,4),r=new Date(e.tm_year+1901,0,4),o=m(n),u=m(r),i=Ne(new Date(e.tm_year+1900,0,1),e.tm_yday);return f(i,o)<0?"53":f(u,i)<=0?"01":(t=o.getFullYear()=0;return t=(t=Math.abs(t)/60)/60*100+t%60,(n?"+":"-")+String("0000"+t).slice(-4)},"%Z":function(e){return e.tm_zone},"%%":function(){return"%"}};for(var l in h)i.indexOf(l)>=0&&(i=i.replace(new RegExp(l,"g"),h[l](u)));var y,g,M=function(e,t,n){var r=n>0?n:P(e)+1,o=new Array(r),u=T(e,o,0,o.length);t&&(o.length=u);return o}(i,!1);return M.length>t?0:(y=M,g=e,q.set(y,g),M.length-1)}we=u?function(){var e=process.hrtime();return 1e3*e[0]+e[1]/1e6}:"undefined"!=typeof dateNow?dateNow:"object"==typeof performance&&performance&&"function"==typeof performance.now?function(){return performance.now()}:Date.now;var xe=v;function Te(e){return e|=0,mftCall_X(e)}function Re(e){return e|=0,0|mftCall_i(e)}function Pe(e,t){return e|=0,t|=0,0|mftCall_ii(e,0|t)}function ke(e,t,n,r,o,u,i){return e|=0,t|=0,n=+n,r|=0,o|=0,u|=0,i|=0,0|mftCall_iidiiii(e,0|t,+n,0|r,0|o,0|u,0|i)}function Le(e,t,n){return e|=0,t|=0,n|=0,0|mftCall_iii(e,0|t,0|n)}function qe(e,t,n,r){return e|=0,t|=0,n|=0,r|=0,0|mftCall_iiii(e,0|t,0|n,0|r)}function Oe(e,t,n,r,o){return e|=0,t|=0,n|=0,r|=0,o|=0,0|mftCall_iiiii(e,0|t,0|n,0|r,0|o)}function We(e,t,n,r,o,u){return e|=0,t|=0,n|=0,r|=0,o|=0,u=+u,0|mftCall_iiiiid(e,0|t,0|n,0|r,0|o,+u)}function Be(e,t,n,r,o,u){return e|=0,t|=0,n|=0,r|=0,o|=0,u|=0,0|mftCall_iiiiii(e,0|t,0|n,0|r,0|o,0|u)}function Ue(e,t,n,r,o,u,i){return e|=0,t|=0,n|=0,r|=0,o|=0,u|=0,i=+i,0|mftCall_iiiiiid(e,0|t,0|n,0|r,0|o,0|u,+i)}function Ye(e,t,n,r,o,u,i){return e|=0,t|=0,n|=0,r|=0,o|=0,u|=0,i|=0,0|mftCall_iiiiiii(e,0|t,0|n,0|r,0|o,0|u,0|i)}function Ze(e,t,n,r,o,u,i,a){return e|=0,t|=0,n|=0,r|=0,o|=0,u|=0,i|=0,a|=0,0|mftCall_iiiiiiii(e,0|t,0|n,0|r,0|o,0|u,0|i,0|a)}function je(e,t,n,r,o,u,i,a,l){return e|=0,t|=0,n|=0,r|=0,o|=0,u|=0,i|=0,a|=0,l|=0,0|mftCall_iiiiiiiii(e,0|t,0|n,0|r,0|o,0|u,0|i,0|a,0|l)}function $e(e){e|=0,mftCall_v(e)}function He(e,t){e|=0,t|=0,mftCall_vi(e,0|t)}function ze(e,t,n){e|=0,t|=0,n|=0,mftCall_vii(e,0|t,0|n)}function Ke(e,t,n,r){e|=0,t|=0,n|=0,r|=0,mftCall_viii(e,0|t,0|n,0|r)}function Ve(e,t,n,r,o){e|=0,t|=0,n|=0,r|=0,o|=0,mftCall_viiii(e,0|t,0|n,0|r,0|o)}function Ge(e,t,n,r,o,u){e|=0,t|=0,n|=0,r|=0,o|=0,u|=0,mftCall_viiiii(e,0|t,0|n,0|r,0|o,0|u)}function Xe(e,t,n,r,o,u,i){e|=0,t|=0,n|=0,r|=0,o|=0,u|=0,i|=0,mftCall_viiiiii(e,0|t,0|n,0|r,0|o,0|u,0|i)}var Je={H:_t,i:function(e){b=e},g:function(){return b},u:function(){throw S=!0,"Pure virtual function called!"},p:function(){},t:function(e,t){return he(1),-1},o:he,s:function(e,t){ge.varargs=t;try{var n=ge.getStreamFromFD(),r=ge.get(),o=ge.get(),u=ge.get(),i=ge.get();if(!(-1==r&&o<0||0==r&&o>=0))return-75;var a=o;return FS.llseek(n,a,i),tempI64=[n.position>>>0,(tempDouble=n.position,+te(tempDouble)>=1?tempDouble>0?(0|oe(+re(tempDouble/4294967296),4294967295))>>>0:~~+ne((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],B[u>>2]=tempI64[0],B[u+4>>2]=tempI64[1],n.getdents&&0===a&&0===i&&(n.getdents=null),0}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||_t(e),-e.errno}},r:function(e,t){ge.varargs=t;try{var n=ge.getStreamFromFD(),r=ge.get(),o=ge.get();return ge.doReadv(n,r,o)}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||_t(e),-e.errno}},n:function(e,t){ge.varargs=t;try{var n=ge.getStreamFromFD(),r=ge.get(),o=ge.get();return ge.doWritev(n,r,o)}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||_t(e),-e.errno}},G:function(e,t){ge.varargs=t;try{var n=ge.getStreamFromFD(),r=ge.get();switch(r){case 21509:case 21505:return n.tty?0:-25;case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:return n.tty?0:-25;case 21519:if(!n.tty)return-25;var o=ge.get();return B[o>>2]=0,0;case 21520:return n.tty?-22:-25;case 21531:return o=ge.get(),FS.ioctl(n,r,o);case 21523:case 21524:return n.tty?0:-25;default:_t("bad ioctl syscall "+r)}}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||_t(e),-e.errno}},F:function(e,t){ge.varargs=t;try{var n=ge.getStreamFromFD();return FS.close(n),0}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||_t(e),-e.errno}},E:function(e,t){ge.varargs=t;try{var n=ge.get(),r=ge.get(),o=ge.mappings[n];if(!o)return 0;if(r===o.len){var u=FS.getStream(o.fd);ge.doMsync(n,u,r,o.flags),FS.munmap(u),ge.mappings[n]=null,o.allocated&&et(o.malloc)}return 0}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||_t(e),-e.errno}},m:function(){},h:Me,q:function(e,t){var n;if(0===e)n=Date.now();else{if(1!==e||!(u||"undefined"!=typeof dateNow||"object"==typeof performance&&performance&&"function"==typeof performance.now))return he(22),-1;n=we()}return B[t>>2]=n/1e3|0,B[t+4>>2]=n%1e3*1e3*1e3|0,0},D:be,C:function(e,t,n){O.set(O.subarray(t,t+n),e)},B:ve,f:function(e){dt(e)},l:function e(t){return 0===t?0:(t=x(t),Ee.hasOwnProperty(t)?(e.ret&&et(e.ret),e.ret=(n=Ee[t],r=P(n)+1,(o=tt(r))&&T(n,q,o,r),o),e.ret):0);var n,r,o},k:function(e){var t=Se,n=t.LLVM_SAVEDSTACKS[e];t.LLVM_SAVEDSTACKS.splice(e,1),ot(n)},j:Se,A:function(){_t("trap!")},z:function(){return 0},y:function(e,t,n,r){return De(e,t,n,r)},x:function(e,t,n){if(It){const e=x(n);It(e,0!==t)}},w:function(e,t,n,r,o){var u=Ct(t,{row:n,column:r});"string"==typeof u?(C(o,u.length,"i32"),function(e,t,n){if(void 0===n&&(n=2147483647),n<2)return 0;for(var r=(n-=2)<2*e.length?n/2:e.length,o=0;o>1]=u,t+=2}W[t>>1]=0}(u,e,10240)):C(o,0,"i32")},v:function(e){_t("OOM")},a:27104,b:$,c:xe,d:0,e:27120},Qe=Module.asm({},Je,L);Module.asm=Qe;Module.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=function(){return Module.asm.I.apply(null,arguments)},Module.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=function(){return Module.asm.J.apply(null,arguments)},Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=function(){return Module.asm.K.apply(null,arguments)},Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=function(){return Module.asm.L.apply(null,arguments)},Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=function(){return Module.asm.M.apply(null,arguments)},Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=function(){return Module.asm.N.apply(null,arguments)},Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_=function(){return Module.asm.O.apply(null,arguments)},Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=function(){return Module.asm.P.apply(null,arguments)},Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=function(){return Module.asm.Q.apply(null,arguments)},Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=function(){return Module.asm.R.apply(null,arguments)},Module.__ZdlPv=function(){return Module.asm.S.apply(null,arguments)},Module.__Znwm=function(){return Module.asm.T.apply(null,arguments)},Module._calloc=function(){return Module.asm.U.apply(null,arguments)};var et=Module._free=function(){return Module.asm.V.apply(null,arguments)},tt=(Module._iswalnum=function(){return Module.asm.W.apply(null,arguments)},Module._iswalpha=function(){return Module.asm.X.apply(null,arguments)},Module._iswdigit=function(){return Module.asm.Y.apply(null,arguments)},Module._iswlower=function(){return Module.asm.Z.apply(null,arguments)},Module._iswspace=function(){return Module.asm._.apply(null,arguments)},Module._malloc=function(){return Module.asm.$.apply(null,arguments)}),nt=(Module._memchr=function(){return Module.asm.aa.apply(null,arguments)},Module._memcmp=function(){return Module.asm.ba.apply(null,arguments)},Module._memcpy=function(){return Module.asm.ca.apply(null,arguments)},Module._strlen=function(){return Module.asm.da.apply(null,arguments)},Module._towupper=function(){return Module.asm.ea.apply(null,arguments)},Module._ts_init=function(){return Module.asm.fa.apply(null,arguments)},Module._ts_language_field_count=function(){return Module.asm.ga.apply(null,arguments)},Module._ts_language_field_name_for_id=function(){return Module.asm.ha.apply(null,arguments)},Module._ts_language_symbol_count=function(){return Module.asm.ia.apply(null,arguments)},Module._ts_language_symbol_name=function(){return Module.asm.ja.apply(null,arguments)},Module._ts_language_symbol_type=function(){return Module.asm.ka.apply(null,arguments)},Module._ts_language_version=function(){return Module.asm.la.apply(null,arguments)},Module._ts_node_child_by_field_id_wasm=function(){return Module.asm.ma.apply(null,arguments)},Module._ts_node_child_count_wasm=function(){return Module.asm.na.apply(null,arguments)},Module._ts_node_child_wasm=function(){return Module.asm.oa.apply(null,arguments)},Module._ts_node_children_wasm=function(){return Module.asm.pa.apply(null,arguments)},Module._ts_node_descendant_for_index_wasm=function(){return Module.asm.qa.apply(null,arguments)},Module._ts_node_descendant_for_position_wasm=function(){return Module.asm.ra.apply(null,arguments)},Module._ts_node_descendants_of_type_wasm=function(){return Module.asm.sa.apply(null,arguments)},Module._ts_node_end_index_wasm=function(){return Module.asm.ta.apply(null,arguments)},Module._ts_node_end_point_wasm=function(){return Module.asm.ua.apply(null,arguments)},Module._ts_node_has_changes_wasm=function(){return Module.asm.va.apply(null,arguments)},Module._ts_node_has_error_wasm=function(){return Module.asm.wa.apply(null,arguments)},Module._ts_node_is_missing_wasm=function(){return Module.asm.xa.apply(null,arguments)},Module._ts_node_is_named_wasm=function(){return Module.asm.ya.apply(null,arguments)},Module._ts_node_named_child_count_wasm=function(){return Module.asm.za.apply(null,arguments)},Module._ts_node_named_child_wasm=function(){return Module.asm.Aa.apply(null,arguments)},Module._ts_node_named_children_wasm=function(){return Module.asm.Ba.apply(null,arguments)},Module._ts_node_named_descendant_for_index_wasm=function(){return Module.asm.Ca.apply(null,arguments)},Module._ts_node_named_descendant_for_position_wasm=function(){return Module.asm.Da.apply(null,arguments)},Module._ts_node_next_named_sibling_wasm=function(){return Module.asm.Ea.apply(null,arguments)},Module._ts_node_next_sibling_wasm=function(){return Module.asm.Fa.apply(null,arguments)},Module._ts_node_parent_wasm=function(){return Module.asm.Ga.apply(null,arguments)},Module._ts_node_prev_named_sibling_wasm=function(){return Module.asm.Ha.apply(null,arguments)},Module._ts_node_prev_sibling_wasm=function(){return Module.asm.Ia.apply(null,arguments)},Module._ts_node_start_index_wasm=function(){return Module.asm.Ja.apply(null,arguments)},Module._ts_node_start_point_wasm=function(){return Module.asm.Ka.apply(null,arguments)},Module._ts_node_symbol_wasm=function(){return Module.asm.La.apply(null,arguments)},Module._ts_node_to_string_wasm=function(){return Module.asm.Ma.apply(null,arguments)},Module._ts_parser_delete=function(){return Module.asm.Na.apply(null,arguments)},Module._ts_parser_enable_logger_wasm=function(){return Module.asm.Oa.apply(null,arguments)},Module._ts_parser_new_wasm=function(){return Module.asm.Pa.apply(null,arguments)},Module._ts_parser_parse_wasm=function(){return Module.asm.Qa.apply(null,arguments)},Module._ts_parser_set_language=function(){return Module.asm.Ra.apply(null,arguments)},Module._ts_query_capture_count=function(){return Module.asm.Sa.apply(null,arguments)},Module._ts_query_capture_name_for_id=function(){return Module.asm.Ta.apply(null,arguments)},Module._ts_query_captures_wasm=function(){return Module.asm.Ua.apply(null,arguments)},Module._ts_query_delete=function(){return Module.asm.Va.apply(null,arguments)},Module._ts_query_matches_wasm=function(){return Module.asm.Wa.apply(null,arguments)},Module._ts_query_new=function(){return Module.asm.Xa.apply(null,arguments)},Module._ts_query_pattern_count=function(){return Module.asm.Ya.apply(null,arguments)},Module._ts_query_predicates_for_pattern=function(){return Module.asm.Za.apply(null,arguments)},Module._ts_query_string_count=function(){return Module.asm._a.apply(null,arguments)},Module._ts_query_string_value_for_id=function(){return Module.asm.$a.apply(null,arguments)},Module._ts_tree_cursor_current_field_id_wasm=function(){return Module.asm.ab.apply(null,arguments)},Module._ts_tree_cursor_current_node_id_wasm=function(){return Module.asm.bb.apply(null,arguments)},Module._ts_tree_cursor_current_node_is_missing_wasm=function(){return Module.asm.cb.apply(null,arguments)},Module._ts_tree_cursor_current_node_is_named_wasm=function(){return Module.asm.db.apply(null,arguments)},Module._ts_tree_cursor_current_node_type_id_wasm=function(){return Module.asm.eb.apply(null,arguments)},Module._ts_tree_cursor_current_node_wasm=function(){return Module.asm.fb.apply(null,arguments)},Module._ts_tree_cursor_delete_wasm=function(){return Module.asm.gb.apply(null,arguments)},Module._ts_tree_cursor_end_index_wasm=function(){return Module.asm.hb.apply(null,arguments)},Module._ts_tree_cursor_end_position_wasm=function(){return Module.asm.ib.apply(null,arguments)},Module._ts_tree_cursor_goto_first_child_wasm=function(){return Module.asm.jb.apply(null,arguments)},Module._ts_tree_cursor_goto_next_sibling_wasm=function(){return Module.asm.kb.apply(null,arguments)},Module._ts_tree_cursor_goto_parent_wasm=function(){return Module.asm.lb.apply(null,arguments)},Module._ts_tree_cursor_new_wasm=function(){return Module.asm.mb.apply(null,arguments)},Module._ts_tree_cursor_reset_wasm=function(){return Module.asm.nb.apply(null,arguments)},Module._ts_tree_cursor_start_index_wasm=function(){return Module.asm.ob.apply(null,arguments)},Module._ts_tree_cursor_start_position_wasm=function(){return Module.asm.pb.apply(null,arguments)},Module._ts_tree_delete=function(){return Module.asm.qb.apply(null,arguments)},Module._ts_tree_edit_wasm=function(){return Module.asm.rb.apply(null,arguments)},Module._ts_tree_get_changed_ranges_wasm=function(){return Module.asm.sb.apply(null,arguments)},Module._ts_tree_root_node_wasm=function(){return Module.asm.tb.apply(null,arguments)},Module.globalCtors=function(){return Module.asm.Ob.apply(null,arguments)}),rt=Module.stackAlloc=function(){return Module.asm.Pb.apply(null,arguments)},ot=Module.stackRestore=function(){return Module.asm.Qb.apply(null,arguments)},ut=Module.stackSave=function(){return Module.asm.Rb.apply(null,arguments)},Te=Module.dynCall_X=function(){return Module.asm.ub.apply(null,arguments)},Re=Module.dynCall_i=function(){return Module.asm.vb.apply(null,arguments)},Pe=Module.dynCall_ii=function(){return Module.asm.wb.apply(null,arguments)},ke=Module.dynCall_iidiiii=function(){return Module.asm.xb.apply(null,arguments)},Le=Module.dynCall_iii=function(){return Module.asm.yb.apply(null,arguments)},qe=Module.dynCall_iiii=function(){return Module.asm.zb.apply(null,arguments)},Oe=Module.dynCall_iiiii=function(){return Module.asm.Ab.apply(null,arguments)},We=Module.dynCall_iiiiid=function(){return Module.asm.Bb.apply(null,arguments)},Be=Module.dynCall_iiiiii=function(){return Module.asm.Cb.apply(null,arguments)},Ue=Module.dynCall_iiiiiid=function(){return Module.asm.Db.apply(null,arguments)},Ye=Module.dynCall_iiiiiii=function(){return Module.asm.Eb.apply(null,arguments)},Ze=Module.dynCall_iiiiiiii=function(){return Module.asm.Fb.apply(null,arguments)},je=Module.dynCall_iiiiiiiii=function(){return Module.asm.Gb.apply(null,arguments)},$e=Module.dynCall_v=function(){return Module.asm.Hb.apply(null,arguments)},He=Module.dynCall_vi=function(){return Module.asm.Ib.apply(null,arguments)},ze=Module.dynCall_vii=function(){return Module.asm.Jb.apply(null,arguments)},Ke=Module.dynCall_viii=function(){return Module.asm.Kb.apply(null,arguments)},Ve=Module.dynCall_viiii=function(){return Module.asm.Lb.apply(null,arguments)},Ge=Module.dynCall_viiiii=function(){return Module.asm.Mb.apply(null,arguments)},Xe=Module.dynCall_viiiiii=function(){return Module.asm.Nb.apply(null,arguments)};Module.dynCall_X=Te,Module.dynCall_i=Re,Module.dynCall_ii=Pe,Module.dynCall_iidiiii=ke,Module.dynCall_iii=Le,Module.dynCall_iiii=qe,Module.dynCall_iiiii=Oe,Module.dynCall_iiiiid=We,Module.dynCall_iiiiii=Be,Module.dynCall_iiiiiid=Ue,Module.dynCall_iiiiiii=Ye,Module.dynCall_iiiiiiii=Ze,Module.dynCall_iiiiiiiii=je,Module.dynCall_v=$e,Module.dynCall_vi=He,Module.dynCall_vii=ze,Module.dynCall_viii=Ke,Module.dynCall_viiii=Ve,Module.dynCall_viiiii=Ge,Module.dynCall_viiiiii=Xe;var it={_ZZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwPKvE5__fmt:17142,_ZZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwmE5__fmt:17153};for(var at in it)Module["_"+at]=xe+it[at];for(var at in Module.NAMED_GLOBALS=it,it)!function(e){var t=Module["_"+e];Module["g$_"+e]=function(){return t}}(at);function lt(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC1ERKS5_=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_,Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev,Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev=Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev,Module.asm=Qe,Module.allocate=function(e,t,n,r){var o,u;"number"==typeof e?(o=!0,u=e):(o=!1,u=e.length);var i,a="string"==typeof t?t:null;if(i=n==I?r:[tt,rt,c][n](Math.max(u,a?1:t.length)),o){var l;for(r=i,A(0==(3&i)),l=i+(-4&u);r>2]=0;for(l=i+u;r>0]=0;return i}if("i8"===a)return e.subarray||e.slice?O.set(e,i):O.set(new Uint8Array(e),i),i;for(var s,d,_,f=0;f0||(!function(){if(Module.preRun)for("function"==typeof Module.preRun&&(Module.preRun=[Module.preRun]);Module.preRun.length;)ee(Module.preRun.shift());z(K)}(),ue>0||Module.calledRun||(Module.setStatus?(Module.setStatus("Running..."),setTimeout(function(){setTimeout(function(){Module.setStatus("")},1),t()},1)):t()))}function dt(e,t){t&&Module.noExitRuntime&&0===e||(Module.noExitRuntime||(S=!0,e,!0,Module.onExit&&Module.onExit(e)),Module.quit(e,new lt(e)))}function _t(e){throw Module.onAbort&&Module.onAbort(e),void 0!==e?(s(e),d(e),e=JSON.stringify(e)):e="",S=!0,1,"abort("+e+"). Build with -s ASSERTIONS=1 for more info."}if(ae=function e(){Module.calledRun||st(),Module.calledRun||(ae=e)},Module.callMain=function(e){e=e||[],Q();var t=e.length+1,n=rt(4*(t+1));B[n>>2]=k(Module.thisProgram);for(var r=1;r>2)+r]=k(e[r-1]);B[(n>>2)+t]=0;try{dt(Module._main(t,n,0),!0)}catch(e){if(e instanceof lt)return;if("SimulateInfiniteLoop"==e)return void(Module.noExitRuntime=!0);var o=e;e&&"object"==typeof e&&e.stack&&(o=[e,e.stack]),d("exception thrown: "+o),Module.quit(1,e)}finally{!0}},Module.run=st,Module.abort=_t,Module.preInit)for("function"==typeof Module.preInit&&(Module.preInit=[Module.preInit]);Module.preInit.length>0;)Module.preInit.pop()();var ct=!0;Module.noInitialRun&&(ct=!1),Module.noExitRuntime=!0,st();const ft=Module,mt={},pt=4,ht=5*pt,yt=2*pt,gt=2*pt+2*yt,Mt={row:0,column:0},wt=/[\w-.]*/g,bt=1,vt=2;var Et,St,At,Ct,It,Ft=new Promise(e=>{Module.onRuntimeInitialized=e}).then(()=>{At=ft._ts_init(),Et=E(At,"i32"),St=E(At+pt,"i32")});class Parser{static init(){return Ft}constructor(){if(null==At)throw new Error("You must first call Parser.init() and wait for it to resolve.");ft._ts_parser_new_wasm(),this[0]=E(At,"i32"),this[1]=E(At+pt,"i32")}delete(){ft._ts_parser_delete(this[0]),ft._free(this[1])}setLanguage(e){let t;if(e){if(e.constructor!==Language)throw new Error("Argument must be a Language");{t=e[0];const n=ft._ts_language_version(t);if(ne.slice(t,r));else{if("function"!=typeof e)throw new Error("Argument must be a string or a function");Ct=e}this.logCallback?(It=this.logCallback,ft._ts_parser_enable_logger_wasm(this[0],1)):(It=null,ft._ts_parser_enable_logger_wasm(this[0],0));let r=0,o=0;if(n&&n.includedRanges){r=n.includedRanges.length;let e=o=ft._calloc(r,gt);for(let t=0;t0){let e=n;for(let n=0;n0))break;e+=n.length,r+=n}return e>t&&(r=r.slice(0,n)),r}isNamed(){return Rt(this),1===ft._ts_node_is_named_wasm(this.tree[0])}hasError(){return Rt(this),1===ft._ts_node_has_error_wasm(this.tree[0])}hasChanges(){return Rt(this),1===ft._ts_node_has_changes_wasm(this.tree[0])}isMissing(){return Rt(this),1===ft._ts_node_is_missing_wasm(this.tree[0])}equals(e){if(this===e)return!0;for(let t=0;t<5;t++)if(this[t]!==e[t])return!1;return!0}child(e){return Rt(this),ft._ts_node_child_wasm(this.tree[0],e),Pt(this.tree)}namedChild(e){return Rt(this),ft._ts_node_named_child_wasm(this.tree[0],e),Pt(this.tree)}childForFieldId(e){return Rt(this),ft._ts_node_child_by_field_id_wasm(this.tree[0],e),Pt(this.tree)}childForFieldName(e){const t=this.tree.language.fields.indexOf(e);if(-1!==t)return this.childForFieldId(t)}get childCount(){return Rt(this),ft._ts_node_child_count_wasm(this.tree[0])}get namedChildCount(){return Rt(this),ft._ts_node_named_child_count_wasm(this.tree[0])}get firstChild(){return this.child(0)}get firstNamedChild(){return this.namedChild(0)}get lastChild(){return this.child(this.childCount-1)}get lastNamedChild(){return this.namedChild(this.namedChildCount-1)}get children(){if(!this._children){Rt(this),ft._ts_node_children_wasm(this.tree[0]);const e=E(At,"i32"),t=E(At+pt,"i32");if(this._children=new Array(e),e>0){let n=t;for(let t=0;t0){let n=t;for(let t=0;t0){let e=a;for(let t=0;t>0];if(!n)return t;t+=String.fromCharCode(n)}}(e);return ft._free(e),t}}class TreeCursor{constructor(e,t){xt(e),this.tree=t,Lt(this)}delete(){kt(this),ft._ts_tree_cursor_delete_wasm(this.tree[0])}reset(e){Rt(e),kt(this,At+ht),ft._ts_tree_cursor_reset_wasm(this.tree[0]),Lt(this)}get nodeType(){return this.tree.language.types[this.nodeTypeId]||"ERROR"}get nodeTypeId(){return kt(this),ft._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeId(){return kt(this),ft._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return kt(this),1===ft._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return kt(this),1===ft._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get startPosition(){return kt(this),ft._ts_tree_cursor_start_position_wasm(this.tree[0]),Ot(At)}get endPosition(){return kt(this),ft._ts_tree_cursor_end_position_wasm(this.tree[0]),Ot(At)}get startIndex(){return kt(this),ft._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return kt(this),ft._ts_tree_cursor_end_index_wasm(this.tree[0])}currentNode(){return kt(this),ft._ts_tree_cursor_current_node_wasm(this.tree[0]),Pt(this.tree)}currentFieldId(){return kt(this),ft._ts_tree_cursor_current_field_id_wasm(this.tree[0])}currentFieldName(){return this.tree.language.fields[this.currentFieldId()]}gotoFirstChild(){kt(this);const e=ft._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return Lt(this),1===e}gotoNextSibling(){kt(this);const e=ft._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return Lt(this),1===e}gotoParent(){kt(this);const e=ft._ts_tree_cursor_goto_parent_wasm(this.tree[0]);return Lt(this),1===e}}class Language{constructor(e,t){xt(e),this[0]=t,this.types=new Array(ft._ts_language_symbol_count(this[0]));for(let e=0,t=this.types.length;e0&&(s[e].push(Nt(o)),o.length=0)}}return ft._free(n),new Query(mt,r,a,s)}static load(e){let t;if("undefined"!=typeof process&&process.versions&&process.versions.node){const n=require("fs");t=Promise.resolve(n.readFileSync(e))}else t=fetch(e).then(e=>e.arrayBuffer().then(t=>{if(e.ok)return new Uint8Array(t);{const n=new TextDecoder("utf-8").decode(t);throw new Error(`Language.load failed with status ${e.status}.\n\n${n}`)}}));return t.then(e=>g(e,{loadAsync:!0})).then(e=>{const t=e[Object.keys(e).find(e=>e.includes("tree_sitter_"))]();return new Language(mt,t)})}}class Query{constructor(e,t,n,r){xt(e),this[0]=t,this.captureNames=n,this.predicates=r}delete(){ft._ts_query_delete(this[0])}matches(e,t,n){t||(t=Mt),n||(n=Mt),Rt(e),ft._ts_query_matches_wasm(this[0],e.tree[0],t.row,t.column,n.row,n.column);const r=E(At,"i32"),o=E(At+pt,"i32"),u=new Array(r);let i=o;for(let t=0;te(o))&&(u[t]={pattern:n,captures:o})}return ft._free(o),u}captures(e,t,n){t||(t=Mt),n||(n=Mt),Rt(e),ft._ts_query_captures_wasm(this[0],e.tree[0],t.row,t.column,n.row,n.column);const r=E(At,"i32"),o=E(At+pt,"i32"),u=[];let i=o;for(let t=0;te(o))&&u.push(o[r])}return ft._free(o),u}}function Nt(e){if("string"!==e[0].type)throw new Error("Predicates must begin with a literal value");switch(e[0].value){case"eq?":if(3!==e.length)throw new Error(`Wrong number of arguments to \`eq?\` predicate. Expected 2, got ${e.length-1}`);if("capture"!==e[1].type)throw new Error(`First argument of \`eq?\` predicate must be a capture. Got "${e[1].value}"`);if("capture"===e[2].type){const t=e[1].name,n=e[2].name;return function(e){let r,o;for(const u of e)u.name===t&&(r=u.node),u.name===n&&(o=u.node);return r.text===o.text}}{const t=e[1].name,n=e[2].value;return function(e){for(const r of e)if(r.name===t)return r.node.text===n;return!1}}case"match?":if(3!==e.length)throw new Error(`Wrong number of arguments to \`match?\` predicate. Expected 2, got ${e.length-1}.`);if("capture"!==e[1].type)throw new Error(`First argument of \`match?\` predicate must be a capture. Got "${e[1].value}".`);if("string"!==e[2].type)throw new Error(`Second argument of \`match?\` predicate must be a string. Got @${e[2].value}.`);const t=e[1].name,n=new RegExp(e[2].value);return function(e){for(const r of e)if(r.name===t)return n.test(r.node.text);return!1};default:throw new Error(`Unknown query predicate \`${e[0].value}\``)}}function Dt(e,t,n,r){for(let o=0,u=r.length;o1&&(u=process.argv[1].replace(/\\/g,"/")),o=process.argv.slice(2),"undefined"!=typeof module&&(module.exports=Module),process.on("uncaughtException",function(e){if(!(e instanceof Qe))throw e}),process.on("unhandledRejection",ye),i=function(e){process.exit(e)},Module.inspect=function(){return"[Emscripten Module object]"}):r?("undefined"!=typeof read&&(_=function(e){return read(e)}),d=function(e){var t;return"function"==typeof readbuffer?new Uint8Array(readbuffer(e)):(O("object"==typeof(t=read(e,"binary"))),t)},"undefined"!=typeof scriptArgs?o=scriptArgs:void 0!==arguments&&(o=arguments),"function"==typeof quit&&(i=function(e){quit(e)}),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(s||a)&&(a?p=self.location.href:document.currentScript&&(p=document.currentScript.src),p=0!==p.indexOf("blob:")?p.substr(0,p.lastIndexOf("/")+1):"",_=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},a&&(d=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),function(e,t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType="arraybuffer",r.onload=function(){200==r.status||0==r.status&&r.response?t(r.response):n()},r.onerror=n,r.send(null)});var m=Module.print||console.log.bind(console),h=Module.printErr||console.warn.bind(console);for(e in t)t.hasOwnProperty(e)&&(Module[e]=t[e]);t=null,Module.arguments&&(o=Module.arguments),Module.thisProgram&&(u=Module.thisProgram),Module.quit&&(i=Module.quit);var M=16;function g(e){var t=V[te>>2],n=t+e+15&-16;return n>Se()&&ye(),V[te>>2]=n,t}function y(e,t){return t||(t=M),Math.ceil(e/t)*t}function w(e){switch(e){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:if("*"===e[e.length-1])return 4;if("i"===e[0]){var t=parseInt(e.substr(1));return O(t%8==0,"getNativeTypeSize invalid bits "+t+", type "+e),t/8}return 0}}var b={"f64-rem":function(e,t){return e%t},debugger:function(){}},v={nextHandle:1,loadedLibs:{"-1":{refcount:1/0,name:"__self__",module:Module,global:!0}},loadedLibNames:{__self__:-1}};function E(e,t){t=t||{global:!0,nodelete:!0};var n,r=v.loadedLibNames[e];if(r)return n=v.loadedLibs[r],t.global&&!n.global&&(n.global=!0,"loading"!==n.module&&s(n.module)),t.nodelete&&n.refcount!==1/0&&(n.refcount=1/0),n.refcount++,t.loadAsync?Promise.resolve(r):r;function o(){if(t.fs){var n=t.fs.readFile(e,{encoding:"binary"});return n instanceof Uint8Array||(n=new Uint8Array(lib_data)),t.loadAsync?Promise.resolve(n):n}return t.loadAsync?(r=e,fetch(r,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw"failed to load binary file at '"+r+"'";return e.arrayBuffer()}).then(function(e){return new Uint8Array(e)})):d(e);var r}function u(e){return I(e,t)}function i(){if(void 0!==Module.preloadedWasm&&void 0!==Module.preloadedWasm[e]){var n=Module.preloadedWasm[e];return t.loadAsync?Promise.resolve(n):n}return t.loadAsync?o().then(function(e){return u(e)}):u(o())}function s(e){for(var t in e)if(e.hasOwnProperty(t)){var n=t;"_"===t[0]&&(Module.hasOwnProperty(n)||(Module[n]=e[t]))}}function a(e){n.global&&s(e),n.module=e}return r=v.nextHandle++,n={refcount:t.nodelete?1/0:1,name:e,module:"loading",global:t.global},v.loadedLibNames[e]=r,v.loadedLibs[r]=n,t.loadAsync?i().then(function(e){return a(e),r}):(a(i()),r)}function A(e,t,n,r){var o={};for(var u in e){var i=e[u];"object"==typeof i&&(i=i.value),"number"==typeof i&&(i+=t),o[u]=i,r&&(r[u]=i)}return o}function I(e,t){O(1836278016==new Uint32Array(new Uint8Array(e.subarray(0,24)).buffer)[0],"need to see wasm magic number"),O(0===e[8],"need the dylink section to be first");var n=9;function r(){for(var t=0,r=1;;){var o=e[n++];if(t+=(127&o)*r,r*=128,!(128&o))break}return t}r();O(6===e[n]),O(e[++n]==="d".charCodeAt(0)),O(e[++n]==="y".charCodeAt(0)),O(e[++n]==="l".charCodeAt(0)),O(e[++n]==="i".charCodeAt(0)),O(e[++n]==="n".charCodeAt(0)),O(e[++n]==="k".charCodeAt(0)),n++;for(var o=r(),u=r(),i=r(),s=r(),a=r(),l=[],_=0;_>0]=t;break;case"i16":K[e>>1]=t;break;case"i32":V[e>>2]=t;break;case"i64":Ae=[t>>>0,(Ee=t,+_e(Ee)>=1?Ee>0?(0|fe(+ce(Ee/4294967296),4294967295))>>>0:~~+de((Ee-+(~~Ee>>>0))/4294967296)>>>0:0)],V[e>>2]=Ae[0],V[e+4>>2]=Ae[1];break;case"float":Q[e>>2]=t;break;case"double":Y[e>>3]=t;break;default:ye("invalid type for setValue: "+n)}}function L(e,t,n){switch("*"===(t=t||"i8").charAt(t.length-1)&&(t="i32"),t){case"i1":case"i8":return G[e>>0];case"i16":return K[e>>1];case"i32":case"i64":return V[e>>2];case"float":return Q[e>>2];case"double":return Y[e>>3];default:ye("invalid type for getValue: "+t)}return null}R=y(R,16),Module.wasmBinary&&(x=Module.wasmBinary),Module.noExitRuntime&&(S=Module.noExitRuntime),"object"!=typeof WebAssembly&&h("no native wasm support detected");var q=new WebAssembly.Table({initial:16,element:"anyfunc"}),F=!1;function O(e,t){e||ye("Assertion failed: "+t)}var W=3;function $(e){return ae?ze(e):g(e)}var U="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function j(e,t,n){for(var r=t+n,o=t;e[o]&&!(o>=r);)++o;if(o-t>16&&e.subarray&&U)return U.decode(e.subarray(t,o));for(var u="";t>10,56320|1023&l)}}else u+=String.fromCharCode((31&i)<<6|s)}else u+=String.fromCharCode(i)}return u}function D(e,t){return e?j(X,e,t):""}function Z(e,t,n,r){if(!(r>0))return 0;for(var o=n,u=n+r-1,i=0;i=55296&&s<=57343)s=65536+((1023&s)<<10)|1023&e.charCodeAt(++i);if(s<=127){if(n>=u)break;t[n++]=s}else if(s<=2047){if(n+1>=u)break;t[n++]=192|s>>6,t[n++]=128|63&s}else if(s<=65535){if(n+2>=u)break;t[n++]=224|s>>12,t[n++]=128|s>>6&63,t[n++]=128|63&s}else{if(n+3>=u)break;t[n++]=240|s>>18,t[n++]=128|s>>12&63,t[n++]=128|s>>6&63,t[n++]=128|63&s}}return t[n]=0,n-o}function B(e){for(var t=0,n=0;n=55296&&r<=57343&&(r=65536+((1023&r)<<10)|1023&e.charCodeAt(++n)),r<=127?++t:t+=r<=2047?2:r<=65535?3:4}return t}"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");function H(e){var t=B(e)+1,n=Ge(t);return Z(e,G,n,t),n}var z,G,X,K,V,Q,Y;function J(e,t){return e%t>0&&(e+=t-e%t),e}function ee(e){z=e,Module.HEAP8=G=new Int8Array(e),Module.HEAP16=K=new Int16Array(e),Module.HEAP32=V=new Int32Array(e),Module.HEAPU8=X=new Uint8Array(e),Module.HEAPU16=new Uint16Array(e),Module.HEAPU32=new Uint32Array(e),Module.HEAPF32=Q=new Float32Array(e),Module.HEAPF64=Y=new Float64Array(e)}var te=7872,ne=Module.TOTAL_MEMORY||33554432;function re(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var n=t.func;"number"==typeof n?void 0===t.arg?Module.dynCall_v(n):Module.dynCall_vi(n,t.arg):n(void 0===t.arg?null:t.arg)}else t()}}(P=Module.wasmMemory?Module.wasmMemory:new WebAssembly.Memory({initial:ne/65536}))&&(z=P.buffer),ne=z.byteLength,ee(z),V[te>>2]=5250960;var oe=[],ue=[],ie=[],se=[],ae=!1;function le(e){oe.unshift(e)}var _e=Math.abs,de=Math.ceil,ce=Math.floor,fe=Math.min,pe=0,me=null,he=null;function Me(e){pe++,Module.monitorRunDependencies&&Module.monitorRunDependencies(pe)}function ge(e){if(pe--,Module.monitorRunDependencies&&Module.monitorRunDependencies(pe),0==pe&&(null!==me&&(clearInterval(me),me=null),he)){var t=he;he=null,t()}}function ye(e){throw Module.onAbort&&Module.onAbort(e),m(e+=""),h(e),F=!0,1,"abort("+e+"). Build with -s ASSERTIONS=1 for more info."}Module.preloadedImages={},Module.preloadedAudios={},Module.preloadedWasm={},le(function(){if(Module.dynamicLibraries&&Module.dynamicLibraries.length>0&&!d)return Me(),void Promise.all(Module.dynamicLibraries.map(function(e){return E(e,{loadAsync:!0,global:!0,nodelete:!0})})).then(function(){ge()});var e;(e=Module.dynamicLibraries)&&e.forEach(function(e){E(e,{global:!0,nodelete:!0})})});var we="data:application/octet-stream;base64,";function be(e){return String.prototype.startsWith?e.startsWith(we):0===e.indexOf(we)}var ve,Ee,Ae,Ie="tree-sitter.wasm";function Ce(){try{if(x)return new Uint8Array(x);if(d)return d(Ie);throw"both async and sync fetching of the wasm failed"}catch(e){ye(e)}}be(Ie)||(ve=Ie,Ie=Module.locateFile?Module.locateFile(ve,p):p+ve),Module.asm=function(){var e={env:Ze,wasi_unstable:Ze,global:{NaN:NaN,Infinity:1/0},"global.Math":Math,asm2wasm:b};function t(e,t){var n=e.exports;n=A(n,R),Module.asm=n,ge()}function n(e){t(e.instance)}function r(t){return(x||!s&&!a||"function"!=typeof fetch?new Promise(function(e,t){e(Ce())}):fetch(Ie,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw"failed to load wasm binary file at '"+Ie+"'";return e.arrayBuffer()}).catch(function(){return Ce()})).then(function(t){return WebAssembly.instantiate(t,e)}).then(t,function(e){h("failed to asynchronously prepare wasm: "+e),ye(e)})}if(Me(),Module.instantiateWasm)try{return Module.instantiateWasm(e,t)}catch(e){return h("Module.instantiateWasm callback failed with error: "+e),!1}return function(){if(x||"function"!=typeof WebAssembly.instantiateStreaming||be(Ie)||"function"!=typeof fetch)return r(n);fetch(Ie,{credentials:"same-origin"}).then(function(t){return WebAssembly.instantiateStreaming(t,e).then(n,function(e){h("wasm streaming compile failed: "+e),h("falling back to ArrayBuffer instantiation"),r(n)})})}(),{}},ue.push({func:function(){He()}});function Ne(){ye()}function xe(){ye()}function Se(){return G.length}function Pe(e,t,n){if(ht){const e=D(n);ht(e,0!==t)}}Module._abort=Ne,xe=l?function(){var e=process.hrtime();return 1e3*e[0]+e[1]/1e6}:"undefined"!=typeof dateNow?dateNow:"object"==typeof performance&&performance&&"function"==typeof performance.now?function(){return performance.now()}:Date.now;var ke=R;function Re(e){return e|=0,mftCall_X(e)}function Te(e){return e|=0,0|mftCall_i(e)}function Le(e,t){return e|=0,t|=0,0|mftCall_ii(e,0|t)}function qe(e,t,n,r,o,u,i){return e|=0,t|=0,n=+n,r|=0,o|=0,u|=0,i|=0,0|mftCall_iidiiii(e,0|t,+n,0|r,0|o,0|u,0|i)}function Fe(e,t,n){return e|=0,t|=0,n|=0,0|mftCall_iii(e,0|t,0|n)}function Oe(e,t,n,r){return e|=0,t|=0,n|=0,r|=0,0|mftCall_iiii(e,0|t,0|n,0|r)}function We(e,t,n,r,o){return e|=0,t|=0,n|=0,r|=0,o|=0,0|mftCall_iiiii(e,0|t,0|n,0|r,0|o)}function $e(e){e|=0,mftCall_v(e)}function Ue(e,t){e|=0,t|=0,mftCall_vi(e,0|t)}function je(e,t,n){e|=0,t|=0,n|=0,mftCall_vii(e,0|t,0|n)}function De(e,t,n,r){e|=0,t|=0,n|=0,r|=0,mftCall_viii(e,0|t,0|n,0|r)}var Ze={d:8080,__memory_base:1024,__table_base:0,h:Ne,i:function(e,t){var n,r;if(0===e)n=Date.now();else{if(1!==e||!(l||"undefined"!=typeof dateNow||"object"==typeof performance&&performance&&"function"==typeof performance.now))return r=28,Module.___errno_location&&(V[Module.___errno_location()>>2]=r),-1;n=xe()}return V[t>>2]=n/1e3|0,V[t+4>>2]=n%1e3*1e3*1e3|0,0},m:Se,l:function(e,t,n){X.set(X.subarray(t,t+n),e)},k:function(e){var t=Se();if(e>2147418112)return!1;for(var n=Math.max(t,16777216);n>16),ee(P.buffer),1}catch(e){}}(n)},e:function(e){Je(e)},j:function(e,t,n,r,o){var u=mt(t,{row:n,column:r});"string"==typeof u?(T(o,u.length,"i32"),function(e,t,n){if(void 0===n&&(n=2147483647),n<2)return 0;for(var r=(n-=2)<2*e.length?n/2:e.length,o=0;o>1]=u,t+=2}K[t>>1]=0}(u,e,10240)):T(o,0,"i32")},o:ye,c:0,n:function(){if(!Module.fp$_tree_sitter_log_callback$viii){var e=N(Module._tree_sitter_log_callback||Pe,"viii");Module.fp$_tree_sitter_log_callback$viii=e}return Module.fp$_tree_sitter_log_callback$viii},b:ke,f:function(){return k},memory:P,g:function(e){k=e},table:q,a:8064},Be=Module.asm({},Ze,z);Module.asm=Be;Module.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=function(){return Module.asm.p.apply(null,arguments)},Module.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=function(){return Module.asm.q.apply(null,arguments)},Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=function(){return Module.asm.r.apply(null,arguments)},Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=function(){return Module.asm.s.apply(null,arguments)},Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=function(){return Module.asm.t.apply(null,arguments)},Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=function(){return Module.asm.u.apply(null,arguments)},Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_=function(){return Module.asm.v.apply(null,arguments)},Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=function(){return Module.asm.w.apply(null,arguments)},Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=function(){return Module.asm.x.apply(null,arguments)},Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=function(){return Module.asm.y.apply(null,arguments)},Module.__ZdlPv=function(){return Module.asm.z.apply(null,arguments)},Module.__Znwm=function(){return Module.asm.A.apply(null,arguments)};var He=Module.__apply_relocations=function(){return Module.asm.B.apply(null,arguments)},ze=(Module._calloc=function(){return Module.asm.C.apply(null,arguments)},Module._free=function(){return Module.asm.D.apply(null,arguments)},Module._iswalnum=function(){return Module.asm.E.apply(null,arguments)},Module._iswalpha=function(){return Module.asm.F.apply(null,arguments)},Module._iswdigit=function(){return Module.asm.G.apply(null,arguments)},Module._iswlower=function(){return Module.asm.H.apply(null,arguments)},Module._iswspace=function(){return Module.asm.I.apply(null,arguments)},Module._malloc=function(){return Module.asm.J.apply(null,arguments)}),Ge=(Module._memchr=function(){return Module.asm.K.apply(null,arguments)},Module._memcmp=function(){return Module.asm.L.apply(null,arguments)},Module._memcpy=function(){return Module.asm.M.apply(null,arguments)},Module._strlen=function(){return Module.asm.N.apply(null,arguments)},Module._towupper=function(){return Module.asm.O.apply(null,arguments)},Module._ts_init=function(){return Module.asm.P.apply(null,arguments)},Module._ts_language_field_count=function(){return Module.asm.Q.apply(null,arguments)},Module._ts_language_field_name_for_id=function(){return Module.asm.R.apply(null,arguments)},Module._ts_language_symbol_count=function(){return Module.asm.S.apply(null,arguments)},Module._ts_language_symbol_name=function(){return Module.asm.T.apply(null,arguments)},Module._ts_language_symbol_type=function(){return Module.asm.U.apply(null,arguments)},Module._ts_language_version=function(){return Module.asm.V.apply(null,arguments)},Module._ts_node_child_by_field_id_wasm=function(){return Module.asm.W.apply(null,arguments)},Module._ts_node_child_count_wasm=function(){return Module.asm.X.apply(null,arguments)},Module._ts_node_child_wasm=function(){return Module.asm.Y.apply(null,arguments)},Module._ts_node_children_wasm=function(){return Module.asm.Z.apply(null,arguments)},Module._ts_node_descendant_for_index_wasm=function(){return Module.asm._.apply(null,arguments)},Module._ts_node_descendant_for_position_wasm=function(){return Module.asm.$.apply(null,arguments)},Module._ts_node_descendants_of_type_wasm=function(){return Module.asm.aa.apply(null,arguments)},Module._ts_node_end_index_wasm=function(){return Module.asm.ba.apply(null,arguments)},Module._ts_node_end_point_wasm=function(){return Module.asm.ca.apply(null,arguments)},Module._ts_node_has_changes_wasm=function(){return Module.asm.da.apply(null,arguments)},Module._ts_node_has_error_wasm=function(){return Module.asm.ea.apply(null,arguments)},Module._ts_node_is_missing_wasm=function(){return Module.asm.fa.apply(null,arguments)},Module._ts_node_is_named_wasm=function(){return Module.asm.ga.apply(null,arguments)},Module._ts_node_named_child_count_wasm=function(){return Module.asm.ha.apply(null,arguments)},Module._ts_node_named_child_wasm=function(){return Module.asm.ia.apply(null,arguments)},Module._ts_node_named_children_wasm=function(){return Module.asm.ja.apply(null,arguments)},Module._ts_node_named_descendant_for_index_wasm=function(){return Module.asm.ka.apply(null,arguments)},Module._ts_node_named_descendant_for_position_wasm=function(){return Module.asm.la.apply(null,arguments)},Module._ts_node_next_named_sibling_wasm=function(){return Module.asm.ma.apply(null,arguments)},Module._ts_node_next_sibling_wasm=function(){return Module.asm.na.apply(null,arguments)},Module._ts_node_parent_wasm=function(){return Module.asm.oa.apply(null,arguments)},Module._ts_node_prev_named_sibling_wasm=function(){return Module.asm.pa.apply(null,arguments)},Module._ts_node_prev_sibling_wasm=function(){return Module.asm.qa.apply(null,arguments)},Module._ts_node_start_index_wasm=function(){return Module.asm.ra.apply(null,arguments)},Module._ts_node_start_point_wasm=function(){return Module.asm.sa.apply(null,arguments)},Module._ts_node_symbol_wasm=function(){return Module.asm.ta.apply(null,arguments)},Module._ts_node_to_string_wasm=function(){return Module.asm.ua.apply(null,arguments)},Module._ts_parser_delete=function(){return Module.asm.va.apply(null,arguments)},Module._ts_parser_enable_logger_wasm=function(){return Module.asm.wa.apply(null,arguments)},Module._ts_parser_new_wasm=function(){return Module.asm.xa.apply(null,arguments)},Module._ts_parser_parse_wasm=function(){return Module.asm.ya.apply(null,arguments)},Module._ts_parser_set_language=function(){return Module.asm.za.apply(null,arguments)},Module._ts_parser_set_timeout_micros=function(){return Module.asm.Aa.apply(null,arguments)},Module._ts_parser_timeout_micros=function(){return Module.asm.Ba.apply(null,arguments)},Module._ts_query_capture_count=function(){return Module.asm.Ca.apply(null,arguments)},Module._ts_query_capture_name_for_id=function(){return Module.asm.Da.apply(null,arguments)},Module._ts_query_captures_wasm=function(){return Module.asm.Ea.apply(null,arguments)},Module._ts_query_delete=function(){return Module.asm.Fa.apply(null,arguments)},Module._ts_query_matches_wasm=function(){return Module.asm.Ga.apply(null,arguments)},Module._ts_query_new=function(){return Module.asm.Ha.apply(null,arguments)},Module._ts_query_pattern_count=function(){return Module.asm.Ia.apply(null,arguments)},Module._ts_query_predicates_for_pattern=function(){return Module.asm.Ja.apply(null,arguments)},Module._ts_query_string_count=function(){return Module.asm.Ka.apply(null,arguments)},Module._ts_query_string_value_for_id=function(){return Module.asm.La.apply(null,arguments)},Module._ts_tree_cursor_current_field_id_wasm=function(){return Module.asm.Ma.apply(null,arguments)},Module._ts_tree_cursor_current_node_id_wasm=function(){return Module.asm.Na.apply(null,arguments)},Module._ts_tree_cursor_current_node_is_missing_wasm=function(){return Module.asm.Oa.apply(null,arguments)},Module._ts_tree_cursor_current_node_is_named_wasm=function(){return Module.asm.Pa.apply(null,arguments)},Module._ts_tree_cursor_current_node_type_id_wasm=function(){return Module.asm.Qa.apply(null,arguments)},Module._ts_tree_cursor_current_node_wasm=function(){return Module.asm.Ra.apply(null,arguments)},Module._ts_tree_cursor_delete_wasm=function(){return Module.asm.Sa.apply(null,arguments)},Module._ts_tree_cursor_end_index_wasm=function(){return Module.asm.Ta.apply(null,arguments)},Module._ts_tree_cursor_end_position_wasm=function(){return Module.asm.Ua.apply(null,arguments)},Module._ts_tree_cursor_goto_first_child_wasm=function(){return Module.asm.Va.apply(null,arguments)},Module._ts_tree_cursor_goto_next_sibling_wasm=function(){return Module.asm.Wa.apply(null,arguments)},Module._ts_tree_cursor_goto_parent_wasm=function(){return Module.asm.Xa.apply(null,arguments)},Module._ts_tree_cursor_new_wasm=function(){return Module.asm.Ya.apply(null,arguments)},Module._ts_tree_cursor_reset_wasm=function(){return Module.asm.Za.apply(null,arguments)},Module._ts_tree_cursor_start_index_wasm=function(){return Module.asm._a.apply(null,arguments)},Module._ts_tree_cursor_start_position_wasm=function(){return Module.asm.$a.apply(null,arguments)},Module._ts_tree_delete=function(){return Module.asm.ab.apply(null,arguments)},Module._ts_tree_edit_wasm=function(){return Module.asm.bb.apply(null,arguments)},Module._ts_tree_get_changed_ranges_wasm=function(){return Module.asm.cb.apply(null,arguments)},Module._ts_tree_root_node_wasm=function(){return Module.asm.db.apply(null,arguments)},Module.stackAlloc=function(){return Module.asm.pb.apply(null,arguments)}),Re=Module.dynCall_X=function(){return Module.asm.eb.apply(null,arguments)},Te=Module.dynCall_i=function(){return Module.asm.fb.apply(null,arguments)},Le=Module.dynCall_ii=function(){return Module.asm.gb.apply(null,arguments)},qe=Module.dynCall_iidiiii=function(){return Module.asm.hb.apply(null,arguments)},Fe=Module.dynCall_iii=function(){return Module.asm.ib.apply(null,arguments)},Oe=Module.dynCall_iiii=function(){return Module.asm.jb.apply(null,arguments)},We=Module.dynCall_iiiii=function(){return Module.asm.kb.apply(null,arguments)},$e=Module.dynCall_v=function(){return Module.asm.lb.apply(null,arguments)},Ue=Module.dynCall_vi=function(){return Module.asm.mb.apply(null,arguments)},je=Module.dynCall_vii=function(){return Module.asm.nb.apply(null,arguments)},De=Module.dynCall_viii=function(){return Module.asm.ob.apply(null,arguments)};Module.dynCall_X=Re,Module.dynCall_i=Te,Module.dynCall_ii=Le,Module.dynCall_iidiiii=qe,Module.dynCall_iii=Fe,Module.dynCall_iiii=Oe,Module.dynCall_iiiii=We,Module.dynCall_v=$e,Module.dynCall_vi=Ue,Module.dynCall_vii=je,Module.dynCall_viii=De;var Xe,Ke={};for(var Ve in Ke)Module["_"+Ve]=ke+Ke[Ve];for(var Ve in Module.NAMED_GLOBALS=Ke,Ke)!function(e){var t=Module["_"+e];Module["g$_"+e]=function(){return t}}(Ve);function Qe(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC1ERKS5_=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_,Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev,Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev=Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev,Module.asm=Be,Module.allocate=function(e,t,n,r){var o,u;"number"==typeof e?(o=!0,u=e):(o=!1,u=e.length);var i,s="string"==typeof t?t:null;if(i=n==W?r:[ze,Ge,g][n](Math.max(u,s?1:t.length)),o){var a;for(r=i,O(0==(3&i)),a=i+(-4&u);r>2]=0;for(a=i+u;r>0]=0;return i}if("i8"===s)return e.subarray||e.slice?X.set(e,i):X.set(new Uint8Array(e),i),i;for(var l,_,d,c=0;c>2]=H(u);for(var r=1;r>2)+r]=H(e[r-1]);V[(n>>2)+t]=0;try{Je(Module._main(t,n),!0)}catch(e){if(e instanceof Qe)return;if("SimulateInfiniteLoop"==e)return void(S=!0);var o=e;e&&"object"==typeof e&&e.stack&&(o=[e,e.stack]),h("exception thrown: "+o),i(1,e)}finally{!0}}}(e),function(){if(Module.postRun)for("function"==typeof Module.postRun&&(Module.postRun=[Module.postRun]);Module.postRun.length;)e=Module.postRun.shift(),se.unshift(e);var e;re(se)}()))}e=e||o,pe>0||(!function(){if(Module.preRun)for("function"==typeof Module.preRun&&(Module.preRun=[Module.preRun]);Module.preRun.length;)le(Module.preRun.shift());re(oe)}(),pe>0||(Module.setStatus?(Module.setStatus("Running..."),setTimeout(function(){setTimeout(function(){Module.setStatus("")},1),t()},1)):t()))}function Je(e,t){t&&S&&0===e||(S||(F=!0,e,!0,Module.onExit&&Module.onExit(e)),i(e,new Qe(e)))}if(he=function e(){Xe||Ye(),Xe||(he=e)},Module.run=Ye,Module.preInit)for("function"==typeof Module.preInit&&(Module.preInit=[Module.preInit]);Module.preInit.length>0;)Module.preInit.pop()();var et=!0;Module.noInitialRun&&(et=!1),S=!0,Ye();const tt=Module,nt={},rt=4,ot=5*rt,ut=2*rt,it=2*rt+2*ut,st={row:0,column:0},at=/[\w-.]*/g,lt=1,_t=2,dt=/^_?tree_sitter_\w+/;var ct,ft,pt,mt,ht,Mt=new Promise(e=>{Module.onRuntimeInitialized=e}).then(()=>{pt=tt._ts_init(),ct=L(pt,"i32"),ft=L(pt+rt,"i32")});class Parser{static init(){return Mt}constructor(){if(null==pt)throw new Error("You must first call Parser.init() and wait for it to resolve.");tt._ts_parser_new_wasm(),this[0]=L(pt,"i32"),this[1]=L(pt+rt,"i32")}delete(){tt._ts_parser_delete(this[0]),tt._free(this[1])}setLanguage(e){let t;if(e){if(e.constructor!==Language)throw new Error("Argument must be a Language");{t=e[0];const n=tt._ts_language_version(t);if(ne.slice(t,r));else{if("function"!=typeof e)throw new Error("Argument must be a string or a function");mt=e}this.logCallback?(ht=this.logCallback,tt._ts_parser_enable_logger_wasm(this[0],1)):(ht=null,tt._ts_parser_enable_logger_wasm(this[0],0));let r=0,o=0;if(n&&n.includedRanges){r=n.includedRanges.length;let e=o=tt._calloc(r,it);for(let t=0;t0){let e=n;for(let n=0;n0){let n=t;for(let t=0;t0){let n=t;for(let t=0;t0){let e=s;for(let t=0;t>0];if(!n)return t;t+=String.fromCharCode(n)}}(e);return tt._free(e),t}}class TreeCursor{constructor(e,t){wt(e),this.tree=t,It(this)}delete(){At(this),tt._ts_tree_cursor_delete_wasm(this.tree[0])}reset(e){vt(e),At(this,pt+ot),tt._ts_tree_cursor_reset_wasm(this.tree[0]),It(this)}get nodeType(){return this.tree.language.types[this.nodeTypeId]||"ERROR"}get nodeTypeId(){return At(this),tt._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeId(){return At(this),tt._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return At(this),1===tt._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return At(this),1===tt._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get nodeText(){At(this);const e=tt._ts_tree_cursor_start_index_wasm(this.tree[0]),t=tt._ts_tree_cursor_end_index_wasm(this.tree[0]);return gt(this.tree,e,t)}get startPosition(){return At(this),tt._ts_tree_cursor_start_position_wasm(this.tree[0]),Nt(pt)}get endPosition(){return At(this),tt._ts_tree_cursor_end_position_wasm(this.tree[0]),Nt(pt)}get startIndex(){return At(this),tt._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return At(this),tt._ts_tree_cursor_end_index_wasm(this.tree[0])}currentNode(){return At(this),tt._ts_tree_cursor_current_node_wasm(this.tree[0]),Et(this.tree)}currentFieldId(){return At(this),tt._ts_tree_cursor_current_field_id_wasm(this.tree[0])}currentFieldName(){return this.tree.language.fields[this.currentFieldId()]}gotoFirstChild(){At(this);const e=tt._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return It(this),1===e}gotoNextSibling(){At(this);const e=tt._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return It(this),1===e}gotoParent(){At(this);const e=tt._ts_tree_cursor_goto_parent_wasm(this.tree[0]);return It(this),1===e}}class Language{constructor(e,t){wt(e),this[0]=t,this.types=new Array(tt._ts_language_symbol_count(this[0]));for(let e=0,t=this.types.length;e0){if("string"!==o[0].type)throw new Error("Predicates must begin with a literal value");const t=o[0].value;let n=!0;switch(t){case"not-eq?":n=!1;case"eq?":if(3!==o.length)throw new Error(`Wrong number of arguments to \`#eq?\` predicate. Expected 2, got ${o.length-1}`);if("capture"!==o[1].type)throw new Error(`First argument of \`#eq?\` predicate must be a capture. Got "${o[1].value}"`);if("capture"===o[2].type){const t=o[1].name,r=o[2].name;c[e].push(function(e){let o,u;for(const n of e)n.name===t&&(o=n.node),n.name===r&&(u=n.node);return o.text===u.text===n})}else{const t=o[1].name,r=o[2].value;c[e].push(function(e){for(const o of e)if(o.name===t)return o.node.text===r===n;return!1})}break;case"match?":if(3!==o.length)throw new Error(`Wrong number of arguments to \`#match?\` predicate. Expected 2, got ${o.length-1}.`);if("capture"!==o[1].type)throw new Error(`First argument of \`#match?\` predicate must be a capture. Got "${o[1].value}".`);if("string"!==o[2].type)throw new Error(`Second argument of \`#match?\` predicate must be a string. Got @${o[2].value}.`);const r=o[1].name,u=new RegExp(o[2].value);c[e].push(function(e){for(const t of e)if(t.name===r)return u.test(t.node.text);return!1});break;case"set!":if(o.length<2||o.length>3)throw new Error(`Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${o.length-1}.`);if(o.some(e=>"string"!==e.type))throw new Error('Arguments to `#set!` predicate must be a strings.".');l[e]||(l[e]={}),l[e][o[1].value]=o[2]?o[2].value:null;break;case"is?":case"is-not?":if(o.length<2||o.length>3)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected 1 or 2. Got ${o.length-1}.`);if(o.some(e=>"string"!==e.type))throw new Error(`Arguments to \`#${t}\` predicate must be a strings.".`);const i="is?"===t?_:d;i[e]||(i[e]={}),i[e][o[1].value]=o[2]?o[2].value:null;break;default:throw new Error(`Unknown query predicate \`#${o[0].value}\``)}o.length=0}}Object.freeze(l[e]),Object.freeze(_[e]),Object.freeze(d[e])}return tt._free(n),new Query(nt,r,s,c,Object.freeze(l),Object.freeze(_),Object.freeze(d))}static load(e){let t;if("undefined"!=typeof process&&process.versions&&process.versions.node){const n=require("fs");t=Promise.resolve(n.readFileSync(e))}else t=fetch(e).then(e=>e.arrayBuffer().then(t=>{if(e.ok)return new Uint8Array(t);{const n=new TextDecoder("utf-8").decode(t);throw new Error(`Language.load failed with status ${e.status}.\n\n${n}`)}}));return t.then(e=>I(e,{loadAsync:!0})).then(e=>{const t=Object.keys(e),n=t.find(e=>dt.test(e)&&!e.includes("external_scanner_"));n||console.log(`Couldn't find language function in WASM file. Symbols:\n${JSON.stringify(t,null,2)}`);const r=e[n]();return new Language(nt,r)})}}class Query{constructor(e,t,n,r,o,u,i){wt(e),this[0]=t,this.captureNames=n,this.predicates=r,this.setProperties=o,this.assertedProperties=u,this.refutedProperties=i}delete(){tt._ts_query_delete(this[0])}matches(e,t,n){t||(t=st),n||(n=st),vt(e),tt._ts_query_matches_wasm(this[0],e.tree[0],t.row,t.column,n.row,n.column);const r=L(pt,"i32"),o=L(pt+rt,"i32"),u=new Array(r);let i=o;for(let t=0;te(o))){u[t]={pattern:n,captures:o};const e=this.setProperties[n];e&&(u[t].setProperties=e);const r=this.assertedProperties[n];r&&(u[t].assertedProperties=r);const i=this.refutedProperties[n];i&&(u[t].refutedProperties=i)}}return tt._free(o),u}captures(e,t,n){t||(t=st),n||(n=st),vt(e),tt._ts_query_captures_wasm(this[0],e.tree[0],t.row,t.column,n.row,n.column);const r=L(pt,"i32"),o=L(pt+rt,"i32"),u=[],i=[];let s=o;for(let t=0;te(i))){const e=i[r],n=this.setProperties[t];n&&(e.setProperties=n);const o=this.assertedProperties[t];o&&(e.assertedProperties=o);const s=this.refutedProperties[t];s&&(e.refutedProperties=s),u.push(e)}}return tt._free(o),u}}function gt(e,t,n){const r=n-t;let o=e.textCallback(t,null,n);for(t+=o.length;t0))break;t+=r.length,o+=r}return t>n&&(o=o.slice(0,r)),o}function yt(e,t,n,r){for(let o=0,u=r.length;o - + Tree-sitter TOML Playground @@ -24,7 +24,7 @@ } -

Tree-sitter TOML v0.2.0

+

Tree-sitter TOML v0.3.0